Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed Aug 22, 2018
1 parent 2a810c7 commit a1ed376
Show file tree
Hide file tree
Showing 4 changed files with 371 additions and 0 deletions.
20 changes: 20 additions & 0 deletions profiles/latest/mysql/mgmt/mysql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ const (
User OperationOrigin = original.User
)

type ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyState

const (
ServerSecurityAlertPolicyStateDisabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateDisabled
ServerSecurityAlertPolicyStateEnabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateEnabled
)

type ServerState = original.ServerState

const (
Expand Down Expand Up @@ -123,6 +130,7 @@ type PerformanceTierListResult = original.PerformanceTierListResult
type PerformanceTierProperties = original.PerformanceTierProperties
type PerformanceTierServiceLevelObjectives = original.PerformanceTierServiceLevelObjectives
type ProxyResource = original.ProxyResource
type SecurityAlertPolicyProperties = original.SecurityAlertPolicyProperties
type Server = original.Server
type ServerForCreate = original.ServerForCreate
type ServerListResult = original.ServerListResult
Expand All @@ -134,6 +142,8 @@ type ServerPropertiesForGeoRestore = original.ServerPropertiesForGeoRestore
type ServerPropertiesForRestore = original.ServerPropertiesForRestore
type ServersCreateFuture = original.ServersCreateFuture
type ServersDeleteFuture = original.ServersDeleteFuture
type ServerSecurityAlertPoliciesCreateOrUpdateFuture = original.ServerSecurityAlertPoliciesCreateOrUpdateFuture
type ServerSecurityAlertPolicy = original.ServerSecurityAlertPolicy
type ServersUpdateFuture = original.ServersUpdateFuture
type ServerUpdateParameters = original.ServerUpdateParameters
type ServerUpdateParametersProperties = original.ServerUpdateParametersProperties
Expand All @@ -149,6 +159,7 @@ type VirtualNetworkRulesCreateOrUpdateFuture = original.VirtualNetworkRulesCreat
type VirtualNetworkRulesDeleteFuture = original.VirtualNetworkRulesDeleteFuture
type OperationsClient = original.OperationsClient
type ServersClient = original.ServersClient
type ServerSecurityAlertPoliciesClient = original.ServerSecurityAlertPoliciesClient
type VirtualNetworkRulesClient = original.VirtualNetworkRulesClient

func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient {
Expand Down Expand Up @@ -202,6 +213,9 @@ func PossibleGeoRedundantBackupValues() []GeoRedundantBackup {
func PossibleOperationOriginValues() []OperationOrigin {
return original.PossibleOperationOriginValues()
}
func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState {
return original.PossibleServerSecurityAlertPolicyStateValues()
}
func PossibleServerStateValues() []ServerState {
return original.PossibleServerStateValues()
}
Expand Down Expand Up @@ -229,6 +243,12 @@ func NewServersClient(subscriptionID string) ServersClient {
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return original.NewServersClientWithBaseURI(baseURI, subscriptionID)
}
func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient {
return original.NewServerSecurityAlertPoliciesClient(subscriptionID)
}
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return original.NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
Expand Down
20 changes: 20 additions & 0 deletions profiles/preview/mysql/mgmt/mysql/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ const (
User OperationOrigin = original.User
)

type ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyState

const (
ServerSecurityAlertPolicyStateDisabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateDisabled
ServerSecurityAlertPolicyStateEnabled ServerSecurityAlertPolicyState = original.ServerSecurityAlertPolicyStateEnabled
)

type ServerState = original.ServerState

const (
Expand Down Expand Up @@ -123,6 +130,7 @@ type PerformanceTierListResult = original.PerformanceTierListResult
type PerformanceTierProperties = original.PerformanceTierProperties
type PerformanceTierServiceLevelObjectives = original.PerformanceTierServiceLevelObjectives
type ProxyResource = original.ProxyResource
type SecurityAlertPolicyProperties = original.SecurityAlertPolicyProperties
type Server = original.Server
type ServerForCreate = original.ServerForCreate
type ServerListResult = original.ServerListResult
Expand All @@ -134,6 +142,8 @@ type ServerPropertiesForGeoRestore = original.ServerPropertiesForGeoRestore
type ServerPropertiesForRestore = original.ServerPropertiesForRestore
type ServersCreateFuture = original.ServersCreateFuture
type ServersDeleteFuture = original.ServersDeleteFuture
type ServerSecurityAlertPoliciesCreateOrUpdateFuture = original.ServerSecurityAlertPoliciesCreateOrUpdateFuture
type ServerSecurityAlertPolicy = original.ServerSecurityAlertPolicy
type ServersUpdateFuture = original.ServersUpdateFuture
type ServerUpdateParameters = original.ServerUpdateParameters
type ServerUpdateParametersProperties = original.ServerUpdateParametersProperties
Expand All @@ -149,6 +159,7 @@ type VirtualNetworkRulesCreateOrUpdateFuture = original.VirtualNetworkRulesCreat
type VirtualNetworkRulesDeleteFuture = original.VirtualNetworkRulesDeleteFuture
type OperationsClient = original.OperationsClient
type ServersClient = original.ServersClient
type ServerSecurityAlertPoliciesClient = original.ServerSecurityAlertPoliciesClient
type VirtualNetworkRulesClient = original.VirtualNetworkRulesClient

func NewCheckNameAvailabilityClient(subscriptionID string) CheckNameAvailabilityClient {
Expand Down Expand Up @@ -202,6 +213,9 @@ func PossibleGeoRedundantBackupValues() []GeoRedundantBackup {
func PossibleOperationOriginValues() []OperationOrigin {
return original.PossibleOperationOriginValues()
}
func PossibleServerSecurityAlertPolicyStateValues() []ServerSecurityAlertPolicyState {
return original.PossibleServerSecurityAlertPolicyStateValues()
}
func PossibleServerStateValues() []ServerState {
return original.PossibleServerStateValues()
}
Expand Down Expand Up @@ -229,6 +243,12 @@ func NewServersClient(subscriptionID string) ServersClient {
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return original.NewServersClientWithBaseURI(baseURI, subscriptionID)
}
func NewServerSecurityAlertPoliciesClient(subscriptionID string) ServerSecurityAlertPoliciesClient {
return original.NewServerSecurityAlertPoliciesClient(subscriptionID)
}
func NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServerSecurityAlertPoliciesClient {
return original.NewServerSecurityAlertPoliciesClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
Expand Down
144 changes: 144 additions & 0 deletions services/mysql/mgmt/2017-12-01/mysql/models.go

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

Loading

0 comments on commit a1ed376

Please sign in to comment.