Skip to content

Commit

Permalink
Generated from 980a4a36c65ce19efc0707a489f0c94e8e291455
Browse files Browse the repository at this point in the history
1. Make PUT and PATCH against App resource supports async.
2. Remove "Processing" enum from DeploymentResourceProperties's status property.
3. Rename "Processing" enum to "Updating" for DeploymentResourceProperties's provisioningState.
  • Loading branch information
AutorestCI authored and ArcturusZhang committed Oct 24, 2019
1 parent 72b08ac commit acdbdc3
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 46 deletions.
13 changes: 8 additions & 5 deletions profiles/preview/preview/appplatform/mgmt/appplatform/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ const (
type AppResourceProvisioningState = original.AppResourceProvisioningState

const (
Creating AppResourceProvisioningState = original.Creating
Failed AppResourceProvisioningState = original.Failed
Succeeded AppResourceProvisioningState = original.Succeeded
Updating AppResourceProvisioningState = original.Updating
)

type ConfigServerState = original.ConfigServerState
Expand All @@ -49,10 +51,10 @@ const (
type DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningState

const (
DeploymentResourceProvisioningStateCreating DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateCreating
DeploymentResourceProvisioningStateFailed DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateFailed
DeploymentResourceProvisioningStateProcessing DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateProcessing
DeploymentResourceProvisioningStateSucceeded DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateSucceeded
DeploymentResourceProvisioningStateCreating DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateCreating
DeploymentResourceProvisioningStateFailed DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateFailed
DeploymentResourceProvisioningStateSucceeded DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateSucceeded
DeploymentResourceProvisioningStateUpdating DeploymentResourceProvisioningState = original.DeploymentResourceProvisioningStateUpdating
)

type DeploymentResourceStatus = original.DeploymentResourceStatus
Expand All @@ -61,7 +63,6 @@ const (
DeploymentResourceStatusAllocating DeploymentResourceStatus = original.DeploymentResourceStatusAllocating
DeploymentResourceStatusCompiling DeploymentResourceStatus = original.DeploymentResourceStatusCompiling
DeploymentResourceStatusFailed DeploymentResourceStatus = original.DeploymentResourceStatusFailed
DeploymentResourceStatusProcessing DeploymentResourceStatus = original.DeploymentResourceStatusProcessing
DeploymentResourceStatusRunning DeploymentResourceStatus = original.DeploymentResourceStatusRunning
DeploymentResourceStatusStopped DeploymentResourceStatus = original.DeploymentResourceStatusStopped
DeploymentResourceStatusUnknown DeploymentResourceStatus = original.DeploymentResourceStatusUnknown
Expand Down Expand Up @@ -118,6 +119,8 @@ type AppResourceCollectionIterator = original.AppResourceCollectionIterator
type AppResourceCollectionPage = original.AppResourceCollectionPage
type AppResourceProperties = original.AppResourceProperties
type AppsClient = original.AppsClient
type AppsCreateOrUpdateFuture = original.AppsCreateOrUpdateFuture
type AppsUpdateFuture = original.AppsUpdateFuture
type AvailableOperations = original.AvailableOperations
type AvailableOperationsIterator = original.AvailableOperationsIterator
type AvailableOperationsPage = original.AvailableOperationsPage
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit acdbdc3

Please sign in to comment.