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 mgmt-v2020_07_01] [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2020-11-01-preview #6497

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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<SupportedRuntimeVersion> value();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* 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;

/**
* Error record of the config server settings.
*/
public class ConfigServerSettingsErrorRecord {
/**
* The name of the config server settings error record.
*/
@JsonProperty(value = "name")
private String name;

/**
* The uri of the config server settings error record.
*/
@JsonProperty(value = "uri")
private String uri;

/**
* The detail error messages of the record.
*/
@JsonProperty(value = "messages")
private List<String> messages;

/**
* Get the name of the config server settings error record.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set the name of the config server settings error record.
*
* @param name the name value to set
* @return the ConfigServerSettingsErrorRecord object itself.
*/
public ConfigServerSettingsErrorRecord withName(String name) {
this.name = name;
return this;
}

/**
* Get the uri of the config server settings error record.
*
* @return the uri value
*/
public String uri() {
return this.uri;
}

/**
* Set the uri of the config server settings error record.
*
* @param uri the uri value to set
* @return the ConfigServerSettingsErrorRecord object itself.
*/
public ConfigServerSettingsErrorRecord withUri(String uri) {
this.uri = uri;
return this;
}

/**
* Get the detail error messages of the record.
*
* @return the messages value
*/
public List<String> messages() {
return this.messages;
}

/**
* Set the detail error messages of the record.
*
* @param messages the messages value to set
* @return the ConfigServerSettingsErrorRecord object itself.
*/
public ConfigServerSettingsErrorRecord withMessages(List<String> messages) {
this.messages = messages;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* 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.ConfigServerSettingsValidateResultInner;
import java.util.List;

/**
* Type representing ConfigServerSettingsValidateResult.
*/
public interface ConfigServerSettingsValidateResult extends HasInner<ConfigServerSettingsValidateResultInner>, HasManager<AppPlatformManager> {
/**
* @return the details value.
*/
List<ConfigServerSettingsErrorRecord> details();

/**
* @return the isValid value.
*/
Boolean isValid();

}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,14 @@ public interface ConfigServers extends HasInner<ConfigServersInner> {
*/
Observable<ConfigServerResource> updatePatchAsync(String resourceGroupName, String serviceName);

/**
* Check if the config server settings are valid.
*
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
* @param serviceName The name of the Service resource.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ConfigServerSettingsValidateResult> validateAsync(String resourceGroupName, String serviceName);

}
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();

}
Loading