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] sql/resource-manager #1741

Closed
wants to merge 3 commits into from
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
371 changes: 371 additions & 0 deletions profiles/preview/preview/sql/mgmt/sql/models.go

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions profiles/preview/sql/mgmt/sql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ const (
type BaseClient = original.BaseClient
type DatabaseOperationsClient = original.DatabaseOperationsClient
type ElasticPoolOperationsClient = original.ElasticPoolOperationsClient
type InstanceFailoverGroupsClient = original.InstanceFailoverGroupsClient
type InstanceFailoverGroupReplicationRole = original.InstanceFailoverGroupReplicationRole

const (
Primary InstanceFailoverGroupReplicationRole = original.Primary
Secondary InstanceFailoverGroupReplicationRole = original.Secondary
)

type ManagementOperationState = original.ManagementOperationState

const (
Expand All @@ -39,6 +47,20 @@ const (
Succeeded ManagementOperationState = original.Succeeded
)

type ReadOnlyEndpointFailoverPolicy = original.ReadOnlyEndpointFailoverPolicy

const (
Disabled ReadOnlyEndpointFailoverPolicy = original.Disabled
Enabled ReadOnlyEndpointFailoverPolicy = original.Enabled
)

type ReadWriteEndpointFailoverPolicy = original.ReadWriteEndpointFailoverPolicy

const (
Automatic ReadWriteEndpointFailoverPolicy = original.Automatic
Manual ReadWriteEndpointFailoverPolicy = original.Manual
)

type DatabaseOperation = original.DatabaseOperation
type DatabaseOperationListResult = original.DatabaseOperationListResult
type DatabaseOperationListResultIterator = original.DatabaseOperationListResultIterator
Expand All @@ -49,6 +71,19 @@ type ElasticPoolOperationListResult = original.ElasticPoolOperationListResult
type ElasticPoolOperationListResultIterator = original.ElasticPoolOperationListResultIterator
type ElasticPoolOperationListResultPage = original.ElasticPoolOperationListResultPage
type ElasticPoolOperationProperties = original.ElasticPoolOperationProperties
type InstanceFailoverGroup = original.InstanceFailoverGroup
type InstanceFailoverGroupListResult = original.InstanceFailoverGroupListResult
type InstanceFailoverGroupListResultIterator = original.InstanceFailoverGroupListResultIterator
type InstanceFailoverGroupListResultPage = original.InstanceFailoverGroupListResultPage
type InstanceFailoverGroupProperties = original.InstanceFailoverGroupProperties
type InstanceFailoverGroupReadOnlyEndpoint = original.InstanceFailoverGroupReadOnlyEndpoint
type InstanceFailoverGroupReadWriteEndpoint = original.InstanceFailoverGroupReadWriteEndpoint
type InstanceFailoverGroupsCreateOrUpdateFuture = original.InstanceFailoverGroupsCreateOrUpdateFuture
type InstanceFailoverGroupsDeleteFuture = original.InstanceFailoverGroupsDeleteFuture
type InstanceFailoverGroupsFailoverFuture = original.InstanceFailoverGroupsFailoverFuture
type InstanceFailoverGroupsForceFailoverAllowDataLossFuture = original.InstanceFailoverGroupsForceFailoverAllowDataLossFuture
type ManagedInstancePairInfo = original.ManagedInstancePairInfo
type PartnerRegionInfo = original.PartnerRegionInfo
type ProxyResource = original.ProxyResource
type Resource = original.Resource

Expand All @@ -70,9 +105,24 @@ func NewElasticPoolOperationsClient(subscriptionID string) ElasticPoolOperations
func NewElasticPoolOperationsClientWithBaseURI(baseURI string, subscriptionID string) ElasticPoolOperationsClient {
return original.NewElasticPoolOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewInstanceFailoverGroupsClient(subscriptionID string) InstanceFailoverGroupsClient {
return original.NewInstanceFailoverGroupsClient(subscriptionID)
}
func NewInstanceFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) InstanceFailoverGroupsClient {
return original.NewInstanceFailoverGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleInstanceFailoverGroupReplicationRoleValues() []InstanceFailoverGroupReplicationRole {
return original.PossibleInstanceFailoverGroupReplicationRoleValues()
}
func PossibleManagementOperationStateValues() []ManagementOperationState {
return original.PossibleManagementOperationStateValues()
}
func PossibleReadOnlyEndpointFailoverPolicyValues() []ReadOnlyEndpointFailoverPolicy {
return original.PossibleReadOnlyEndpointFailoverPolicyValues()
}
func PossibleReadWriteEndpointFailoverPolicyValues() []ReadWriteEndpointFailoverPolicy {
return original.PossibleReadWriteEndpointFailoverPolicyValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
Expand Down

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

Loading