Documentation ¶
Index ¶
- type ActiveDirectoryAdministrator
- func (*ActiveDirectoryAdministrator) ElementType() reflect.Type
- func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
- func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
- type ActiveDirectoryAdministratorArgs
- type ActiveDirectoryAdministratorArray
- func (ActiveDirectoryAdministratorArray) ElementType() reflect.Type
- func (i ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput
- func (i ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorArrayOutput
- type ActiveDirectoryAdministratorArrayInput
- type ActiveDirectoryAdministratorArrayOutput
- func (ActiveDirectoryAdministratorArrayOutput) ElementType() reflect.Type
- func (o ActiveDirectoryAdministratorArrayOutput) Index(i pulumi.IntInput) ActiveDirectoryAdministratorOutput
- func (o ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput
- func (o ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorArrayOutput
- type ActiveDirectoryAdministratorInput
- type ActiveDirectoryAdministratorMap
- func (ActiveDirectoryAdministratorMap) ElementType() reflect.Type
- func (i ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput
- func (i ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorMapOutput
- type ActiveDirectoryAdministratorMapInput
- type ActiveDirectoryAdministratorMapOutput
- func (ActiveDirectoryAdministratorMapOutput) ElementType() reflect.Type
- func (o ActiveDirectoryAdministratorMapOutput) MapIndex(k pulumi.StringInput) ActiveDirectoryAdministratorOutput
- func (o ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput
- func (o ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorMapOutput
- type ActiveDirectoryAdministratorOutput
- func (ActiveDirectoryAdministratorOutput) ElementType() reflect.Type
- func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
- func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
- type ActiveDirectoryAdministratorState
- type Configuration
- type ConfigurationArgs
- type ConfigurationArray
- type ConfigurationArrayInput
- type ConfigurationArrayOutput
- func (ConfigurationArrayOutput) ElementType() reflect.Type
- func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
- func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
- func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
- type ConfigurationInput
- type ConfigurationMap
- type ConfigurationMapInput
- type ConfigurationMapOutput
- func (ConfigurationMapOutput) ElementType() reflect.Type
- func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
- func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
- func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
- type ConfigurationOutput
- type ConfigurationState
- type Database
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseInput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- type DatabaseState
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleArray
- type FirewallRuleArrayInput
- type FirewallRuleArrayOutput
- func (FirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
- func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
- type FirewallRuleInput
- type FirewallRuleMap
- type FirewallRuleMapInput
- type FirewallRuleMapOutput
- func (FirewallRuleMapOutput) ElementType() reflect.Type
- func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
- func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
- type FirewallRuleOutput
- type FirewallRuleState
- type FlexibleDatabase
- type FlexibleDatabaseArgs
- type FlexibleDatabaseArray
- type FlexibleDatabaseArrayInput
- type FlexibleDatabaseArrayOutput
- func (FlexibleDatabaseArrayOutput) ElementType() reflect.Type
- func (o FlexibleDatabaseArrayOutput) Index(i pulumi.IntInput) FlexibleDatabaseOutput
- func (o FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput
- func (o FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutputWithContext(ctx context.Context) FlexibleDatabaseArrayOutput
- type FlexibleDatabaseInput
- type FlexibleDatabaseMap
- type FlexibleDatabaseMapInput
- type FlexibleDatabaseMapOutput
- func (FlexibleDatabaseMapOutput) ElementType() reflect.Type
- func (o FlexibleDatabaseMapOutput) MapIndex(k pulumi.StringInput) FlexibleDatabaseOutput
- func (o FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput
- func (o FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutputWithContext(ctx context.Context) FlexibleDatabaseMapOutput
- type FlexibleDatabaseOutput
- type FlexibleDatabaseState
- type FlexibleServer
- type FlexibleServerArgs
- type FlexibleServerArray
- type FlexibleServerArrayInput
- type FlexibleServerArrayOutput
- func (FlexibleServerArrayOutput) ElementType() reflect.Type
- func (o FlexibleServerArrayOutput) Index(i pulumi.IntInput) FlexibleServerOutput
- func (o FlexibleServerArrayOutput) ToFlexibleServerArrayOutput() FlexibleServerArrayOutput
- func (o FlexibleServerArrayOutput) ToFlexibleServerArrayOutputWithContext(ctx context.Context) FlexibleServerArrayOutput
- type FlexibleServerConfiguration
- func (*FlexibleServerConfiguration) ElementType() reflect.Type
- func (i *FlexibleServerConfiguration) ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput
- func (i *FlexibleServerConfiguration) ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput
- type FlexibleServerConfigurationArgs
- type FlexibleServerConfigurationArray
- func (FlexibleServerConfigurationArray) ElementType() reflect.Type
- func (i FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput
- func (i FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutputWithContext(ctx context.Context) FlexibleServerConfigurationArrayOutput
- type FlexibleServerConfigurationArrayInput
- type FlexibleServerConfigurationArrayOutput
- func (FlexibleServerConfigurationArrayOutput) ElementType() reflect.Type
- func (o FlexibleServerConfigurationArrayOutput) Index(i pulumi.IntInput) FlexibleServerConfigurationOutput
- func (o FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput
- func (o FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutputWithContext(ctx context.Context) FlexibleServerConfigurationArrayOutput
- type FlexibleServerConfigurationInput
- type FlexibleServerConfigurationMap
- func (FlexibleServerConfigurationMap) ElementType() reflect.Type
- func (i FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput
- func (i FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutputWithContext(ctx context.Context) FlexibleServerConfigurationMapOutput
- type FlexibleServerConfigurationMapInput
- type FlexibleServerConfigurationMapOutput
- func (FlexibleServerConfigurationMapOutput) ElementType() reflect.Type
- func (o FlexibleServerConfigurationMapOutput) MapIndex(k pulumi.StringInput) FlexibleServerConfigurationOutput
- func (o FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput
- func (o FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutputWithContext(ctx context.Context) FlexibleServerConfigurationMapOutput
- type FlexibleServerConfigurationOutput
- func (FlexibleServerConfigurationOutput) ElementType() reflect.Type
- func (o FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput
- func (o FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput
- type FlexibleServerConfigurationState
- type FlexibleServerFirewallRule
- func (*FlexibleServerFirewallRule) ElementType() reflect.Type
- func (i *FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput
- func (i *FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput
- type FlexibleServerFirewallRuleArgs
- type FlexibleServerFirewallRuleArray
- func (FlexibleServerFirewallRuleArray) ElementType() reflect.Type
- func (i FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput
- func (i FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleArrayOutput
- type FlexibleServerFirewallRuleArrayInput
- type FlexibleServerFirewallRuleArrayOutput
- func (FlexibleServerFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o FlexibleServerFirewallRuleArrayOutput) Index(i pulumi.IntInput) FlexibleServerFirewallRuleOutput
- func (o FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput
- func (o FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleArrayOutput
- type FlexibleServerFirewallRuleInput
- type FlexibleServerFirewallRuleMap
- func (FlexibleServerFirewallRuleMap) ElementType() reflect.Type
- func (i FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput
- func (i FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleMapOutput
- type FlexibleServerFirewallRuleMapInput
- type FlexibleServerFirewallRuleMapOutput
- func (FlexibleServerFirewallRuleMapOutput) ElementType() reflect.Type
- func (o FlexibleServerFirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FlexibleServerFirewallRuleOutput
- func (o FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput
- func (o FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleMapOutput
- type FlexibleServerFirewallRuleOutput
- func (FlexibleServerFirewallRuleOutput) ElementType() reflect.Type
- func (o FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput
- func (o FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput
- type FlexibleServerFirewallRuleState
- type FlexibleServerHighAvailability
- type FlexibleServerHighAvailabilityArgs
- func (FlexibleServerHighAvailabilityArgs) ElementType() reflect.Type
- func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput
- func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityOutput
- func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
- func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput
- type FlexibleServerHighAvailabilityInput
- type FlexibleServerHighAvailabilityOutput
- func (FlexibleServerHighAvailabilityOutput) ElementType() reflect.Type
- func (o FlexibleServerHighAvailabilityOutput) Mode() pulumi.StringOutput
- func (o FlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput
- func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput
- func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityOutput
- func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
- func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput
- type FlexibleServerHighAvailabilityPtrInput
- type FlexibleServerHighAvailabilityPtrOutput
- func (o FlexibleServerHighAvailabilityPtrOutput) Elem() FlexibleServerHighAvailabilityOutput
- func (FlexibleServerHighAvailabilityPtrOutput) ElementType() reflect.Type
- func (o FlexibleServerHighAvailabilityPtrOutput) Mode() pulumi.StringPtrOutput
- func (o FlexibleServerHighAvailabilityPtrOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput
- func (o FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
- func (o FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput
- type FlexibleServerInput
- type FlexibleServerMaintenanceWindow
- type FlexibleServerMaintenanceWindowArgs
- func (FlexibleServerMaintenanceWindowArgs) ElementType() reflect.Type
- func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput
- func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowOutput
- func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
- func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput
- type FlexibleServerMaintenanceWindowInput
- type FlexibleServerMaintenanceWindowOutput
- func (o FlexibleServerMaintenanceWindowOutput) DayOfWeek() pulumi.IntPtrOutput
- func (FlexibleServerMaintenanceWindowOutput) ElementType() reflect.Type
- func (o FlexibleServerMaintenanceWindowOutput) StartHour() pulumi.IntPtrOutput
- func (o FlexibleServerMaintenanceWindowOutput) StartMinute() pulumi.IntPtrOutput
- func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput
- func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowOutput
- func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
- func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput
- type FlexibleServerMaintenanceWindowPtrInput
- type FlexibleServerMaintenanceWindowPtrOutput
- func (o FlexibleServerMaintenanceWindowPtrOutput) DayOfWeek() pulumi.IntPtrOutput
- func (o FlexibleServerMaintenanceWindowPtrOutput) Elem() FlexibleServerMaintenanceWindowOutput
- func (FlexibleServerMaintenanceWindowPtrOutput) ElementType() reflect.Type
- func (o FlexibleServerMaintenanceWindowPtrOutput) StartHour() pulumi.IntPtrOutput
- func (o FlexibleServerMaintenanceWindowPtrOutput) StartMinute() pulumi.IntPtrOutput
- func (o FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
- func (o FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput
- type FlexibleServerMap
- type FlexibleServerMapInput
- type FlexibleServerMapOutput
- func (FlexibleServerMapOutput) ElementType() reflect.Type
- func (o FlexibleServerMapOutput) MapIndex(k pulumi.StringInput) FlexibleServerOutput
- func (o FlexibleServerMapOutput) ToFlexibleServerMapOutput() FlexibleServerMapOutput
- func (o FlexibleServerMapOutput) ToFlexibleServerMapOutputWithContext(ctx context.Context) FlexibleServerMapOutput
- type FlexibleServerOutput
- type FlexibleServerState
- type FlexibleServerStorage
- type FlexibleServerStorageArgs
- func (FlexibleServerStorageArgs) ElementType() reflect.Type
- func (i FlexibleServerStorageArgs) ToFlexibleServerStorageOutput() FlexibleServerStorageOutput
- func (i FlexibleServerStorageArgs) ToFlexibleServerStorageOutputWithContext(ctx context.Context) FlexibleServerStorageOutput
- func (i FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
- func (i FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput
- type FlexibleServerStorageInput
- type FlexibleServerStorageOutput
- func (o FlexibleServerStorageOutput) AutoGrowEnabled() pulumi.BoolPtrOutput
- func (FlexibleServerStorageOutput) ElementType() reflect.Type
- func (o FlexibleServerStorageOutput) Iops() pulumi.IntPtrOutput
- func (o FlexibleServerStorageOutput) SizeGb() pulumi.IntPtrOutput
- func (o FlexibleServerStorageOutput) ToFlexibleServerStorageOutput() FlexibleServerStorageOutput
- func (o FlexibleServerStorageOutput) ToFlexibleServerStorageOutputWithContext(ctx context.Context) FlexibleServerStorageOutput
- func (o FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
- func (o FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput
- type FlexibleServerStoragePtrInput
- type FlexibleServerStoragePtrOutput
- func (o FlexibleServerStoragePtrOutput) AutoGrowEnabled() pulumi.BoolPtrOutput
- func (o FlexibleServerStoragePtrOutput) Elem() FlexibleServerStorageOutput
- func (FlexibleServerStoragePtrOutput) ElementType() reflect.Type
- func (o FlexibleServerStoragePtrOutput) Iops() pulumi.IntPtrOutput
- func (o FlexibleServerStoragePtrOutput) SizeGb() pulumi.IntPtrOutput
- func (o FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
- func (o FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput
- type GetFlexibleServerHighAvailability
- type GetFlexibleServerHighAvailabilityArgs
- func (GetFlexibleServerHighAvailabilityArgs) ElementType() reflect.Type
- func (i GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput
- func (i GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityOutput
- type GetFlexibleServerHighAvailabilityArray
- func (GetFlexibleServerHighAvailabilityArray) ElementType() reflect.Type
- func (i GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput
- func (i GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityArrayOutput
- type GetFlexibleServerHighAvailabilityArrayInput
- type GetFlexibleServerHighAvailabilityArrayOutput
- func (GetFlexibleServerHighAvailabilityArrayOutput) ElementType() reflect.Type
- func (o GetFlexibleServerHighAvailabilityArrayOutput) Index(i pulumi.IntInput) GetFlexibleServerHighAvailabilityOutput
- func (o GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput
- func (o GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityArrayOutput
- type GetFlexibleServerHighAvailabilityInput
- type GetFlexibleServerHighAvailabilityOutput
- func (GetFlexibleServerHighAvailabilityOutput) ElementType() reflect.Type
- func (o GetFlexibleServerHighAvailabilityOutput) Mode() pulumi.StringOutput
- func (o GetFlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringOutput
- func (o GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput
- func (o GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityOutput
- type GetFlexibleServerMaintenanceWindow
- type GetFlexibleServerMaintenanceWindowArgs
- func (GetFlexibleServerMaintenanceWindowArgs) ElementType() reflect.Type
- func (i GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput
- func (i GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowOutput
- type GetFlexibleServerMaintenanceWindowArray
- func (GetFlexibleServerMaintenanceWindowArray) ElementType() reflect.Type
- func (i GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput
- func (i GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowArrayOutput
- type GetFlexibleServerMaintenanceWindowArrayInput
- type GetFlexibleServerMaintenanceWindowArrayOutput
- func (GetFlexibleServerMaintenanceWindowArrayOutput) ElementType() reflect.Type
- func (o GetFlexibleServerMaintenanceWindowArrayOutput) Index(i pulumi.IntInput) GetFlexibleServerMaintenanceWindowOutput
- func (o GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput
- func (o GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowArrayOutput
- type GetFlexibleServerMaintenanceWindowInput
- type GetFlexibleServerMaintenanceWindowOutput
- func (o GetFlexibleServerMaintenanceWindowOutput) DayOfWeek() pulumi.IntOutput
- func (GetFlexibleServerMaintenanceWindowOutput) ElementType() reflect.Type
- func (o GetFlexibleServerMaintenanceWindowOutput) StartHour() pulumi.IntOutput
- func (o GetFlexibleServerMaintenanceWindowOutput) StartMinute() pulumi.IntOutput
- func (o GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput
- func (o GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowOutput
- type GetFlexibleServerStorage
- type GetFlexibleServerStorageArgs
- func (GetFlexibleServerStorageArgs) ElementType() reflect.Type
- func (i GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput
- func (i GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutputWithContext(ctx context.Context) GetFlexibleServerStorageOutput
- type GetFlexibleServerStorageArray
- func (GetFlexibleServerStorageArray) ElementType() reflect.Type
- func (i GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput
- func (i GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutputWithContext(ctx context.Context) GetFlexibleServerStorageArrayOutput
- type GetFlexibleServerStorageArrayInput
- type GetFlexibleServerStorageArrayOutput
- func (GetFlexibleServerStorageArrayOutput) ElementType() reflect.Type
- func (o GetFlexibleServerStorageArrayOutput) Index(i pulumi.IntInput) GetFlexibleServerStorageOutput
- func (o GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput
- func (o GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutputWithContext(ctx context.Context) GetFlexibleServerStorageArrayOutput
- type GetFlexibleServerStorageInput
- type GetFlexibleServerStorageOutput
- func (o GetFlexibleServerStorageOutput) AutoGrowEnabled() pulumi.BoolOutput
- func (GetFlexibleServerStorageOutput) ElementType() reflect.Type
- func (o GetFlexibleServerStorageOutput) Iops() pulumi.IntOutput
- func (o GetFlexibleServerStorageOutput) SizeGb() pulumi.IntOutput
- func (o GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput
- func (o GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutputWithContext(ctx context.Context) GetFlexibleServerStorageOutput
- type GetServerIdentity
- type GetServerIdentityArgs
- type GetServerIdentityArray
- type GetServerIdentityArrayInput
- type GetServerIdentityArrayOutput
- func (GetServerIdentityArrayOutput) ElementType() reflect.Type
- func (o GetServerIdentityArrayOutput) Index(i pulumi.IntInput) GetServerIdentityOutput
- func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
- func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
- type GetServerIdentityInput
- type GetServerIdentityOutput
- func (GetServerIdentityOutput) ElementType() reflect.Type
- func (o GetServerIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetServerIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetServerIdentityOutput) ToGetServerIdentityOutput() GetServerIdentityOutput
- func (o GetServerIdentityOutput) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
- func (o GetServerIdentityOutput) Type() pulumi.StringOutput
- type GetServerThreatDetectionPolicy
- type GetServerThreatDetectionPolicyArgs
- func (GetServerThreatDetectionPolicyArgs) ElementType() reflect.Type
- func (i GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput
- func (i GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyOutput
- type GetServerThreatDetectionPolicyArray
- func (GetServerThreatDetectionPolicyArray) ElementType() reflect.Type
- func (i GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput
- func (i GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyArrayOutput
- type GetServerThreatDetectionPolicyArrayInput
- type GetServerThreatDetectionPolicyArrayOutput
- func (GetServerThreatDetectionPolicyArrayOutput) ElementType() reflect.Type
- func (o GetServerThreatDetectionPolicyArrayOutput) Index(i pulumi.IntInput) GetServerThreatDetectionPolicyOutput
- func (o GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput
- func (o GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyArrayOutput
- type GetServerThreatDetectionPolicyInput
- type GetServerThreatDetectionPolicyOutput
- func (o GetServerThreatDetectionPolicyOutput) DisabledAlerts() pulumi.StringArrayOutput
- func (GetServerThreatDetectionPolicyOutput) ElementType() reflect.Type
- func (o GetServerThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.BoolOutput
- func (o GetServerThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
- func (o GetServerThreatDetectionPolicyOutput) Enabled() pulumi.BoolOutput
- func (o GetServerThreatDetectionPolicyOutput) RetentionDays() pulumi.IntOutput
- func (o GetServerThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
- func (o GetServerThreatDetectionPolicyOutput) StorageEndpoint() pulumi.StringOutput
- func (o GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput
- func (o GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyOutput
- type LookupFlexibleServerArgs
- type LookupFlexibleServerOutputArgs
- type LookupFlexibleServerResult
- type LookupFlexibleServerResultOutput
- func (o LookupFlexibleServerResultOutput) AdministratorLogin() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) BackupRetentionDays() pulumi.IntOutput
- func (o LookupFlexibleServerResultOutput) DelegatedSubnetId() pulumi.StringOutput
- func (LookupFlexibleServerResultOutput) ElementType() reflect.Type
- func (o LookupFlexibleServerResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) GeoRedundantBackupEnabled() pulumi.BoolOutput
- func (o LookupFlexibleServerResultOutput) HighAvailabilities() GetFlexibleServerHighAvailabilityArrayOutput
- func (o LookupFlexibleServerResultOutput) Id() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) Location() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) MaintenanceWindows() GetFlexibleServerMaintenanceWindowArrayOutput
- func (o LookupFlexibleServerResultOutput) Name() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) PrivateDnsZoneId() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
- func (o LookupFlexibleServerResultOutput) ReplicaCapacity() pulumi.IntOutput
- func (o LookupFlexibleServerResultOutput) ReplicationRole() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) RestorePointInTime() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) SkuName() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) Storages() GetFlexibleServerStorageArrayOutput
- func (o LookupFlexibleServerResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutput() LookupFlexibleServerResultOutput
- func (o LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutputWithContext(ctx context.Context) LookupFlexibleServerResultOutput
- func (o LookupFlexibleServerResultOutput) Version() pulumi.StringOutput
- func (o LookupFlexibleServerResultOutput) Zone() pulumi.StringOutput
- type LookupServerArgs
- type LookupServerOutputArgs
- type LookupServerResult
- type LookupServerResultOutput
- func (o LookupServerResultOutput) AdministratorLogin() pulumi.StringOutput
- func (o LookupServerResultOutput) AutoGrowEnabled() pulumi.BoolOutput
- func (o LookupServerResultOutput) BackupRetentionDays() pulumi.IntOutput
- func (LookupServerResultOutput) ElementType() reflect.Type
- func (o LookupServerResultOutput) Fqdn() pulumi.StringOutput
- func (o LookupServerResultOutput) GeoRedundantBackupEnabled() pulumi.BoolOutput
- func (o LookupServerResultOutput) Id() pulumi.StringOutput
- func (o LookupServerResultOutput) Identities() GetServerIdentityArrayOutput
- func (o LookupServerResultOutput) InfrastructureEncryptionEnabled() pulumi.BoolOutput
- func (o LookupServerResultOutput) Location() pulumi.StringOutput
- func (o LookupServerResultOutput) Name() pulumi.StringOutput
- func (o LookupServerResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
- func (o LookupServerResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupServerResultOutput) RestorePointInTime() pulumi.StringOutput
- func (o LookupServerResultOutput) SkuName() pulumi.StringOutput
- func (o LookupServerResultOutput) SslEnforcementEnabled() pulumi.BoolOutput
- func (o LookupServerResultOutput) SslMinimalTlsVersionEnforced() pulumi.StringOutput
- func (o LookupServerResultOutput) StorageMb() pulumi.IntOutput
- func (o LookupServerResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupServerResultOutput) ThreatDetectionPolicies() GetServerThreatDetectionPolicyArrayOutput
- func (o LookupServerResultOutput) ToLookupServerResultOutput() LookupServerResultOutput
- func (o LookupServerResultOutput) ToLookupServerResultOutputWithContext(ctx context.Context) LookupServerResultOutput
- func (o LookupServerResultOutput) Version() pulumi.StringOutput
- type Server
- type ServerArgs
- type ServerArray
- type ServerArrayInput
- type ServerArrayOutput
- type ServerIdentity
- type ServerIdentityArgs
- func (ServerIdentityArgs) ElementType() reflect.Type
- func (i ServerIdentityArgs) ToServerIdentityOutput() ServerIdentityOutput
- func (i ServerIdentityArgs) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
- func (i ServerIdentityArgs) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
- func (i ServerIdentityArgs) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
- type ServerIdentityInput
- type ServerIdentityOutput
- func (ServerIdentityOutput) ElementType() reflect.Type
- func (o ServerIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServerIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ServerIdentityOutput) ToServerIdentityOutput() ServerIdentityOutput
- func (o ServerIdentityOutput) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
- func (o ServerIdentityOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
- func (o ServerIdentityOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
- func (o ServerIdentityOutput) Type() pulumi.StringOutput
- type ServerIdentityPtrInput
- type ServerIdentityPtrOutput
- func (o ServerIdentityPtrOutput) Elem() ServerIdentityOutput
- func (ServerIdentityPtrOutput) ElementType() reflect.Type
- func (o ServerIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServerIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
- func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
- func (o ServerIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type ServerInput
- type ServerKey
- type ServerKeyArgs
- type ServerKeyArray
- type ServerKeyArrayInput
- type ServerKeyArrayOutput
- func (ServerKeyArrayOutput) ElementType() reflect.Type
- func (o ServerKeyArrayOutput) Index(i pulumi.IntInput) ServerKeyOutput
- func (o ServerKeyArrayOutput) ToServerKeyArrayOutput() ServerKeyArrayOutput
- func (o ServerKeyArrayOutput) ToServerKeyArrayOutputWithContext(ctx context.Context) ServerKeyArrayOutput
- type ServerKeyInput
- type ServerKeyMap
- type ServerKeyMapInput
- type ServerKeyMapOutput
- type ServerKeyOutput
- type ServerKeyState
- type ServerMap
- type ServerMapInput
- type ServerMapOutput
- type ServerOutput
- type ServerState
- type ServerStorageProfile
- type ServerStorageProfileArgs
- func (ServerStorageProfileArgs) ElementType() reflect.Type
- func (i ServerStorageProfileArgs) ToServerStorageProfileOutput() ServerStorageProfileOutput
- func (i ServerStorageProfileArgs) ToServerStorageProfileOutputWithContext(ctx context.Context) ServerStorageProfileOutput
- func (i ServerStorageProfileArgs) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
- func (i ServerStorageProfileArgs) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput
- type ServerStorageProfileInput
- type ServerStorageProfileOutput
- func (o ServerStorageProfileOutput) AutoGrow() pulumi.StringPtrOutputdeprecated
- func (o ServerStorageProfileOutput) BackupRetentionDays() pulumi.IntPtrOutputdeprecated
- func (ServerStorageProfileOutput) ElementType() reflect.Type
- func (o ServerStorageProfileOutput) GeoRedundantBackup() pulumi.StringPtrOutputdeprecated
- func (o ServerStorageProfileOutput) StorageMb() pulumi.IntPtrOutputdeprecated
- func (o ServerStorageProfileOutput) ToServerStorageProfileOutput() ServerStorageProfileOutput
- func (o ServerStorageProfileOutput) ToServerStorageProfileOutputWithContext(ctx context.Context) ServerStorageProfileOutput
- func (o ServerStorageProfileOutput) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
- func (o ServerStorageProfileOutput) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput
- type ServerStorageProfilePtrInput
- type ServerStorageProfilePtrOutput
- func (o ServerStorageProfilePtrOutput) AutoGrow() pulumi.StringPtrOutputdeprecated
- func (o ServerStorageProfilePtrOutput) BackupRetentionDays() pulumi.IntPtrOutputdeprecated
- func (o ServerStorageProfilePtrOutput) Elem() ServerStorageProfileOutput
- func (ServerStorageProfilePtrOutput) ElementType() reflect.Type
- func (o ServerStorageProfilePtrOutput) GeoRedundantBackup() pulumi.StringPtrOutputdeprecated
- func (o ServerStorageProfilePtrOutput) StorageMb() pulumi.IntPtrOutputdeprecated
- func (o ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
- func (o ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput
- type ServerThreatDetectionPolicy
- type ServerThreatDetectionPolicyArgs
- func (ServerThreatDetectionPolicyArgs) ElementType() reflect.Type
- func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput
- func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyOutput
- func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
- func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
- type ServerThreatDetectionPolicyInput
- type ServerThreatDetectionPolicyOutput
- func (o ServerThreatDetectionPolicyOutput) DisabledAlerts() pulumi.StringArrayOutput
- func (ServerThreatDetectionPolicyOutput) ElementType() reflect.Type
- func (o ServerThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.BoolPtrOutput
- func (o ServerThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
- func (o ServerThreatDetectionPolicyOutput) Enabled() pulumi.BoolPtrOutput
- func (o ServerThreatDetectionPolicyOutput) RetentionDays() pulumi.IntPtrOutput
- func (o ServerThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o ServerThreatDetectionPolicyOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput
- func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyOutput
- func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
- func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
- type ServerThreatDetectionPolicyPtrInput
- type ServerThreatDetectionPolicyPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) DisabledAlerts() pulumi.StringArrayOutput
- func (o ServerThreatDetectionPolicyPtrOutput) Elem() ServerThreatDetectionPolicyOutput
- func (ServerThreatDetectionPolicyPtrOutput) ElementType() reflect.Type
- func (o ServerThreatDetectionPolicyPtrOutput) EmailAccountAdmins() pulumi.BoolPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) EmailAddresses() pulumi.StringArrayOutput
- func (o ServerThreatDetectionPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
- func (o ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
- type VirtualNetworkRule
- type VirtualNetworkRuleArgs
- type VirtualNetworkRuleArray
- type VirtualNetworkRuleArrayInput
- type VirtualNetworkRuleArrayOutput
- func (VirtualNetworkRuleArrayOutput) ElementType() reflect.Type
- func (o VirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
- func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
- type VirtualNetworkRuleInput
- type VirtualNetworkRuleMap
- type VirtualNetworkRuleMapInput
- type VirtualNetworkRuleMapOutput
- func (VirtualNetworkRuleMapOutput) ElementType() reflect.Type
- func (o VirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
- func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
- type VirtualNetworkRuleOutput
- type VirtualNetworkRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveDirectoryAdministrator ¶
type ActiveDirectoryAdministrator struct { pulumi.CustomResourceState // The login name of the principal to set as the server administrator Login pulumi.StringOutput `pulumi:"login"` // The ID of the principal to set as the server administrator. For a managed identity this should be the Client ID of the identity. ObjectId pulumi.StringOutput `pulumi:"objectId"` // The name of the resource group for the MySQL server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The name of the MySQL Server on which to set the administrator. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // The Azure Tenant ID TenantId pulumi.StringOutput `pulumi:"tenantId"` }
Allows you to set a user or group as the AD administrator for an MySQL server in Azure
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), }) if err != nil { return err } _, err = mysql.NewActiveDirectoryAdministrator(ctx, "exampleActiveDirectoryAdministrator", &mysql.ActiveDirectoryAdministratorArgs{ ServerName: exampleServer.Name, ResourceGroupName: exampleResourceGroup.Name, Login: pulumi.String("sqladmin"), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), }) if err != nil { return err } return nil }) }
```
## Import
A MySQL Active Directory Administrator can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/activeDirectoryAdministrator:ActiveDirectoryAdministrator administrator /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.DBforMySQL/servers/myserver/administrators/activeDirectory
```
func GetActiveDirectoryAdministrator ¶
func GetActiveDirectoryAdministrator(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActiveDirectoryAdministratorState, opts ...pulumi.ResourceOption) (*ActiveDirectoryAdministrator, error)
GetActiveDirectoryAdministrator gets an existing ActiveDirectoryAdministrator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActiveDirectoryAdministrator ¶
func NewActiveDirectoryAdministrator(ctx *pulumi.Context, name string, args *ActiveDirectoryAdministratorArgs, opts ...pulumi.ResourceOption) (*ActiveDirectoryAdministrator, error)
NewActiveDirectoryAdministrator registers a new resource with the given unique name, arguments, and options.
func (*ActiveDirectoryAdministrator) ElementType ¶
func (*ActiveDirectoryAdministrator) ElementType() reflect.Type
func (*ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutput ¶
func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
func (*ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutputWithContext ¶
func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
type ActiveDirectoryAdministratorArgs ¶
type ActiveDirectoryAdministratorArgs struct { // The login name of the principal to set as the server administrator Login pulumi.StringInput // The ID of the principal to set as the server administrator. For a managed identity this should be the Client ID of the identity. ObjectId pulumi.StringInput // The name of the resource group for the MySQL server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The name of the MySQL Server on which to set the administrator. Changing this forces a new resource to be created. ServerName pulumi.StringInput // The Azure Tenant ID TenantId pulumi.StringInput }
The set of arguments for constructing a ActiveDirectoryAdministrator resource.
func (ActiveDirectoryAdministratorArgs) ElementType ¶
func (ActiveDirectoryAdministratorArgs) ElementType() reflect.Type
type ActiveDirectoryAdministratorArray ¶
type ActiveDirectoryAdministratorArray []ActiveDirectoryAdministratorInput
func (ActiveDirectoryAdministratorArray) ElementType ¶
func (ActiveDirectoryAdministratorArray) ElementType() reflect.Type
func (ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutput ¶
func (i ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput
func (ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutputWithContext ¶
func (i ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorArrayOutput
type ActiveDirectoryAdministratorArrayInput ¶
type ActiveDirectoryAdministratorArrayInput interface { pulumi.Input ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput ToActiveDirectoryAdministratorArrayOutputWithContext(context.Context) ActiveDirectoryAdministratorArrayOutput }
ActiveDirectoryAdministratorArrayInput is an input type that accepts ActiveDirectoryAdministratorArray and ActiveDirectoryAdministratorArrayOutput values. You can construct a concrete instance of `ActiveDirectoryAdministratorArrayInput` via:
ActiveDirectoryAdministratorArray{ ActiveDirectoryAdministratorArgs{...} }
type ActiveDirectoryAdministratorArrayOutput ¶
type ActiveDirectoryAdministratorArrayOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryAdministratorArrayOutput) ElementType ¶
func (ActiveDirectoryAdministratorArrayOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutput ¶
func (o ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput
func (ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutputWithContext ¶
func (o ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorArrayOutput
type ActiveDirectoryAdministratorInput ¶
type ActiveDirectoryAdministratorInput interface { pulumi.Input ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput }
type ActiveDirectoryAdministratorMap ¶
type ActiveDirectoryAdministratorMap map[string]ActiveDirectoryAdministratorInput
func (ActiveDirectoryAdministratorMap) ElementType ¶
func (ActiveDirectoryAdministratorMap) ElementType() reflect.Type
func (ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutput ¶
func (i ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput
func (ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutputWithContext ¶
func (i ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorMapOutput
type ActiveDirectoryAdministratorMapInput ¶
type ActiveDirectoryAdministratorMapInput interface { pulumi.Input ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput ToActiveDirectoryAdministratorMapOutputWithContext(context.Context) ActiveDirectoryAdministratorMapOutput }
ActiveDirectoryAdministratorMapInput is an input type that accepts ActiveDirectoryAdministratorMap and ActiveDirectoryAdministratorMapOutput values. You can construct a concrete instance of `ActiveDirectoryAdministratorMapInput` via:
ActiveDirectoryAdministratorMap{ "key": ActiveDirectoryAdministratorArgs{...} }
type ActiveDirectoryAdministratorMapOutput ¶
type ActiveDirectoryAdministratorMapOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryAdministratorMapOutput) ElementType ¶
func (ActiveDirectoryAdministratorMapOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorMapOutput) MapIndex ¶
func (o ActiveDirectoryAdministratorMapOutput) MapIndex(k pulumi.StringInput) ActiveDirectoryAdministratorOutput
func (ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutput ¶
func (o ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput
func (ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutputWithContext ¶
func (o ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorMapOutput
type ActiveDirectoryAdministratorOutput ¶
type ActiveDirectoryAdministratorOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryAdministratorOutput) ElementType ¶
func (ActiveDirectoryAdministratorOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutput ¶
func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
func (ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutputWithContext ¶
func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
type ActiveDirectoryAdministratorState ¶
type ActiveDirectoryAdministratorState struct { // The login name of the principal to set as the server administrator Login pulumi.StringPtrInput // The ID of the principal to set as the server administrator. For a managed identity this should be the Client ID of the identity. ObjectId pulumi.StringPtrInput // The name of the resource group for the MySQL server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The name of the MySQL Server on which to set the administrator. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // The Azure Tenant ID TenantId pulumi.StringPtrInput }
func (ActiveDirectoryAdministratorState) ElementType ¶
func (ActiveDirectoryAdministratorState) ElementType() reflect.Type
type Configuration ¶
type Configuration struct { pulumi.CustomResourceState // Specifies the name of the MySQL Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values. Value pulumi.StringOutput `pulumi:"value"` }
Sets a MySQL Configuration value on a MySQL Server.
## Disclaimers
> **Note:** Since this resource is provisioned by default, the Azure Provider will not check for the presence of an existing resource prior to attempting to create it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), AutoGrowEnabled: pulumi.Bool(true), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(true), InfrastructureEncryptionEnabled: pulumi.Bool(true), PublicNetworkAccessEnabled: pulumi.Bool(false), SslEnforcementEnabled: pulumi.Bool(true), SslMinimalTlsVersionEnforced: pulumi.String("TLS1_2"), }) if err != nil { return err } _, err = mysql.NewConfiguration(ctx, "exampleConfiguration", &mysql.ConfigurationArgs{ Name: pulumi.String("interactive_timeout"), ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, Value: pulumi.String("600"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Configurations can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/configuration:Configuration interactive_timeout /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/servers/server1/configurations/interactive_timeout
```
func GetConfiguration ¶
func GetConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)
GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfiguration ¶
func NewConfiguration(ctx *pulumi.Context, name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)
NewConfiguration registers a new resource with the given unique name, arguments, and options.
func (*Configuration) ElementType ¶
func (*Configuration) ElementType() reflect.Type
func (*Configuration) ToConfigurationOutput ¶
func (i *Configuration) ToConfigurationOutput() ConfigurationOutput
func (*Configuration) ToConfigurationOutputWithContext ¶
func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
type ConfigurationArgs ¶
type ConfigurationArgs struct { // Specifies the name of the MySQL Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. Name pulumi.StringInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput // Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values. Value pulumi.StringInput }
The set of arguments for constructing a Configuration resource.
func (ConfigurationArgs) ElementType ¶
func (ConfigurationArgs) ElementType() reflect.Type
type ConfigurationArray ¶
type ConfigurationArray []ConfigurationInput
func (ConfigurationArray) ElementType ¶
func (ConfigurationArray) ElementType() reflect.Type
func (ConfigurationArray) ToConfigurationArrayOutput ¶
func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArray) ToConfigurationArrayOutputWithContext ¶
func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationArrayInput ¶
type ConfigurationArrayInput interface { pulumi.Input ToConfigurationArrayOutput() ConfigurationArrayOutput ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput }
ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:
ConfigurationArray{ ConfigurationArgs{...} }
type ConfigurationArrayOutput ¶
type ConfigurationArrayOutput struct{ *pulumi.OutputState }
func (ConfigurationArrayOutput) ElementType ¶
func (ConfigurationArrayOutput) ElementType() reflect.Type
func (ConfigurationArrayOutput) Index ¶
func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutput ¶
func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext ¶
func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationInput ¶
type ConfigurationInput interface { pulumi.Input ToConfigurationOutput() ConfigurationOutput ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput }
type ConfigurationMap ¶
type ConfigurationMap map[string]ConfigurationInput
func (ConfigurationMap) ElementType ¶
func (ConfigurationMap) ElementType() reflect.Type
func (ConfigurationMap) ToConfigurationMapOutput ¶
func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMap) ToConfigurationMapOutputWithContext ¶
func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationMapInput ¶
type ConfigurationMapInput interface { pulumi.Input ToConfigurationMapOutput() ConfigurationMapOutput ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput }
ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:
ConfigurationMap{ "key": ConfigurationArgs{...} }
type ConfigurationMapOutput ¶
type ConfigurationMapOutput struct{ *pulumi.OutputState }
func (ConfigurationMapOutput) ElementType ¶
func (ConfigurationMapOutput) ElementType() reflect.Type
func (ConfigurationMapOutput) MapIndex ¶
func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
func (ConfigurationMapOutput) ToConfigurationMapOutput ¶
func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext ¶
func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationOutput ¶
type ConfigurationOutput struct{ *pulumi.OutputState }
func (ConfigurationOutput) ElementType ¶
func (ConfigurationOutput) ElementType() reflect.Type
func (ConfigurationOutput) ToConfigurationOutput ¶
func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
func (ConfigurationOutput) ToConfigurationOutputWithContext ¶
func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
type ConfigurationState ¶
type ConfigurationState struct { // Specifies the name of the MySQL Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // Specifies the value of the MySQL Configuration. See the MySQL documentation for valid values. Value pulumi.StringPtrInput }
func (ConfigurationState) ElementType ¶
func (ConfigurationState) ElementType() reflect.Type
type Database ¶
type Database struct { pulumi.CustomResourceState // Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created. Charset pulumi.StringOutput `pulumi:"charset"` // Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created. Collation pulumi.StringOutput `pulumi:"collation"` // Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` }
Manages a MySQL Database within a MySQL Server
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), AutoGrowEnabled: pulumi.Bool(true), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(true), InfrastructureEncryptionEnabled: pulumi.Bool(true), PublicNetworkAccessEnabled: pulumi.Bool(false), SslEnforcementEnabled: pulumi.Bool(true), SslMinimalTlsVersionEnforced: pulumi.String("TLS1_2"), }) if err != nil { return err } _, err = mysql.NewDatabase(ctx, "exampleDatabase", &mysql.DatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, Charset: pulumi.String("utf8"), Collation: pulumi.String("utf8_unicode_ci"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Database's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/database:Database database1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/servers/server1/databases/database1
```
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) ElementType ¶
func (*Database) ToDatabaseOutput ¶
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
type DatabaseArgs ¶
type DatabaseArgs struct { // Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created. Charset pulumi.StringInput // Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created. Collation pulumi.StringInput // Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseArray ¶
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶
type DatabaseArrayInput interface { pulumi.Input ToDatabaseArrayOutput() DatabaseArrayOutput ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput }
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:
DatabaseArray{ DatabaseArgs{...} }
type DatabaseArrayOutput ¶
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseInput ¶
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseMap ¶
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶
type DatabaseMapInput interface { pulumi.Input ToDatabaseMapOutput() DatabaseMapOutput ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput }
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:
DatabaseMap{ "key": DatabaseArgs{...} }
type DatabaseMapOutput ¶
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶
type DatabaseOutput struct{ *pulumi.OutputState }
func (DatabaseOutput) ElementType ¶
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) ToDatabaseOutput ¶
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
type DatabaseState ¶
type DatabaseState struct { // Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created. Charset pulumi.StringPtrInput // Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created. Collation pulumi.StringPtrInput // Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type FirewallRule ¶
type FirewallRule struct { pulumi.CustomResourceState // Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` // Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` }
Manages a Firewall Rule for a MySQL Server.
## Example Usage ### Single IP Address)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", nil) if err != nil { return err } _, err = mysql.NewFirewallRule(ctx, "exampleFirewallRule", &mysql.FirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, StartIpAddress: pulumi.String("40.112.8.12"), EndIpAddress: pulumi.String("40.112.8.12"), }) if err != nil { return err } return nil }) }
``` ### IP Range)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", nil) if err != nil { return err } _, err = mysql.NewFirewallRule(ctx, "exampleFirewallRule", &mysql.FirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, StartIpAddress: pulumi.String("40.112.0.0"), EndIpAddress: pulumi.String("40.112.255.255"), }) if err != nil { return err } return nil }) }
``` ### Allow Access To Azure Services)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", nil) if err != nil { return err } _, err = mysql.NewFirewallRule(ctx, "exampleFirewallRule", &mysql.FirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("0.0.0.0"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Firewall Rule's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/firewallRule:FirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/servers/server1/firewallRules/rule1
```
func GetFirewallRule ¶
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)
GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFirewallRule ¶
func NewFirewallRule(ctx *pulumi.Context, name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FirewallRule) ElementType ¶
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleArgs ¶
type FirewallRuleArgs struct { // Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. EndIpAddress pulumi.StringInput // Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput // Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. StartIpAddress pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleArray ¶
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶
type FirewallRuleArrayInput interface { pulumi.Input ToFirewallRuleArrayOutput() FirewallRuleArrayOutput ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput }
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:
FirewallRuleArray{ FirewallRuleArgs{...} }
type FirewallRuleArrayOutput ¶
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleMapInput ¶
type FirewallRuleMapInput interface { pulumi.Input ToFirewallRuleMapOutput() FirewallRuleMapOutput ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput }
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:
FirewallRuleMap{ "key": FirewallRuleArgs{...} }
type FirewallRuleMapOutput ¶
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleOutput ¶
type FirewallRuleOutput struct{ *pulumi.OutputState }
func (FirewallRuleOutput) ElementType ¶
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) ToFirewallRuleOutput ¶
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
type FirewallRuleState ¶
type FirewallRuleState struct { // Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. EndIpAddress pulumi.StringPtrInput // Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. StartIpAddress pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶
func (FirewallRuleState) ElementType() reflect.Type
type FlexibleDatabase ¶ added in v4.30.0
type FlexibleDatabase struct { pulumi.CustomResourceState // Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created. Charset pulumi.StringOutput `pulumi:"charset"` // Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created. Collation pulumi.StringOutput `pulumi:"collation"` // Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` }
Manages a MySQL Database within a MySQL Flexible Server
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = mysql.NewFlexibleServer(ctx, "test", &mysql.FlexibleServerArgs{ ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name), Location: pulumi.Any(azurerm_resource_group.Test.Location), AdministratorLogin: pulumi.String("mysqladminun"), AdministratorPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Standard_B1s"), }) if err != nil { return err } _, err = mysql.NewFlexibleDatabase(ctx, "exampleFlexibleDatabase", &mysql.FlexibleDatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: pulumi.Any(azurerm_mysql_flexible_server.Example.Name), Charset: pulumi.String("utf8"), Collation: pulumi.String("utf8_unicode_ci"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Database's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/flexibleDatabase:FlexibleDatabase database1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleserver1/databases/database1
```
func GetFlexibleDatabase ¶ added in v4.30.0
func GetFlexibleDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FlexibleDatabaseState, opts ...pulumi.ResourceOption) (*FlexibleDatabase, error)
GetFlexibleDatabase gets an existing FlexibleDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFlexibleDatabase ¶ added in v4.30.0
func NewFlexibleDatabase(ctx *pulumi.Context, name string, args *FlexibleDatabaseArgs, opts ...pulumi.ResourceOption) (*FlexibleDatabase, error)
NewFlexibleDatabase registers a new resource with the given unique name, arguments, and options.
func (*FlexibleDatabase) ElementType ¶ added in v4.30.0
func (*FlexibleDatabase) ElementType() reflect.Type
func (*FlexibleDatabase) ToFlexibleDatabaseOutput ¶ added in v4.30.0
func (i *FlexibleDatabase) ToFlexibleDatabaseOutput() FlexibleDatabaseOutput
func (*FlexibleDatabase) ToFlexibleDatabaseOutputWithContext ¶ added in v4.30.0
func (i *FlexibleDatabase) ToFlexibleDatabaseOutputWithContext(ctx context.Context) FlexibleDatabaseOutput
type FlexibleDatabaseArgs ¶ added in v4.30.0
type FlexibleDatabaseArgs struct { // Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created. Charset pulumi.StringInput // Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created. Collation pulumi.StringInput // Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput }
The set of arguments for constructing a FlexibleDatabase resource.
func (FlexibleDatabaseArgs) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseArgs) ElementType() reflect.Type
type FlexibleDatabaseArray ¶ added in v4.30.0
type FlexibleDatabaseArray []FlexibleDatabaseInput
func (FlexibleDatabaseArray) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseArray) ElementType() reflect.Type
func (FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutput ¶ added in v4.30.0
func (i FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput
func (FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutputWithContext ¶ added in v4.30.0
func (i FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutputWithContext(ctx context.Context) FlexibleDatabaseArrayOutput
type FlexibleDatabaseArrayInput ¶ added in v4.30.0
type FlexibleDatabaseArrayInput interface { pulumi.Input ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput ToFlexibleDatabaseArrayOutputWithContext(context.Context) FlexibleDatabaseArrayOutput }
FlexibleDatabaseArrayInput is an input type that accepts FlexibleDatabaseArray and FlexibleDatabaseArrayOutput values. You can construct a concrete instance of `FlexibleDatabaseArrayInput` via:
FlexibleDatabaseArray{ FlexibleDatabaseArgs{...} }
type FlexibleDatabaseArrayOutput ¶ added in v4.30.0
type FlexibleDatabaseArrayOutput struct{ *pulumi.OutputState }
func (FlexibleDatabaseArrayOutput) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseArrayOutput) ElementType() reflect.Type
func (FlexibleDatabaseArrayOutput) Index ¶ added in v4.30.0
func (o FlexibleDatabaseArrayOutput) Index(i pulumi.IntInput) FlexibleDatabaseOutput
func (FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutput ¶ added in v4.30.0
func (o FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput
func (FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutputWithContext ¶ added in v4.30.0
func (o FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutputWithContext(ctx context.Context) FlexibleDatabaseArrayOutput
type FlexibleDatabaseInput ¶ added in v4.30.0
type FlexibleDatabaseInput interface { pulumi.Input ToFlexibleDatabaseOutput() FlexibleDatabaseOutput ToFlexibleDatabaseOutputWithContext(ctx context.Context) FlexibleDatabaseOutput }
type FlexibleDatabaseMap ¶ added in v4.30.0
type FlexibleDatabaseMap map[string]FlexibleDatabaseInput
func (FlexibleDatabaseMap) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseMap) ElementType() reflect.Type
func (FlexibleDatabaseMap) ToFlexibleDatabaseMapOutput ¶ added in v4.30.0
func (i FlexibleDatabaseMap) ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput
func (FlexibleDatabaseMap) ToFlexibleDatabaseMapOutputWithContext ¶ added in v4.30.0
func (i FlexibleDatabaseMap) ToFlexibleDatabaseMapOutputWithContext(ctx context.Context) FlexibleDatabaseMapOutput
type FlexibleDatabaseMapInput ¶ added in v4.30.0
type FlexibleDatabaseMapInput interface { pulumi.Input ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput ToFlexibleDatabaseMapOutputWithContext(context.Context) FlexibleDatabaseMapOutput }
FlexibleDatabaseMapInput is an input type that accepts FlexibleDatabaseMap and FlexibleDatabaseMapOutput values. You can construct a concrete instance of `FlexibleDatabaseMapInput` via:
FlexibleDatabaseMap{ "key": FlexibleDatabaseArgs{...} }
type FlexibleDatabaseMapOutput ¶ added in v4.30.0
type FlexibleDatabaseMapOutput struct{ *pulumi.OutputState }
func (FlexibleDatabaseMapOutput) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseMapOutput) ElementType() reflect.Type
func (FlexibleDatabaseMapOutput) MapIndex ¶ added in v4.30.0
func (o FlexibleDatabaseMapOutput) MapIndex(k pulumi.StringInput) FlexibleDatabaseOutput
func (FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutput ¶ added in v4.30.0
func (o FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput
func (FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutputWithContext ¶ added in v4.30.0
func (o FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutputWithContext(ctx context.Context) FlexibleDatabaseMapOutput
type FlexibleDatabaseOutput ¶ added in v4.30.0
type FlexibleDatabaseOutput struct{ *pulumi.OutputState }
func (FlexibleDatabaseOutput) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseOutput) ElementType() reflect.Type
func (FlexibleDatabaseOutput) ToFlexibleDatabaseOutput ¶ added in v4.30.0
func (o FlexibleDatabaseOutput) ToFlexibleDatabaseOutput() FlexibleDatabaseOutput
func (FlexibleDatabaseOutput) ToFlexibleDatabaseOutputWithContext ¶ added in v4.30.0
func (o FlexibleDatabaseOutput) ToFlexibleDatabaseOutputWithContext(ctx context.Context) FlexibleDatabaseOutput
type FlexibleDatabaseState ¶ added in v4.30.0
type FlexibleDatabaseState struct { // Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created. Charset pulumi.StringPtrInput // Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created. Collation pulumi.StringPtrInput // Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput }
func (FlexibleDatabaseState) ElementType ¶ added in v4.30.0
func (FlexibleDatabaseState) ElementType() reflect.Type
type FlexibleServer ¶ added in v4.23.0
type FlexibleServer struct { pulumi.CustomResourceState // The Administrator Login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created. AdministratorLogin pulumi.StringOutput `pulumi:"administratorLogin"` // The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`. AdministratorPassword pulumi.StringPtrOutput `pulumi:"administratorPassword"` // The backup retention days for the MySQL Flexible Server. Possible values are between `7` and `35` days. Defaults to `7`. BackupRetentionDays pulumi.IntPtrOutput `pulumi:"backupRetentionDays"` // The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created. CreateMode pulumi.StringPtrOutput `pulumi:"createMode"` // The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. DelegatedSubnetId pulumi.StringPtrOutput `pulumi:"delegatedSubnetId"` // The fully qualified domain name of the MySQL Flexible Server. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created. GeoRedundantBackupEnabled pulumi.BoolPtrOutput `pulumi:"geoRedundantBackupEnabled"` // A `highAvailability` block as defined below. HighAvailability FlexibleServerHighAvailabilityPtrOutput `pulumi:"highAvailability"` // The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. Location pulumi.StringOutput `pulumi:"location"` // A `maintenanceWindow` block as defined below. MaintenanceWindow FlexibleServerMaintenanceWindowPtrOutput `pulumi:"maintenanceWindow"` // The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. Name pulumi.StringOutput `pulumi:"name"` // The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created. PointInTimeRestoreTimeInUtc pulumi.StringPtrOutput `pulumi:"pointInTimeRestoreTimeInUtc"` // The ID of the private dns zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. PrivateDnsZoneId pulumi.StringPtrOutput `pulumi:"privateDnsZoneId"` // Is the public network access enabled? PublicNetworkAccessEnabled pulumi.BoolOutput `pulumi:"publicNetworkAccessEnabled"` // The maximum number of replicas that a primary MySQL Flexible Server can have. ReplicaCapacity pulumi.IntOutput `pulumi:"replicaCapacity"` // The replication role. Possible value is `None`. ReplicationRole pulumi.StringOutput `pulumi:"replicationRole"` // The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The SKU Name for the MySQL Flexible Server. SkuName pulumi.StringOutput `pulumi:"skuName"` // The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created. SourceServerId pulumi.StringPtrOutput `pulumi:"sourceServerId"` // A `storage` block as defined below. Storage FlexibleServerStorageOutput `pulumi:"storage"` // A mapping of tags which should be assigned to the MySQL Flexible Server. Tags pulumi.StringMapOutput `pulumi:"tags"` // The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created. Version pulumi.StringOutput `pulumi:"version"` // The availability zone information of the MySQL Flexible Server. Possible values are `1`, `2` and `3`. Zone pulumi.StringPtrOutput `pulumi:"zone"` }
Manages a MySQL Flexible Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/privatedns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.2.0/24"), }, ServiceEndpoints: pulumi.StringArray{ pulumi.String("Microsoft.Storage"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("fs"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Name: pulumi.String("Microsoft.DBforMySQL/flexibleServers"), Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, }, }, }, }) if err != nil { return err } exampleZone, err := privatedns.NewZone(ctx, "exampleZone", &privatedns.ZoneArgs{ ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleZoneVirtualNetworkLink, err := privatedns.NewZoneVirtualNetworkLink(ctx, "exampleZoneVirtualNetworkLink", &privatedns.ZoneVirtualNetworkLinkArgs{ PrivateDnsZoneName: exampleZone.Name, VirtualNetworkId: exampleVirtualNetwork.ID(), ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = mysql.NewFlexibleServer(ctx, "exampleFlexibleServer", &mysql.FlexibleServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AdministratorLogin: pulumi.String("psqladmin"), AdministratorPassword: pulumi.String("H@Sh1CoR3!"), BackupRetentionDays: pulumi.Int(7), DelegatedSubnetId: exampleSubnet.ID(), PrivateDnsZoneId: exampleZone.ID(), SkuName: pulumi.String("GP_Standard_D2ds_v4"), }, pulumi.DependsOn([]pulumi.Resource{ exampleZoneVirtualNetworkLink, })) if err != nil { return err } return nil }) }
```
## Import
MySQL Flexible Servers can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/flexibleServer:FlexibleServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1
```
func GetFlexibleServer ¶ added in v4.23.0
func GetFlexibleServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FlexibleServerState, opts ...pulumi.ResourceOption) (*FlexibleServer, error)
GetFlexibleServer gets an existing FlexibleServer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFlexibleServer ¶ added in v4.23.0
func NewFlexibleServer(ctx *pulumi.Context, name string, args *FlexibleServerArgs, opts ...pulumi.ResourceOption) (*FlexibleServer, error)
NewFlexibleServer registers a new resource with the given unique name, arguments, and options.
func (*FlexibleServer) ElementType ¶ added in v4.23.0
func (*FlexibleServer) ElementType() reflect.Type
func (*FlexibleServer) ToFlexibleServerOutput ¶ added in v4.23.0
func (i *FlexibleServer) ToFlexibleServerOutput() FlexibleServerOutput
func (*FlexibleServer) ToFlexibleServerOutputWithContext ¶ added in v4.23.0
func (i *FlexibleServer) ToFlexibleServerOutputWithContext(ctx context.Context) FlexibleServerOutput
type FlexibleServerArgs ¶ added in v4.23.0
type FlexibleServerArgs struct { // The Administrator Login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created. AdministratorLogin pulumi.StringPtrInput // The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`. AdministratorPassword pulumi.StringPtrInput // The backup retention days for the MySQL Flexible Server. Possible values are between `7` and `35` days. Defaults to `7`. BackupRetentionDays pulumi.IntPtrInput // The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created. CreateMode pulumi.StringPtrInput // The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. DelegatedSubnetId pulumi.StringPtrInput // Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created. GeoRedundantBackupEnabled pulumi.BoolPtrInput // A `highAvailability` block as defined below. HighAvailability FlexibleServerHighAvailabilityPtrInput // The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. Location pulumi.StringPtrInput // A `maintenanceWindow` block as defined below. MaintenanceWindow FlexibleServerMaintenanceWindowPtrInput // The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. Name pulumi.StringPtrInput // The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created. PointInTimeRestoreTimeInUtc pulumi.StringPtrInput // The ID of the private dns zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. PrivateDnsZoneId pulumi.StringPtrInput // The replication role. Possible value is `None`. ReplicationRole pulumi.StringPtrInput // The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. ResourceGroupName pulumi.StringInput // The SKU Name for the MySQL Flexible Server. SkuName pulumi.StringPtrInput // The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created. SourceServerId pulumi.StringPtrInput // A `storage` block as defined below. Storage FlexibleServerStoragePtrInput // A mapping of tags which should be assigned to the MySQL Flexible Server. Tags pulumi.StringMapInput // The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created. Version pulumi.StringPtrInput // The availability zone information of the MySQL Flexible Server. Possible values are `1`, `2` and `3`. Zone pulumi.StringPtrInput }
The set of arguments for constructing a FlexibleServer resource.
func (FlexibleServerArgs) ElementType ¶ added in v4.23.0
func (FlexibleServerArgs) ElementType() reflect.Type
type FlexibleServerArray ¶ added in v4.23.0
type FlexibleServerArray []FlexibleServerInput
func (FlexibleServerArray) ElementType ¶ added in v4.23.0
func (FlexibleServerArray) ElementType() reflect.Type
func (FlexibleServerArray) ToFlexibleServerArrayOutput ¶ added in v4.23.0
func (i FlexibleServerArray) ToFlexibleServerArrayOutput() FlexibleServerArrayOutput
func (FlexibleServerArray) ToFlexibleServerArrayOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerArray) ToFlexibleServerArrayOutputWithContext(ctx context.Context) FlexibleServerArrayOutput
type FlexibleServerArrayInput ¶ added in v4.23.0
type FlexibleServerArrayInput interface { pulumi.Input ToFlexibleServerArrayOutput() FlexibleServerArrayOutput ToFlexibleServerArrayOutputWithContext(context.Context) FlexibleServerArrayOutput }
FlexibleServerArrayInput is an input type that accepts FlexibleServerArray and FlexibleServerArrayOutput values. You can construct a concrete instance of `FlexibleServerArrayInput` via:
FlexibleServerArray{ FlexibleServerArgs{...} }
type FlexibleServerArrayOutput ¶ added in v4.23.0
type FlexibleServerArrayOutput struct{ *pulumi.OutputState }
func (FlexibleServerArrayOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerArrayOutput) ElementType() reflect.Type
func (FlexibleServerArrayOutput) Index ¶ added in v4.23.0
func (o FlexibleServerArrayOutput) Index(i pulumi.IntInput) FlexibleServerOutput
func (FlexibleServerArrayOutput) ToFlexibleServerArrayOutput ¶ added in v4.23.0
func (o FlexibleServerArrayOutput) ToFlexibleServerArrayOutput() FlexibleServerArrayOutput
func (FlexibleServerArrayOutput) ToFlexibleServerArrayOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerArrayOutput) ToFlexibleServerArrayOutputWithContext(ctx context.Context) FlexibleServerArrayOutput
type FlexibleServerConfiguration ¶ added in v4.24.0
type FlexibleServerConfiguration struct { pulumi.CustomResourceState // Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. Value pulumi.StringOutput `pulumi:"value"` }
Sets a MySQL Flexible Server Configuration value on a MySQL Flexible Server.
## Disclaimers
> **Note:** Since this resource is provisioned by default, the Azure Provider will not check for the presence of an existing resource prior to attempting to create it.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = mysql.NewFlexibleServer(ctx, "exampleFlexibleServer", &mysql.FlexibleServerArgs{ ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name), Location: pulumi.Any(azurerm_resource_group.Test.Location), AdministratorLogin: pulumi.String("adminTerraform"), AdministratorPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("GP_Standard_D2ds_v4"), }) if err != nil { return err } _, err = mysql.NewFlexibleServerConfiguration(ctx, "exampleFlexibleServerConfiguration", &mysql.FlexibleServerConfigurationArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: pulumi.Any(azurerm_mysql_server.Example.Name), Value: pulumi.String("600"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Flexible Server Configurations can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/flexibleServerConfiguration:FlexibleServerConfiguration interactive_timeout /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1/configurations/interactive_timeout
```
func GetFlexibleServerConfiguration ¶ added in v4.24.0
func GetFlexibleServerConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FlexibleServerConfigurationState, opts ...pulumi.ResourceOption) (*FlexibleServerConfiguration, error)
GetFlexibleServerConfiguration gets an existing FlexibleServerConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFlexibleServerConfiguration ¶ added in v4.24.0
func NewFlexibleServerConfiguration(ctx *pulumi.Context, name string, args *FlexibleServerConfigurationArgs, opts ...pulumi.ResourceOption) (*FlexibleServerConfiguration, error)
NewFlexibleServerConfiguration registers a new resource with the given unique name, arguments, and options.
func (*FlexibleServerConfiguration) ElementType ¶ added in v4.24.0
func (*FlexibleServerConfiguration) ElementType() reflect.Type
func (*FlexibleServerConfiguration) ToFlexibleServerConfigurationOutput ¶ added in v4.24.0
func (i *FlexibleServerConfiguration) ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput
func (*FlexibleServerConfiguration) ToFlexibleServerConfigurationOutputWithContext ¶ added in v4.24.0
func (i *FlexibleServerConfiguration) ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput
type FlexibleServerConfigurationArgs ¶ added in v4.24.0
type FlexibleServerConfigurationArgs struct { // Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput // Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. Value pulumi.StringInput }
The set of arguments for constructing a FlexibleServerConfiguration resource.
func (FlexibleServerConfigurationArgs) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationArgs) ElementType() reflect.Type
type FlexibleServerConfigurationArray ¶ added in v4.24.0
type FlexibleServerConfigurationArray []FlexibleServerConfigurationInput
func (FlexibleServerConfigurationArray) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationArray) ElementType() reflect.Type
func (FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutput ¶ added in v4.24.0
func (i FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput
func (FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutputWithContext ¶ added in v4.24.0
func (i FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutputWithContext(ctx context.Context) FlexibleServerConfigurationArrayOutput
type FlexibleServerConfigurationArrayInput ¶ added in v4.24.0
type FlexibleServerConfigurationArrayInput interface { pulumi.Input ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput ToFlexibleServerConfigurationArrayOutputWithContext(context.Context) FlexibleServerConfigurationArrayOutput }
FlexibleServerConfigurationArrayInput is an input type that accepts FlexibleServerConfigurationArray and FlexibleServerConfigurationArrayOutput values. You can construct a concrete instance of `FlexibleServerConfigurationArrayInput` via:
FlexibleServerConfigurationArray{ FlexibleServerConfigurationArgs{...} }
type FlexibleServerConfigurationArrayOutput ¶ added in v4.24.0
type FlexibleServerConfigurationArrayOutput struct{ *pulumi.OutputState }
func (FlexibleServerConfigurationArrayOutput) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationArrayOutput) ElementType() reflect.Type
func (FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutput ¶ added in v4.24.0
func (o FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput
func (FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutputWithContext ¶ added in v4.24.0
func (o FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutputWithContext(ctx context.Context) FlexibleServerConfigurationArrayOutput
type FlexibleServerConfigurationInput ¶ added in v4.24.0
type FlexibleServerConfigurationInput interface { pulumi.Input ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput }
type FlexibleServerConfigurationMap ¶ added in v4.24.0
type FlexibleServerConfigurationMap map[string]FlexibleServerConfigurationInput
func (FlexibleServerConfigurationMap) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationMap) ElementType() reflect.Type
func (FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutput ¶ added in v4.24.0
func (i FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput
func (FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutputWithContext ¶ added in v4.24.0
func (i FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutputWithContext(ctx context.Context) FlexibleServerConfigurationMapOutput
type FlexibleServerConfigurationMapInput ¶ added in v4.24.0
type FlexibleServerConfigurationMapInput interface { pulumi.Input ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput ToFlexibleServerConfigurationMapOutputWithContext(context.Context) FlexibleServerConfigurationMapOutput }
FlexibleServerConfigurationMapInput is an input type that accepts FlexibleServerConfigurationMap and FlexibleServerConfigurationMapOutput values. You can construct a concrete instance of `FlexibleServerConfigurationMapInput` via:
FlexibleServerConfigurationMap{ "key": FlexibleServerConfigurationArgs{...} }
type FlexibleServerConfigurationMapOutput ¶ added in v4.24.0
type FlexibleServerConfigurationMapOutput struct{ *pulumi.OutputState }
func (FlexibleServerConfigurationMapOutput) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationMapOutput) ElementType() reflect.Type
func (FlexibleServerConfigurationMapOutput) MapIndex ¶ added in v4.24.0
func (o FlexibleServerConfigurationMapOutput) MapIndex(k pulumi.StringInput) FlexibleServerConfigurationOutput
func (FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutput ¶ added in v4.24.0
func (o FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput
func (FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutputWithContext ¶ added in v4.24.0
func (o FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutputWithContext(ctx context.Context) FlexibleServerConfigurationMapOutput
type FlexibleServerConfigurationOutput ¶ added in v4.24.0
type FlexibleServerConfigurationOutput struct{ *pulumi.OutputState }
func (FlexibleServerConfigurationOutput) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationOutput) ElementType() reflect.Type
func (FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutput ¶ added in v4.24.0
func (o FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput
func (FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutputWithContext ¶ added in v4.24.0
func (o FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput
type FlexibleServerConfigurationState ¶ added in v4.24.0
type FlexibleServerConfigurationState struct { // Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. Value pulumi.StringPtrInput }
func (FlexibleServerConfigurationState) ElementType ¶ added in v4.24.0
func (FlexibleServerConfigurationState) ElementType() reflect.Type
type FlexibleServerFirewallRule ¶ added in v4.27.0
type FlexibleServerFirewallRule struct { pulumi.CustomResourceState // Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` // Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` }
Manages a Firewall Rule for a MySQL Flexible Server.
## Example Usage ### Single IP Address)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "exampleFlexibleServer", nil) if err != nil { return err } _, err = mysql.NewFlexibleServerFirewallRule(ctx, "exampleFlexibleServerFirewallRule", &mysql.FlexibleServerFirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleFlexibleServer.Name, StartIpAddress: pulumi.String("40.112.8.12"), EndIpAddress: pulumi.String("40.112.8.12"), }) if err != nil { return err } return nil }) }
``` ### IP Range)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "exampleFlexibleServer", nil) if err != nil { return err } _, err = mysql.NewFlexibleServerFirewallRule(ctx, "exampleFlexibleServerFirewallRule", &mysql.FlexibleServerFirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleFlexibleServer.Name, StartIpAddress: pulumi.String("40.112.0.0"), EndIpAddress: pulumi.String("40.112.255.255"), }) if err != nil { return err } return nil }) }
``` ### Allow Access To Azure Services)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "exampleFlexibleServer", nil) if err != nil { return err } _, err = mysql.NewFlexibleServerFirewallRule(ctx, "exampleFlexibleServerFirewallRule", &mysql.FlexibleServerFirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleFlexibleServer.Name, StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("0.0.0.0"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Firewall Rule's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/flexibleServerFirewallRule:FlexibleServerFirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1/firewallRules/firewallRule1
```
func GetFlexibleServerFirewallRule ¶ added in v4.27.0
func GetFlexibleServerFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FlexibleServerFirewallRuleState, opts ...pulumi.ResourceOption) (*FlexibleServerFirewallRule, error)
GetFlexibleServerFirewallRule gets an existing FlexibleServerFirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewFlexibleServerFirewallRule ¶ added in v4.27.0
func NewFlexibleServerFirewallRule(ctx *pulumi.Context, name string, args *FlexibleServerFirewallRuleArgs, opts ...pulumi.ResourceOption) (*FlexibleServerFirewallRule, error)
NewFlexibleServerFirewallRule registers a new resource with the given unique name, arguments, and options.
func (*FlexibleServerFirewallRule) ElementType ¶ added in v4.27.0
func (*FlexibleServerFirewallRule) ElementType() reflect.Type
func (*FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutput ¶ added in v4.27.0
func (i *FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput
func (*FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutputWithContext ¶ added in v4.27.0
func (i *FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput
type FlexibleServerFirewallRuleArgs ¶ added in v4.27.0
type FlexibleServerFirewallRuleArgs struct { // Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. EndIpAddress pulumi.StringInput // Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringInput // Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. StartIpAddress pulumi.StringInput }
The set of arguments for constructing a FlexibleServerFirewallRule resource.
func (FlexibleServerFirewallRuleArgs) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleArgs) ElementType() reflect.Type
type FlexibleServerFirewallRuleArray ¶ added in v4.27.0
type FlexibleServerFirewallRuleArray []FlexibleServerFirewallRuleInput
func (FlexibleServerFirewallRuleArray) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleArray) ElementType() reflect.Type
func (FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutput ¶ added in v4.27.0
func (i FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput
func (FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutputWithContext ¶ added in v4.27.0
func (i FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleArrayOutput
type FlexibleServerFirewallRuleArrayInput ¶ added in v4.27.0
type FlexibleServerFirewallRuleArrayInput interface { pulumi.Input ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput ToFlexibleServerFirewallRuleArrayOutputWithContext(context.Context) FlexibleServerFirewallRuleArrayOutput }
FlexibleServerFirewallRuleArrayInput is an input type that accepts FlexibleServerFirewallRuleArray and FlexibleServerFirewallRuleArrayOutput values. You can construct a concrete instance of `FlexibleServerFirewallRuleArrayInput` via:
FlexibleServerFirewallRuleArray{ FlexibleServerFirewallRuleArgs{...} }
type FlexibleServerFirewallRuleArrayOutput ¶ added in v4.27.0
type FlexibleServerFirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FlexibleServerFirewallRuleArrayOutput) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleArrayOutput) ElementType() reflect.Type
func (FlexibleServerFirewallRuleArrayOutput) Index ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleArrayOutput) Index(i pulumi.IntInput) FlexibleServerFirewallRuleOutput
func (FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutput ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput
func (FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutputWithContext ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleArrayOutput
type FlexibleServerFirewallRuleInput ¶ added in v4.27.0
type FlexibleServerFirewallRuleInput interface { pulumi.Input ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput }
type FlexibleServerFirewallRuleMap ¶ added in v4.27.0
type FlexibleServerFirewallRuleMap map[string]FlexibleServerFirewallRuleInput
func (FlexibleServerFirewallRuleMap) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleMap) ElementType() reflect.Type
func (FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutput ¶ added in v4.27.0
func (i FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput
func (FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutputWithContext ¶ added in v4.27.0
func (i FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleMapOutput
type FlexibleServerFirewallRuleMapInput ¶ added in v4.27.0
type FlexibleServerFirewallRuleMapInput interface { pulumi.Input ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput ToFlexibleServerFirewallRuleMapOutputWithContext(context.Context) FlexibleServerFirewallRuleMapOutput }
FlexibleServerFirewallRuleMapInput is an input type that accepts FlexibleServerFirewallRuleMap and FlexibleServerFirewallRuleMapOutput values. You can construct a concrete instance of `FlexibleServerFirewallRuleMapInput` via:
FlexibleServerFirewallRuleMap{ "key": FlexibleServerFirewallRuleArgs{...} }
type FlexibleServerFirewallRuleMapOutput ¶ added in v4.27.0
type FlexibleServerFirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FlexibleServerFirewallRuleMapOutput) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleMapOutput) ElementType() reflect.Type
func (FlexibleServerFirewallRuleMapOutput) MapIndex ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FlexibleServerFirewallRuleOutput
func (FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutput ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput
func (FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutputWithContext ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleMapOutput
type FlexibleServerFirewallRuleOutput ¶ added in v4.27.0
type FlexibleServerFirewallRuleOutput struct{ *pulumi.OutputState }
func (FlexibleServerFirewallRuleOutput) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleOutput) ElementType() reflect.Type
func (FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutput ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput
func (FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutputWithContext ¶ added in v4.27.0
func (o FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput
type FlexibleServerFirewallRuleState ¶ added in v4.27.0
type FlexibleServerFirewallRuleState struct { // Specifies the End IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. EndIpAddress pulumi.StringPtrInput // Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // Specifies the Start IP Address associated with this Firewall Rule. Changing this forces a new resource to be created. StartIpAddress pulumi.StringPtrInput }
func (FlexibleServerFirewallRuleState) ElementType ¶ added in v4.27.0
func (FlexibleServerFirewallRuleState) ElementType() reflect.Type
type FlexibleServerHighAvailability ¶ added in v4.23.0
type FlexibleServerHighAvailability struct { // The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`. Mode string `pulumi:"mode"` // The availability zone of the standby Flexible Server. Possible values are `1`, `2` and `3`. StandbyAvailabilityZone *string `pulumi:"standbyAvailabilityZone"` }
type FlexibleServerHighAvailabilityArgs ¶ added in v4.23.0
type FlexibleServerHighAvailabilityArgs struct { // The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`. Mode pulumi.StringInput `pulumi:"mode"` // The availability zone of the standby Flexible Server. Possible values are `1`, `2` and `3`. StandbyAvailabilityZone pulumi.StringPtrInput `pulumi:"standbyAvailabilityZone"` }
func (FlexibleServerHighAvailabilityArgs) ElementType ¶ added in v4.23.0
func (FlexibleServerHighAvailabilityArgs) ElementType() reflect.Type
func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutput ¶ added in v4.23.0
func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput
func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityOutput
func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutput ¶ added in v4.23.0
func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput
type FlexibleServerHighAvailabilityInput ¶ added in v4.23.0
type FlexibleServerHighAvailabilityInput interface { pulumi.Input ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput ToFlexibleServerHighAvailabilityOutputWithContext(context.Context) FlexibleServerHighAvailabilityOutput }
FlexibleServerHighAvailabilityInput is an input type that accepts FlexibleServerHighAvailabilityArgs and FlexibleServerHighAvailabilityOutput values. You can construct a concrete instance of `FlexibleServerHighAvailabilityInput` via:
FlexibleServerHighAvailabilityArgs{...}
type FlexibleServerHighAvailabilityOutput ¶ added in v4.23.0
type FlexibleServerHighAvailabilityOutput struct{ *pulumi.OutputState }
func (FlexibleServerHighAvailabilityOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerHighAvailabilityOutput) ElementType() reflect.Type
func (FlexibleServerHighAvailabilityOutput) Mode ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityOutput) Mode() pulumi.StringOutput
The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
func (FlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput
The availability zone of the standby Flexible Server. Possible values are `1`, `2` and `3`.
func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutput ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput
func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityOutput
func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutput ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput
type FlexibleServerHighAvailabilityPtrInput ¶ added in v4.23.0
type FlexibleServerHighAvailabilityPtrInput interface { pulumi.Input ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput ToFlexibleServerHighAvailabilityPtrOutputWithContext(context.Context) FlexibleServerHighAvailabilityPtrOutput }
FlexibleServerHighAvailabilityPtrInput is an input type that accepts FlexibleServerHighAvailabilityArgs, FlexibleServerHighAvailabilityPtr and FlexibleServerHighAvailabilityPtrOutput values. You can construct a concrete instance of `FlexibleServerHighAvailabilityPtrInput` via:
FlexibleServerHighAvailabilityArgs{...} or: nil
func FlexibleServerHighAvailabilityPtr ¶ added in v4.23.0
func FlexibleServerHighAvailabilityPtr(v *FlexibleServerHighAvailabilityArgs) FlexibleServerHighAvailabilityPtrInput
type FlexibleServerHighAvailabilityPtrOutput ¶ added in v4.23.0
type FlexibleServerHighAvailabilityPtrOutput struct{ *pulumi.OutputState }
func (FlexibleServerHighAvailabilityPtrOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerHighAvailabilityPtrOutput) ElementType() reflect.Type
func (FlexibleServerHighAvailabilityPtrOutput) Mode ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityPtrOutput) Mode() pulumi.StringPtrOutput
The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
func (FlexibleServerHighAvailabilityPtrOutput) StandbyAvailabilityZone ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityPtrOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput
The availability zone of the standby Flexible Server. Possible values are `1`, `2` and `3`.
func (FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutput ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
func (FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput
type FlexibleServerInput ¶ added in v4.23.0
type FlexibleServerInput interface { pulumi.Input ToFlexibleServerOutput() FlexibleServerOutput ToFlexibleServerOutputWithContext(ctx context.Context) FlexibleServerOutput }
type FlexibleServerMaintenanceWindow ¶ added in v4.23.0
type FlexibleServerMaintenanceWindow struct { // The day of week for maintenance window. Defaults to `0`. DayOfWeek *int `pulumi:"dayOfWeek"` // The start hour for maintenance window. Defaults to `0`. StartHour *int `pulumi:"startHour"` // The start minute for maintenance window. Defaults to `0`. StartMinute *int `pulumi:"startMinute"` }
type FlexibleServerMaintenanceWindowArgs ¶ added in v4.23.0
type FlexibleServerMaintenanceWindowArgs struct { // The day of week for maintenance window. Defaults to `0`. DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"` // The start hour for maintenance window. Defaults to `0`. StartHour pulumi.IntPtrInput `pulumi:"startHour"` // The start minute for maintenance window. Defaults to `0`. StartMinute pulumi.IntPtrInput `pulumi:"startMinute"` }
func (FlexibleServerMaintenanceWindowArgs) ElementType ¶ added in v4.23.0
func (FlexibleServerMaintenanceWindowArgs) ElementType() reflect.Type
func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutput ¶ added in v4.23.0
func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput
func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowOutput
func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutput ¶ added in v4.23.0
func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput
type FlexibleServerMaintenanceWindowInput ¶ added in v4.23.0
type FlexibleServerMaintenanceWindowInput interface { pulumi.Input ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput ToFlexibleServerMaintenanceWindowOutputWithContext(context.Context) FlexibleServerMaintenanceWindowOutput }
FlexibleServerMaintenanceWindowInput is an input type that accepts FlexibleServerMaintenanceWindowArgs and FlexibleServerMaintenanceWindowOutput values. You can construct a concrete instance of `FlexibleServerMaintenanceWindowInput` via:
FlexibleServerMaintenanceWindowArgs{...}
type FlexibleServerMaintenanceWindowOutput ¶ added in v4.23.0
type FlexibleServerMaintenanceWindowOutput struct{ *pulumi.OutputState }
func (FlexibleServerMaintenanceWindowOutput) DayOfWeek ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) DayOfWeek() pulumi.IntPtrOutput
The day of week for maintenance window. Defaults to `0`.
func (FlexibleServerMaintenanceWindowOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerMaintenanceWindowOutput) ElementType() reflect.Type
func (FlexibleServerMaintenanceWindowOutput) StartHour ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) StartHour() pulumi.IntPtrOutput
The start hour for maintenance window. Defaults to `0`.
func (FlexibleServerMaintenanceWindowOutput) StartMinute ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) StartMinute() pulumi.IntPtrOutput
The start minute for maintenance window. Defaults to `0`.
func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutput ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput
func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowOutput
func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutput ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput
type FlexibleServerMaintenanceWindowPtrInput ¶ added in v4.23.0
type FlexibleServerMaintenanceWindowPtrInput interface { pulumi.Input ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput ToFlexibleServerMaintenanceWindowPtrOutputWithContext(context.Context) FlexibleServerMaintenanceWindowPtrOutput }
FlexibleServerMaintenanceWindowPtrInput is an input type that accepts FlexibleServerMaintenanceWindowArgs, FlexibleServerMaintenanceWindowPtr and FlexibleServerMaintenanceWindowPtrOutput values. You can construct a concrete instance of `FlexibleServerMaintenanceWindowPtrInput` via:
FlexibleServerMaintenanceWindowArgs{...} or: nil
func FlexibleServerMaintenanceWindowPtr ¶ added in v4.23.0
func FlexibleServerMaintenanceWindowPtr(v *FlexibleServerMaintenanceWindowArgs) FlexibleServerMaintenanceWindowPtrInput
type FlexibleServerMaintenanceWindowPtrOutput ¶ added in v4.23.0
type FlexibleServerMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }
func (FlexibleServerMaintenanceWindowPtrOutput) DayOfWeek ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowPtrOutput) DayOfWeek() pulumi.IntPtrOutput
The day of week for maintenance window. Defaults to `0`.
func (FlexibleServerMaintenanceWindowPtrOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerMaintenanceWindowPtrOutput) ElementType() reflect.Type
func (FlexibleServerMaintenanceWindowPtrOutput) StartHour ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowPtrOutput) StartHour() pulumi.IntPtrOutput
The start hour for maintenance window. Defaults to `0`.
func (FlexibleServerMaintenanceWindowPtrOutput) StartMinute ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowPtrOutput) StartMinute() pulumi.IntPtrOutput
The start minute for maintenance window. Defaults to `0`.
func (FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutput ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
func (FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput
type FlexibleServerMap ¶ added in v4.23.0
type FlexibleServerMap map[string]FlexibleServerInput
func (FlexibleServerMap) ElementType ¶ added in v4.23.0
func (FlexibleServerMap) ElementType() reflect.Type
func (FlexibleServerMap) ToFlexibleServerMapOutput ¶ added in v4.23.0
func (i FlexibleServerMap) ToFlexibleServerMapOutput() FlexibleServerMapOutput
func (FlexibleServerMap) ToFlexibleServerMapOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerMap) ToFlexibleServerMapOutputWithContext(ctx context.Context) FlexibleServerMapOutput
type FlexibleServerMapInput ¶ added in v4.23.0
type FlexibleServerMapInput interface { pulumi.Input ToFlexibleServerMapOutput() FlexibleServerMapOutput ToFlexibleServerMapOutputWithContext(context.Context) FlexibleServerMapOutput }
FlexibleServerMapInput is an input type that accepts FlexibleServerMap and FlexibleServerMapOutput values. You can construct a concrete instance of `FlexibleServerMapInput` via:
FlexibleServerMap{ "key": FlexibleServerArgs{...} }
type FlexibleServerMapOutput ¶ added in v4.23.0
type FlexibleServerMapOutput struct{ *pulumi.OutputState }
func (FlexibleServerMapOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerMapOutput) ElementType() reflect.Type
func (FlexibleServerMapOutput) MapIndex ¶ added in v4.23.0
func (o FlexibleServerMapOutput) MapIndex(k pulumi.StringInput) FlexibleServerOutput
func (FlexibleServerMapOutput) ToFlexibleServerMapOutput ¶ added in v4.23.0
func (o FlexibleServerMapOutput) ToFlexibleServerMapOutput() FlexibleServerMapOutput
func (FlexibleServerMapOutput) ToFlexibleServerMapOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerMapOutput) ToFlexibleServerMapOutputWithContext(ctx context.Context) FlexibleServerMapOutput
type FlexibleServerOutput ¶ added in v4.23.0
type FlexibleServerOutput struct{ *pulumi.OutputState }
func (FlexibleServerOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerOutput) ElementType() reflect.Type
func (FlexibleServerOutput) ToFlexibleServerOutput ¶ added in v4.23.0
func (o FlexibleServerOutput) ToFlexibleServerOutput() FlexibleServerOutput
func (FlexibleServerOutput) ToFlexibleServerOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerOutput) ToFlexibleServerOutputWithContext(ctx context.Context) FlexibleServerOutput
type FlexibleServerState ¶ added in v4.23.0
type FlexibleServerState struct { // The Administrator Login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created. AdministratorLogin pulumi.StringPtrInput // The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`. AdministratorPassword pulumi.StringPtrInput // The backup retention days for the MySQL Flexible Server. Possible values are between `7` and `35` days. Defaults to `7`. BackupRetentionDays pulumi.IntPtrInput // The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created. CreateMode pulumi.StringPtrInput // The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. DelegatedSubnetId pulumi.StringPtrInput // The fully qualified domain name of the MySQL Flexible Server. Fqdn pulumi.StringPtrInput // Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created. GeoRedundantBackupEnabled pulumi.BoolPtrInput // A `highAvailability` block as defined below. HighAvailability FlexibleServerHighAvailabilityPtrInput // The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. Location pulumi.StringPtrInput // A `maintenanceWindow` block as defined below. MaintenanceWindow FlexibleServerMaintenanceWindowPtrInput // The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. Name pulumi.StringPtrInput // The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created. PointInTimeRestoreTimeInUtc pulumi.StringPtrInput // The ID of the private dns zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created. PrivateDnsZoneId pulumi.StringPtrInput // Is the public network access enabled? PublicNetworkAccessEnabled pulumi.BoolPtrInput // The maximum number of replicas that a primary MySQL Flexible Server can have. ReplicaCapacity pulumi.IntPtrInput // The replication role. Possible value is `None`. ReplicationRole pulumi.StringPtrInput // The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. ResourceGroupName pulumi.StringPtrInput // The SKU Name for the MySQL Flexible Server. SkuName pulumi.StringPtrInput // The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created. SourceServerId pulumi.StringPtrInput // A `storage` block as defined below. Storage FlexibleServerStoragePtrInput // A mapping of tags which should be assigned to the MySQL Flexible Server. Tags pulumi.StringMapInput // The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created. Version pulumi.StringPtrInput // The availability zone information of the MySQL Flexible Server. Possible values are `1`, `2` and `3`. Zone pulumi.StringPtrInput }
func (FlexibleServerState) ElementType ¶ added in v4.23.0
func (FlexibleServerState) ElementType() reflect.Type
type FlexibleServerStorage ¶ added in v4.23.0
type FlexibleServerStorage struct { // Should Storage Auto Grow be enabled? Defaults to `true`. AutoGrowEnabled *bool `pulumi:"autoGrowEnabled"` // The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`. Iops *int `pulumi:"iops"` // The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`. SizeGb *int `pulumi:"sizeGb"` }
type FlexibleServerStorageArgs ¶ added in v4.23.0
type FlexibleServerStorageArgs struct { // Should Storage Auto Grow be enabled? Defaults to `true`. AutoGrowEnabled pulumi.BoolPtrInput `pulumi:"autoGrowEnabled"` // The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`. Iops pulumi.IntPtrInput `pulumi:"iops"` // The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`. SizeGb pulumi.IntPtrInput `pulumi:"sizeGb"` }
func (FlexibleServerStorageArgs) ElementType ¶ added in v4.23.0
func (FlexibleServerStorageArgs) ElementType() reflect.Type
func (FlexibleServerStorageArgs) ToFlexibleServerStorageOutput ¶ added in v4.23.0
func (i FlexibleServerStorageArgs) ToFlexibleServerStorageOutput() FlexibleServerStorageOutput
func (FlexibleServerStorageArgs) ToFlexibleServerStorageOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerStorageArgs) ToFlexibleServerStorageOutputWithContext(ctx context.Context) FlexibleServerStorageOutput
func (FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutput ¶ added in v4.23.0
func (i FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
func (FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutputWithContext ¶ added in v4.23.0
func (i FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput
type FlexibleServerStorageInput ¶ added in v4.23.0
type FlexibleServerStorageInput interface { pulumi.Input ToFlexibleServerStorageOutput() FlexibleServerStorageOutput ToFlexibleServerStorageOutputWithContext(context.Context) FlexibleServerStorageOutput }
FlexibleServerStorageInput is an input type that accepts FlexibleServerStorageArgs and FlexibleServerStorageOutput values. You can construct a concrete instance of `FlexibleServerStorageInput` via:
FlexibleServerStorageArgs{...}
type FlexibleServerStorageOutput ¶ added in v4.23.0
type FlexibleServerStorageOutput struct{ *pulumi.OutputState }
func (FlexibleServerStorageOutput) AutoGrowEnabled ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) AutoGrowEnabled() pulumi.BoolPtrOutput
Should Storage Auto Grow be enabled? Defaults to `true`.
func (FlexibleServerStorageOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerStorageOutput) ElementType() reflect.Type
func (FlexibleServerStorageOutput) Iops ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) Iops() pulumi.IntPtrOutput
The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.
func (FlexibleServerStorageOutput) SizeGb ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) SizeGb() pulumi.IntPtrOutput
The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.
func (FlexibleServerStorageOutput) ToFlexibleServerStorageOutput ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) ToFlexibleServerStorageOutput() FlexibleServerStorageOutput
func (FlexibleServerStorageOutput) ToFlexibleServerStorageOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) ToFlexibleServerStorageOutputWithContext(ctx context.Context) FlexibleServerStorageOutput
func (FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutput ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
func (FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput
type FlexibleServerStoragePtrInput ¶ added in v4.23.0
type FlexibleServerStoragePtrInput interface { pulumi.Input ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput ToFlexibleServerStoragePtrOutputWithContext(context.Context) FlexibleServerStoragePtrOutput }
FlexibleServerStoragePtrInput is an input type that accepts FlexibleServerStorageArgs, FlexibleServerStoragePtr and FlexibleServerStoragePtrOutput values. You can construct a concrete instance of `FlexibleServerStoragePtrInput` via:
FlexibleServerStorageArgs{...} or: nil
func FlexibleServerStoragePtr ¶ added in v4.23.0
func FlexibleServerStoragePtr(v *FlexibleServerStorageArgs) FlexibleServerStoragePtrInput
type FlexibleServerStoragePtrOutput ¶ added in v4.23.0
type FlexibleServerStoragePtrOutput struct{ *pulumi.OutputState }
func (FlexibleServerStoragePtrOutput) AutoGrowEnabled ¶ added in v4.23.0
func (o FlexibleServerStoragePtrOutput) AutoGrowEnabled() pulumi.BoolPtrOutput
Should Storage Auto Grow be enabled? Defaults to `true`.
func (FlexibleServerStoragePtrOutput) Elem ¶ added in v4.23.0
func (o FlexibleServerStoragePtrOutput) Elem() FlexibleServerStorageOutput
func (FlexibleServerStoragePtrOutput) ElementType ¶ added in v4.23.0
func (FlexibleServerStoragePtrOutput) ElementType() reflect.Type
func (FlexibleServerStoragePtrOutput) Iops ¶ added in v4.23.0
func (o FlexibleServerStoragePtrOutput) Iops() pulumi.IntPtrOutput
The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.
func (FlexibleServerStoragePtrOutput) SizeGb ¶ added in v4.23.0
func (o FlexibleServerStoragePtrOutput) SizeGb() pulumi.IntPtrOutput
The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.
func (FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutput ¶ added in v4.23.0
func (o FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
func (FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutputWithContext ¶ added in v4.23.0
func (o FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput
type GetFlexibleServerHighAvailability ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityArgs ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityArgs struct { // The high availability mode of the MySQL Flexible Server. Mode pulumi.StringInput `pulumi:"mode"` // The availability zone of the standby Flexible Server. StandbyAvailabilityZone pulumi.StringInput `pulumi:"standbyAvailabilityZone"` }
func (GetFlexibleServerHighAvailabilityArgs) ElementType ¶ added in v4.35.0
func (GetFlexibleServerHighAvailabilityArgs) ElementType() reflect.Type
func (GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutput ¶ added in v4.35.0
func (i GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput
func (GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutputWithContext ¶ added in v4.35.0
func (i GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityOutput
type GetFlexibleServerHighAvailabilityArray ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityArray []GetFlexibleServerHighAvailabilityInput
func (GetFlexibleServerHighAvailabilityArray) ElementType ¶ added in v4.35.0
func (GetFlexibleServerHighAvailabilityArray) ElementType() reflect.Type
func (GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutput ¶ added in v4.35.0
func (i GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput
func (GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext ¶ added in v4.35.0
func (i GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityArrayOutput
type GetFlexibleServerHighAvailabilityArrayInput ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityArrayInput interface { pulumi.Input ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(context.Context) GetFlexibleServerHighAvailabilityArrayOutput }
GetFlexibleServerHighAvailabilityArrayInput is an input type that accepts GetFlexibleServerHighAvailabilityArray and GetFlexibleServerHighAvailabilityArrayOutput values. You can construct a concrete instance of `GetFlexibleServerHighAvailabilityArrayInput` via:
GetFlexibleServerHighAvailabilityArray{ GetFlexibleServerHighAvailabilityArgs{...} }
type GetFlexibleServerHighAvailabilityArrayOutput ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityArrayOutput struct{ *pulumi.OutputState }
func (GetFlexibleServerHighAvailabilityArrayOutput) ElementType ¶ added in v4.35.0
func (GetFlexibleServerHighAvailabilityArrayOutput) ElementType() reflect.Type
func (GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutput ¶ added in v4.35.0
func (o GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput
func (GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext ¶ added in v4.35.0
func (o GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityArrayOutput
type GetFlexibleServerHighAvailabilityInput ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityInput interface { pulumi.Input ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput ToGetFlexibleServerHighAvailabilityOutputWithContext(context.Context) GetFlexibleServerHighAvailabilityOutput }
GetFlexibleServerHighAvailabilityInput is an input type that accepts GetFlexibleServerHighAvailabilityArgs and GetFlexibleServerHighAvailabilityOutput values. You can construct a concrete instance of `GetFlexibleServerHighAvailabilityInput` via:
GetFlexibleServerHighAvailabilityArgs{...}
type GetFlexibleServerHighAvailabilityOutput ¶ added in v4.35.0
type GetFlexibleServerHighAvailabilityOutput struct{ *pulumi.OutputState }
func (GetFlexibleServerHighAvailabilityOutput) ElementType ¶ added in v4.35.0
func (GetFlexibleServerHighAvailabilityOutput) ElementType() reflect.Type
func (GetFlexibleServerHighAvailabilityOutput) Mode ¶ added in v4.35.0
func (o GetFlexibleServerHighAvailabilityOutput) Mode() pulumi.StringOutput
The high availability mode of the MySQL Flexible Server.
func (GetFlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone ¶ added in v4.35.0
func (o GetFlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringOutput
The availability zone of the standby Flexible Server.
func (GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutput ¶ added in v4.35.0
func (o GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput
func (GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutputWithContext ¶ added in v4.35.0
func (o GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityOutput
type GetFlexibleServerMaintenanceWindow ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowArgs ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowArgs struct { // The day of week of the maintenance window. DayOfWeek pulumi.IntInput `pulumi:"dayOfWeek"` // The start hour of the maintenance window. StartHour pulumi.IntInput `pulumi:"startHour"` // The start minute of the maintenance window. StartMinute pulumi.IntInput `pulumi:"startMinute"` }
func (GetFlexibleServerMaintenanceWindowArgs) ElementType ¶ added in v4.35.0
func (GetFlexibleServerMaintenanceWindowArgs) ElementType() reflect.Type
func (GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutput ¶ added in v4.35.0
func (i GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput
func (GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutputWithContext ¶ added in v4.35.0
func (i GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowOutput
type GetFlexibleServerMaintenanceWindowArray ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowArray []GetFlexibleServerMaintenanceWindowInput
func (GetFlexibleServerMaintenanceWindowArray) ElementType ¶ added in v4.35.0
func (GetFlexibleServerMaintenanceWindowArray) ElementType() reflect.Type
func (GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutput ¶ added in v4.35.0
func (i GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput
func (GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext ¶ added in v4.35.0
func (i GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowArrayOutput
type GetFlexibleServerMaintenanceWindowArrayInput ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowArrayInput interface { pulumi.Input ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(context.Context) GetFlexibleServerMaintenanceWindowArrayOutput }
GetFlexibleServerMaintenanceWindowArrayInput is an input type that accepts GetFlexibleServerMaintenanceWindowArray and GetFlexibleServerMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetFlexibleServerMaintenanceWindowArrayInput` via:
GetFlexibleServerMaintenanceWindowArray{ GetFlexibleServerMaintenanceWindowArgs{...} }
type GetFlexibleServerMaintenanceWindowArrayOutput ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }
func (GetFlexibleServerMaintenanceWindowArrayOutput) ElementType ¶ added in v4.35.0
func (GetFlexibleServerMaintenanceWindowArrayOutput) ElementType() reflect.Type
func (GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutput ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput
func (GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowArrayOutput
type GetFlexibleServerMaintenanceWindowInput ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowInput interface { pulumi.Input ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput ToGetFlexibleServerMaintenanceWindowOutputWithContext(context.Context) GetFlexibleServerMaintenanceWindowOutput }
GetFlexibleServerMaintenanceWindowInput is an input type that accepts GetFlexibleServerMaintenanceWindowArgs and GetFlexibleServerMaintenanceWindowOutput values. You can construct a concrete instance of `GetFlexibleServerMaintenanceWindowInput` via:
GetFlexibleServerMaintenanceWindowArgs{...}
type GetFlexibleServerMaintenanceWindowOutput ¶ added in v4.35.0
type GetFlexibleServerMaintenanceWindowOutput struct{ *pulumi.OutputState }
func (GetFlexibleServerMaintenanceWindowOutput) DayOfWeek ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowOutput) DayOfWeek() pulumi.IntOutput
The day of week of the maintenance window.
func (GetFlexibleServerMaintenanceWindowOutput) ElementType ¶ added in v4.35.0
func (GetFlexibleServerMaintenanceWindowOutput) ElementType() reflect.Type
func (GetFlexibleServerMaintenanceWindowOutput) StartHour ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowOutput) StartHour() pulumi.IntOutput
The start hour of the maintenance window.
func (GetFlexibleServerMaintenanceWindowOutput) StartMinute ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowOutput) StartMinute() pulumi.IntOutput
The start minute of the maintenance window.
func (GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutput ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput
func (GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutputWithContext ¶ added in v4.35.0
func (o GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowOutput
type GetFlexibleServerStorage ¶ added in v4.35.0
type GetFlexibleServerStorageArgs ¶ added in v4.35.0
type GetFlexibleServerStorageArgs struct { // Is Storage Auto Grow enabled? AutoGrowEnabled pulumi.BoolInput `pulumi:"autoGrowEnabled"` // The storage IOPS of the MySQL Flexible Server. Iops pulumi.IntInput `pulumi:"iops"` // The max storage allowed for the MySQL Flexible Server. SizeGb pulumi.IntInput `pulumi:"sizeGb"` }
func (GetFlexibleServerStorageArgs) ElementType ¶ added in v4.35.0
func (GetFlexibleServerStorageArgs) ElementType() reflect.Type
func (GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutput ¶ added in v4.35.0
func (i GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput
func (GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutputWithContext ¶ added in v4.35.0
func (i GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutputWithContext(ctx context.Context) GetFlexibleServerStorageOutput
type GetFlexibleServerStorageArray ¶ added in v4.35.0
type GetFlexibleServerStorageArray []GetFlexibleServerStorageInput
func (GetFlexibleServerStorageArray) ElementType ¶ added in v4.35.0
func (GetFlexibleServerStorageArray) ElementType() reflect.Type
func (GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutput ¶ added in v4.35.0
func (i GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput
func (GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutputWithContext ¶ added in v4.35.0
func (i GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutputWithContext(ctx context.Context) GetFlexibleServerStorageArrayOutput
type GetFlexibleServerStorageArrayInput ¶ added in v4.35.0
type GetFlexibleServerStorageArrayInput interface { pulumi.Input ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput ToGetFlexibleServerStorageArrayOutputWithContext(context.Context) GetFlexibleServerStorageArrayOutput }
GetFlexibleServerStorageArrayInput is an input type that accepts GetFlexibleServerStorageArray and GetFlexibleServerStorageArrayOutput values. You can construct a concrete instance of `GetFlexibleServerStorageArrayInput` via:
GetFlexibleServerStorageArray{ GetFlexibleServerStorageArgs{...} }
type GetFlexibleServerStorageArrayOutput ¶ added in v4.35.0
type GetFlexibleServerStorageArrayOutput struct{ *pulumi.OutputState }
func (GetFlexibleServerStorageArrayOutput) ElementType ¶ added in v4.35.0
func (GetFlexibleServerStorageArrayOutput) ElementType() reflect.Type
func (GetFlexibleServerStorageArrayOutput) Index ¶ added in v4.35.0
func (o GetFlexibleServerStorageArrayOutput) Index(i pulumi.IntInput) GetFlexibleServerStorageOutput
func (GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutput ¶ added in v4.35.0
func (o GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput
func (GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutputWithContext ¶ added in v4.35.0
func (o GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutputWithContext(ctx context.Context) GetFlexibleServerStorageArrayOutput
type GetFlexibleServerStorageInput ¶ added in v4.35.0
type GetFlexibleServerStorageInput interface { pulumi.Input ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput ToGetFlexibleServerStorageOutputWithContext(context.Context) GetFlexibleServerStorageOutput }
GetFlexibleServerStorageInput is an input type that accepts GetFlexibleServerStorageArgs and GetFlexibleServerStorageOutput values. You can construct a concrete instance of `GetFlexibleServerStorageInput` via:
GetFlexibleServerStorageArgs{...}
type GetFlexibleServerStorageOutput ¶ added in v4.35.0
type GetFlexibleServerStorageOutput struct{ *pulumi.OutputState }
func (GetFlexibleServerStorageOutput) AutoGrowEnabled ¶ added in v4.35.0
func (o GetFlexibleServerStorageOutput) AutoGrowEnabled() pulumi.BoolOutput
Is Storage Auto Grow enabled?
func (GetFlexibleServerStorageOutput) ElementType ¶ added in v4.35.0
func (GetFlexibleServerStorageOutput) ElementType() reflect.Type
func (GetFlexibleServerStorageOutput) Iops ¶ added in v4.35.0
func (o GetFlexibleServerStorageOutput) Iops() pulumi.IntOutput
The storage IOPS of the MySQL Flexible Server.
func (GetFlexibleServerStorageOutput) SizeGb ¶ added in v4.35.0
func (o GetFlexibleServerStorageOutput) SizeGb() pulumi.IntOutput
The max storage allowed for the MySQL Flexible Server.
func (GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutput ¶ added in v4.35.0
func (o GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput
func (GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutputWithContext ¶ added in v4.35.0
func (o GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutputWithContext(ctx context.Context) GetFlexibleServerStorageOutput
type GetServerIdentity ¶
type GetServerIdentity struct { // The Client ID of the Service Principal assigned to this MySQL Server. PrincipalId string `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. // --- TenantId string `pulumi:"tenantId"` // The Type of Identity used for this MySQL Server. Type string `pulumi:"type"` }
type GetServerIdentityArgs ¶
type GetServerIdentityArgs struct { // The Client ID of the Service Principal assigned to this MySQL Server. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. // --- TenantId pulumi.StringInput `pulumi:"tenantId"` // The Type of Identity used for this MySQL Server. Type pulumi.StringInput `pulumi:"type"` }
func (GetServerIdentityArgs) ElementType ¶
func (GetServerIdentityArgs) ElementType() reflect.Type
func (GetServerIdentityArgs) ToGetServerIdentityOutput ¶
func (i GetServerIdentityArgs) ToGetServerIdentityOutput() GetServerIdentityOutput
func (GetServerIdentityArgs) ToGetServerIdentityOutputWithContext ¶
func (i GetServerIdentityArgs) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
type GetServerIdentityArray ¶
type GetServerIdentityArray []GetServerIdentityInput
func (GetServerIdentityArray) ElementType ¶
func (GetServerIdentityArray) ElementType() reflect.Type
func (GetServerIdentityArray) ToGetServerIdentityArrayOutput ¶
func (i GetServerIdentityArray) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
func (GetServerIdentityArray) ToGetServerIdentityArrayOutputWithContext ¶
func (i GetServerIdentityArray) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
type GetServerIdentityArrayInput ¶
type GetServerIdentityArrayInput interface { pulumi.Input ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput ToGetServerIdentityArrayOutputWithContext(context.Context) GetServerIdentityArrayOutput }
GetServerIdentityArrayInput is an input type that accepts GetServerIdentityArray and GetServerIdentityArrayOutput values. You can construct a concrete instance of `GetServerIdentityArrayInput` via:
GetServerIdentityArray{ GetServerIdentityArgs{...} }
type GetServerIdentityArrayOutput ¶
type GetServerIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetServerIdentityArrayOutput) ElementType ¶
func (GetServerIdentityArrayOutput) ElementType() reflect.Type
func (GetServerIdentityArrayOutput) Index ¶
func (o GetServerIdentityArrayOutput) Index(i pulumi.IntInput) GetServerIdentityOutput
func (GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput ¶
func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
func (GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext ¶
func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
type GetServerIdentityInput ¶
type GetServerIdentityInput interface { pulumi.Input ToGetServerIdentityOutput() GetServerIdentityOutput ToGetServerIdentityOutputWithContext(context.Context) GetServerIdentityOutput }
GetServerIdentityInput is an input type that accepts GetServerIdentityArgs and GetServerIdentityOutput values. You can construct a concrete instance of `GetServerIdentityInput` via:
GetServerIdentityArgs{...}
type GetServerIdentityOutput ¶
type GetServerIdentityOutput struct{ *pulumi.OutputState }
func (GetServerIdentityOutput) ElementType ¶
func (GetServerIdentityOutput) ElementType() reflect.Type
func (GetServerIdentityOutput) PrincipalId ¶
func (o GetServerIdentityOutput) PrincipalId() pulumi.StringOutput
The Client ID of the Service Principal assigned to this MySQL Server.
func (GetServerIdentityOutput) TenantId ¶
func (o GetServerIdentityOutput) TenantId() pulumi.StringOutput
The ID of the Tenant the Service Principal is assigned in. ---
func (GetServerIdentityOutput) ToGetServerIdentityOutput ¶
func (o GetServerIdentityOutput) ToGetServerIdentityOutput() GetServerIdentityOutput
func (GetServerIdentityOutput) ToGetServerIdentityOutputWithContext ¶
func (o GetServerIdentityOutput) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
func (GetServerIdentityOutput) Type ¶
func (o GetServerIdentityOutput) Type() pulumi.StringOutput
The Type of Identity used for this MySQL Server.
type GetServerThreatDetectionPolicy ¶
type GetServerThreatDetectionPolicy struct { // Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`. DisabledAlerts []string `pulumi:"disabledAlerts"` // Should the account administrators be emailed when this alert is triggered? EmailAccountAdmins bool `pulumi:"emailAccountAdmins"` // A list of email addresses which alerts should be sent to. EmailAddresses []string `pulumi:"emailAddresses"` // Is the policy enabled? Enabled bool `pulumi:"enabled"` // Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays int `pulumi:"retentionDays"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey string `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint string `pulumi:"storageEndpoint"` }
type GetServerThreatDetectionPolicyArgs ¶
type GetServerThreatDetectionPolicyArgs struct { // Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`. DisabledAlerts pulumi.StringArrayInput `pulumi:"disabledAlerts"` // Should the account administrators be emailed when this alert is triggered? EmailAccountAdmins pulumi.BoolInput `pulumi:"emailAccountAdmins"` // A list of email addresses which alerts should be sent to. EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` // Is the policy enabled? Enabled pulumi.BoolInput `pulumi:"enabled"` // Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringInput `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringInput `pulumi:"storageEndpoint"` }
func (GetServerThreatDetectionPolicyArgs) ElementType ¶
func (GetServerThreatDetectionPolicyArgs) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutput ¶
func (i GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput
func (GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutputWithContext ¶
func (i GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyOutput
type GetServerThreatDetectionPolicyArray ¶
type GetServerThreatDetectionPolicyArray []GetServerThreatDetectionPolicyInput
func (GetServerThreatDetectionPolicyArray) ElementType ¶
func (GetServerThreatDetectionPolicyArray) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutput ¶
func (i GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput
func (GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutputWithContext ¶
func (i GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyArrayOutput
type GetServerThreatDetectionPolicyArrayInput ¶
type GetServerThreatDetectionPolicyArrayInput interface { pulumi.Input ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput ToGetServerThreatDetectionPolicyArrayOutputWithContext(context.Context) GetServerThreatDetectionPolicyArrayOutput }
GetServerThreatDetectionPolicyArrayInput is an input type that accepts GetServerThreatDetectionPolicyArray and GetServerThreatDetectionPolicyArrayOutput values. You can construct a concrete instance of `GetServerThreatDetectionPolicyArrayInput` via:
GetServerThreatDetectionPolicyArray{ GetServerThreatDetectionPolicyArgs{...} }
type GetServerThreatDetectionPolicyArrayOutput ¶
type GetServerThreatDetectionPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetServerThreatDetectionPolicyArrayOutput) ElementType ¶
func (GetServerThreatDetectionPolicyArrayOutput) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutput ¶
func (o GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput
func (GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutputWithContext ¶
func (o GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyArrayOutput
type GetServerThreatDetectionPolicyInput ¶
type GetServerThreatDetectionPolicyInput interface { pulumi.Input ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput ToGetServerThreatDetectionPolicyOutputWithContext(context.Context) GetServerThreatDetectionPolicyOutput }
GetServerThreatDetectionPolicyInput is an input type that accepts GetServerThreatDetectionPolicyArgs and GetServerThreatDetectionPolicyOutput values. You can construct a concrete instance of `GetServerThreatDetectionPolicyInput` via:
GetServerThreatDetectionPolicyArgs{...}
type GetServerThreatDetectionPolicyOutput ¶
type GetServerThreatDetectionPolicyOutput struct{ *pulumi.OutputState }
func (GetServerThreatDetectionPolicyOutput) DisabledAlerts ¶
func (o GetServerThreatDetectionPolicyOutput) DisabledAlerts() pulumi.StringArrayOutput
Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`.
func (GetServerThreatDetectionPolicyOutput) ElementType ¶
func (GetServerThreatDetectionPolicyOutput) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyOutput) EmailAccountAdmins ¶
func (o GetServerThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.BoolOutput
Should the account administrators be emailed when this alert is triggered?
func (GetServerThreatDetectionPolicyOutput) EmailAddresses ¶
func (o GetServerThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (GetServerThreatDetectionPolicyOutput) Enabled ¶
func (o GetServerThreatDetectionPolicyOutput) Enabled() pulumi.BoolOutput
Is the policy enabled?
func (GetServerThreatDetectionPolicyOutput) RetentionDays ¶
func (o GetServerThreatDetectionPolicyOutput) RetentionDays() pulumi.IntOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (GetServerThreatDetectionPolicyOutput) StorageAccountAccessKey ¶
func (o GetServerThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
Specifies the identifier key of the Threat Detection audit storage account.
func (GetServerThreatDetectionPolicyOutput) StorageEndpoint ¶
func (o GetServerThreatDetectionPolicyOutput) StorageEndpoint() pulumi.StringOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
func (GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutput ¶
func (o GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput
func (GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutputWithContext ¶
func (o GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyOutput
type LookupFlexibleServerArgs ¶ added in v4.35.0
type LookupFlexibleServerArgs struct { // Specifies the name of the MySQL Flexible Server. Name string `pulumi:"name"` // The name of the resource group for the MySQL Flexible Server. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getFlexibleServer.
type LookupFlexibleServerOutputArgs ¶ added in v4.35.0
type LookupFlexibleServerOutputArgs struct { // Specifies the name of the MySQL Flexible Server. Name pulumi.StringInput `pulumi:"name"` // The name of the resource group for the MySQL Flexible Server. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getFlexibleServer.
func (LookupFlexibleServerOutputArgs) ElementType ¶ added in v4.35.0
func (LookupFlexibleServerOutputArgs) ElementType() reflect.Type
type LookupFlexibleServerResult ¶ added in v4.35.0
type LookupFlexibleServerResult struct { // The Administrator Login of the MySQL Flexible Server. AdministratorLogin string `pulumi:"administratorLogin"` // The backup retention days of the MySQL Flexible Server. BackupRetentionDays int `pulumi:"backupRetentionDays"` // The ID of the virtual network subnet the MySQL Flexible Server is created in. DelegatedSubnetId string `pulumi:"delegatedSubnetId"` // The fully qualified domain name of the MySQL Flexible Server. Fqdn string `pulumi:"fqdn"` // Is geo redundant backup enabled? GeoRedundantBackupEnabled bool `pulumi:"geoRedundantBackupEnabled"` // A `highAvailability` block for this MySQL Flexible Server as defined below. HighAvailabilities []GetFlexibleServerHighAvailability `pulumi:"highAvailabilities"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region of the MySQL Flexible Server. Location string `pulumi:"location"` // A `maintenanceWindow` block for this MySQL Flexible Server as defined below. MaintenanceWindows []GetFlexibleServerMaintenanceWindow `pulumi:"maintenanceWindows"` Name string `pulumi:"name"` // The ID of the private dns zone of the MySQL Flexible Server. PrivateDnsZoneId string `pulumi:"privateDnsZoneId"` // Is the public network access enabled? PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"` // The maximum number of replicas that a primary MySQL Flexible Server can have. ReplicaCapacity int `pulumi:"replicaCapacity"` // The replication role of the MySQL Flexible Server. ReplicationRole string `pulumi:"replicationRole"` ResourceGroupName string `pulumi:"resourceGroupName"` RestorePointInTime string `pulumi:"restorePointInTime"` // The SKU Name of the MySQL Flexible Server. SkuName string `pulumi:"skuName"` // A `storage` block for this MySQL Flexible Server as defined below. Storages []GetFlexibleServerStorage `pulumi:"storages"` // A mapping of tags which are assigned to the MySQL Flexible Server. Tags map[string]string `pulumi:"tags"` // The version of the MySQL Flexible Server. Version string `pulumi:"version"` // The availability zones of the MySQL Flexible Server. Zone string `pulumi:"zone"` }
A collection of values returned by getFlexibleServer.
func LookupFlexibleServer ¶ added in v4.35.0
func LookupFlexibleServer(ctx *pulumi.Context, args *LookupFlexibleServerArgs, opts ...pulumi.InvokeOption) (*LookupFlexibleServerResult, error)
Use this data source to access information about an existing MySQL Flexible Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := mysql.LookupFlexibleServer(ctx, &mysql.LookupFlexibleServerArgs{ Name: "existingMySqlFlexibleServer", ResourceGroupName: "existingResGroup", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupFlexibleServerResultOutput ¶ added in v4.35.0
type LookupFlexibleServerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFlexibleServer.
func LookupFlexibleServerOutput ¶ added in v4.35.0
func LookupFlexibleServerOutput(ctx *pulumi.Context, args LookupFlexibleServerOutputArgs, opts ...pulumi.InvokeOption) LookupFlexibleServerResultOutput
func (LookupFlexibleServerResultOutput) AdministratorLogin ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) AdministratorLogin() pulumi.StringOutput
The Administrator Login of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) BackupRetentionDays ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) BackupRetentionDays() pulumi.IntOutput
The backup retention days of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) DelegatedSubnetId ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) DelegatedSubnetId() pulumi.StringOutput
The ID of the virtual network subnet the MySQL Flexible Server is created in.
func (LookupFlexibleServerResultOutput) ElementType ¶ added in v4.35.0
func (LookupFlexibleServerResultOutput) ElementType() reflect.Type
func (LookupFlexibleServerResultOutput) Fqdn ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Fqdn() pulumi.StringOutput
The fully qualified domain name of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) GeoRedundantBackupEnabled ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) GeoRedundantBackupEnabled() pulumi.BoolOutput
Is geo redundant backup enabled?
func (LookupFlexibleServerResultOutput) HighAvailabilities ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) HighAvailabilities() GetFlexibleServerHighAvailabilityArrayOutput
A `highAvailability` block for this MySQL Flexible Server as defined below.
func (LookupFlexibleServerResultOutput) Id ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupFlexibleServerResultOutput) Location ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Location() pulumi.StringOutput
The Azure Region of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) MaintenanceWindows ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) MaintenanceWindows() GetFlexibleServerMaintenanceWindowArrayOutput
A `maintenanceWindow` block for this MySQL Flexible Server as defined below.
func (LookupFlexibleServerResultOutput) Name ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Name() pulumi.StringOutput
func (LookupFlexibleServerResultOutput) PrivateDnsZoneId ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) PrivateDnsZoneId() pulumi.StringOutput
The ID of the private dns zone of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) PublicNetworkAccessEnabled ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
Is the public network access enabled?
func (LookupFlexibleServerResultOutput) ReplicaCapacity ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) ReplicaCapacity() pulumi.IntOutput
The maximum number of replicas that a primary MySQL Flexible Server can have.
func (LookupFlexibleServerResultOutput) ReplicationRole ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) ReplicationRole() pulumi.StringOutput
The replication role of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) ResourceGroupName ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupFlexibleServerResultOutput) RestorePointInTime ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) RestorePointInTime() pulumi.StringOutput
func (LookupFlexibleServerResultOutput) SkuName ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) SkuName() pulumi.StringOutput
The SKU Name of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) Storages ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Storages() GetFlexibleServerStorageArrayOutput
A `storage` block for this MySQL Flexible Server as defined below.
func (LookupFlexibleServerResultOutput) Tags ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags which are assigned to the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutput ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutput() LookupFlexibleServerResultOutput
func (LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutputWithContext ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutputWithContext(ctx context.Context) LookupFlexibleServerResultOutput
func (LookupFlexibleServerResultOutput) Version ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Version() pulumi.StringOutput
The version of the MySQL Flexible Server.
func (LookupFlexibleServerResultOutput) Zone ¶ added in v4.35.0
func (o LookupFlexibleServerResultOutput) Zone() pulumi.StringOutput
The availability zones of the MySQL Flexible Server.
type LookupServerArgs ¶
type LookupServerArgs struct { // Specifies the name of the MySQL Server. Name string `pulumi:"name"` // The name of the resource group for the MySQL Server. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getServer.
type LookupServerOutputArgs ¶ added in v4.20.0
type LookupServerOutputArgs struct { // Specifies the name of the MySQL Server. Name pulumi.StringInput `pulumi:"name"` // The name of the resource group for the MySQL Server. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getServer.
func (LookupServerOutputArgs) ElementType ¶ added in v4.20.0
func (LookupServerOutputArgs) ElementType() reflect.Type
type LookupServerResult ¶
type LookupServerResult struct { // The Administrator Login for the MySQL Server. AdministratorLogin string `pulumi:"administratorLogin"` // The auto grow setting for this MySQL Server. AutoGrowEnabled bool `pulumi:"autoGrowEnabled"` // The backup retention days for this MySQL server. BackupRetentionDays int `pulumi:"backupRetentionDays"` // The FQDN of the MySQL Server. Fqdn string `pulumi:"fqdn"` // The geo redundant backup setting for this MySQL Server. GeoRedundantBackupEnabled bool `pulumi:"geoRedundantBackupEnabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An `identity` block for this MySQL server as defined below. Identities []GetServerIdentity `pulumi:"identities"` // Whether or not infrastructure is encrypted for this MySQL Server. InfrastructureEncryptionEnabled bool `pulumi:"infrastructureEncryptionEnabled"` // The Azure location where the resource exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // Whether or not public network access is allowed for this MySQL Server. PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"` ResourceGroupName string `pulumi:"resourceGroupName"` RestorePointInTime string `pulumi:"restorePointInTime"` // The SKU Name for this MySQL Server. SkuName string `pulumi:"skuName"` // Specifies if SSL should be enforced on connections for this MySQL Server. SslEnforcementEnabled bool `pulumi:"sslEnforcementEnabled"` // The minimum TLS version to support for this MySQL Server. SslMinimalTlsVersionEnforced string `pulumi:"sslMinimalTlsVersionEnforced"` // Max storage allowed for this MySQL Server. StorageMb int `pulumi:"storageMb"` // A mapping of tags to assign to the resource. // --- Tags map[string]string `pulumi:"tags"` // Threat detection policy configuration, known in the API as Server Security Alerts Policy. The `threatDetectionPolicy` block exports fields documented below. ThreatDetectionPolicies []GetServerThreatDetectionPolicy `pulumi:"threatDetectionPolicies"` // The version of this MySQL Server. Version string `pulumi:"version"` }
A collection of values returned by getServer.
func LookupServer ¶
func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)
Use this data source to access information about an existing MySQL Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := mysql.LookupServer(ctx, &mysql.LookupServerArgs{ Name: "existingMySqlServer", ResourceGroupName: "existingResGroup", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupServerResultOutput ¶ added in v4.20.0
type LookupServerResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServer.
func LookupServerOutput ¶ added in v4.20.0
func LookupServerOutput(ctx *pulumi.Context, args LookupServerOutputArgs, opts ...pulumi.InvokeOption) LookupServerResultOutput
func (LookupServerResultOutput) AdministratorLogin ¶ added in v4.20.0
func (o LookupServerResultOutput) AdministratorLogin() pulumi.StringOutput
The Administrator Login for the MySQL Server.
func (LookupServerResultOutput) AutoGrowEnabled ¶ added in v4.20.0
func (o LookupServerResultOutput) AutoGrowEnabled() pulumi.BoolOutput
The auto grow setting for this MySQL Server.
func (LookupServerResultOutput) BackupRetentionDays ¶ added in v4.20.0
func (o LookupServerResultOutput) BackupRetentionDays() pulumi.IntOutput
The backup retention days for this MySQL server.
func (LookupServerResultOutput) ElementType ¶ added in v4.20.0
func (LookupServerResultOutput) ElementType() reflect.Type
func (LookupServerResultOutput) Fqdn ¶ added in v4.20.0
func (o LookupServerResultOutput) Fqdn() pulumi.StringOutput
The FQDN of the MySQL Server.
func (LookupServerResultOutput) GeoRedundantBackupEnabled ¶ added in v4.20.0
func (o LookupServerResultOutput) GeoRedundantBackupEnabled() pulumi.BoolOutput
The geo redundant backup setting for this MySQL Server.
func (LookupServerResultOutput) Id ¶ added in v4.20.0
func (o LookupServerResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServerResultOutput) Identities ¶ added in v4.20.0
func (o LookupServerResultOutput) Identities() GetServerIdentityArrayOutput
An `identity` block for this MySQL server as defined below.
func (LookupServerResultOutput) InfrastructureEncryptionEnabled ¶ added in v4.20.0
func (o LookupServerResultOutput) InfrastructureEncryptionEnabled() pulumi.BoolOutput
Whether or not infrastructure is encrypted for this MySQL Server.
func (LookupServerResultOutput) Location ¶ added in v4.20.0
func (o LookupServerResultOutput) Location() pulumi.StringOutput
The Azure location where the resource exists.
func (LookupServerResultOutput) Name ¶ added in v4.20.0
func (o LookupServerResultOutput) Name() pulumi.StringOutput
func (LookupServerResultOutput) PublicNetworkAccessEnabled ¶ added in v4.20.0
func (o LookupServerResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
Whether or not public network access is allowed for this MySQL Server.
func (LookupServerResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupServerResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupServerResultOutput) RestorePointInTime ¶ added in v4.20.0
func (o LookupServerResultOutput) RestorePointInTime() pulumi.StringOutput
func (LookupServerResultOutput) SkuName ¶ added in v4.20.0
func (o LookupServerResultOutput) SkuName() pulumi.StringOutput
The SKU Name for this MySQL Server.
func (LookupServerResultOutput) SslEnforcementEnabled ¶ added in v4.20.0
func (o LookupServerResultOutput) SslEnforcementEnabled() pulumi.BoolOutput
Specifies if SSL should be enforced on connections for this MySQL Server.
func (LookupServerResultOutput) SslMinimalTlsVersionEnforced ¶ added in v4.20.0
func (o LookupServerResultOutput) SslMinimalTlsVersionEnforced() pulumi.StringOutput
The minimum TLS version to support for this MySQL Server.
func (LookupServerResultOutput) StorageMb ¶ added in v4.20.0
func (o LookupServerResultOutput) StorageMb() pulumi.IntOutput
Max storage allowed for this MySQL Server.
func (LookupServerResultOutput) Tags ¶ added in v4.20.0
func (o LookupServerResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource. ---
func (LookupServerResultOutput) ThreatDetectionPolicies ¶ added in v4.20.0
func (o LookupServerResultOutput) ThreatDetectionPolicies() GetServerThreatDetectionPolicyArrayOutput
Threat detection policy configuration, known in the API as Server Security Alerts Policy. The `threatDetectionPolicy` block exports fields documented below.
func (LookupServerResultOutput) ToLookupServerResultOutput ¶ added in v4.20.0
func (o LookupServerResultOutput) ToLookupServerResultOutput() LookupServerResultOutput
func (LookupServerResultOutput) ToLookupServerResultOutputWithContext ¶ added in v4.20.0
func (o LookupServerResultOutput) ToLookupServerResultOutputWithContext(ctx context.Context) LookupServerResultOutput
func (LookupServerResultOutput) Version ¶ added in v4.20.0
func (o LookupServerResultOutput) Version() pulumi.StringOutput
The version of this MySQL Server.
type Server ¶
type Server struct { pulumi.CustomResourceState // The Administrator Login for the MySQL Server. Required when `createMode` is `Default`. Changing this forces a new resource to be created. AdministratorLogin pulumi.StringOutput `pulumi:"administratorLogin"` // The Password associated with the `administratorLogin` for the MySQL Server. Required when `createMode` is `Default`. AdministratorLoginPassword pulumi.StringPtrOutput `pulumi:"administratorLoginPassword"` // Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. The default value if not explicitly specified is `true`. AutoGrowEnabled pulumi.BoolOutput `pulumi:"autoGrowEnabled"` // Backup retention days for the server, supported values are between `7` and `35` days. BackupRetentionDays pulumi.IntOutput `pulumi:"backupRetentionDays"` // The creation mode. Can be used to restore or replicate existing servers. Possible values are `Default`, `Replica`, `GeoRestore`, and `PointInTimeRestore`. Defaults to `Default`. CreateMode pulumi.StringPtrOutput `pulumi:"createMode"` // For creation modes other than `Default`, the source server ID to use. CreationSourceServerId pulumi.StringPtrOutput `pulumi:"creationSourceServerId"` // The FQDN of the MySQL Server. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not supported for the Basic tier. GeoRedundantBackupEnabled pulumi.BoolOutput `pulumi:"geoRedundantBackupEnabled"` // An `identity` block as defined below. Identity ServerIdentityPtrOutput `pulumi:"identity"` // Whether or not infrastructure is encrypted for this server. Defaults to `false`. Changing this forces a new resource to be created. InfrastructureEncryptionEnabled pulumi.BoolPtrOutput `pulumi:"infrastructureEncryptionEnabled"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. This needs to be globally unique within Azure. Name pulumi.StringOutput `pulumi:"name"` // Whether or not public network access is allowed for this server. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // The name of the resource group in which to create the MySQL Server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // When `createMode` is `PointInTimeRestore`, specifies the point in time to restore from `creationSourceServerId`. RestorePointInTime pulumi.StringPtrOutput `pulumi:"restorePointInTime"` // Specifies the SKU Name for this MySQL Server. The name of the SKU, follows the `tier` + `family` + `cores` pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`). For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#sku). SkuName pulumi.StringOutput `pulumi:"skuName"` // Deprecated: this has been moved to the boolean attribute `ssl_enforcement_enabled` and will be removed in version 3.0 of the provider. SslEnforcement pulumi.StringOutput `pulumi:"sslEnforcement"` // Specifies if SSL should be enforced on connections. Possible values are `true` and `false`. SslEnforcementEnabled pulumi.BoolPtrOutput `pulumi:"sslEnforcementEnabled"` // The minimum TLS version to support on the sever. Possible values are `TLSEnforcementDisabled`, `TLS1_0`, `TLS1_1`, and `TLS1_2`. Defaults to `TLSEnforcementDisabled`. SslMinimalTlsVersionEnforced pulumi.StringPtrOutput `pulumi:"sslMinimalTlsVersionEnforced"` // Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile). StorageMb pulumi.IntOutput `pulumi:"storageMb"` // Deprecated: all storage_profile properties have been moved to the top level. This block will be removed in version 3.0 of the provider. StorageProfile ServerStorageProfileOutput `pulumi:"storageProfile"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Threat detection policy configuration, known in the API as Server Security Alerts Policy. The `threatDetectionPolicy` block supports fields documented below. ThreatDetectionPolicy ServerThreatDetectionPolicyPtrOutput `pulumi:"threatDetectionPolicy"` // Specifies the version of MySQL to use. Valid values are `5.7`, or `8.0`. Changing this forces a new resource to be created. Version pulumi.StringOutput `pulumi:"version"` }
Manages a MySQL Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), AutoGrowEnabled: pulumi.Bool(true), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(false), InfrastructureEncryptionEnabled: pulumi.Bool(false), PublicNetworkAccessEnabled: pulumi.Bool(true), SslEnforcementEnabled: pulumi.Bool(true), SslMinimalTlsVersionEnforced: pulumi.String("TLS1_2"), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Server's can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/server:Server server1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/servers/server1
```
func GetServer ¶
func GetServer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)
GetServer gets an existing Server resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServer ¶
func NewServer(ctx *pulumi.Context, name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)
NewServer registers a new resource with the given unique name, arguments, and options.
func (*Server) ElementType ¶
func (*Server) ToServerOutput ¶
func (i *Server) ToServerOutput() ServerOutput
func (*Server) ToServerOutputWithContext ¶
func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
type ServerArgs ¶
type ServerArgs struct { // The Administrator Login for the MySQL Server. Required when `createMode` is `Default`. Changing this forces a new resource to be created. AdministratorLogin pulumi.StringPtrInput // The Password associated with the `administratorLogin` for the MySQL Server. Required when `createMode` is `Default`. AdministratorLoginPassword pulumi.StringPtrInput // Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. The default value if not explicitly specified is `true`. AutoGrowEnabled pulumi.BoolPtrInput // Backup retention days for the server, supported values are between `7` and `35` days. BackupRetentionDays pulumi.IntPtrInput // The creation mode. Can be used to restore or replicate existing servers. Possible values are `Default`, `Replica`, `GeoRestore`, and `PointInTimeRestore`. Defaults to `Default`. CreateMode pulumi.StringPtrInput // For creation modes other than `Default`, the source server ID to use. CreationSourceServerId pulumi.StringPtrInput // Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not supported for the Basic tier. GeoRedundantBackupEnabled pulumi.BoolPtrInput // An `identity` block as defined below. Identity ServerIdentityPtrInput // Whether or not infrastructure is encrypted for this server. Defaults to `false`. Changing this forces a new resource to be created. InfrastructureEncryptionEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. This needs to be globally unique within Azure. Name pulumi.StringPtrInput // Whether or not public network access is allowed for this server. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The name of the resource group in which to create the MySQL Server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // When `createMode` is `PointInTimeRestore`, specifies the point in time to restore from `creationSourceServerId`. RestorePointInTime pulumi.StringPtrInput // Specifies the SKU Name for this MySQL Server. The name of the SKU, follows the `tier` + `family` + `cores` pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`). For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#sku). SkuName pulumi.StringInput // Deprecated: this has been moved to the boolean attribute `ssl_enforcement_enabled` and will be removed in version 3.0 of the provider. SslEnforcement pulumi.StringPtrInput // Specifies if SSL should be enforced on connections. Possible values are `true` and `false`. SslEnforcementEnabled pulumi.BoolPtrInput // The minimum TLS version to support on the sever. Possible values are `TLSEnforcementDisabled`, `TLS1_0`, `TLS1_1`, and `TLS1_2`. Defaults to `TLSEnforcementDisabled`. SslMinimalTlsVersionEnforced pulumi.StringPtrInput // Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile). StorageMb pulumi.IntPtrInput // Deprecated: all storage_profile properties have been moved to the top level. This block will be removed in version 3.0 of the provider. StorageProfile ServerStorageProfilePtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Threat detection policy configuration, known in the API as Server Security Alerts Policy. The `threatDetectionPolicy` block supports fields documented below. ThreatDetectionPolicy ServerThreatDetectionPolicyPtrInput // Specifies the version of MySQL to use. Valid values are `5.7`, or `8.0`. Changing this forces a new resource to be created. Version pulumi.StringInput }
The set of arguments for constructing a Server resource.
func (ServerArgs) ElementType ¶
func (ServerArgs) ElementType() reflect.Type
type ServerArray ¶
type ServerArray []ServerInput
func (ServerArray) ElementType ¶
func (ServerArray) ElementType() reflect.Type
func (ServerArray) ToServerArrayOutput ¶
func (i ServerArray) ToServerArrayOutput() ServerArrayOutput
func (ServerArray) ToServerArrayOutputWithContext ¶
func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerArrayInput ¶
type ServerArrayInput interface { pulumi.Input ToServerArrayOutput() ServerArrayOutput ToServerArrayOutputWithContext(context.Context) ServerArrayOutput }
ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values. You can construct a concrete instance of `ServerArrayInput` via:
ServerArray{ ServerArgs{...} }
type ServerArrayOutput ¶
type ServerArrayOutput struct{ *pulumi.OutputState }
func (ServerArrayOutput) ElementType ¶
func (ServerArrayOutput) ElementType() reflect.Type
func (ServerArrayOutput) Index ¶
func (o ServerArrayOutput) Index(i pulumi.IntInput) ServerOutput
func (ServerArrayOutput) ToServerArrayOutput ¶
func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput
func (ServerArrayOutput) ToServerArrayOutputWithContext ¶
func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerIdentity ¶
type ServerIdentity struct { // The Client ID of the Service Principal assigned to this MySQL Server. PrincipalId *string `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId *string `pulumi:"tenantId"` // The Type of Identity which should be used for this MySQL Server. At this time the only possible value is `SystemAssigned`. Type string `pulumi:"type"` }
type ServerIdentityArgs ¶
type ServerIdentityArgs struct { // The Client ID of the Service Principal assigned to this MySQL Server. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The ID of the Tenant the Service Principal is assigned in. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Type of Identity which should be used for this MySQL Server. At this time the only possible value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ServerIdentityArgs) ElementType ¶
func (ServerIdentityArgs) ElementType() reflect.Type
func (ServerIdentityArgs) ToServerIdentityOutput ¶
func (i ServerIdentityArgs) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityOutputWithContext ¶
func (i ServerIdentityArgs) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutput ¶
func (i ServerIdentityArgs) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutputWithContext ¶
func (i ServerIdentityArgs) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
type ServerIdentityInput ¶
type ServerIdentityInput interface { pulumi.Input ToServerIdentityOutput() ServerIdentityOutput ToServerIdentityOutputWithContext(context.Context) ServerIdentityOutput }
ServerIdentityInput is an input type that accepts ServerIdentityArgs and ServerIdentityOutput values. You can construct a concrete instance of `ServerIdentityInput` via:
ServerIdentityArgs{...}
type ServerIdentityOutput ¶
type ServerIdentityOutput struct{ *pulumi.OutputState }
func (ServerIdentityOutput) ElementType ¶
func (ServerIdentityOutput) ElementType() reflect.Type
func (ServerIdentityOutput) PrincipalId ¶
func (o ServerIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Client ID of the Service Principal assigned to this MySQL Server.
func (ServerIdentityOutput) TenantId ¶
func (o ServerIdentityOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (ServerIdentityOutput) ToServerIdentityOutput ¶
func (o ServerIdentityOutput) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityOutputWithContext ¶
func (o ServerIdentityOutput) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutput ¶
func (o ServerIdentityOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutputWithContext ¶
func (o ServerIdentityOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityOutput) Type ¶
func (o ServerIdentityOutput) Type() pulumi.StringOutput
The Type of Identity which should be used for this MySQL Server. At this time the only possible value is `SystemAssigned`.
type ServerIdentityPtrInput ¶
type ServerIdentityPtrInput interface { pulumi.Input ToServerIdentityPtrOutput() ServerIdentityPtrOutput ToServerIdentityPtrOutputWithContext(context.Context) ServerIdentityPtrOutput }
ServerIdentityPtrInput is an input type that accepts ServerIdentityArgs, ServerIdentityPtr and ServerIdentityPtrOutput values. You can construct a concrete instance of `ServerIdentityPtrInput` via:
ServerIdentityArgs{...} or: nil
func ServerIdentityPtr ¶
func ServerIdentityPtr(v *ServerIdentityArgs) ServerIdentityPtrInput
type ServerIdentityPtrOutput ¶
type ServerIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServerIdentityPtrOutput) Elem ¶
func (o ServerIdentityPtrOutput) Elem() ServerIdentityOutput
func (ServerIdentityPtrOutput) ElementType ¶
func (ServerIdentityPtrOutput) ElementType() reflect.Type
func (ServerIdentityPtrOutput) PrincipalId ¶
func (o ServerIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Client ID of the Service Principal assigned to this MySQL Server.
func (ServerIdentityPtrOutput) TenantId ¶
func (o ServerIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutput ¶
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext ¶
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) Type ¶
func (o ServerIdentityPtrOutput) Type() pulumi.StringPtrOutput
The Type of Identity which should be used for this MySQL Server. At this time the only possible value is `SystemAssigned`.
type ServerInput ¶
type ServerInput interface { pulumi.Input ToServerOutput() ServerOutput ToServerOutputWithContext(ctx context.Context) ServerOutput }
type ServerKey ¶
type ServerKey struct { pulumi.CustomResourceState // The URL to a Key Vault Key. KeyVaultKeyId pulumi.StringOutput `pulumi:"keyVaultKeyId"` // The ID of the MySQL Server. Changing this forces a new resource to be created. ServerId pulumi.StringOutput `pulumi:"serverId"` }
Manages a Customer Managed Key for a MySQL Server.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, TenantId: pulumi.String(current.TenantId), SkuName: pulumi.String("premium"), PurgeProtectionEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("GP_Gen5_2"), AdministratorLogin: pulumi.String("acctestun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SslEnforcementEnabled: pulumi.Bool(true), SslMinimalTlsVersionEnforced: pulumi.String("TLS1_1"), StorageMb: pulumi.Int(51200), Version: pulumi.String("5.7"), Identity: &mysql.ServerIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } server, err := keyvault.NewAccessPolicy(ctx, "server", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: pulumi.String(current.TenantId), ObjectId: exampleServer.Identity.ApplyT(func(identity mysql.ServerIdentity) (string, error) { return identity.PrincipalId, nil }).(pulumi.StringOutput), KeyPermissions: pulumi.StringArray{ pulumi.String("get"), pulumi.String("unwrapkey"), pulumi.String("wrapkey"), }, SecretPermissions: pulumi.StringArray{ pulumi.String("get"), }, }) if err != nil { return err } client, err := keyvault.NewAccessPolicy(ctx, "client", &keyvault.AccessPolicyArgs{ KeyVaultId: exampleKeyVault.ID(), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), KeyPermissions: pulumi.StringArray{ pulumi.String("get"), pulumi.String("create"), pulumi.String("delete"), pulumi.String("list"), pulumi.String("restore"), pulumi.String("recover"), pulumi.String("unwrapkey"), pulumi.String("wrapkey"), pulumi.String("purge"), pulumi.String("encrypt"), pulumi.String("decrypt"), pulumi.String("sign"), pulumi.String("verify"), }, SecretPermissions: pulumi.StringArray{ pulumi.String("get"), }, }) if err != nil { return err } exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{ KeyVaultId: exampleKeyVault.ID(), KeyType: pulumi.String("RSA"), KeySize: pulumi.Int(2048), KeyOpts: pulumi.StringArray{ pulumi.String("decrypt"), pulumi.String("encrypt"), pulumi.String("sign"), pulumi.String("unwrapKey"), pulumi.String("verify"), pulumi.String("wrapKey"), }, }, pulumi.DependsOn([]pulumi.Resource{ client, server, })) if err != nil { return err } _, err = mysql.NewServerKey(ctx, "exampleServerKey", &mysql.ServerKeyArgs{ ServerId: exampleServer.ID(), KeyVaultKeyId: exampleKey.ID(), }) if err != nil { return err } return nil }) }
```
## Import
A MySQL Server Key can be imported using the `resource id` of the MySQL Server Key, e.g.
```sh
$ pulumi import azure:mysql/serverKey:ServerKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforMySQL/servers/server1/keys/keyvaultname_key-name_keyversion
```
func GetServerKey ¶
func GetServerKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerKeyState, opts ...pulumi.ResourceOption) (*ServerKey, error)
GetServerKey gets an existing ServerKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServerKey ¶
func NewServerKey(ctx *pulumi.Context, name string, args *ServerKeyArgs, opts ...pulumi.ResourceOption) (*ServerKey, error)
NewServerKey registers a new resource with the given unique name, arguments, and options.
func (*ServerKey) ElementType ¶
func (*ServerKey) ToServerKeyOutput ¶
func (i *ServerKey) ToServerKeyOutput() ServerKeyOutput
func (*ServerKey) ToServerKeyOutputWithContext ¶
func (i *ServerKey) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
type ServerKeyArgs ¶
type ServerKeyArgs struct { // The URL to a Key Vault Key. KeyVaultKeyId pulumi.StringInput // The ID of the MySQL Server. Changing this forces a new resource to be created. ServerId pulumi.StringInput }
The set of arguments for constructing a ServerKey resource.
func (ServerKeyArgs) ElementType ¶
func (ServerKeyArgs) ElementType() reflect.Type
type ServerKeyArray ¶
type ServerKeyArray []ServerKeyInput
func (ServerKeyArray) ElementType ¶
func (ServerKeyArray) ElementType() reflect.Type
func (ServerKeyArray) ToServerKeyArrayOutput ¶
func (i ServerKeyArray) ToServerKeyArrayOutput() ServerKeyArrayOutput
func (ServerKeyArray) ToServerKeyArrayOutputWithContext ¶
func (i ServerKeyArray) ToServerKeyArrayOutputWithContext(ctx context.Context) ServerKeyArrayOutput
type ServerKeyArrayInput ¶
type ServerKeyArrayInput interface { pulumi.Input ToServerKeyArrayOutput() ServerKeyArrayOutput ToServerKeyArrayOutputWithContext(context.Context) ServerKeyArrayOutput }
ServerKeyArrayInput is an input type that accepts ServerKeyArray and ServerKeyArrayOutput values. You can construct a concrete instance of `ServerKeyArrayInput` via:
ServerKeyArray{ ServerKeyArgs{...} }
type ServerKeyArrayOutput ¶
type ServerKeyArrayOutput struct{ *pulumi.OutputState }
func (ServerKeyArrayOutput) ElementType ¶
func (ServerKeyArrayOutput) ElementType() reflect.Type
func (ServerKeyArrayOutput) Index ¶
func (o ServerKeyArrayOutput) Index(i pulumi.IntInput) ServerKeyOutput
func (ServerKeyArrayOutput) ToServerKeyArrayOutput ¶
func (o ServerKeyArrayOutput) ToServerKeyArrayOutput() ServerKeyArrayOutput
func (ServerKeyArrayOutput) ToServerKeyArrayOutputWithContext ¶
func (o ServerKeyArrayOutput) ToServerKeyArrayOutputWithContext(ctx context.Context) ServerKeyArrayOutput
type ServerKeyInput ¶
type ServerKeyInput interface { pulumi.Input ToServerKeyOutput() ServerKeyOutput ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput }
type ServerKeyMap ¶
type ServerKeyMap map[string]ServerKeyInput
func (ServerKeyMap) ElementType ¶
func (ServerKeyMap) ElementType() reflect.Type
func (ServerKeyMap) ToServerKeyMapOutput ¶
func (i ServerKeyMap) ToServerKeyMapOutput() ServerKeyMapOutput
func (ServerKeyMap) ToServerKeyMapOutputWithContext ¶
func (i ServerKeyMap) ToServerKeyMapOutputWithContext(ctx context.Context) ServerKeyMapOutput
type ServerKeyMapInput ¶
type ServerKeyMapInput interface { pulumi.Input ToServerKeyMapOutput() ServerKeyMapOutput ToServerKeyMapOutputWithContext(context.Context) ServerKeyMapOutput }
ServerKeyMapInput is an input type that accepts ServerKeyMap and ServerKeyMapOutput values. You can construct a concrete instance of `ServerKeyMapInput` via:
ServerKeyMap{ "key": ServerKeyArgs{...} }
type ServerKeyMapOutput ¶
type ServerKeyMapOutput struct{ *pulumi.OutputState }
func (ServerKeyMapOutput) ElementType ¶
func (ServerKeyMapOutput) ElementType() reflect.Type
func (ServerKeyMapOutput) MapIndex ¶
func (o ServerKeyMapOutput) MapIndex(k pulumi.StringInput) ServerKeyOutput
func (ServerKeyMapOutput) ToServerKeyMapOutput ¶
func (o ServerKeyMapOutput) ToServerKeyMapOutput() ServerKeyMapOutput
func (ServerKeyMapOutput) ToServerKeyMapOutputWithContext ¶
func (o ServerKeyMapOutput) ToServerKeyMapOutputWithContext(ctx context.Context) ServerKeyMapOutput
type ServerKeyOutput ¶
type ServerKeyOutput struct{ *pulumi.OutputState }
func (ServerKeyOutput) ElementType ¶
func (ServerKeyOutput) ElementType() reflect.Type
func (ServerKeyOutput) ToServerKeyOutput ¶
func (o ServerKeyOutput) ToServerKeyOutput() ServerKeyOutput
func (ServerKeyOutput) ToServerKeyOutputWithContext ¶
func (o ServerKeyOutput) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
type ServerKeyState ¶
type ServerKeyState struct { // The URL to a Key Vault Key. KeyVaultKeyId pulumi.StringPtrInput // The ID of the MySQL Server. Changing this forces a new resource to be created. ServerId pulumi.StringPtrInput }
func (ServerKeyState) ElementType ¶
func (ServerKeyState) ElementType() reflect.Type
type ServerMap ¶
type ServerMap map[string]ServerInput
func (ServerMap) ElementType ¶
func (ServerMap) ToServerMapOutput ¶
func (i ServerMap) ToServerMapOutput() ServerMapOutput
func (ServerMap) ToServerMapOutputWithContext ¶
func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerMapInput ¶
type ServerMapInput interface { pulumi.Input ToServerMapOutput() ServerMapOutput ToServerMapOutputWithContext(context.Context) ServerMapOutput }
ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values. You can construct a concrete instance of `ServerMapInput` via:
ServerMap{ "key": ServerArgs{...} }
type ServerMapOutput ¶
type ServerMapOutput struct{ *pulumi.OutputState }
func (ServerMapOutput) ElementType ¶
func (ServerMapOutput) ElementType() reflect.Type
func (ServerMapOutput) MapIndex ¶
func (o ServerMapOutput) MapIndex(k pulumi.StringInput) ServerOutput
func (ServerMapOutput) ToServerMapOutput ¶
func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput
func (ServerMapOutput) ToServerMapOutputWithContext ¶
func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerOutput ¶
type ServerOutput struct{ *pulumi.OutputState }
func (ServerOutput) ElementType ¶
func (ServerOutput) ElementType() reflect.Type
func (ServerOutput) ToServerOutput ¶
func (o ServerOutput) ToServerOutput() ServerOutput
func (ServerOutput) ToServerOutputWithContext ¶
func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
type ServerState ¶
type ServerState struct { // The Administrator Login for the MySQL Server. Required when `createMode` is `Default`. Changing this forces a new resource to be created. AdministratorLogin pulumi.StringPtrInput // The Password associated with the `administratorLogin` for the MySQL Server. Required when `createMode` is `Default`. AdministratorLoginPassword pulumi.StringPtrInput // Enable/Disable auto-growing of the storage. Storage auto-grow prevents your server from running out of storage and becoming read-only. If storage auto grow is enabled, the storage automatically grows without impacting the workload. The default value if not explicitly specified is `true`. AutoGrowEnabled pulumi.BoolPtrInput // Backup retention days for the server, supported values are between `7` and `35` days. BackupRetentionDays pulumi.IntPtrInput // The creation mode. Can be used to restore or replicate existing servers. Possible values are `Default`, `Replica`, `GeoRestore`, and `PointInTimeRestore`. Defaults to `Default`. CreateMode pulumi.StringPtrInput // For creation modes other than `Default`, the source server ID to use. CreationSourceServerId pulumi.StringPtrInput // The FQDN of the MySQL Server. Fqdn pulumi.StringPtrInput // Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not supported for the Basic tier. GeoRedundantBackupEnabled pulumi.BoolPtrInput // An `identity` block as defined below. Identity ServerIdentityPtrInput // Whether or not infrastructure is encrypted for this server. Defaults to `false`. Changing this forces a new resource to be created. InfrastructureEncryptionEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the MySQL Server. Changing this forces a new resource to be created. This needs to be globally unique within Azure. Name pulumi.StringPtrInput // Whether or not public network access is allowed for this server. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The name of the resource group in which to create the MySQL Server. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // When `createMode` is `PointInTimeRestore`, specifies the point in time to restore from `creationSourceServerId`. RestorePointInTime pulumi.StringPtrInput // Specifies the SKU Name for this MySQL Server. The name of the SKU, follows the `tier` + `family` + `cores` pattern (e.g. `B_Gen4_1`, `GP_Gen5_8`). For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#sku). SkuName pulumi.StringPtrInput // Deprecated: this has been moved to the boolean attribute `ssl_enforcement_enabled` and will be removed in version 3.0 of the provider. SslEnforcement pulumi.StringPtrInput // Specifies if SSL should be enforced on connections. Possible values are `true` and `false`. SslEnforcementEnabled pulumi.BoolPtrInput // The minimum TLS version to support on the sever. Possible values are `TLSEnforcementDisabled`, `TLS1_0`, `TLS1_1`, and `TLS1_2`. Defaults to `TLSEnforcementDisabled`. SslMinimalTlsVersionEnforced pulumi.StringPtrInput // Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile). StorageMb pulumi.IntPtrInput // Deprecated: all storage_profile properties have been moved to the top level. This block will be removed in version 3.0 of the provider. StorageProfile ServerStorageProfilePtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Threat detection policy configuration, known in the API as Server Security Alerts Policy. The `threatDetectionPolicy` block supports fields documented below. ThreatDetectionPolicy ServerThreatDetectionPolicyPtrInput // Specifies the version of MySQL to use. Valid values are `5.7`, or `8.0`. Changing this forces a new resource to be created. Version pulumi.StringPtrInput }
func (ServerState) ElementType ¶
func (ServerState) ElementType() reflect.Type
type ServerStorageProfile ¶
type ServerStorageProfile struct { // Deprecated: this has been moved to the top level boolean attribute `auto_grow_enabled` and will be removed in version 3.0 of the provider. AutoGrow *string `pulumi:"autoGrow"` // Backup retention days for the server, supported values are between `7` and `35` days. // // Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider. BackupRetentionDays *int `pulumi:"backupRetentionDays"` // Deprecated: this has been moved to the top level boolean attribute `geo_redundant_backup_enabled` and will be removed in version 3.0 of the provider. GeoRedundantBackup *string `pulumi:"geoRedundantBackup"` // Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile). // // Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider. StorageMb *int `pulumi:"storageMb"` }
type ServerStorageProfileArgs ¶
type ServerStorageProfileArgs struct { // Deprecated: this has been moved to the top level boolean attribute `auto_grow_enabled` and will be removed in version 3.0 of the provider. AutoGrow pulumi.StringPtrInput `pulumi:"autoGrow"` // Backup retention days for the server, supported values are between `7` and `35` days. // // Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider. BackupRetentionDays pulumi.IntPtrInput `pulumi:"backupRetentionDays"` // Deprecated: this has been moved to the top level boolean attribute `geo_redundant_backup_enabled` and will be removed in version 3.0 of the provider. GeoRedundantBackup pulumi.StringPtrInput `pulumi:"geoRedundantBackup"` // Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile). // // Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider. StorageMb pulumi.IntPtrInput `pulumi:"storageMb"` }
func (ServerStorageProfileArgs) ElementType ¶
func (ServerStorageProfileArgs) ElementType() reflect.Type
func (ServerStorageProfileArgs) ToServerStorageProfileOutput ¶
func (i ServerStorageProfileArgs) ToServerStorageProfileOutput() ServerStorageProfileOutput
func (ServerStorageProfileArgs) ToServerStorageProfileOutputWithContext ¶
func (i ServerStorageProfileArgs) ToServerStorageProfileOutputWithContext(ctx context.Context) ServerStorageProfileOutput
func (ServerStorageProfileArgs) ToServerStorageProfilePtrOutput ¶
func (i ServerStorageProfileArgs) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
func (ServerStorageProfileArgs) ToServerStorageProfilePtrOutputWithContext ¶
func (i ServerStorageProfileArgs) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput
type ServerStorageProfileInput ¶
type ServerStorageProfileInput interface { pulumi.Input ToServerStorageProfileOutput() ServerStorageProfileOutput ToServerStorageProfileOutputWithContext(context.Context) ServerStorageProfileOutput }
ServerStorageProfileInput is an input type that accepts ServerStorageProfileArgs and ServerStorageProfileOutput values. You can construct a concrete instance of `ServerStorageProfileInput` via:
ServerStorageProfileArgs{...}
type ServerStorageProfileOutput ¶
type ServerStorageProfileOutput struct{ *pulumi.OutputState }
func (ServerStorageProfileOutput) AutoGrow
deprecated
func (o ServerStorageProfileOutput) AutoGrow() pulumi.StringPtrOutput
Deprecated: this has been moved to the top level boolean attribute `auto_grow_enabled` and will be removed in version 3.0 of the provider.
func (ServerStorageProfileOutput) BackupRetentionDays
deprecated
func (o ServerStorageProfileOutput) BackupRetentionDays() pulumi.IntPtrOutput
Backup retention days for the server, supported values are between `7` and `35` days.
Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider.
func (ServerStorageProfileOutput) ElementType ¶
func (ServerStorageProfileOutput) ElementType() reflect.Type
func (ServerStorageProfileOutput) GeoRedundantBackup
deprecated
func (o ServerStorageProfileOutput) GeoRedundantBackup() pulumi.StringPtrOutput
Deprecated: this has been moved to the top level boolean attribute `geo_redundant_backup_enabled` and will be removed in version 3.0 of the provider.
func (ServerStorageProfileOutput) StorageMb
deprecated
func (o ServerStorageProfileOutput) StorageMb() pulumi.IntPtrOutput
Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile).
Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider.
func (ServerStorageProfileOutput) ToServerStorageProfileOutput ¶
func (o ServerStorageProfileOutput) ToServerStorageProfileOutput() ServerStorageProfileOutput
func (ServerStorageProfileOutput) ToServerStorageProfileOutputWithContext ¶
func (o ServerStorageProfileOutput) ToServerStorageProfileOutputWithContext(ctx context.Context) ServerStorageProfileOutput
func (ServerStorageProfileOutput) ToServerStorageProfilePtrOutput ¶
func (o ServerStorageProfileOutput) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
func (ServerStorageProfileOutput) ToServerStorageProfilePtrOutputWithContext ¶
func (o ServerStorageProfileOutput) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput
type ServerStorageProfilePtrInput ¶
type ServerStorageProfilePtrInput interface { pulumi.Input ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput ToServerStorageProfilePtrOutputWithContext(context.Context) ServerStorageProfilePtrOutput }
ServerStorageProfilePtrInput is an input type that accepts ServerStorageProfileArgs, ServerStorageProfilePtr and ServerStorageProfilePtrOutput values. You can construct a concrete instance of `ServerStorageProfilePtrInput` via:
ServerStorageProfileArgs{...} or: nil
func ServerStorageProfilePtr ¶
func ServerStorageProfilePtr(v *ServerStorageProfileArgs) ServerStorageProfilePtrInput
type ServerStorageProfilePtrOutput ¶
type ServerStorageProfilePtrOutput struct{ *pulumi.OutputState }
func (ServerStorageProfilePtrOutput) AutoGrow
deprecated
func (o ServerStorageProfilePtrOutput) AutoGrow() pulumi.StringPtrOutput
Deprecated: this has been moved to the top level boolean attribute `auto_grow_enabled` and will be removed in version 3.0 of the provider.
func (ServerStorageProfilePtrOutput) BackupRetentionDays
deprecated
func (o ServerStorageProfilePtrOutput) BackupRetentionDays() pulumi.IntPtrOutput
Backup retention days for the server, supported values are between `7` and `35` days.
Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider.
func (ServerStorageProfilePtrOutput) Elem ¶
func (o ServerStorageProfilePtrOutput) Elem() ServerStorageProfileOutput
func (ServerStorageProfilePtrOutput) ElementType ¶
func (ServerStorageProfilePtrOutput) ElementType() reflect.Type
func (ServerStorageProfilePtrOutput) GeoRedundantBackup
deprecated
func (o ServerStorageProfilePtrOutput) GeoRedundantBackup() pulumi.StringPtrOutput
Deprecated: this has been moved to the top level boolean attribute `geo_redundant_backup_enabled` and will be removed in version 3.0 of the provider.
func (ServerStorageProfilePtrOutput) StorageMb
deprecated
func (o ServerStorageProfilePtrOutput) StorageMb() pulumi.IntPtrOutput
Max storage allowed for a server. Possible values are between `5120` MB(5GB) and `1048576` MB(1TB) for the Basic SKU and between `5120` MB(5GB) and `16777216` MB(16TB) for General Purpose/Memory Optimized SKUs. For more information see the [product documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/create#StorageProfile).
Deprecated: this has been moved to the top level and will be removed in version 3.0 of the provider.
func (ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutput ¶
func (o ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutput() ServerStorageProfilePtrOutput
func (ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutputWithContext ¶
func (o ServerStorageProfilePtrOutput) ToServerStorageProfilePtrOutputWithContext(ctx context.Context) ServerStorageProfilePtrOutput
type ServerThreatDetectionPolicy ¶
type ServerThreatDetectionPolicy struct { // Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`. DisabledAlerts []string `pulumi:"disabledAlerts"` // Should the account administrators be emailed when this alert is triggered? EmailAccountAdmins *bool `pulumi:"emailAccountAdmins"` // A list of email addresses which alerts should be sent to. EmailAddresses []string `pulumi:"emailAddresses"` // Is the policy enabled? Enabled *bool `pulumi:"enabled"` // Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays *int `pulumi:"retentionDays"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey *string `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint *string `pulumi:"storageEndpoint"` }
type ServerThreatDetectionPolicyArgs ¶
type ServerThreatDetectionPolicyArgs struct { // Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`. DisabledAlerts pulumi.StringArrayInput `pulumi:"disabledAlerts"` // Should the account administrators be emailed when this alert is triggered? EmailAccountAdmins pulumi.BoolPtrInput `pulumi:"emailAccountAdmins"` // A list of email addresses which alerts should be sent to. EmailAddresses pulumi.StringArrayInput `pulumi:"emailAddresses"` // Is the policy enabled? Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // Specifies the number of days to keep in the Threat Detection audit logs. RetentionDays pulumi.IntPtrInput `pulumi:"retentionDays"` // Specifies the identifier key of the Threat Detection audit storage account. StorageAccountAccessKey pulumi.StringPtrInput `pulumi:"storageAccountAccessKey"` // Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. StorageEndpoint pulumi.StringPtrInput `pulumi:"storageEndpoint"` }
func (ServerThreatDetectionPolicyArgs) ElementType ¶
func (ServerThreatDetectionPolicyArgs) ElementType() reflect.Type
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutput ¶
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutputWithContext ¶
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutput ¶
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutputWithContext ¶
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
type ServerThreatDetectionPolicyInput ¶
type ServerThreatDetectionPolicyInput interface { pulumi.Input ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput ToServerThreatDetectionPolicyOutputWithContext(context.Context) ServerThreatDetectionPolicyOutput }
ServerThreatDetectionPolicyInput is an input type that accepts ServerThreatDetectionPolicyArgs and ServerThreatDetectionPolicyOutput values. You can construct a concrete instance of `ServerThreatDetectionPolicyInput` via:
ServerThreatDetectionPolicyArgs{...}
type ServerThreatDetectionPolicyOutput ¶
type ServerThreatDetectionPolicyOutput struct{ *pulumi.OutputState }
func (ServerThreatDetectionPolicyOutput) DisabledAlerts ¶
func (o ServerThreatDetectionPolicyOutput) DisabledAlerts() pulumi.StringArrayOutput
Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`.
func (ServerThreatDetectionPolicyOutput) ElementType ¶
func (ServerThreatDetectionPolicyOutput) ElementType() reflect.Type
func (ServerThreatDetectionPolicyOutput) EmailAccountAdmins ¶
func (o ServerThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.BoolPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (ServerThreatDetectionPolicyOutput) EmailAddresses ¶
func (o ServerThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (ServerThreatDetectionPolicyOutput) Enabled ¶
func (o ServerThreatDetectionPolicyOutput) Enabled() pulumi.BoolPtrOutput
Is the policy enabled?
func (ServerThreatDetectionPolicyOutput) RetentionDays ¶
func (o ServerThreatDetectionPolicyOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (ServerThreatDetectionPolicyOutput) StorageAccountAccessKey ¶
func (o ServerThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the identifier key of the Threat Detection audit storage account.
func (ServerThreatDetectionPolicyOutput) StorageEndpoint ¶
func (o ServerThreatDetectionPolicyOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutput ¶
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutputWithContext ¶
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutput ¶
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutputWithContext ¶
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
type ServerThreatDetectionPolicyPtrInput ¶
type ServerThreatDetectionPolicyPtrInput interface { pulumi.Input ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput ToServerThreatDetectionPolicyPtrOutputWithContext(context.Context) ServerThreatDetectionPolicyPtrOutput }
ServerThreatDetectionPolicyPtrInput is an input type that accepts ServerThreatDetectionPolicyArgs, ServerThreatDetectionPolicyPtr and ServerThreatDetectionPolicyPtrOutput values. You can construct a concrete instance of `ServerThreatDetectionPolicyPtrInput` via:
ServerThreatDetectionPolicyArgs{...} or: nil
func ServerThreatDetectionPolicyPtr ¶
func ServerThreatDetectionPolicyPtr(v *ServerThreatDetectionPolicyArgs) ServerThreatDetectionPolicyPtrInput
type ServerThreatDetectionPolicyPtrOutput ¶
type ServerThreatDetectionPolicyPtrOutput struct{ *pulumi.OutputState }
func (ServerThreatDetectionPolicyPtrOutput) DisabledAlerts ¶
func (o ServerThreatDetectionPolicyPtrOutput) DisabledAlerts() pulumi.StringArrayOutput
Specifies a list of alerts which should be disabled. Possible values include `Access_Anomaly`, `Sql_Injection` and `Sql_Injection_Vulnerability`.
func (ServerThreatDetectionPolicyPtrOutput) ElementType ¶
func (ServerThreatDetectionPolicyPtrOutput) ElementType() reflect.Type
func (ServerThreatDetectionPolicyPtrOutput) EmailAccountAdmins ¶
func (o ServerThreatDetectionPolicyPtrOutput) EmailAccountAdmins() pulumi.BoolPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (ServerThreatDetectionPolicyPtrOutput) EmailAddresses ¶
func (o ServerThreatDetectionPolicyPtrOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (ServerThreatDetectionPolicyPtrOutput) Enabled ¶
func (o ServerThreatDetectionPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
Is the policy enabled?
func (ServerThreatDetectionPolicyPtrOutput) RetentionDays ¶
func (o ServerThreatDetectionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (ServerThreatDetectionPolicyPtrOutput) StorageAccountAccessKey ¶
func (o ServerThreatDetectionPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the identifier key of the Threat Detection audit storage account.
func (ServerThreatDetectionPolicyPtrOutput) StorageEndpoint ¶
func (o ServerThreatDetectionPolicyPtrOutput) StorageEndpoint() pulumi.StringPtrOutput
Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
func (ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutput ¶
func (o ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
func (ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutputWithContext ¶
func (o ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { pulumi.CustomResourceState // The name of the MySQL Virtual Network Rule. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group where the MySQL server resides. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The name of the SQL Server to which this MySQL virtual network rule will be applied to. Changing this forces a new resource to be created. ServerName pulumi.StringOutput `pulumi:"serverName"` // The ID of the subnet that the MySQL server will be connected to. SubnetId pulumi.StringOutput `pulumi:"subnetId"` }
Manages a MySQL Virtual Network Rule.
> **NOTE:** MySQL Virtual Network Rules [can only be used with SKU Tiers of `GeneralPurpose` or `MemoryOptimized`](https://docs.microsoft.com/en-us/azure/mysql/concepts-data-access-and-security-vnet)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mysql" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.7.29.0/29"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } internal, err := network.NewSubnet(ctx, "internal", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.7.29.0/29"), }, ServiceEndpoints: pulumi.StringArray{ pulumi.String("Microsoft.Sql"), }, }) if err != nil { return err } exampleServer, err := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("GP_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(false), SslEnforcementEnabled: pulumi.Bool(true), }) if err != nil { return err } _, err = mysql.NewVirtualNetworkRule(ctx, "exampleVirtualNetworkRule", &mysql.VirtualNetworkRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, SubnetId: internal.ID(), }) if err != nil { return err } return nil }) }
```
## Import
MySQL Virtual Network Rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:mysql/virtualNetworkRule:VirtualNetworkRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.DBforMySQL/servers/myserver/virtualNetworkRules/vnetrulename
```
func GetVirtualNetworkRule ¶
func GetVirtualNetworkRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualNetworkRuleState, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error)
GetVirtualNetworkRule gets an existing VirtualNetworkRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVirtualNetworkRule ¶
func NewVirtualNetworkRule(ctx *pulumi.Context, name string, args *VirtualNetworkRuleArgs, opts ...pulumi.ResourceOption) (*VirtualNetworkRule, error)
NewVirtualNetworkRule registers a new resource with the given unique name, arguments, and options.
func (*VirtualNetworkRule) ElementType ¶
func (*VirtualNetworkRule) ElementType() reflect.Type
func (*VirtualNetworkRule) ToVirtualNetworkRuleOutput ¶
func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
func (*VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext ¶
func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
type VirtualNetworkRuleArgs ¶
type VirtualNetworkRuleArgs struct { // The name of the MySQL Virtual Network Rule. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group where the MySQL server resides. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The name of the SQL Server to which this MySQL virtual network rule will be applied to. Changing this forces a new resource to be created. ServerName pulumi.StringInput // The ID of the subnet that the MySQL server will be connected to. SubnetId pulumi.StringInput }
The set of arguments for constructing a VirtualNetworkRule resource.
func (VirtualNetworkRuleArgs) ElementType ¶
func (VirtualNetworkRuleArgs) ElementType() reflect.Type
type VirtualNetworkRuleArray ¶
type VirtualNetworkRuleArray []VirtualNetworkRuleInput
func (VirtualNetworkRuleArray) ElementType ¶
func (VirtualNetworkRuleArray) ElementType() reflect.Type
func (VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutput ¶
func (i VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
func (VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutputWithContext ¶
func (i VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
type VirtualNetworkRuleArrayInput ¶
type VirtualNetworkRuleArrayInput interface { pulumi.Input ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput ToVirtualNetworkRuleArrayOutputWithContext(context.Context) VirtualNetworkRuleArrayOutput }
VirtualNetworkRuleArrayInput is an input type that accepts VirtualNetworkRuleArray and VirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `VirtualNetworkRuleArrayInput` via:
VirtualNetworkRuleArray{ VirtualNetworkRuleArgs{...} }
type VirtualNetworkRuleArrayOutput ¶
type VirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleArrayOutput) ElementType ¶
func (VirtualNetworkRuleArrayOutput) ElementType() reflect.Type
func (VirtualNetworkRuleArrayOutput) Index ¶
func (o VirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) VirtualNetworkRuleOutput
func (VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput ¶
func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
func (VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext ¶
func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
type VirtualNetworkRuleInput ¶
type VirtualNetworkRuleInput interface { pulumi.Input ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput }
type VirtualNetworkRuleMap ¶
type VirtualNetworkRuleMap map[string]VirtualNetworkRuleInput
func (VirtualNetworkRuleMap) ElementType ¶
func (VirtualNetworkRuleMap) ElementType() reflect.Type
func (VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutput ¶
func (i VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
func (VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutputWithContext ¶
func (i VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
type VirtualNetworkRuleMapInput ¶
type VirtualNetworkRuleMapInput interface { pulumi.Input ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput ToVirtualNetworkRuleMapOutputWithContext(context.Context) VirtualNetworkRuleMapOutput }
VirtualNetworkRuleMapInput is an input type that accepts VirtualNetworkRuleMap and VirtualNetworkRuleMapOutput values. You can construct a concrete instance of `VirtualNetworkRuleMapInput` via:
VirtualNetworkRuleMap{ "key": VirtualNetworkRuleArgs{...} }
type VirtualNetworkRuleMapOutput ¶
type VirtualNetworkRuleMapOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleMapOutput) ElementType ¶
func (VirtualNetworkRuleMapOutput) ElementType() reflect.Type
func (VirtualNetworkRuleMapOutput) MapIndex ¶
func (o VirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) VirtualNetworkRuleOutput
func (VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput ¶
func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
func (VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext ¶
func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
type VirtualNetworkRuleOutput ¶
type VirtualNetworkRuleOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleOutput) ElementType ¶
func (VirtualNetworkRuleOutput) ElementType() reflect.Type
func (VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput ¶
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext ¶
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState struct { // The name of the MySQL Virtual Network Rule. Cannot be empty and must only contain alphanumeric characters and hyphens. Cannot start with a number, and cannot start or end with a hyphen. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group where the MySQL server resides. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The name of the SQL Server to which this MySQL virtual network rule will be applied to. Changing this forces a new resource to be created. ServerName pulumi.StringPtrInput // The ID of the subnet that the MySQL server will be connected to. SubnetId pulumi.StringPtrInput }
func (VirtualNetworkRuleState) ElementType ¶
func (VirtualNetworkRuleState) ElementType() reflect.Type