Skip to content

Commit

Permalink
[AutoPR sql/resource-manager] New Cmdlets for Management.Sql to allow…
Browse files Browse the repository at this point in the history
… customers to add TDE keys and set TDE protector (#2573)

* Generated from bdb271f9fc7fa148176e6470e7e5b27cc2450c73

Changes for ManagedInstanceEncryptionProtectors

* Generated from 724082f8646ab05191f7eee135fd674fd26d1a94

Changing operation id to ListByInstance as per Jared's recommendation

* Generated from f5321fc054067d1d4e8937cfc92452bf4a6a4950

Addressed comments By @anuchandy
- Changed comment to created or updated
- changed operation if to listByInstance
  • Loading branch information
AutorestCI authored Sep 4, 2018
1 parent 588f6da commit c991983
Show file tree
Hide file tree
Showing 4 changed files with 1,201 additions and 0 deletions.
37 changes: 37 additions & 0 deletions profiles/preview/preview/sql/mgmt/sql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ type DatabaseVulnerabilityAssessmentScansClient = original.DatabaseVulnerability
type ElasticPoolOperationsClient = original.ElasticPoolOperationsClient
type ElasticPoolsClient = original.ElasticPoolsClient
type InstanceFailoverGroupsClient = original.InstanceFailoverGroupsClient
type ManagedInstanceEncryptionProtectorsClient = original.ManagedInstanceEncryptionProtectorsClient
type ManagedInstanceKeysClient = original.ManagedInstanceKeysClient
type ManagedInstanceTdeCertificatesClient = original.ManagedInstanceTdeCertificatesClient
type CapabilityGroup = original.CapabilityGroup

Expand Down Expand Up @@ -193,6 +195,13 @@ const (
WideWorldImportersStd SampleName = original.WideWorldImportersStd
)

type ServerKeyType = original.ServerKeyType

const (
AzureKeyVault ServerKeyType = original.AzureKeyVault
ServiceManaged ServerKeyType = original.ServiceManaged
)

type VulnerabilityAssessmentScanState = original.VulnerabilityAssessmentScanState

const (
Expand Down Expand Up @@ -272,7 +281,20 @@ type LicenseTypeCapability = original.LicenseTypeCapability
type LocationCapabilities = original.LocationCapabilities
type LogSizeCapability = original.LogSizeCapability
type ManagedInstanceEditionCapability = original.ManagedInstanceEditionCapability
type ManagedInstanceEncryptionProtector = original.ManagedInstanceEncryptionProtector
type ManagedInstanceEncryptionProtectorListResult = original.ManagedInstanceEncryptionProtectorListResult
type ManagedInstanceEncryptionProtectorListResultIterator = original.ManagedInstanceEncryptionProtectorListResultIterator
type ManagedInstanceEncryptionProtectorListResultPage = original.ManagedInstanceEncryptionProtectorListResultPage
type ManagedInstanceEncryptionProtectorProperties = original.ManagedInstanceEncryptionProtectorProperties
type ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture = original.ManagedInstanceEncryptionProtectorsCreateOrUpdateFuture
type ManagedInstanceFamilyCapability = original.ManagedInstanceFamilyCapability
type ManagedInstanceKey = original.ManagedInstanceKey
type ManagedInstanceKeyListResult = original.ManagedInstanceKeyListResult
type ManagedInstanceKeyListResultIterator = original.ManagedInstanceKeyListResultIterator
type ManagedInstanceKeyListResultPage = original.ManagedInstanceKeyListResultPage
type ManagedInstanceKeyProperties = original.ManagedInstanceKeyProperties
type ManagedInstanceKeysCreateOrUpdateFuture = original.ManagedInstanceKeysCreateOrUpdateFuture
type ManagedInstanceKeysDeleteFuture = original.ManagedInstanceKeysDeleteFuture
type ManagedInstancePairInfo = original.ManagedInstancePairInfo
type ManagedInstanceTdeCertificatesCreateFuture = original.ManagedInstanceTdeCertificatesCreateFuture
type ManagedInstanceVcoresCapability = original.ManagedInstanceVcoresCapability
Expand Down Expand Up @@ -354,6 +376,18 @@ func NewInstanceFailoverGroupsClient(subscriptionID string) InstanceFailoverGrou
func NewInstanceFailoverGroupsClientWithBaseURI(baseURI string, subscriptionID string) InstanceFailoverGroupsClient {
return original.NewInstanceFailoverGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewManagedInstanceEncryptionProtectorsClient(subscriptionID string) ManagedInstanceEncryptionProtectorsClient {
return original.NewManagedInstanceEncryptionProtectorsClient(subscriptionID)
}
func NewManagedInstanceEncryptionProtectorsClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceEncryptionProtectorsClient {
return original.NewManagedInstanceEncryptionProtectorsClientWithBaseURI(baseURI, subscriptionID)
}
func NewManagedInstanceKeysClient(subscriptionID string) ManagedInstanceKeysClient {
return original.NewManagedInstanceKeysClient(subscriptionID)
}
func NewManagedInstanceKeysClientWithBaseURI(baseURI string, subscriptionID string) ManagedInstanceKeysClient {
return original.NewManagedInstanceKeysClientWithBaseURI(baseURI, subscriptionID)
}
func NewManagedInstanceTdeCertificatesClient(subscriptionID string) ManagedInstanceTdeCertificatesClient {
return original.NewManagedInstanceTdeCertificatesClient(subscriptionID)
}
Expand Down Expand Up @@ -411,6 +445,9 @@ func PossibleReadWriteEndpointFailoverPolicyValues() []ReadWriteEndpointFailover
func PossibleSampleNameValues() []SampleName {
return original.PossibleSampleNameValues()
}
func PossibleServerKeyTypeValues() []ServerKeyType {
return original.PossibleServerKeyTypeValues()
}
func PossibleVulnerabilityAssessmentScanStateValues() []VulnerabilityAssessmentScanState {
return original.PossibleVulnerabilityAssessmentScanStateValues()
}
Expand Down

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

Loading

0 comments on commit c991983

Please sign in to comment.