Skip to content

Commit

Permalink
[AutoPR machinelearningservices/resource-manager] [NEED DESIGN REVIEW…
Browse files Browse the repository at this point in the history
…, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 (#5641)

* Generated from f5ddfe85225c2d4f86f7de8e99760b95d1dea6bf

Merge branch 'master' into leizhao/workspaceQuotaManagementInVersion2019-05-01

* Generated from c89caf92470c4c334883662fd98e6bd07881807d

migrate quota management from 2019-05-01 to 2019-06-01, no content changes
  • Loading branch information
AutorestCI authored Sep 2, 2019
1 parent bbda6a0 commit eb68a4f
Show file tree
Hide file tree
Showing 7 changed files with 607 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import original "github.com/Azure/azure-sdk-for-go/services/machinelearningservi

type MachineLearningComputeClientAPI = original.MachineLearningComputeClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type QuotasClientAPI = original.QuotasClientAPI
type UsagesClientAPI = original.UsagesClientAPI
type VirtualMachineSizesClientAPI = original.VirtualMachineSizesClientAPI
type WorkspacesClientAPI = original.WorkspacesClientAPI
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ const (
Updating ProvisioningState = original.Updating
)

type QuotaUnit = original.QuotaUnit

const (
Count QuotaUnit = original.Count
)

type RemoteLoginPortPublicAccess = original.RemoteLoginPortPublicAccess

const (
Expand All @@ -117,8 +123,19 @@ const (
type Status = original.Status

const (
StatusDisabled Status = original.StatusDisabled
StatusEnabled Status = original.StatusEnabled
Failure Status = original.Failure
InvalidQuotaBelowClusterMinimum Status = original.InvalidQuotaBelowClusterMinimum
InvalidQuotaExceedsSubscriptionLimit Status = original.InvalidQuotaExceedsSubscriptionLimit
InvalidVMFamilyName Status = original.InvalidVMFamilyName
Success Status = original.Success
Undefined Status = original.Undefined
)

type Status1 = original.Status1

const (
Status1Disabled Status1 = original.Status1Disabled
Status1Enabled Status1 = original.Status1Enabled
)

type UnderlyingResourceAction = original.UnderlyingResourceAction
Expand All @@ -131,7 +148,7 @@ const (
type UsageUnit = original.UsageUnit

const (
Count UsageUnit = original.Count
UsageUnitCount UsageUnit = original.UsageUnitCount
)

type VMPriority = original.VMPriority
Expand Down Expand Up @@ -176,6 +193,9 @@ type ListUsagesResult = original.ListUsagesResult
type ListUsagesResultIterator = original.ListUsagesResultIterator
type ListUsagesResultPage = original.ListUsagesResultPage
type ListWorkspaceKeysResult = original.ListWorkspaceKeysResult
type ListWorkspaceQuotas = original.ListWorkspaceQuotas
type ListWorkspaceQuotasIterator = original.ListWorkspaceQuotasIterator
type ListWorkspaceQuotasPage = original.ListWorkspaceQuotasPage
type MachineLearningComputeClient = original.MachineLearningComputeClient
type MachineLearningComputeCreateOrUpdateFuture = original.MachineLearningComputeCreateOrUpdateFuture
type MachineLearningComputeDeleteFuture = original.MachineLearningComputeDeleteFuture
Expand All @@ -189,13 +209,20 @@ type PaginatedComputeResourcesList = original.PaginatedComputeResourcesList
type PaginatedComputeResourcesListIterator = original.PaginatedComputeResourcesListIterator
type PaginatedComputeResourcesListPage = original.PaginatedComputeResourcesListPage
type Password = original.Password
type QuotaBaseProperties = original.QuotaBaseProperties
type QuotaUpdateParameters = original.QuotaUpdateParameters
type QuotasClient = original.QuotasClient
type RegistryListCredentialsResult = original.RegistryListCredentialsResult
type Resource = original.Resource
type ResourceID = original.ResourceID
type ResourceName = original.ResourceName
type ResourceQuota = original.ResourceQuota
type ScaleSettings = original.ScaleSettings
type ServicePrincipalCredentials = original.ServicePrincipalCredentials
type SslConfiguration = original.SslConfiguration
type SystemService = original.SystemService
type UpdateWorkspaceQuotas = original.UpdateWorkspaceQuotas
type UpdateWorkspaceQuotasResult = original.UpdateWorkspaceQuotasResult
type Usage = original.Usage
type UsageName = original.UsageName
type UsagesClient = original.UsagesClient
Expand Down Expand Up @@ -225,6 +252,12 @@ func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIter
func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
return original.NewListUsagesResultPage(getNextPage)
}
func NewListWorkspaceQuotasIterator(page ListWorkspaceQuotasPage) ListWorkspaceQuotasIterator {
return original.NewListWorkspaceQuotasIterator(page)
}
func NewListWorkspaceQuotasPage(getNextPage func(context.Context, ListWorkspaceQuotas) (ListWorkspaceQuotas, error)) ListWorkspaceQuotasPage {
return original.NewListWorkspaceQuotasPage(getNextPage)
}
func NewMachineLearningComputeClient(subscriptionID string) MachineLearningComputeClient {
return original.NewMachineLearningComputeClient(subscriptionID)
}
Expand All @@ -243,6 +276,12 @@ func NewPaginatedComputeResourcesListIterator(page PaginatedComputeResourcesList
func NewPaginatedComputeResourcesListPage(getNextPage func(context.Context, PaginatedComputeResourcesList) (PaginatedComputeResourcesList, error)) PaginatedComputeResourcesListPage {
return original.NewPaginatedComputeResourcesListPage(getNextPage)
}
func NewQuotasClient(subscriptionID string) QuotasClient {
return original.NewQuotasClient(subscriptionID)
}
func NewQuotasClientWithBaseURI(baseURI string, subscriptionID string) QuotasClient {
return original.NewQuotasClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsagesClient(subscriptionID string) UsagesClient {
return original.NewUsagesClient(subscriptionID)
}
Expand Down Expand Up @@ -291,12 +330,18 @@ func PossibleNodeStateValues() []NodeState {
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleQuotaUnitValues() []QuotaUnit {
return original.PossibleQuotaUnitValues()
}
func PossibleRemoteLoginPortPublicAccessValues() []RemoteLoginPortPublicAccess {
return original.PossibleRemoteLoginPortPublicAccessValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleStatus1Values() []Status1 {
return original.PossibleStatus1Values()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import original "github.com/Azure/azure-sdk-for-go/services/machinelearningservi

type MachineLearningComputeClientAPI = original.MachineLearningComputeClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type QuotasClientAPI = original.QuotasClientAPI
type UsagesClientAPI = original.UsagesClientAPI
type VirtualMachineSizesClientAPI = original.VirtualMachineSizesClientAPI
type WorkspacesClientAPI = original.WorkspacesClientAPI
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ const (
Updating ProvisioningState = original.Updating
)

type QuotaUnit = original.QuotaUnit

const (
Count QuotaUnit = original.Count
)

type RemoteLoginPortPublicAccess = original.RemoteLoginPortPublicAccess

const (
Expand All @@ -117,8 +123,19 @@ const (
type Status = original.Status

const (
StatusDisabled Status = original.StatusDisabled
StatusEnabled Status = original.StatusEnabled
Failure Status = original.Failure
InvalidQuotaBelowClusterMinimum Status = original.InvalidQuotaBelowClusterMinimum
InvalidQuotaExceedsSubscriptionLimit Status = original.InvalidQuotaExceedsSubscriptionLimit
InvalidVMFamilyName Status = original.InvalidVMFamilyName
Success Status = original.Success
Undefined Status = original.Undefined
)

type Status1 = original.Status1

const (
Status1Disabled Status1 = original.Status1Disabled
Status1Enabled Status1 = original.Status1Enabled
)

type UnderlyingResourceAction = original.UnderlyingResourceAction
Expand All @@ -131,7 +148,7 @@ const (
type UsageUnit = original.UsageUnit

const (
Count UsageUnit = original.Count
UsageUnitCount UsageUnit = original.UsageUnitCount
)

type VMPriority = original.VMPriority
Expand Down Expand Up @@ -176,6 +193,9 @@ type ListUsagesResult = original.ListUsagesResult
type ListUsagesResultIterator = original.ListUsagesResultIterator
type ListUsagesResultPage = original.ListUsagesResultPage
type ListWorkspaceKeysResult = original.ListWorkspaceKeysResult
type ListWorkspaceQuotas = original.ListWorkspaceQuotas
type ListWorkspaceQuotasIterator = original.ListWorkspaceQuotasIterator
type ListWorkspaceQuotasPage = original.ListWorkspaceQuotasPage
type MachineLearningComputeClient = original.MachineLearningComputeClient
type MachineLearningComputeCreateOrUpdateFuture = original.MachineLearningComputeCreateOrUpdateFuture
type MachineLearningComputeDeleteFuture = original.MachineLearningComputeDeleteFuture
Expand All @@ -189,13 +209,20 @@ type PaginatedComputeResourcesList = original.PaginatedComputeResourcesList
type PaginatedComputeResourcesListIterator = original.PaginatedComputeResourcesListIterator
type PaginatedComputeResourcesListPage = original.PaginatedComputeResourcesListPage
type Password = original.Password
type QuotaBaseProperties = original.QuotaBaseProperties
type QuotaUpdateParameters = original.QuotaUpdateParameters
type QuotasClient = original.QuotasClient
type RegistryListCredentialsResult = original.RegistryListCredentialsResult
type Resource = original.Resource
type ResourceID = original.ResourceID
type ResourceName = original.ResourceName
type ResourceQuota = original.ResourceQuota
type ScaleSettings = original.ScaleSettings
type ServicePrincipalCredentials = original.ServicePrincipalCredentials
type SslConfiguration = original.SslConfiguration
type SystemService = original.SystemService
type UpdateWorkspaceQuotas = original.UpdateWorkspaceQuotas
type UpdateWorkspaceQuotasResult = original.UpdateWorkspaceQuotasResult
type Usage = original.Usage
type UsageName = original.UsageName
type UsagesClient = original.UsagesClient
Expand Down Expand Up @@ -225,6 +252,12 @@ func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIter
func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
return original.NewListUsagesResultPage(getNextPage)
}
func NewListWorkspaceQuotasIterator(page ListWorkspaceQuotasPage) ListWorkspaceQuotasIterator {
return original.NewListWorkspaceQuotasIterator(page)
}
func NewListWorkspaceQuotasPage(getNextPage func(context.Context, ListWorkspaceQuotas) (ListWorkspaceQuotas, error)) ListWorkspaceQuotasPage {
return original.NewListWorkspaceQuotasPage(getNextPage)
}
func NewMachineLearningComputeClient(subscriptionID string) MachineLearningComputeClient {
return original.NewMachineLearningComputeClient(subscriptionID)
}
Expand All @@ -243,6 +276,12 @@ func NewPaginatedComputeResourcesListIterator(page PaginatedComputeResourcesList
func NewPaginatedComputeResourcesListPage(getNextPage func(context.Context, PaginatedComputeResourcesList) (PaginatedComputeResourcesList, error)) PaginatedComputeResourcesListPage {
return original.NewPaginatedComputeResourcesListPage(getNextPage)
}
func NewQuotasClient(subscriptionID string) QuotasClient {
return original.NewQuotasClient(subscriptionID)
}
func NewQuotasClientWithBaseURI(baseURI string, subscriptionID string) QuotasClient {
return original.NewQuotasClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsagesClient(subscriptionID string) UsagesClient {
return original.NewUsagesClient(subscriptionID)
}
Expand Down Expand Up @@ -291,12 +330,18 @@ func PossibleNodeStateValues() []NodeState {
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleQuotaUnitValues() []QuotaUnit {
return original.PossibleQuotaUnitValues()
}
func PossibleRemoteLoginPortPublicAccessValues() []RemoteLoginPortPublicAccess {
return original.PossibleRemoteLoginPortPublicAccessValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleStatus1Values() []Status1 {
return original.PossibleStatus1Values()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
Expand Down

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

Loading

0 comments on commit eb68a4f

Please sign in to comment.