From 23fc4378364cda7ac0689d9c36c698f485945558 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 3 Dec 2020 14:10:27 +0000 Subject: [PATCH] CodeGen from PR 11880 in Azure/azure-rest-api-specs Fix 2019-06-01-preview/FailoverManagedInstance.json (#11880) --- services/sql/mgmt/2014-04-01/sql/CHANGELOG.md | 4 ++ services/sql/mgmt/2014-04-01/sql/models.go | 62 ++++++++++--------- 2 files changed, 38 insertions(+), 28 deletions(-) create mode 100644 services/sql/mgmt/2014-04-01/sql/CHANGELOG.md diff --git a/services/sql/mgmt/2014-04-01/sql/CHANGELOG.md b/services/sql/mgmt/2014-04-01/sql/CHANGELOG.md new file mode 100644 index 000000000000..8d5d2ab27178 --- /dev/null +++ b/services/sql/mgmt/2014-04-01/sql/CHANGELOG.md @@ -0,0 +1,4 @@ +Generated from https://github.com/Azure/azure-rest-api-specs/tree/3c764635e7d442b3e74caf593029fcd440b3ef82 + +Code generator @microsoft.azure/autorest.go@~2.1.161 + diff --git a/services/sql/mgmt/2014-04-01/sql/models.go b/services/sql/mgmt/2014-04-01/sql/models.go index 7ad045b00b55..f54cf61d0f9f 100644 --- a/services/sql/mgmt/2014-04-01/sql/models.go +++ b/services/sql/mgmt/2014-04-01/sql/models.go @@ -161,7 +161,8 @@ type CheckNameAvailabilityRequest struct { Type *string `json:"type,omitempty"` } -// CheckNameAvailabilityResponse a response indicating whether the specified name for a resource is available. +// CheckNameAvailabilityResponse a response indicating whether the specified name for a resource is +// available. type CheckNameAvailabilityResponse struct { autorest.Response `json:"-"` // Available - READ-ONLY; True if the name is available, otherwise false. @@ -718,7 +719,8 @@ type DatabaseSecurityAlertPolicyProperties struct { UseServerDefault SecurityAlertPolicyUseServerDefault `json:"useServerDefault,omitempty"` } -// DatabasesExportFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// DatabasesExportFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type DatabasesExportFuture struct { azure.Future } @@ -746,7 +748,8 @@ func (future *DatabasesExportFuture) Result(client DatabasesClient) (ier ImportE return } -// DatabasesImportFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// DatabasesImportFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type DatabasesImportFuture struct { azure.Future } @@ -774,7 +777,8 @@ func (future *DatabasesImportFuture) Result(client DatabasesClient) (ier ImportE return } -// DatabasesPauseFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// DatabasesPauseFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type DatabasesPauseFuture struct { azure.Future } @@ -796,7 +800,8 @@ func (future *DatabasesPauseFuture) Result(client DatabasesClient) (ar autorest. return } -// DatabasesResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// DatabasesResumeFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type DatabasesResumeFuture struct { azure.Future } @@ -818,7 +823,8 @@ func (future *DatabasesResumeFuture) Result(client DatabasesClient) (ar autorest return } -// DatabasesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation. +// DatabasesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running +// operation. type DatabasesUpdateFuture struct { azure.Future } @@ -1460,8 +1466,8 @@ func (drc *DisasterRecoveryConfiguration) UnmarshalJSON(body []byte) error { return nil } -// DisasterRecoveryConfigurationListResult represents the response to a List disaster recovery configuration -// request. +// DisasterRecoveryConfigurationListResult represents the response to a List disaster recovery +// configuration request. type DisasterRecoveryConfigurationListResult struct { autorest.Response `json:"-"` // Value - The list of disaster recovery configurations housed under the server. @@ -1501,8 +1507,8 @@ func (drcp DisasterRecoveryConfigurationProperties) MarshalJSON() ([]byte, error return json.Marshal(objectMap) } -// DisasterRecoveryConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results -// of a long-running operation. +// DisasterRecoveryConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the +// results of a long-running operation. type DisasterRecoveryConfigurationsCreateOrUpdateFuture struct { azure.Future } @@ -1553,8 +1559,8 @@ func (future *DisasterRecoveryConfigurationsDeleteFuture) Result(client Disaster return } -// DisasterRecoveryConfigurationsFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the -// results of a long-running operation. +// DisasterRecoveryConfigurationsFailoverAllowDataLossFuture an abstraction for monitoring and retrieving +// the results of a long-running operation. type DisasterRecoveryConfigurationsFailoverAllowDataLossFuture struct { azure.Future } @@ -1576,8 +1582,8 @@ func (future *DisasterRecoveryConfigurationsFailoverAllowDataLossFuture) Result( return } -// DisasterRecoveryConfigurationsFailoverFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// DisasterRecoveryConfigurationsFailoverFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type DisasterRecoveryConfigurationsFailoverFuture struct { azure.Future } @@ -2087,8 +2093,8 @@ func (epp ElasticPoolProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// ElasticPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ElasticPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ElasticPoolsCreateOrUpdateFuture struct { azure.Future } @@ -2825,8 +2831,8 @@ type OperationImpact struct { ChangeValueRelative *float64 `json:"changeValueRelative,omitempty"` } -// OperationListResult result of the request to list SQL operations. It contains a list of operations and a URL -// link to get the next set of results. +// OperationListResult result of the request to list SQL operations. It contains a list of operations and a +// URL link to get the next set of results. type OperationListResult struct { autorest.Response `json:"-"` // Value - List of SQL operations supported by the SQL resource provider. @@ -2980,8 +2986,8 @@ func (rep *RecommendedElasticPool) UnmarshalJSON(body []byte) error { return nil } -// RecommendedElasticPoolListMetricsResult represents the response to a list recommended elastic pool metrics -// request. +// RecommendedElasticPoolListMetricsResult represents the response to a list recommended elastic pool +// metrics request. type RecommendedElasticPoolListMetricsResult struct { autorest.Response `json:"-"` // Value - The list of recommended elastic pools metrics. @@ -3353,8 +3359,8 @@ type ReplicationLinkProperties struct { ReplicationState ReplicationState `json:"replicationState,omitempty"` } -// ReplicationLinksFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ReplicationLinksFailoverAllowDataLossFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type ReplicationLinksFailoverAllowDataLossFuture struct { azure.Future } @@ -3376,8 +3382,8 @@ func (future *ReplicationLinksFailoverAllowDataLossFuture) Result(client Replica return } -// ReplicationLinksFailoverFuture an abstraction for monitoring and retrieving the results of a long-running -// operation. +// ReplicationLinksFailoverFuture an abstraction for monitoring and retrieving the results of a +// long-running operation. type ReplicationLinksFailoverFuture struct { azure.Future } @@ -3836,8 +3842,8 @@ func (saaa *ServerAzureADAdministrator) UnmarshalJSON(body []byte) error { return nil } -// ServerAzureADAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of -// a long-running operation. +// ServerAzureADAdministratorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results +// of a long-running operation. type ServerAzureADAdministratorsCreateOrUpdateFuture struct { azure.Future } @@ -4013,8 +4019,8 @@ func (sclp ServerCommunicationLinkProperties) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// ServerCommunicationLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a -// long-running operation. +// ServerCommunicationLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of +// a long-running operation. type ServerCommunicationLinksCreateOrUpdateFuture struct { azure.Future }