Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR sdk/appplatform/mgmt-v2020_07_01] Update swagger for outbound public ip feature #3850

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/appplatform/mgmt-v2020_07_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-appplatform</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appplatform.v2020_07_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.appplatform.v2020_07_01.implementation.AppPlatformManager;
import com.microsoft.azure.management.appplatform.v2020_07_01.implementation.AvailableRuntimeVersionsInner;
import java.util.List;

/**
* Type representing AvailableRuntimeVersions.
*/
public interface AvailableRuntimeVersions extends HasInner<AvailableRuntimeVersionsInner>, HasManager<AppPlatformManager> {
/**
* @return the value value.
*/
List<SupportedRuntimeVersion1> value();

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ public class DeploymentInstance {
@JsonProperty(value = "discoveryStatus", access = JsonProperty.Access.WRITE_ONLY)
private String discoveryStatus;

/**
* Start time of the deployment instance.
*/
@JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY)
private String startTime;

/**
* Get name of the deployment instance.
*
Expand Down Expand Up @@ -74,4 +80,13 @@ public String discoveryStatus() {
return this.discoveryStatus;
}

/**
* Get start time of the deployment instance.
*
* @return the startTime value
*/
public String startTime() {
return this.startTime;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,21 @@ public class DeploymentSettings {
@JsonProperty(value = "jvmOptions")
private String jvmOptions;

/**
* The path to the .NET executable relative to zip root.
*/
@JsonProperty(value = "netCoreMainEntryPath")
private String netCoreMainEntryPath;

/**
* Collection of environment variables.
*/
@JsonProperty(value = "environmentVariables")
private Map<String, String> environmentVariables;

/**
* Runtime version. Possible values include: 'Java_8', 'Java_11'.
* Runtime version. Possible values include: 'Java_8', 'Java_11',
* 'NetCore_31'.
*/
@JsonProperty(value = "runtimeVersion")
private RuntimeVersion runtimeVersion;
Expand Down Expand Up @@ -107,6 +114,26 @@ public DeploymentSettings withJvmOptions(String jvmOptions) {
return this;
}

/**
* Get the path to the .NET executable relative to zip root.
*
* @return the netCoreMainEntryPath value
*/
public String netCoreMainEntryPath() {
return this.netCoreMainEntryPath;
}

/**
* Set the path to the .NET executable relative to zip root.
*
* @param netCoreMainEntryPath the netCoreMainEntryPath value to set
* @return the DeploymentSettings object itself.
*/
public DeploymentSettings withNetCoreMainEntryPath(String netCoreMainEntryPath) {
this.netCoreMainEntryPath = netCoreMainEntryPath;
return this;
}

/**
* Get collection of environment variables.
*
Expand All @@ -128,7 +155,7 @@ public DeploymentSettings withEnvironmentVariables(Map<String, String> environme
}

/**
* Get runtime version. Possible values include: 'Java_8', 'Java_11'.
* Get runtime version. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
*
* @return the runtimeVersion value
*/
Expand All @@ -137,7 +164,7 @@ public RuntimeVersion runtimeVersion() {
}

/**
* Set runtime version. Possible values include: 'Java_8', 'Java_11'.
* Set runtime version. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
*
* @param runtimeVersion the runtimeVersion value to set
* @return the DeploymentSettings object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ public class NetworkProfile {
@JsonProperty(value = "appNetworkResourceGroup")
private String appNetworkResourceGroup;

/**
* Desired outbound IP resources for Azure Spring Cloud instance.
*/
@JsonProperty(value = "outboundIPs", access = JsonProperty.Access.WRITE_ONLY)
private NetworkProfileOutboundIPs outboundIPs;

/**
* Get fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime.
*
Expand Down Expand Up @@ -148,4 +154,13 @@ public NetworkProfile withAppNetworkResourceGroup(String appNetworkResourceGroup
return this;
}

/**
* Get desired outbound IP resources for Azure Spring Cloud instance.
*
* @return the outboundIPs value
*/
public NetworkProfileOutboundIPs outboundIPs() {
return this.outboundIPs;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appplatform.v2020_07_01;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Desired outbound IP resources for Azure Spring Cloud instance.
*/
public class NetworkProfileOutboundIPs {
/**
* A list of public IP addresses.
*/
@JsonProperty(value = "publicIPs", access = JsonProperty.Access.WRITE_ONLY)
private List<String> publicIPs;

/**
* Get a list of public IP addresses.
*
* @return the publicIPs value
*/
public List<String> publicIPs() {
return this.publicIPs;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public final class RuntimeVersion extends ExpandableStringEnum<RuntimeVersion> {
/** Static value Java_11 for RuntimeVersion. */
public static final RuntimeVersion JAVA_11 = fromString("Java_11");

/** Static value NetCore_31 for RuntimeVersion. */
public static final RuntimeVersion NET_CORE_31 = fromString("NetCore_31");

/**
* Creates or finds a RuntimeVersion from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appplatform.v2020_07_01;

import rx.Observable;
import com.microsoft.azure.management.appplatform.v2020_07_01.implementation.RuntimeVersionsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing RuntimeVersions.
*/
public interface RuntimeVersions extends HasInner<RuntimeVersionsInner> {
/**
* Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AvailableRuntimeVersions> listRuntimeVersionsAsync();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appplatform.v2020_07_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for SupportedRuntimePlatform.
*/
public final class SupportedRuntimePlatform extends ExpandableStringEnum<SupportedRuntimePlatform> {
/** Static value Java for SupportedRuntimePlatform. */
public static final SupportedRuntimePlatform JAVA = fromString("Java");

/** Static value .NET Core for SupportedRuntimePlatform. */
public static final SupportedRuntimePlatform NET_CORE = fromString(".NET Core");

/**
* Creates or finds a SupportedRuntimePlatform from its string representation.
* @param name a name to look for
* @return the corresponding SupportedRuntimePlatform
*/
@JsonCreator
public static SupportedRuntimePlatform fromString(String name) {
return fromString(name, SupportedRuntimePlatform.class);
}

/**
* @return known SupportedRuntimePlatform values
*/
public static Collection<SupportedRuntimePlatform> values() {
return values(SupportedRuntimePlatform.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.appplatform.v2020_07_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for SupportedRuntimeVersion.
*/
public final class SupportedRuntimeVersion extends ExpandableStringEnum<SupportedRuntimeVersion> {
/** Static value Java_8 for SupportedRuntimeVersion. */
public static final SupportedRuntimeVersion JAVA_8 = fromString("Java_8");

/** Static value Java_11 for SupportedRuntimeVersion. */
public static final SupportedRuntimeVersion JAVA_11 = fromString("Java_11");

/** Static value NetCore_31 for SupportedRuntimeVersion. */
public static final SupportedRuntimeVersion NET_CORE_31 = fromString("NetCore_31");

/**
* Creates or finds a SupportedRuntimeVersion from its string representation.
* @param name a name to look for
* @return the corresponding SupportedRuntimeVersion
*/
@JsonCreator
public static SupportedRuntimeVersion fromString(String name) {
return fromString(name, SupportedRuntimeVersion.class);
}

/**
* @return known SupportedRuntimeVersion values
*/
public static Collection<SupportedRuntimeVersion> values() {
return values(SupportedRuntimeVersion.class);
}
}
Loading