Documentation
¶
Index ¶
- type ActiveDirectoryAdministrator
- func (*ActiveDirectoryAdministrator) ElementType() reflect.Type
- func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
- func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
- func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput
- func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput
- 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
- func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput
- func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput
- type ActiveDirectoryAdministratorPtrInput
- type ActiveDirectoryAdministratorPtrOutput
- func (ActiveDirectoryAdministratorPtrOutput) ElementType() reflect.Type
- func (o ActiveDirectoryAdministratorPtrOutput) ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput
- func (o ActiveDirectoryAdministratorPtrOutput) ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput
- type ActiveDirectoryAdministratorState
- type Configuration
- func (*Configuration) ElementType() reflect.Type
- func (i *Configuration) ToConfigurationOutput() ConfigurationOutput
- func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
- func (i *Configuration) ToConfigurationPtrOutput() ConfigurationPtrOutput
- func (i *Configuration) ToConfigurationPtrOutputWithContext(ctx context.Context) ConfigurationPtrOutput
- 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
- func (ConfigurationOutput) ElementType() reflect.Type
- func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
- func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
- func (o ConfigurationOutput) ToConfigurationPtrOutput() ConfigurationPtrOutput
- func (o ConfigurationOutput) ToConfigurationPtrOutputWithContext(ctx context.Context) ConfigurationPtrOutput
- type ConfigurationPtrInput
- type ConfigurationPtrOutput
- type ConfigurationState
- type Database
- func (*Database) ElementType() reflect.Type
- func (i *Database) ToDatabaseOutput() DatabaseOutput
- func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (i *Database) ToDatabasePtrOutput() DatabasePtrOutput
- func (i *Database) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseInput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- func (DatabaseOutput) ElementType() reflect.Type
- func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
- func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (o DatabaseOutput) ToDatabasePtrOutput() DatabasePtrOutput
- func (o DatabaseOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
- type DatabasePtrInput
- type DatabasePtrOutput
- type DatabaseState
- type FirewallRule
- func (*FirewallRule) ElementType() reflect.Type
- func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
- func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- func (i *FirewallRule) ToFirewallRulePtrOutput() FirewallRulePtrOutput
- func (i *FirewallRule) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
- 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
- func (FirewallRuleOutput) ElementType() reflect.Type
- func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
- func (o FirewallRuleOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput
- func (o FirewallRuleOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
- type FirewallRulePtrInput
- type FirewallRulePtrOutput
- type FirewallRuleState
- 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 LookupServerArgs
- type LookupServerResult
- type Server
- func (*Server) ElementType() reflect.Type
- func (i *Server) ToServerOutput() ServerOutput
- func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (i *Server) ToServerPtrOutput() ServerPtrOutput
- func (i *Server) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
- 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
- func (*ServerKey) ElementType() reflect.Type
- func (i *ServerKey) ToServerKeyOutput() ServerKeyOutput
- func (i *ServerKey) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
- func (i *ServerKey) ToServerKeyPtrOutput() ServerKeyPtrOutput
- func (i *ServerKey) ToServerKeyPtrOutputWithContext(ctx context.Context) ServerKeyPtrOutput
- 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
- func (ServerKeyOutput) ElementType() reflect.Type
- func (o ServerKeyOutput) ToServerKeyOutput() ServerKeyOutput
- func (o ServerKeyOutput) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
- func (o ServerKeyOutput) ToServerKeyPtrOutput() ServerKeyPtrOutput
- func (o ServerKeyOutput) ToServerKeyPtrOutputWithContext(ctx context.Context) ServerKeyPtrOutput
- type ServerKeyPtrInput
- type ServerKeyPtrOutput
- type ServerKeyState
- type ServerMap
- type ServerMapInput
- type ServerMapOutput
- type ServerOutput
- func (ServerOutput) ElementType() reflect.Type
- func (o ServerOutput) ToServerOutput() ServerOutput
- func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
- func (o ServerOutput) ToServerPtrOutput() ServerPtrOutput
- func (o ServerOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
- type ServerPtrInput
- type ServerPtrOutput
- 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
- func (*VirtualNetworkRule) ElementType() reflect.Type
- func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
- func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
- func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
- func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
- 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
- func (VirtualNetworkRuleOutput) ElementType() reflect.Type
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
- func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
- type VirtualNetworkRulePtrInput
- type VirtualNetworkRulePtrOutput
- type VirtualNetworkRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveDirectoryAdministrator ¶ added in v3.12.0
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 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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.12.0
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 ¶ added in v3.12.0
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 ¶ added in v3.31.1
func (*ActiveDirectoryAdministrator) ElementType() reflect.Type
func (*ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutput ¶ added in v3.31.1
func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
func (*ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutputWithContext ¶ added in v3.31.1
func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
func (*ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorPtrOutput ¶ added in v3.47.1
func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput
func (*ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorPtrOutputWithContext ¶ added in v3.47.1
func (i *ActiveDirectoryAdministrator) ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput
type ActiveDirectoryAdministratorArgs ¶ added in v3.12.0
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 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 ¶ added in v3.12.0
func (ActiveDirectoryAdministratorArgs) ElementType() reflect.Type
type ActiveDirectoryAdministratorArray ¶ added in v3.47.1
type ActiveDirectoryAdministratorArray []ActiveDirectoryAdministratorInput
func (ActiveDirectoryAdministratorArray) ElementType ¶ added in v3.47.1
func (ActiveDirectoryAdministratorArray) ElementType() reflect.Type
func (ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutput ¶ added in v3.47.1
func (i ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput
func (ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutputWithContext ¶ added in v3.47.1
func (i ActiveDirectoryAdministratorArray) ToActiveDirectoryAdministratorArrayOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorArrayOutput
type ActiveDirectoryAdministratorArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ActiveDirectoryAdministratorArrayOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryAdministratorArrayOutput) ElementType ¶ added in v3.47.1
func (ActiveDirectoryAdministratorArrayOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutput ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutput() ActiveDirectoryAdministratorArrayOutput
func (ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutputWithContext ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorArrayOutput) ToActiveDirectoryAdministratorArrayOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorArrayOutput
type ActiveDirectoryAdministratorInput ¶ added in v3.31.1
type ActiveDirectoryAdministratorInput interface { pulumi.Input ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput }
type ActiveDirectoryAdministratorMap ¶ added in v3.47.1
type ActiveDirectoryAdministratorMap map[string]ActiveDirectoryAdministratorInput
func (ActiveDirectoryAdministratorMap) ElementType ¶ added in v3.47.1
func (ActiveDirectoryAdministratorMap) ElementType() reflect.Type
func (ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutput ¶ added in v3.47.1
func (i ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput
func (ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutputWithContext ¶ added in v3.47.1
func (i ActiveDirectoryAdministratorMap) ToActiveDirectoryAdministratorMapOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorMapOutput
type ActiveDirectoryAdministratorMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ActiveDirectoryAdministratorMapOutput struct{ *pulumi.OutputState }
func (ActiveDirectoryAdministratorMapOutput) ElementType ¶ added in v3.47.1
func (ActiveDirectoryAdministratorMapOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorMapOutput) MapIndex ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorMapOutput) MapIndex(k pulumi.StringInput) ActiveDirectoryAdministratorOutput
func (ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutput ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutput() ActiveDirectoryAdministratorMapOutput
func (ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutputWithContext ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorMapOutput) ToActiveDirectoryAdministratorMapOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorMapOutput
type ActiveDirectoryAdministratorOutput ¶ added in v3.31.1
type ActiveDirectoryAdministratorOutput struct {
*pulumi.OutputState
}
func (ActiveDirectoryAdministratorOutput) ElementType ¶ added in v3.31.1
func (ActiveDirectoryAdministratorOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutput ¶ added in v3.31.1
func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutput() ActiveDirectoryAdministratorOutput
func (ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutputWithContext ¶ added in v3.31.1
func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorOutput
func (ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorPtrOutput ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput
func (ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorPtrOutputWithContext ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorOutput) ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput
type ActiveDirectoryAdministratorPtrInput ¶ added in v3.47.1
type ActiveDirectoryAdministratorPtrInput interface { pulumi.Input ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput }
type ActiveDirectoryAdministratorPtrOutput ¶ added in v3.47.1
type ActiveDirectoryAdministratorPtrOutput struct {
*pulumi.OutputState
}
func (ActiveDirectoryAdministratorPtrOutput) ElementType ¶ added in v3.47.1
func (ActiveDirectoryAdministratorPtrOutput) ElementType() reflect.Type
func (ActiveDirectoryAdministratorPtrOutput) ToActiveDirectoryAdministratorPtrOutput ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorPtrOutput) ToActiveDirectoryAdministratorPtrOutput() ActiveDirectoryAdministratorPtrOutput
func (ActiveDirectoryAdministratorPtrOutput) ToActiveDirectoryAdministratorPtrOutputWithContext ¶ added in v3.47.1
func (o ActiveDirectoryAdministratorPtrOutput) ToActiveDirectoryAdministratorPtrOutputWithContext(ctx context.Context) ActiveDirectoryAdministratorPtrOutput
type ActiveDirectoryAdministratorState ¶ added in v3.12.0
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 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 ¶ added in v3.12.0
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.31.1
func (*Configuration) ElementType() reflect.Type
func (*Configuration) ToConfigurationOutput ¶ added in v3.31.1
func (i *Configuration) ToConfigurationOutput() ConfigurationOutput
func (*Configuration) ToConfigurationOutputWithContext ¶ added in v3.31.1
func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
func (*Configuration) ToConfigurationPtrOutput ¶ added in v3.47.1
func (i *Configuration) ToConfigurationPtrOutput() ConfigurationPtrOutput
func (*Configuration) ToConfigurationPtrOutputWithContext ¶ added in v3.47.1
func (i *Configuration) ToConfigurationPtrOutputWithContext(ctx context.Context) ConfigurationPtrOutput
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 ¶ added in v3.47.1
type ConfigurationArray []ConfigurationInput
func (ConfigurationArray) ElementType ¶ added in v3.47.1
func (ConfigurationArray) ElementType() reflect.Type
func (ConfigurationArray) ToConfigurationArrayOutput ¶ added in v3.47.1
func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArray) ToConfigurationArrayOutputWithContext ¶ added in v3.47.1
func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ConfigurationArrayOutput struct{ *pulumi.OutputState }
func (ConfigurationArrayOutput) ElementType ¶ added in v3.47.1
func (ConfigurationArrayOutput) ElementType() reflect.Type
func (ConfigurationArrayOutput) Index ¶ added in v3.47.1
func (o ConfigurationArrayOutput) Index(i pulumi.IntInput) ConfigurationOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutput ¶ added in v3.47.1
func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput
func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext ¶ added in v3.47.1
func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput
type ConfigurationInput ¶ added in v3.31.1
type ConfigurationInput interface { pulumi.Input ToConfigurationOutput() ConfigurationOutput ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput }
type ConfigurationMap ¶ added in v3.47.1
type ConfigurationMap map[string]ConfigurationInput
func (ConfigurationMap) ElementType ¶ added in v3.47.1
func (ConfigurationMap) ElementType() reflect.Type
func (ConfigurationMap) ToConfigurationMapOutput ¶ added in v3.47.1
func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMap) ToConfigurationMapOutputWithContext ¶ added in v3.47.1
func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ConfigurationMapOutput struct{ *pulumi.OutputState }
func (ConfigurationMapOutput) ElementType ¶ added in v3.47.1
func (ConfigurationMapOutput) ElementType() reflect.Type
func (ConfigurationMapOutput) MapIndex ¶ added in v3.47.1
func (o ConfigurationMapOutput) MapIndex(k pulumi.StringInput) ConfigurationOutput
func (ConfigurationMapOutput) ToConfigurationMapOutput ¶ added in v3.47.1
func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput
func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext ¶ added in v3.47.1
func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput
type ConfigurationOutput ¶ added in v3.31.1
type ConfigurationOutput struct {
*pulumi.OutputState
}
func (ConfigurationOutput) ElementType ¶ added in v3.31.1
func (ConfigurationOutput) ElementType() reflect.Type
func (ConfigurationOutput) ToConfigurationOutput ¶ added in v3.31.1
func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
func (ConfigurationOutput) ToConfigurationOutputWithContext ¶ added in v3.31.1
func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
func (ConfigurationOutput) ToConfigurationPtrOutput ¶ added in v3.47.1
func (o ConfigurationOutput) ToConfigurationPtrOutput() ConfigurationPtrOutput
func (ConfigurationOutput) ToConfigurationPtrOutputWithContext ¶ added in v3.47.1
func (o ConfigurationOutput) ToConfigurationPtrOutputWithContext(ctx context.Context) ConfigurationPtrOutput
type ConfigurationPtrInput ¶ added in v3.47.1
type ConfigurationPtrInput interface { pulumi.Input ToConfigurationPtrOutput() ConfigurationPtrOutput ToConfigurationPtrOutputWithContext(ctx context.Context) ConfigurationPtrOutput }
type ConfigurationPtrOutput ¶ added in v3.47.1
type ConfigurationPtrOutput struct {
*pulumi.OutputState
}
func (ConfigurationPtrOutput) ElementType ¶ added in v3.47.1
func (ConfigurationPtrOutput) ElementType() reflect.Type
func (ConfigurationPtrOutput) ToConfigurationPtrOutput ¶ added in v3.47.1
func (o ConfigurationPtrOutput) ToConfigurationPtrOutput() ConfigurationPtrOutput
func (ConfigurationPtrOutput) ToConfigurationPtrOutputWithContext ¶ added in v3.47.1
func (o ConfigurationPtrOutput) ToConfigurationPtrOutputWithContext(ctx context.Context) ConfigurationPtrOutput
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.31.1
func (*Database) ToDatabaseOutput ¶ added in v3.31.1
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶ added in v3.31.1
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (*Database) ToDatabasePtrOutput ¶ added in v3.47.1
func (i *Database) ToDatabasePtrOutput() DatabasePtrOutput
func (*Database) ToDatabasePtrOutputWithContext ¶ added in v3.47.1
func (i *Database) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
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 ¶ added in v3.47.1
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶ added in v3.47.1
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶ added in v3.47.1
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶ added in v3.47.1
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶ added in v3.47.1
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶ added in v3.47.1
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶ added in v3.47.1
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶ added in v3.47.1
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseInput ¶ added in v3.31.1
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseMap ¶ added in v3.47.1
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶ added in v3.47.1
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶ added in v3.47.1
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶ added in v3.47.1
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶ added in v3.47.1
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶ added in v3.47.1
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶ added in v3.47.1
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶ added in v3.47.1
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶ added in v3.31.1
type DatabaseOutput struct {
*pulumi.OutputState
}
func (DatabaseOutput) ElementType ¶ added in v3.31.1
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) ToDatabaseOutput ¶ added in v3.31.1
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶ added in v3.31.1
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (DatabaseOutput) ToDatabasePtrOutput ¶ added in v3.47.1
func (o DatabaseOutput) ToDatabasePtrOutput() DatabasePtrOutput
func (DatabaseOutput) ToDatabasePtrOutputWithContext ¶ added in v3.47.1
func (o DatabaseOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabasePtrInput ¶ added in v3.47.1
type DatabasePtrInput interface { pulumi.Input ToDatabasePtrOutput() DatabasePtrOutput ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput }
type DatabasePtrOutput ¶ added in v3.47.1
type DatabasePtrOutput struct {
*pulumi.OutputState
}
func (DatabasePtrOutput) ElementType ¶ added in v3.47.1
func (DatabasePtrOutput) ElementType() reflect.Type
func (DatabasePtrOutput) ToDatabasePtrOutput ¶ added in v3.47.1
func (o DatabasePtrOutput) ToDatabasePtrOutput() DatabasePtrOutput
func (DatabasePtrOutput) ToDatabasePtrOutputWithContext ¶ added in v3.47.1
func (o DatabasePtrOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.31.1
func (*FirewallRule) ElementType() reflect.Type
func (*FirewallRule) ToFirewallRuleOutput ¶ added in v3.31.1
func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput
func (*FirewallRule) ToFirewallRuleOutputWithContext ¶ added in v3.31.1
func (i *FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
func (*FirewallRule) ToFirewallRulePtrOutput ¶ added in v3.47.1
func (i *FirewallRule) ToFirewallRulePtrOutput() FirewallRulePtrOutput
func (*FirewallRule) ToFirewallRulePtrOutputWithContext ¶ added in v3.47.1
func (i *FirewallRule) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
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 ¶ added in v3.47.1
type FirewallRuleArray []FirewallRuleInput
func (FirewallRuleArray) ElementType ¶ added in v3.47.1
func (FirewallRuleArray) ElementType() reflect.Type
func (FirewallRuleArray) ToFirewallRuleArrayOutput ¶ added in v3.47.1
func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext ¶ added in v3.47.1
func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type FirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (FirewallRuleArrayOutput) ElementType ¶ added in v3.47.1
func (FirewallRuleArrayOutput) ElementType() reflect.Type
func (FirewallRuleArrayOutput) Index ¶ added in v3.47.1
func (o FirewallRuleArrayOutput) Index(i pulumi.IntInput) FirewallRuleOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput ¶ added in v3.47.1
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext ¶ added in v3.47.1
func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput
type FirewallRuleInput ¶ added in v3.31.1
type FirewallRuleInput interface { pulumi.Input ToFirewallRuleOutput() FirewallRuleOutput ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput }
type FirewallRuleMap ¶ added in v3.47.1
type FirewallRuleMap map[string]FirewallRuleInput
func (FirewallRuleMap) ElementType ¶ added in v3.47.1
func (FirewallRuleMap) ElementType() reflect.Type
func (FirewallRuleMap) ToFirewallRuleMapOutput ¶ added in v3.47.1
func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext ¶ added in v3.47.1
func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type FirewallRuleMapOutput struct{ *pulumi.OutputState }
func (FirewallRuleMapOutput) ElementType ¶ added in v3.47.1
func (FirewallRuleMapOutput) ElementType() reflect.Type
func (FirewallRuleMapOutput) MapIndex ¶ added in v3.47.1
func (o FirewallRuleMapOutput) MapIndex(k pulumi.StringInput) FirewallRuleOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutput ¶ added in v3.47.1
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput
func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext ¶ added in v3.47.1
func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput
type FirewallRuleOutput ¶ added in v3.31.1
type FirewallRuleOutput struct {
*pulumi.OutputState
}
func (FirewallRuleOutput) ElementType ¶ added in v3.31.1
func (FirewallRuleOutput) ElementType() reflect.Type
func (FirewallRuleOutput) ToFirewallRuleOutput ¶ added in v3.31.1
func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRuleOutputWithContext ¶ added in v3.31.1
func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
func (FirewallRuleOutput) ToFirewallRulePtrOutput ¶ added in v3.47.1
func (o FirewallRuleOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput
func (FirewallRuleOutput) ToFirewallRulePtrOutputWithContext ¶ added in v3.47.1
func (o FirewallRuleOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
type FirewallRulePtrInput ¶ added in v3.47.1
type FirewallRulePtrInput interface { pulumi.Input ToFirewallRulePtrOutput() FirewallRulePtrOutput ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput }
type FirewallRulePtrOutput ¶ added in v3.47.1
type FirewallRulePtrOutput struct {
*pulumi.OutputState
}
func (FirewallRulePtrOutput) ElementType ¶ added in v3.47.1
func (FirewallRulePtrOutput) ElementType() reflect.Type
func (FirewallRulePtrOutput) ToFirewallRulePtrOutput ¶ added in v3.47.1
func (o FirewallRulePtrOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput
func (FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext ¶ added in v3.47.1
func (o FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
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 GetServerIdentity ¶ added in v3.26.0
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 ¶ added in v3.26.0
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 ¶ added in v3.26.0
func (GetServerIdentityArgs) ElementType() reflect.Type
func (GetServerIdentityArgs) ToGetServerIdentityOutput ¶ added in v3.26.0
func (i GetServerIdentityArgs) ToGetServerIdentityOutput() GetServerIdentityOutput
func (GetServerIdentityArgs) ToGetServerIdentityOutputWithContext ¶ added in v3.26.0
func (i GetServerIdentityArgs) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
type GetServerIdentityArray ¶ added in v3.26.0
type GetServerIdentityArray []GetServerIdentityInput
func (GetServerIdentityArray) ElementType ¶ added in v3.26.0
func (GetServerIdentityArray) ElementType() reflect.Type
func (GetServerIdentityArray) ToGetServerIdentityArrayOutput ¶ added in v3.26.0
func (i GetServerIdentityArray) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
func (GetServerIdentityArray) ToGetServerIdentityArrayOutputWithContext ¶ added in v3.26.0
func (i GetServerIdentityArray) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
type GetServerIdentityArrayInput ¶ added in v3.26.0
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 ¶ added in v3.26.0
type GetServerIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetServerIdentityArrayOutput) ElementType ¶ added in v3.26.0
func (GetServerIdentityArrayOutput) ElementType() reflect.Type
func (GetServerIdentityArrayOutput) Index ¶ added in v3.26.0
func (o GetServerIdentityArrayOutput) Index(i pulumi.IntInput) GetServerIdentityOutput
func (GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput ¶ added in v3.26.0
func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutput() GetServerIdentityArrayOutput
func (GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext ¶ added in v3.26.0
func (o GetServerIdentityArrayOutput) ToGetServerIdentityArrayOutputWithContext(ctx context.Context) GetServerIdentityArrayOutput
type GetServerIdentityInput ¶ added in v3.26.0
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 ¶ added in v3.26.0
type GetServerIdentityOutput struct{ *pulumi.OutputState }
func (GetServerIdentityOutput) ElementType ¶ added in v3.26.0
func (GetServerIdentityOutput) ElementType() reflect.Type
func (GetServerIdentityOutput) PrincipalId ¶ added in v3.26.0
func (o GetServerIdentityOutput) PrincipalId() pulumi.StringOutput
The Client ID of the Service Principal assigned to this MySQL Server.
func (GetServerIdentityOutput) TenantId ¶ added in v3.26.0
func (o GetServerIdentityOutput) TenantId() pulumi.StringOutput
The ID of the Tenant the Service Principal is assigned in. ---
func (GetServerIdentityOutput) ToGetServerIdentityOutput ¶ added in v3.26.0
func (o GetServerIdentityOutput) ToGetServerIdentityOutput() GetServerIdentityOutput
func (GetServerIdentityOutput) ToGetServerIdentityOutputWithContext ¶ added in v3.26.0
func (o GetServerIdentityOutput) ToGetServerIdentityOutputWithContext(ctx context.Context) GetServerIdentityOutput
func (GetServerIdentityOutput) Type ¶ added in v3.26.0
func (o GetServerIdentityOutput) Type() pulumi.StringOutput
The Type of Identity used for this MySQL Server.
type GetServerThreatDetectionPolicy ¶ added in v3.26.0
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 ¶ added in v3.26.0
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 ¶ added in v3.26.0
func (GetServerThreatDetectionPolicyArgs) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutput ¶ added in v3.26.0
func (i GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput
func (GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutputWithContext ¶ added in v3.26.0
func (i GetServerThreatDetectionPolicyArgs) ToGetServerThreatDetectionPolicyOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyOutput
type GetServerThreatDetectionPolicyArray ¶ added in v3.26.0
type GetServerThreatDetectionPolicyArray []GetServerThreatDetectionPolicyInput
func (GetServerThreatDetectionPolicyArray) ElementType ¶ added in v3.26.0
func (GetServerThreatDetectionPolicyArray) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutput ¶ added in v3.26.0
func (i GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput
func (GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutputWithContext ¶ added in v3.26.0
func (i GetServerThreatDetectionPolicyArray) ToGetServerThreatDetectionPolicyArrayOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyArrayOutput
type GetServerThreatDetectionPolicyArrayInput ¶ added in v3.26.0
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 ¶ added in v3.26.0
type GetServerThreatDetectionPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetServerThreatDetectionPolicyArrayOutput) ElementType ¶ added in v3.26.0
func (GetServerThreatDetectionPolicyArrayOutput) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutput ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutput() GetServerThreatDetectionPolicyArrayOutput
func (GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutputWithContext ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyArrayOutput) ToGetServerThreatDetectionPolicyArrayOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyArrayOutput
type GetServerThreatDetectionPolicyInput ¶ added in v3.26.0
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 ¶ added in v3.26.0
type GetServerThreatDetectionPolicyOutput struct{ *pulumi.OutputState }
func (GetServerThreatDetectionPolicyOutput) DisabledAlerts ¶ added in v3.26.0
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 ¶ added in v3.26.0
func (GetServerThreatDetectionPolicyOutput) ElementType() reflect.Type
func (GetServerThreatDetectionPolicyOutput) EmailAccountAdmins ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.BoolOutput
Should the account administrators be emailed when this alert is triggered?
func (GetServerThreatDetectionPolicyOutput) EmailAddresses ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (GetServerThreatDetectionPolicyOutput) Enabled ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) Enabled() pulumi.BoolOutput
Is the policy enabled?
func (GetServerThreatDetectionPolicyOutput) RetentionDays ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) RetentionDays() pulumi.IntOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (GetServerThreatDetectionPolicyOutput) StorageAccountAccessKey ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringOutput
Specifies the identifier key of the Threat Detection audit storage account.
func (GetServerThreatDetectionPolicyOutput) StorageEndpoint ¶ added in v3.26.0
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 ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutput() GetServerThreatDetectionPolicyOutput
func (GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutputWithContext ¶ added in v3.26.0
func (o GetServerThreatDetectionPolicyOutput) ToGetServerThreatDetectionPolicyOutputWithContext(ctx context.Context) GetServerThreatDetectionPolicyOutput
type LookupServerArgs ¶ added in v3.26.0
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 LookupServerResult ¶ added in v3.26.0
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 ¶ added in v3.26.0
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/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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 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 `4194304` MB(4TB) 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.6`, `5.7`, and `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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.31.1
func (*Server) ToServerOutput ¶ added in v3.31.1
func (i *Server) ToServerOutput() ServerOutput
func (*Server) ToServerOutputWithContext ¶ added in v3.31.1
func (i *Server) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (*Server) ToServerPtrOutput ¶ added in v3.47.1
func (i *Server) ToServerPtrOutput() ServerPtrOutput
func (*Server) ToServerPtrOutputWithContext ¶ added in v3.47.1
func (i *Server) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
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 `4194304` MB(4TB) 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.6`, `5.7`, and `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 ¶ added in v3.47.1
type ServerArray []ServerInput
func (ServerArray) ElementType ¶ added in v3.47.1
func (ServerArray) ElementType() reflect.Type
func (ServerArray) ToServerArrayOutput ¶ added in v3.47.1
func (i ServerArray) ToServerArrayOutput() ServerArrayOutput
func (ServerArray) ToServerArrayOutputWithContext ¶ added in v3.47.1
func (i ServerArray) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ServerArrayOutput struct{ *pulumi.OutputState }
func (ServerArrayOutput) ElementType ¶ added in v3.47.1
func (ServerArrayOutput) ElementType() reflect.Type
func (ServerArrayOutput) Index ¶ added in v3.47.1
func (o ServerArrayOutput) Index(i pulumi.IntInput) ServerOutput
func (ServerArrayOutput) ToServerArrayOutput ¶ added in v3.47.1
func (o ServerArrayOutput) ToServerArrayOutput() ServerArrayOutput
func (ServerArrayOutput) ToServerArrayOutputWithContext ¶ added in v3.47.1
func (o ServerArrayOutput) ToServerArrayOutputWithContext(ctx context.Context) ServerArrayOutput
type ServerIdentity ¶ added in v3.16.0
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 ¶ added in v3.16.0
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 ¶ added in v3.16.0
func (ServerIdentityArgs) ElementType() reflect.Type
func (ServerIdentityArgs) ToServerIdentityOutput ¶ added in v3.16.0
func (i ServerIdentityArgs) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityOutputWithContext ¶ added in v3.16.0
func (i ServerIdentityArgs) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutput ¶ added in v3.16.0
func (i ServerIdentityArgs) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityArgs) ToServerIdentityPtrOutputWithContext ¶ added in v3.16.0
func (i ServerIdentityArgs) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
type ServerIdentityInput ¶ added in v3.16.0
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 ¶ added in v3.16.0
type ServerIdentityOutput struct{ *pulumi.OutputState }
func (ServerIdentityOutput) ElementType ¶ added in v3.16.0
func (ServerIdentityOutput) ElementType() reflect.Type
func (ServerIdentityOutput) PrincipalId ¶ added in v3.16.0
func (o ServerIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Client ID of the Service Principal assigned to this MySQL Server.
func (ServerIdentityOutput) TenantId ¶ added in v3.16.0
func (o ServerIdentityOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (ServerIdentityOutput) ToServerIdentityOutput ¶ added in v3.16.0
func (o ServerIdentityOutput) ToServerIdentityOutput() ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityOutputWithContext ¶ added in v3.16.0
func (o ServerIdentityOutput) ToServerIdentityOutputWithContext(ctx context.Context) ServerIdentityOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutput ¶ added in v3.16.0
func (o ServerIdentityOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityOutput) ToServerIdentityPtrOutputWithContext ¶ added in v3.16.0
func (o ServerIdentityOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityOutput) Type ¶ added in v3.16.0
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 ¶ added in v3.16.0
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 ¶ added in v3.16.0
func ServerIdentityPtr(v *ServerIdentityArgs) ServerIdentityPtrInput
type ServerIdentityPtrOutput ¶ added in v3.16.0
type ServerIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServerIdentityPtrOutput) Elem ¶ added in v3.16.0
func (o ServerIdentityPtrOutput) Elem() ServerIdentityOutput
func (ServerIdentityPtrOutput) ElementType ¶ added in v3.16.0
func (ServerIdentityPtrOutput) ElementType() reflect.Type
func (ServerIdentityPtrOutput) PrincipalId ¶ added in v3.16.0
func (o ServerIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Client ID of the Service Principal assigned to this MySQL Server.
func (ServerIdentityPtrOutput) TenantId ¶ added in v3.16.0
func (o ServerIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The ID of the Tenant the Service Principal is assigned in.
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutput ¶ added in v3.16.0
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutput() ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext ¶ added in v3.16.0
func (o ServerIdentityPtrOutput) ToServerIdentityPtrOutputWithContext(ctx context.Context) ServerIdentityPtrOutput
func (ServerIdentityPtrOutput) Type ¶ added in v3.16.0
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 ¶ added in v3.31.1
type ServerInput interface { pulumi.Input ToServerOutput() ServerOutput ToServerOutputWithContext(ctx context.Context) ServerOutput }
type ServerKey ¶ added in v3.23.0
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.
## 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 ¶ added in v3.23.0
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 ¶ added in v3.23.0
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 ¶ added in v3.31.1
func (*ServerKey) ToServerKeyOutput ¶ added in v3.31.1
func (i *ServerKey) ToServerKeyOutput() ServerKeyOutput
func (*ServerKey) ToServerKeyOutputWithContext ¶ added in v3.31.1
func (i *ServerKey) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
func (*ServerKey) ToServerKeyPtrOutput ¶ added in v3.47.1
func (i *ServerKey) ToServerKeyPtrOutput() ServerKeyPtrOutput
func (*ServerKey) ToServerKeyPtrOutputWithContext ¶ added in v3.47.1
func (i *ServerKey) ToServerKeyPtrOutputWithContext(ctx context.Context) ServerKeyPtrOutput
type ServerKeyArgs ¶ added in v3.23.0
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 ¶ added in v3.23.0
func (ServerKeyArgs) ElementType() reflect.Type
type ServerKeyArray ¶ added in v3.47.1
type ServerKeyArray []ServerKeyInput
func (ServerKeyArray) ElementType ¶ added in v3.47.1
func (ServerKeyArray) ElementType() reflect.Type
func (ServerKeyArray) ToServerKeyArrayOutput ¶ added in v3.47.1
func (i ServerKeyArray) ToServerKeyArrayOutput() ServerKeyArrayOutput
func (ServerKeyArray) ToServerKeyArrayOutputWithContext ¶ added in v3.47.1
func (i ServerKeyArray) ToServerKeyArrayOutputWithContext(ctx context.Context) ServerKeyArrayOutput
type ServerKeyArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ServerKeyArrayOutput struct{ *pulumi.OutputState }
func (ServerKeyArrayOutput) ElementType ¶ added in v3.47.1
func (ServerKeyArrayOutput) ElementType() reflect.Type
func (ServerKeyArrayOutput) Index ¶ added in v3.47.1
func (o ServerKeyArrayOutput) Index(i pulumi.IntInput) ServerKeyOutput
func (ServerKeyArrayOutput) ToServerKeyArrayOutput ¶ added in v3.47.1
func (o ServerKeyArrayOutput) ToServerKeyArrayOutput() ServerKeyArrayOutput
func (ServerKeyArrayOutput) ToServerKeyArrayOutputWithContext ¶ added in v3.47.1
func (o ServerKeyArrayOutput) ToServerKeyArrayOutputWithContext(ctx context.Context) ServerKeyArrayOutput
type ServerKeyInput ¶ added in v3.31.1
type ServerKeyInput interface { pulumi.Input ToServerKeyOutput() ServerKeyOutput ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput }
type ServerKeyMap ¶ added in v3.47.1
type ServerKeyMap map[string]ServerKeyInput
func (ServerKeyMap) ElementType ¶ added in v3.47.1
func (ServerKeyMap) ElementType() reflect.Type
func (ServerKeyMap) ToServerKeyMapOutput ¶ added in v3.47.1
func (i ServerKeyMap) ToServerKeyMapOutput() ServerKeyMapOutput
func (ServerKeyMap) ToServerKeyMapOutputWithContext ¶ added in v3.47.1
func (i ServerKeyMap) ToServerKeyMapOutputWithContext(ctx context.Context) ServerKeyMapOutput
type ServerKeyMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ServerKeyMapOutput struct{ *pulumi.OutputState }
func (ServerKeyMapOutput) ElementType ¶ added in v3.47.1
func (ServerKeyMapOutput) ElementType() reflect.Type
func (ServerKeyMapOutput) MapIndex ¶ added in v3.47.1
func (o ServerKeyMapOutput) MapIndex(k pulumi.StringInput) ServerKeyOutput
func (ServerKeyMapOutput) ToServerKeyMapOutput ¶ added in v3.47.1
func (o ServerKeyMapOutput) ToServerKeyMapOutput() ServerKeyMapOutput
func (ServerKeyMapOutput) ToServerKeyMapOutputWithContext ¶ added in v3.47.1
func (o ServerKeyMapOutput) ToServerKeyMapOutputWithContext(ctx context.Context) ServerKeyMapOutput
type ServerKeyOutput ¶ added in v3.31.1
type ServerKeyOutput struct {
*pulumi.OutputState
}
func (ServerKeyOutput) ElementType ¶ added in v3.31.1
func (ServerKeyOutput) ElementType() reflect.Type
func (ServerKeyOutput) ToServerKeyOutput ¶ added in v3.31.1
func (o ServerKeyOutput) ToServerKeyOutput() ServerKeyOutput
func (ServerKeyOutput) ToServerKeyOutputWithContext ¶ added in v3.31.1
func (o ServerKeyOutput) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
func (ServerKeyOutput) ToServerKeyPtrOutput ¶ added in v3.47.1
func (o ServerKeyOutput) ToServerKeyPtrOutput() ServerKeyPtrOutput
func (ServerKeyOutput) ToServerKeyPtrOutputWithContext ¶ added in v3.47.1
func (o ServerKeyOutput) ToServerKeyPtrOutputWithContext(ctx context.Context) ServerKeyPtrOutput
type ServerKeyPtrInput ¶ added in v3.47.1
type ServerKeyPtrInput interface { pulumi.Input ToServerKeyPtrOutput() ServerKeyPtrOutput ToServerKeyPtrOutputWithContext(ctx context.Context) ServerKeyPtrOutput }
type ServerKeyPtrOutput ¶ added in v3.47.1
type ServerKeyPtrOutput struct {
*pulumi.OutputState
}
func (ServerKeyPtrOutput) ElementType ¶ added in v3.47.1
func (ServerKeyPtrOutput) ElementType() reflect.Type
func (ServerKeyPtrOutput) ToServerKeyPtrOutput ¶ added in v3.47.1
func (o ServerKeyPtrOutput) ToServerKeyPtrOutput() ServerKeyPtrOutput
func (ServerKeyPtrOutput) ToServerKeyPtrOutputWithContext ¶ added in v3.47.1
func (o ServerKeyPtrOutput) ToServerKeyPtrOutputWithContext(ctx context.Context) ServerKeyPtrOutput
type ServerKeyState ¶ added in v3.23.0
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 ¶ added in v3.23.0
func (ServerKeyState) ElementType() reflect.Type
type ServerMap ¶ added in v3.47.1
type ServerMap map[string]ServerInput
func (ServerMap) ElementType ¶ added in v3.47.1
func (ServerMap) ToServerMapOutput ¶ added in v3.47.1
func (i ServerMap) ToServerMapOutput() ServerMapOutput
func (ServerMap) ToServerMapOutputWithContext ¶ added in v3.47.1
func (i ServerMap) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type ServerMapOutput struct{ *pulumi.OutputState }
func (ServerMapOutput) ElementType ¶ added in v3.47.1
func (ServerMapOutput) ElementType() reflect.Type
func (ServerMapOutput) MapIndex ¶ added in v3.47.1
func (o ServerMapOutput) MapIndex(k pulumi.StringInput) ServerOutput
func (ServerMapOutput) ToServerMapOutput ¶ added in v3.47.1
func (o ServerMapOutput) ToServerMapOutput() ServerMapOutput
func (ServerMapOutput) ToServerMapOutputWithContext ¶ added in v3.47.1
func (o ServerMapOutput) ToServerMapOutputWithContext(ctx context.Context) ServerMapOutput
type ServerOutput ¶ added in v3.31.1
type ServerOutput struct {
*pulumi.OutputState
}
func (ServerOutput) ElementType ¶ added in v3.31.1
func (ServerOutput) ElementType() reflect.Type
func (ServerOutput) ToServerOutput ¶ added in v3.31.1
func (o ServerOutput) ToServerOutput() ServerOutput
func (ServerOutput) ToServerOutputWithContext ¶ added in v3.31.1
func (o ServerOutput) ToServerOutputWithContext(ctx context.Context) ServerOutput
func (ServerOutput) ToServerPtrOutput ¶ added in v3.47.1
func (o ServerOutput) ToServerPtrOutput() ServerPtrOutput
func (ServerOutput) ToServerPtrOutputWithContext ¶ added in v3.47.1
func (o ServerOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
type ServerPtrInput ¶ added in v3.47.1
type ServerPtrInput interface { pulumi.Input ToServerPtrOutput() ServerPtrOutput ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput }
type ServerPtrOutput ¶ added in v3.47.1
type ServerPtrOutput struct {
*pulumi.OutputState
}
func (ServerPtrOutput) ElementType ¶ added in v3.47.1
func (ServerPtrOutput) ElementType() reflect.Type
func (ServerPtrOutput) ToServerPtrOutput ¶ added in v3.47.1
func (o ServerPtrOutput) ToServerPtrOutput() ServerPtrOutput
func (ServerPtrOutput) ToServerPtrOutputWithContext ¶ added in v3.47.1
func (o ServerPtrOutput) ToServerPtrOutputWithContext(ctx context.Context) ServerPtrOutput
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 `4194304` MB(4TB) 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.6`, `5.7`, and `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 `4194304` MB(4TB) 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 `4194304` MB(4TB) 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 `4194304` MB(4TB) 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 `4194304` MB(4TB) 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 ¶ added in v3.12.0
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 ¶ added in v3.12.0
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 ¶ added in v3.12.0
func (ServerThreatDetectionPolicyArgs) ElementType() reflect.Type
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutput ¶ added in v3.12.0
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutputWithContext ¶ added in v3.12.0
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutput ¶ added in v3.12.0
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
func (ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutputWithContext ¶ added in v3.12.0
func (i ServerThreatDetectionPolicyArgs) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
type ServerThreatDetectionPolicyInput ¶ added in v3.12.0
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 ¶ added in v3.12.0
type ServerThreatDetectionPolicyOutput struct{ *pulumi.OutputState }
func (ServerThreatDetectionPolicyOutput) DisabledAlerts ¶ added in v3.12.0
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 ¶ added in v3.12.0
func (ServerThreatDetectionPolicyOutput) ElementType() reflect.Type
func (ServerThreatDetectionPolicyOutput) EmailAccountAdmins ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) EmailAccountAdmins() pulumi.BoolPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (ServerThreatDetectionPolicyOutput) EmailAddresses ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (ServerThreatDetectionPolicyOutput) Enabled ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) Enabled() pulumi.BoolPtrOutput
Is the policy enabled?
func (ServerThreatDetectionPolicyOutput) RetentionDays ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (ServerThreatDetectionPolicyOutput) StorageAccountAccessKey ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the identifier key of the Threat Detection audit storage account.
func (ServerThreatDetectionPolicyOutput) StorageEndpoint ¶ added in v3.12.0
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 ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutput() ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutputWithContext ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyOutput
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutput ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
func (ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutputWithContext ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyOutput) ToServerThreatDetectionPolicyPtrOutputWithContext(ctx context.Context) ServerThreatDetectionPolicyPtrOutput
type ServerThreatDetectionPolicyPtrInput ¶ added in v3.12.0
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 ¶ added in v3.12.0
func ServerThreatDetectionPolicyPtr(v *ServerThreatDetectionPolicyArgs) ServerThreatDetectionPolicyPtrInput
type ServerThreatDetectionPolicyPtrOutput ¶ added in v3.12.0
type ServerThreatDetectionPolicyPtrOutput struct{ *pulumi.OutputState }
func (ServerThreatDetectionPolicyPtrOutput) DisabledAlerts ¶ added in v3.12.0
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 ¶ added in v3.12.0
func (ServerThreatDetectionPolicyPtrOutput) ElementType() reflect.Type
func (ServerThreatDetectionPolicyPtrOutput) EmailAccountAdmins ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyPtrOutput) EmailAccountAdmins() pulumi.BoolPtrOutput
Should the account administrators be emailed when this alert is triggered?
func (ServerThreatDetectionPolicyPtrOutput) EmailAddresses ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyPtrOutput) EmailAddresses() pulumi.StringArrayOutput
A list of email addresses which alerts should be sent to.
func (ServerThreatDetectionPolicyPtrOutput) Enabled ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
Is the policy enabled?
func (ServerThreatDetectionPolicyPtrOutput) RetentionDays ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyPtrOutput) RetentionDays() pulumi.IntPtrOutput
Specifies the number of days to keep in the Threat Detection audit logs.
func (ServerThreatDetectionPolicyPtrOutput) StorageAccountAccessKey ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyPtrOutput) StorageAccountAccessKey() pulumi.StringPtrOutput
Specifies the identifier key of the Threat Detection audit storage account.
func (ServerThreatDetectionPolicyPtrOutput) StorageEndpoint ¶ added in v3.12.0
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 ¶ added in v3.12.0
func (o ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutput() ServerThreatDetectionPolicyPtrOutput
func (ServerThreatDetectionPolicyPtrOutput) ToServerThreatDetectionPolicyPtrOutputWithContext ¶ added in v3.12.0
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/mysql" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network" "github.com/pulumi/pulumi/sdk/v2/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("B_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 ¶ added in v3.31.1
func (*VirtualNetworkRule) ElementType() reflect.Type
func (*VirtualNetworkRule) ToVirtualNetworkRuleOutput ¶ added in v3.31.1
func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
func (*VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext ¶ added in v3.31.1
func (i *VirtualNetworkRule) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
func (*VirtualNetworkRule) ToVirtualNetworkRulePtrOutput ¶ added in v3.47.1
func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
func (*VirtualNetworkRule) ToVirtualNetworkRulePtrOutputWithContext ¶ added in v3.47.1
func (i *VirtualNetworkRule) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
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 ¶ added in v3.47.1
type VirtualNetworkRuleArray []VirtualNetworkRuleInput
func (VirtualNetworkRuleArray) ElementType ¶ added in v3.47.1
func (VirtualNetworkRuleArray) ElementType() reflect.Type
func (VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutput ¶ added in v3.47.1
func (i VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
func (VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutputWithContext ¶ added in v3.47.1
func (i VirtualNetworkRuleArray) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
type VirtualNetworkRuleArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type VirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleArrayOutput) ElementType ¶ added in v3.47.1
func (VirtualNetworkRuleArrayOutput) ElementType() reflect.Type
func (VirtualNetworkRuleArrayOutput) Index ¶ added in v3.47.1
func (o VirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) VirtualNetworkRuleOutput
func (VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput ¶ added in v3.47.1
func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutput() VirtualNetworkRuleArrayOutput
func (VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext ¶ added in v3.47.1
func (o VirtualNetworkRuleArrayOutput) ToVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) VirtualNetworkRuleArrayOutput
type VirtualNetworkRuleInput ¶ added in v3.31.1
type VirtualNetworkRuleInput interface { pulumi.Input ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput }
type VirtualNetworkRuleMap ¶ added in v3.47.1
type VirtualNetworkRuleMap map[string]VirtualNetworkRuleInput
func (VirtualNetworkRuleMap) ElementType ¶ added in v3.47.1
func (VirtualNetworkRuleMap) ElementType() reflect.Type
func (VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutput ¶ added in v3.47.1
func (i VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
func (VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutputWithContext ¶ added in v3.47.1
func (i VirtualNetworkRuleMap) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
type VirtualNetworkRuleMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type VirtualNetworkRuleMapOutput struct{ *pulumi.OutputState }
func (VirtualNetworkRuleMapOutput) ElementType ¶ added in v3.47.1
func (VirtualNetworkRuleMapOutput) ElementType() reflect.Type
func (VirtualNetworkRuleMapOutput) MapIndex ¶ added in v3.47.1
func (o VirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) VirtualNetworkRuleOutput
func (VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput ¶ added in v3.47.1
func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutput() VirtualNetworkRuleMapOutput
func (VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext ¶ added in v3.47.1
func (o VirtualNetworkRuleMapOutput) ToVirtualNetworkRuleMapOutputWithContext(ctx context.Context) VirtualNetworkRuleMapOutput
type VirtualNetworkRuleOutput ¶ added in v3.31.1
type VirtualNetworkRuleOutput struct {
*pulumi.OutputState
}
func (VirtualNetworkRuleOutput) ElementType ¶ added in v3.31.1
func (VirtualNetworkRuleOutput) ElementType() reflect.Type
func (VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput ¶ added in v3.31.1
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutput() VirtualNetworkRuleOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext ¶ added in v3.31.1
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRuleOutputWithContext(ctx context.Context) VirtualNetworkRuleOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutput ¶ added in v3.47.1
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
func (VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutputWithContext ¶ added in v3.47.1
func (o VirtualNetworkRuleOutput) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
type VirtualNetworkRulePtrInput ¶ added in v3.47.1
type VirtualNetworkRulePtrInput interface { pulumi.Input ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput }
type VirtualNetworkRulePtrOutput ¶ added in v3.47.1
type VirtualNetworkRulePtrOutput struct {
*pulumi.OutputState
}
func (VirtualNetworkRulePtrOutput) ElementType ¶ added in v3.47.1
func (VirtualNetworkRulePtrOutput) ElementType() reflect.Type
func (VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutput ¶ added in v3.47.1
func (o VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutput() VirtualNetworkRulePtrOutput
func (VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutputWithContext ¶ added in v3.47.1
func (o VirtualNetworkRulePtrOutput) ToVirtualNetworkRulePtrOutputWithContext(ctx context.Context) VirtualNetworkRulePtrOutput
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