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 machinelearningservices/resource-manager] [NEED DESIGN REVIEW, DO NOT MERGE] Adding workspace level quota management APIs in version 2019-05-01 #5641

Merged
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
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