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-v2019_05_01_preview] Update swagger based on auto-gen process change. #2216

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-v2019_05_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-appplatform</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for AppPlatform Management</name>
<description>This package contains Microsoft AppPlatform Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AppResourceProperties {

/**
* Provisioning state of the App. Possible values include: 'Succeeded',
* 'Failed'.
* 'Failed', 'Creating', 'Updating'.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private AppResourceProvisioningState provisioningState;
Expand Down Expand Up @@ -88,7 +88,7 @@ public String url() {
}

/**
* Get provisioning state of the App. Possible values include: 'Succeeded', 'Failed'.
* Get provisioning state of the App. Possible values include: 'Succeeded', 'Failed', 'Creating', 'Updating'.
*
* @return the provisioningState value
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public final class AppResourceProvisioningState extends ExpandableStringEnum<App
/** Static value Failed for AppResourceProvisioningState. */
public static final AppResourceProvisioningState FAILED = fromString("Failed");

/** Static value Creating for AppResourceProvisioningState. */
public static final AppResourceProvisioningState CREATING = fromString("Creating");

/** Static value Updating for AppResourceProvisioningState. */
public static final AppResourceProvisioningState UPDATING = fromString("Updating");

/**
* Creates or finds a AppResourceProvisioningState from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,22 @@ public class DeploymentResourceProperties {
@JsonProperty(value = "appName", access = JsonProperty.Access.WRITE_ONLY)
private String appName;

/**
* Deployment settings of the Deployment.
*/
@JsonProperty(value = "deploymentSettings")
private DeploymentSettings deploymentSettings;

/**
* Provisioning state of the Deployment. Possible values include:
* 'Creating', 'Processing', 'Succeeded', 'Failed'.
* 'Creating', 'Updating', 'Succeeded', 'Failed'.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private DeploymentResourceProvisioningState provisioningState;

/**
* Deployment settings of the Deployment.
*/
@JsonProperty(value = "deploymentSettings")
private DeploymentSettings deploymentSettings;

/**
* Status of the Deployment. Possible values include: 'Unknown', 'Stopped',
* 'Running', 'Failed', 'Processing', 'Allocating', 'Upgrading',
* 'Compiling'.
* 'Running', 'Failed', 'Allocating', 'Upgrading', 'Compiling'.
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private DeploymentResourceStatus status;
Expand Down Expand Up @@ -96,6 +95,15 @@ public String appName() {
return this.appName;
}

/**
* Get provisioning state of the Deployment. Possible values include: 'Creating', 'Updating', 'Succeeded', 'Failed'.
*
* @return the provisioningState value
*/
public DeploymentResourceProvisioningState provisioningState() {
return this.provisioningState;
}

/**
* Get deployment settings of the Deployment.
*
Expand All @@ -117,16 +125,7 @@ public DeploymentResourceProperties withDeploymentSettings(DeploymentSettings de
}

/**
* Get provisioning state of the Deployment. Possible values include: 'Creating', 'Processing', 'Succeeded', 'Failed'.
*
* @return the provisioningState value
*/
public DeploymentResourceProvisioningState provisioningState() {
return this.provisioningState;
}

/**
* Get status of the Deployment. Possible values include: 'Unknown', 'Stopped', 'Running', 'Failed', 'Processing', 'Allocating', 'Upgrading', 'Compiling'.
* Get status of the Deployment. Possible values include: 'Unknown', 'Stopped', 'Running', 'Failed', 'Allocating', 'Upgrading', 'Compiling'.
*
* @return the status value
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public final class DeploymentResourceProvisioningState extends ExpandableStringE
/** Static value Creating for DeploymentResourceProvisioningState. */
public static final DeploymentResourceProvisioningState CREATING = fromString("Creating");

/** Static value Processing for DeploymentResourceProvisioningState. */
public static final DeploymentResourceProvisioningState PROCESSING = fromString("Processing");
/** Static value Updating for DeploymentResourceProvisioningState. */
public static final DeploymentResourceProvisioningState UPDATING = fromString("Updating");

/** Static value Succeeded for DeploymentResourceProvisioningState. */
public static final DeploymentResourceProvisioningState SUCCEEDED = fromString("Succeeded");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ public final class DeploymentResourceStatus extends ExpandableStringEnum<Deploym
/** Static value Failed for DeploymentResourceStatus. */
public static final DeploymentResourceStatus FAILED = fromString("Failed");

/** Static value Processing for DeploymentResourceStatus. */
public static final DeploymentResourceStatus PROCESSING = fromString("Processing");

/** Static value Allocating for DeploymentResourceStatus. */
public static final DeploymentResourceStatus ALLOCATING = fromString("Allocating");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import rx.Completable;
import rx.Observable;
import com.microsoft.azure.management.appplatform.v2019_05_01_preview.implementation.ServiceResourceInner;

/**
* Type representing Services.
Expand All @@ -30,10 +31,11 @@ public interface Services {
*
* @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.
* @param resource Parameters for the create or update operation
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ServiceResource> createOrUpdateAsync(String resourceGroupName, String serviceName);
Observable<ServiceResource> createOrUpdateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource);

/**
* Operation to delete a Service.
Expand All @@ -50,10 +52,11 @@ public interface Services {
*
* @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.
* @param resource Parameters for the update operation
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<ServiceResource> updateAsync(String resourceGroupName, String serviceName);
Observable<ServiceResource> updateAsync(String resourceGroupName, String serviceName, ServiceResourceInner resource);

/**
* Regenerate a test key for a Service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

import com.microsoft.azure.AzureClient;
import com.microsoft.azure.AzureServiceClient;
import com.microsoft.azure.LongRunningFinalState;
import com.microsoft.azure.LongRunningOperationOptions;
import com.microsoft.rest.credentials.ServiceClientCredentials;
import com.microsoft.rest.RestClient;

Expand Down
Loading