Skip to content
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 @@ -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 @@ -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);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/**
* 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.fasterxml.jackson.annotation.JsonProperty;

/**
* Supported deployment runtime version descriptor.
*/
public class SupportedRuntimeVersion1 {
/**
* The raw value which could be passed to deployment CRUD operations.
* Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
*/
@JsonProperty(value = "value")
private SupportedRuntimeVersion value;

/**
* The platform of this runtime version (possible values: "Java" or
* ".NET"). Possible values include: 'Java', '.NET Core'.
*/
@JsonProperty(value = "platform")
private SupportedRuntimePlatform platform;

/**
* The detailed version (major.minor) of the platform.
*/
@JsonProperty(value = "version")
private String version;

/**
* Get the raw value which could be passed to deployment CRUD operations. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
*
* @return the value value
*/
public SupportedRuntimeVersion value() {
return this.value;
}

/**
* Set the raw value which could be passed to deployment CRUD operations. Possible values include: 'Java_8', 'Java_11', 'NetCore_31'.
*
* @param value the value value to set
* @return the SupportedRuntimeVersion1 object itself.
*/
public SupportedRuntimeVersion1 withValue(SupportedRuntimeVersion value) {
this.value = value;
return this;
}

/**
* Get the platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'Java', '.NET Core'.
*
* @return the platform value
*/
public SupportedRuntimePlatform platform() {
return this.platform;
}

/**
* Set the platform of this runtime version (possible values: "Java" or ".NET"). Possible values include: 'Java', '.NET Core'.
*
* @param platform the platform value to set
* @return the SupportedRuntimeVersion1 object itself.
*/
public SupportedRuntimeVersion1 withPlatform(SupportedRuntimePlatform platform) {
this.platform = platform;
return this;
}

/**
* Get the detailed version (major.minor) of the platform.
*
* @return the version value
*/
public String version() {
return this.version;
}

/**
* Set the detailed version (major.minor) of the platform.
*
* @param version the version value to set
* @return the SupportedRuntimeVersion1 object itself.
*/
public SupportedRuntimeVersion1 withVersion(String version) {
this.version = version;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
*/
public class UserSourceInfo {
/**
* Type of the source uploaded. Possible values include: 'Jar', 'Source'.
* Type of the source uploaded. Possible values include: 'Jar',
* 'NetCoreZip', 'Source'.
*/
@JsonProperty(value = "type")
private UserSourceType type;
Expand All @@ -41,7 +42,7 @@ public class UserSourceInfo {
private String artifactSelector;

/**
* Get type of the source uploaded. Possible values include: 'Jar', 'Source'.
* Get type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source'.
*
* @return the type value
*/
Expand All @@ -50,7 +51,7 @@ public UserSourceType type() {
}

/**
* Set type of the source uploaded. Possible values include: 'Jar', 'Source'.
* Set type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source'.
*
* @param type the type value to set
* @return the UserSourceInfo object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ public final class UserSourceType extends ExpandableStringEnum<UserSourceType> {
/** Static value Jar for UserSourceType. */
public static final UserSourceType JAR = fromString("Jar");

/** Static value NetCoreZip for UserSourceType. */
public static final UserSourceType NET_CORE_ZIP = fromString("NetCoreZip");

/** Static value Source for UserSourceType. */
public static final UserSourceType SOURCE = fromString("Source");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,19 @@ public OperationsInner operations() {
return this.operations;
}

/**
* The RuntimeVersionsInner object to access its operations.
*/
private RuntimeVersionsInner runtimeVersions;

/**
* Gets the RuntimeVersionsInner object to access its operations.
* @return the RuntimeVersionsInner object.
*/
public RuntimeVersionsInner runtimeVersions() {
return this.runtimeVersions;
}

/**
* The SkusInner object to access its operations.
*/
Expand Down Expand Up @@ -308,6 +321,7 @@ protected void initialize() {
this.customDomains = new CustomDomainsInner(restClient().retrofit(), this);
this.deployments = new DeploymentsInner(restClient().retrofit(), this);
this.operations = new OperationsInner(restClient().retrofit(), this);
this.runtimeVersions = new RuntimeVersionsInner(restClient().retrofit(), this);
this.skus = new SkusInner(restClient().retrofit(), this);
this.azureClient = new AzureClient(this);
}
Expand Down
Loading