mysql

package
v6.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlexibleDatabase

type FlexibleDatabase struct {
	pulumi.CustomResourceState

	// Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created.
	Charset pulumi.StringOutput `pulumi:"charset"`
	// Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created.
	Collation pulumi.StringOutput `pulumi:"collation"`
	// Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
}

Manages a MySQL Database within a MySQL Flexible Server

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
			Name:                  pulumi.String("example-mysql-flexible-server"),
			ResourceGroupName:     example.Name,
			Location:              example.Location,
			AdministratorLogin:    pulumi.String("mysqladminun"),
			AdministratorPassword: pulumi.String("H@Sh1CoR3!"),
			SkuName:               pulumi.String("B_Standard_B1s"),
		})
		if err != nil {
			return err
		}
		_, err = mysql.NewFlexibleDatabase(ctx, "example", &mysql.FlexibleDatabaseArgs{
			Name:              pulumi.String("exampledb"),
			ResourceGroupName: example.Name,
			ServerName:        exampleFlexibleServer.Name,
			Charset:           pulumi.String("utf8"),
			Collation:         pulumi.String("utf8_unicode_ci"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MySQL Database's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:mysql/flexibleDatabase:FlexibleDatabase database1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleserver1/databases/database1 ```

func GetFlexibleDatabase

func GetFlexibleDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleDatabaseState, opts ...pulumi.ResourceOption) (*FlexibleDatabase, error)

GetFlexibleDatabase gets an existing FlexibleDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlexibleDatabase

func NewFlexibleDatabase(ctx *pulumi.Context,
	name string, args *FlexibleDatabaseArgs, opts ...pulumi.ResourceOption) (*FlexibleDatabase, error)

NewFlexibleDatabase registers a new resource with the given unique name, arguments, and options.

func (*FlexibleDatabase) ElementType

func (*FlexibleDatabase) ElementType() reflect.Type

func (*FlexibleDatabase) ToFlexibleDatabaseOutput

func (i *FlexibleDatabase) ToFlexibleDatabaseOutput() FlexibleDatabaseOutput

func (*FlexibleDatabase) ToFlexibleDatabaseOutputWithContext

func (i *FlexibleDatabase) ToFlexibleDatabaseOutputWithContext(ctx context.Context) FlexibleDatabaseOutput

type FlexibleDatabaseArgs

type FlexibleDatabaseArgs struct {
	// Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created.
	Charset pulumi.StringInput
	// Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created.
	Collation pulumi.StringInput
	// Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
}

The set of arguments for constructing a FlexibleDatabase resource.

func (FlexibleDatabaseArgs) ElementType

func (FlexibleDatabaseArgs) ElementType() reflect.Type

type FlexibleDatabaseArray

type FlexibleDatabaseArray []FlexibleDatabaseInput

func (FlexibleDatabaseArray) ElementType

func (FlexibleDatabaseArray) ElementType() reflect.Type

func (FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutput

func (i FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput

func (FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutputWithContext

func (i FlexibleDatabaseArray) ToFlexibleDatabaseArrayOutputWithContext(ctx context.Context) FlexibleDatabaseArrayOutput

type FlexibleDatabaseArrayInput

type FlexibleDatabaseArrayInput interface {
	pulumi.Input

	ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput
	ToFlexibleDatabaseArrayOutputWithContext(context.Context) FlexibleDatabaseArrayOutput
}

FlexibleDatabaseArrayInput is an input type that accepts FlexibleDatabaseArray and FlexibleDatabaseArrayOutput values. You can construct a concrete instance of `FlexibleDatabaseArrayInput` via:

FlexibleDatabaseArray{ FlexibleDatabaseArgs{...} }

type FlexibleDatabaseArrayOutput

type FlexibleDatabaseArrayOutput struct{ *pulumi.OutputState }

func (FlexibleDatabaseArrayOutput) ElementType

func (FlexibleDatabaseArrayOutput) Index

func (FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutput

func (o FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutput() FlexibleDatabaseArrayOutput

func (FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutputWithContext

func (o FlexibleDatabaseArrayOutput) ToFlexibleDatabaseArrayOutputWithContext(ctx context.Context) FlexibleDatabaseArrayOutput

type FlexibleDatabaseInput

type FlexibleDatabaseInput interface {
	pulumi.Input

	ToFlexibleDatabaseOutput() FlexibleDatabaseOutput
	ToFlexibleDatabaseOutputWithContext(ctx context.Context) FlexibleDatabaseOutput
}

type FlexibleDatabaseMap

type FlexibleDatabaseMap map[string]FlexibleDatabaseInput

func (FlexibleDatabaseMap) ElementType

func (FlexibleDatabaseMap) ElementType() reflect.Type

func (FlexibleDatabaseMap) ToFlexibleDatabaseMapOutput

func (i FlexibleDatabaseMap) ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput

func (FlexibleDatabaseMap) ToFlexibleDatabaseMapOutputWithContext

func (i FlexibleDatabaseMap) ToFlexibleDatabaseMapOutputWithContext(ctx context.Context) FlexibleDatabaseMapOutput

type FlexibleDatabaseMapInput

type FlexibleDatabaseMapInput interface {
	pulumi.Input

	ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput
	ToFlexibleDatabaseMapOutputWithContext(context.Context) FlexibleDatabaseMapOutput
}

FlexibleDatabaseMapInput is an input type that accepts FlexibleDatabaseMap and FlexibleDatabaseMapOutput values. You can construct a concrete instance of `FlexibleDatabaseMapInput` via:

FlexibleDatabaseMap{ "key": FlexibleDatabaseArgs{...} }

type FlexibleDatabaseMapOutput

type FlexibleDatabaseMapOutput struct{ *pulumi.OutputState }

func (FlexibleDatabaseMapOutput) ElementType

func (FlexibleDatabaseMapOutput) ElementType() reflect.Type

func (FlexibleDatabaseMapOutput) MapIndex

func (FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutput

func (o FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutput() FlexibleDatabaseMapOutput

func (FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutputWithContext

func (o FlexibleDatabaseMapOutput) ToFlexibleDatabaseMapOutputWithContext(ctx context.Context) FlexibleDatabaseMapOutput

type FlexibleDatabaseOutput

type FlexibleDatabaseOutput struct{ *pulumi.OutputState }

func (FlexibleDatabaseOutput) Charset

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.

func (FlexibleDatabaseOutput) Collation

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.

func (FlexibleDatabaseOutput) ElementType

func (FlexibleDatabaseOutput) ElementType() reflect.Type

func (FlexibleDatabaseOutput) Name

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.

func (FlexibleDatabaseOutput) ResourceGroupName

func (o FlexibleDatabaseOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.

func (FlexibleDatabaseOutput) ServerName

Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.

func (FlexibleDatabaseOutput) ToFlexibleDatabaseOutput

func (o FlexibleDatabaseOutput) ToFlexibleDatabaseOutput() FlexibleDatabaseOutput

func (FlexibleDatabaseOutput) ToFlexibleDatabaseOutputWithContext

func (o FlexibleDatabaseOutput) ToFlexibleDatabaseOutputWithContext(ctx context.Context) FlexibleDatabaseOutput

type FlexibleDatabaseState

type FlexibleDatabaseState struct {
	// Specifies the Charset for the MySQL Database, which needs [to be a valid MySQL Charset](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html). Changing this forces a new resource to be created.
	Charset pulumi.StringPtrInput
	// Specifies the Collation for the MySQL Database, which needs [to be a valid MySQL Collation](https://dev.mysql.com/doc/refman/5.7/en/charset-mysql.html). Changing this forces a new resource to be created.
	Collation pulumi.StringPtrInput
	// Specifies the name of the MySQL Database, which needs [to be a valid MySQL identifier](https://dev.mysql.com/doc/refman/5.7/en/identifiers.html). Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MySQL Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
}

func (FlexibleDatabaseState) ElementType

func (FlexibleDatabaseState) ElementType() reflect.Type

type FlexibleServer

type FlexibleServer struct {
	pulumi.CustomResourceState

	// The Administrator login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created.
	AdministratorLogin pulumi.StringOutput `pulumi:"administratorLogin"`
	// The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`.
	AdministratorPassword pulumi.StringPtrOutput `pulumi:"administratorPassword"`
	// The backup retention days for the MySQL Flexible Server. Possible values are between `1` and `35` days. Defaults to `7`.
	BackupRetentionDays pulumi.IntPtrOutput `pulumi:"backupRetentionDays"`
	// The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.
	//
	// > **NOTE:** Creating a `GeoRestore` server requires the source server with `geoRedundantBackupEnabled` enabled.
	//
	// > **NOTE:** When a server is first created it may not be immediately available for `geo restore` or `replica`. It may take a few minutes to several hours for the necessary metadata to be populated. Please see the [Geo Restore](https://learn.microsoft.com/azure/mysql/single-server/how-to-restore-server-portal#geo-restore) and the [Replica](https://learn.microsoft.com/azure/mysql/flexible-server/concepts-read-replicas#create-a-replica) for more information.
	CreateMode pulumi.StringPtrOutput `pulumi:"createMode"`
	// A `customerManagedKey` block as defined below.
	//
	// > **NOTE:** `identity` is required when `customerManagedKey` is specified.
	CustomerManagedKey FlexibleServerCustomerManagedKeyPtrOutput `pulumi:"customerManagedKey"`
	// The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	DelegatedSubnetId pulumi.StringPtrOutput `pulumi:"delegatedSubnetId"`
	// The fully qualified domain name of the MySQL Flexible Server.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created.
	GeoRedundantBackupEnabled pulumi.BoolPtrOutput `pulumi:"geoRedundantBackupEnabled"`
	// A `highAvailability` block as defined below.
	HighAvailability FlexibleServerHighAvailabilityPtrOutput `pulumi:"highAvailability"`
	// An `identity` block as defined below.
	Identity FlexibleServerIdentityPtrOutput `pulumi:"identity"`
	// The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `maintenanceWindow` block as defined below.
	MaintenanceWindow FlexibleServerMaintenanceWindowPtrOutput `pulumi:"maintenanceWindow"`
	// The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created.
	PointInTimeRestoreTimeInUtc pulumi.StringPtrOutput `pulumi:"pointInTimeRestoreTimeInUtc"`
	// The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	//
	// > **NOTE:** The `privateDnsZoneId` is required when setting a `delegatedSubnetId`. The `privatedns.Zone` should end with suffix `.mysql.database.azure.com`.
	PrivateDnsZoneId pulumi.StringPtrOutput `pulumi:"privateDnsZoneId"`
	// Is the public network access enabled?
	PublicNetworkAccessEnabled pulumi.BoolOutput `pulumi:"publicNetworkAccessEnabled"`
	// The maximum number of replicas that a primary MySQL Flexible Server can have.
	ReplicaCapacity pulumi.IntOutput `pulumi:"replicaCapacity"`
	// The replication role. Possible value is `None`.
	//
	// > **NOTE:** The `replicationRole` cannot be set while creating and only can be updated from `Replica` to `None`.
	ReplicationRole pulumi.StringOutput `pulumi:"replicationRole"`
	// The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The SKU Name for the MySQL Flexible Server.
	//
	// > **NOTE:** `skuName` should start with SKU tier `B (Burstable)`, `GP (General Purpose)`, `MO (Memory Optimized)` like `B_Standard_B1s`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.
	SourceServerId pulumi.StringPtrOutput `pulumi:"sourceServerId"`
	// A `storage` block as defined below.
	Storage FlexibleServerStorageOutput `pulumi:"storage"`
	// A mapping of tags which should be assigned to the MySQL Flexible Server.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created.
	Version pulumi.StringOutput    `pulumi:"version"`
	Zone    pulumi.StringPtrOutput `pulumi:"zone"`
}

Manages a MySQL Flexible Server.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/privatedns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vn"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-sn"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
			ServiceEndpoints: pulumi.StringArray{
				pulumi.String("Microsoft.Storage"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("fs"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Name: pulumi.String("Microsoft.DBforMySQL/flexibleServers"),
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleZone, err := privatedns.NewZone(ctx, "example", &privatedns.ZoneArgs{
			Name:              pulumi.String("example.mysql.database.azure.com"),
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleZoneVirtualNetworkLink, err := privatedns.NewZoneVirtualNetworkLink(ctx, "example", &privatedns.ZoneVirtualNetworkLinkArgs{
			Name:               pulumi.String("exampleVnetZone.com"),
			PrivateDnsZoneName: exampleZone.Name,
			VirtualNetworkId:   exampleVirtualNetwork.ID(),
			ResourceGroupName:  example.Name,
		})
		if err != nil {
			return err
		}
		_, err = mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
			Name:                  pulumi.String("example-fs"),
			ResourceGroupName:     example.Name,
			Location:              example.Location,
			AdministratorLogin:    pulumi.String("psqladmin"),
			AdministratorPassword: pulumi.String("H@Sh1CoR3!"),
			BackupRetentionDays:   pulumi.Int(7),
			DelegatedSubnetId:     exampleSubnet.ID(),
			PrivateDnsZoneId:      exampleZone.ID(),
			SkuName:               pulumi.String("GP_Standard_D2ds_v4"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleZoneVirtualNetworkLink,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MySQL Flexible Servers can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:mysql/flexibleServer:FlexibleServer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1 ```

func GetFlexibleServer

func GetFlexibleServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleServerState, opts ...pulumi.ResourceOption) (*FlexibleServer, error)

GetFlexibleServer gets an existing FlexibleServer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlexibleServer

func NewFlexibleServer(ctx *pulumi.Context,
	name string, args *FlexibleServerArgs, opts ...pulumi.ResourceOption) (*FlexibleServer, error)

NewFlexibleServer registers a new resource with the given unique name, arguments, and options.

func (*FlexibleServer) ElementType

func (*FlexibleServer) ElementType() reflect.Type

func (*FlexibleServer) ToFlexibleServerOutput

func (i *FlexibleServer) ToFlexibleServerOutput() FlexibleServerOutput

func (*FlexibleServer) ToFlexibleServerOutputWithContext

func (i *FlexibleServer) ToFlexibleServerOutputWithContext(ctx context.Context) FlexibleServerOutput

type FlexibleServerActiveDirectoryAdministratory

type FlexibleServerActiveDirectoryAdministratory struct {
	pulumi.CustomResourceState

	IdentityId pulumi.StringOutput `pulumi:"identityId"`
	Login      pulumi.StringOutput `pulumi:"login"`
	ObjectId   pulumi.StringOutput `pulumi:"objectId"`
	ServerId   pulumi.StringOutput `pulumi:"serverId"`
	TenantId   pulumi.StringOutput `pulumi:"tenantId"`
}

func GetFlexibleServerActiveDirectoryAdministratory

func GetFlexibleServerActiveDirectoryAdministratory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleServerActiveDirectoryAdministratoryState, opts ...pulumi.ResourceOption) (*FlexibleServerActiveDirectoryAdministratory, error)

GetFlexibleServerActiveDirectoryAdministratory gets an existing FlexibleServerActiveDirectoryAdministratory 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 NewFlexibleServerActiveDirectoryAdministratory

func NewFlexibleServerActiveDirectoryAdministratory(ctx *pulumi.Context,
	name string, args *FlexibleServerActiveDirectoryAdministratoryArgs, opts ...pulumi.ResourceOption) (*FlexibleServerActiveDirectoryAdministratory, error)

NewFlexibleServerActiveDirectoryAdministratory registers a new resource with the given unique name, arguments, and options.

func (*FlexibleServerActiveDirectoryAdministratory) ElementType

func (*FlexibleServerActiveDirectoryAdministratory) ToFlexibleServerActiveDirectoryAdministratoryOutput

func (i *FlexibleServerActiveDirectoryAdministratory) ToFlexibleServerActiveDirectoryAdministratoryOutput() FlexibleServerActiveDirectoryAdministratoryOutput

func (*FlexibleServerActiveDirectoryAdministratory) ToFlexibleServerActiveDirectoryAdministratoryOutputWithContext

func (i *FlexibleServerActiveDirectoryAdministratory) ToFlexibleServerActiveDirectoryAdministratoryOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryOutput

type FlexibleServerActiveDirectoryAdministratoryArgs

type FlexibleServerActiveDirectoryAdministratoryArgs struct {
	IdentityId pulumi.StringInput
	Login      pulumi.StringInput
	ObjectId   pulumi.StringInput
	ServerId   pulumi.StringInput
	TenantId   pulumi.StringInput
}

The set of arguments for constructing a FlexibleServerActiveDirectoryAdministratory resource.

func (FlexibleServerActiveDirectoryAdministratoryArgs) ElementType

type FlexibleServerActiveDirectoryAdministratoryArray

type FlexibleServerActiveDirectoryAdministratoryArray []FlexibleServerActiveDirectoryAdministratoryInput

func (FlexibleServerActiveDirectoryAdministratoryArray) ElementType

func (FlexibleServerActiveDirectoryAdministratoryArray) ToFlexibleServerActiveDirectoryAdministratoryArrayOutput

func (i FlexibleServerActiveDirectoryAdministratoryArray) ToFlexibleServerActiveDirectoryAdministratoryArrayOutput() FlexibleServerActiveDirectoryAdministratoryArrayOutput

func (FlexibleServerActiveDirectoryAdministratoryArray) ToFlexibleServerActiveDirectoryAdministratoryArrayOutputWithContext

func (i FlexibleServerActiveDirectoryAdministratoryArray) ToFlexibleServerActiveDirectoryAdministratoryArrayOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryArrayOutput

type FlexibleServerActiveDirectoryAdministratoryArrayInput

type FlexibleServerActiveDirectoryAdministratoryArrayInput interface {
	pulumi.Input

	ToFlexibleServerActiveDirectoryAdministratoryArrayOutput() FlexibleServerActiveDirectoryAdministratoryArrayOutput
	ToFlexibleServerActiveDirectoryAdministratoryArrayOutputWithContext(context.Context) FlexibleServerActiveDirectoryAdministratoryArrayOutput
}

FlexibleServerActiveDirectoryAdministratoryArrayInput is an input type that accepts FlexibleServerActiveDirectoryAdministratoryArray and FlexibleServerActiveDirectoryAdministratoryArrayOutput values. You can construct a concrete instance of `FlexibleServerActiveDirectoryAdministratoryArrayInput` via:

FlexibleServerActiveDirectoryAdministratoryArray{ FlexibleServerActiveDirectoryAdministratoryArgs{...} }

type FlexibleServerActiveDirectoryAdministratoryArrayOutput

type FlexibleServerActiveDirectoryAdministratoryArrayOutput struct{ *pulumi.OutputState }

func (FlexibleServerActiveDirectoryAdministratoryArrayOutput) ElementType

func (FlexibleServerActiveDirectoryAdministratoryArrayOutput) Index

func (FlexibleServerActiveDirectoryAdministratoryArrayOutput) ToFlexibleServerActiveDirectoryAdministratoryArrayOutput

func (FlexibleServerActiveDirectoryAdministratoryArrayOutput) ToFlexibleServerActiveDirectoryAdministratoryArrayOutputWithContext

func (o FlexibleServerActiveDirectoryAdministratoryArrayOutput) ToFlexibleServerActiveDirectoryAdministratoryArrayOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryArrayOutput

type FlexibleServerActiveDirectoryAdministratoryInput

type FlexibleServerActiveDirectoryAdministratoryInput interface {
	pulumi.Input

	ToFlexibleServerActiveDirectoryAdministratoryOutput() FlexibleServerActiveDirectoryAdministratoryOutput
	ToFlexibleServerActiveDirectoryAdministratoryOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryOutput
}

type FlexibleServerActiveDirectoryAdministratoryMap

type FlexibleServerActiveDirectoryAdministratoryMap map[string]FlexibleServerActiveDirectoryAdministratoryInput

func (FlexibleServerActiveDirectoryAdministratoryMap) ElementType

func (FlexibleServerActiveDirectoryAdministratoryMap) ToFlexibleServerActiveDirectoryAdministratoryMapOutput

func (i FlexibleServerActiveDirectoryAdministratoryMap) ToFlexibleServerActiveDirectoryAdministratoryMapOutput() FlexibleServerActiveDirectoryAdministratoryMapOutput

func (FlexibleServerActiveDirectoryAdministratoryMap) ToFlexibleServerActiveDirectoryAdministratoryMapOutputWithContext

func (i FlexibleServerActiveDirectoryAdministratoryMap) ToFlexibleServerActiveDirectoryAdministratoryMapOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryMapOutput

type FlexibleServerActiveDirectoryAdministratoryMapInput

type FlexibleServerActiveDirectoryAdministratoryMapInput interface {
	pulumi.Input

	ToFlexibleServerActiveDirectoryAdministratoryMapOutput() FlexibleServerActiveDirectoryAdministratoryMapOutput
	ToFlexibleServerActiveDirectoryAdministratoryMapOutputWithContext(context.Context) FlexibleServerActiveDirectoryAdministratoryMapOutput
}

FlexibleServerActiveDirectoryAdministratoryMapInput is an input type that accepts FlexibleServerActiveDirectoryAdministratoryMap and FlexibleServerActiveDirectoryAdministratoryMapOutput values. You can construct a concrete instance of `FlexibleServerActiveDirectoryAdministratoryMapInput` via:

FlexibleServerActiveDirectoryAdministratoryMap{ "key": FlexibleServerActiveDirectoryAdministratoryArgs{...} }

type FlexibleServerActiveDirectoryAdministratoryMapOutput

type FlexibleServerActiveDirectoryAdministratoryMapOutput struct{ *pulumi.OutputState }

func (FlexibleServerActiveDirectoryAdministratoryMapOutput) ElementType

func (FlexibleServerActiveDirectoryAdministratoryMapOutput) MapIndex

func (FlexibleServerActiveDirectoryAdministratoryMapOutput) ToFlexibleServerActiveDirectoryAdministratoryMapOutput

func (FlexibleServerActiveDirectoryAdministratoryMapOutput) ToFlexibleServerActiveDirectoryAdministratoryMapOutputWithContext

func (o FlexibleServerActiveDirectoryAdministratoryMapOutput) ToFlexibleServerActiveDirectoryAdministratoryMapOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryMapOutput

type FlexibleServerActiveDirectoryAdministratoryOutput

type FlexibleServerActiveDirectoryAdministratoryOutput struct{ *pulumi.OutputState }

func (FlexibleServerActiveDirectoryAdministratoryOutput) ElementType

func (FlexibleServerActiveDirectoryAdministratoryOutput) IdentityId

func (FlexibleServerActiveDirectoryAdministratoryOutput) Login

func (FlexibleServerActiveDirectoryAdministratoryOutput) ObjectId

func (FlexibleServerActiveDirectoryAdministratoryOutput) ServerId

func (FlexibleServerActiveDirectoryAdministratoryOutput) TenantId

func (FlexibleServerActiveDirectoryAdministratoryOutput) ToFlexibleServerActiveDirectoryAdministratoryOutput

func (o FlexibleServerActiveDirectoryAdministratoryOutput) ToFlexibleServerActiveDirectoryAdministratoryOutput() FlexibleServerActiveDirectoryAdministratoryOutput

func (FlexibleServerActiveDirectoryAdministratoryOutput) ToFlexibleServerActiveDirectoryAdministratoryOutputWithContext

func (o FlexibleServerActiveDirectoryAdministratoryOutput) ToFlexibleServerActiveDirectoryAdministratoryOutputWithContext(ctx context.Context) FlexibleServerActiveDirectoryAdministratoryOutput

type FlexibleServerActiveDirectoryAdministratoryState

type FlexibleServerActiveDirectoryAdministratoryState struct {
	IdentityId pulumi.StringPtrInput
	Login      pulumi.StringPtrInput
	ObjectId   pulumi.StringPtrInput
	ServerId   pulumi.StringPtrInput
	TenantId   pulumi.StringPtrInput
}

func (FlexibleServerActiveDirectoryAdministratoryState) ElementType

type FlexibleServerArgs

type FlexibleServerArgs struct {
	// The Administrator login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created.
	AdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`.
	AdministratorPassword pulumi.StringPtrInput
	// The backup retention days for the MySQL Flexible Server. Possible values are between `1` and `35` days. Defaults to `7`.
	BackupRetentionDays pulumi.IntPtrInput
	// The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.
	//
	// > **NOTE:** Creating a `GeoRestore` server requires the source server with `geoRedundantBackupEnabled` enabled.
	//
	// > **NOTE:** When a server is first created it may not be immediately available for `geo restore` or `replica`. It may take a few minutes to several hours for the necessary metadata to be populated. Please see the [Geo Restore](https://learn.microsoft.com/azure/mysql/single-server/how-to-restore-server-portal#geo-restore) and the [Replica](https://learn.microsoft.com/azure/mysql/flexible-server/concepts-read-replicas#create-a-replica) for more information.
	CreateMode pulumi.StringPtrInput
	// A `customerManagedKey` block as defined below.
	//
	// > **NOTE:** `identity` is required when `customerManagedKey` is specified.
	CustomerManagedKey FlexibleServerCustomerManagedKeyPtrInput
	// The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	DelegatedSubnetId pulumi.StringPtrInput
	// Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created.
	GeoRedundantBackupEnabled pulumi.BoolPtrInput
	// A `highAvailability` block as defined below.
	HighAvailability FlexibleServerHighAvailabilityPtrInput
	// An `identity` block as defined below.
	Identity FlexibleServerIdentityPtrInput
	// The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	Location pulumi.StringPtrInput
	// A `maintenanceWindow` block as defined below.
	MaintenanceWindow FlexibleServerMaintenanceWindowPtrInput
	// The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	Name pulumi.StringPtrInput
	// The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created.
	PointInTimeRestoreTimeInUtc pulumi.StringPtrInput
	// The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	//
	// > **NOTE:** The `privateDnsZoneId` is required when setting a `delegatedSubnetId`. The `privatedns.Zone` should end with suffix `.mysql.database.azure.com`.
	PrivateDnsZoneId pulumi.StringPtrInput
	// The replication role. Possible value is `None`.
	//
	// > **NOTE:** The `replicationRole` cannot be set while creating and only can be updated from `Replica` to `None`.
	ReplicationRole pulumi.StringPtrInput
	// The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	ResourceGroupName pulumi.StringInput
	// The SKU Name for the MySQL Flexible Server.
	//
	// > **NOTE:** `skuName` should start with SKU tier `B (Burstable)`, `GP (General Purpose)`, `MO (Memory Optimized)` like `B_Standard_B1s`.
	SkuName pulumi.StringPtrInput
	// The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.
	SourceServerId pulumi.StringPtrInput
	// A `storage` block as defined below.
	Storage FlexibleServerStoragePtrInput
	// A mapping of tags which should be assigned to the MySQL Flexible Server.
	Tags pulumi.StringMapInput
	// The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created.
	Version pulumi.StringPtrInput
	Zone    pulumi.StringPtrInput
}

The set of arguments for constructing a FlexibleServer resource.

func (FlexibleServerArgs) ElementType

func (FlexibleServerArgs) ElementType() reflect.Type

type FlexibleServerArray

type FlexibleServerArray []FlexibleServerInput

func (FlexibleServerArray) ElementType

func (FlexibleServerArray) ElementType() reflect.Type

func (FlexibleServerArray) ToFlexibleServerArrayOutput

func (i FlexibleServerArray) ToFlexibleServerArrayOutput() FlexibleServerArrayOutput

func (FlexibleServerArray) ToFlexibleServerArrayOutputWithContext

func (i FlexibleServerArray) ToFlexibleServerArrayOutputWithContext(ctx context.Context) FlexibleServerArrayOutput

type FlexibleServerArrayInput

type FlexibleServerArrayInput interface {
	pulumi.Input

	ToFlexibleServerArrayOutput() FlexibleServerArrayOutput
	ToFlexibleServerArrayOutputWithContext(context.Context) FlexibleServerArrayOutput
}

FlexibleServerArrayInput is an input type that accepts FlexibleServerArray and FlexibleServerArrayOutput values. You can construct a concrete instance of `FlexibleServerArrayInput` via:

FlexibleServerArray{ FlexibleServerArgs{...} }

type FlexibleServerArrayOutput

type FlexibleServerArrayOutput struct{ *pulumi.OutputState }

func (FlexibleServerArrayOutput) ElementType

func (FlexibleServerArrayOutput) ElementType() reflect.Type

func (FlexibleServerArrayOutput) Index

func (FlexibleServerArrayOutput) ToFlexibleServerArrayOutput

func (o FlexibleServerArrayOutput) ToFlexibleServerArrayOutput() FlexibleServerArrayOutput

func (FlexibleServerArrayOutput) ToFlexibleServerArrayOutputWithContext

func (o FlexibleServerArrayOutput) ToFlexibleServerArrayOutputWithContext(ctx context.Context) FlexibleServerArrayOutput

type FlexibleServerConfiguration

type FlexibleServerConfiguration struct {
	pulumi.CustomResourceState

	// Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
	// Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.
	Value pulumi.StringOutput `pulumi:"value"`
}

Sets a MySQL Flexible Server Configuration value on a MySQL Flexible Server.

## Disclaimers

> **Note:** Since this resource is provisioned by default, the Azure Provider will not check for the presence of an existing resource prior to attempting to create it.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
			Name:                  pulumi.String("example-fs"),
			ResourceGroupName:     example.Name,
			Location:              example.Location,
			AdministratorLogin:    pulumi.String("adminTerraform"),
			AdministratorPassword: pulumi.String("H@Sh1CoR3!"),
			SkuName:               pulumi.String("GP_Standard_D2ds_v4"),
		})
		if err != nil {
			return err
		}
		_, err = mysql.NewFlexibleServerConfiguration(ctx, "example", &mysql.FlexibleServerConfigurationArgs{
			Name:              pulumi.String("interactive_timeout"),
			ResourceGroupName: example.Name,
			ServerName:        exampleFlexibleServer.Name,
			Value:             pulumi.String("600"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MySQL Flexible Server Configurations can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:mysql/flexibleServerConfiguration:FlexibleServerConfiguration interactive_timeout /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1/configurations/interactive_timeout ```

func GetFlexibleServerConfiguration

func GetFlexibleServerConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleServerConfigurationState, opts ...pulumi.ResourceOption) (*FlexibleServerConfiguration, error)

GetFlexibleServerConfiguration gets an existing FlexibleServerConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlexibleServerConfiguration

func NewFlexibleServerConfiguration(ctx *pulumi.Context,
	name string, args *FlexibleServerConfigurationArgs, opts ...pulumi.ResourceOption) (*FlexibleServerConfiguration, error)

NewFlexibleServerConfiguration registers a new resource with the given unique name, arguments, and options.

func (*FlexibleServerConfiguration) ElementType

func (*FlexibleServerConfiguration) ElementType() reflect.Type

func (*FlexibleServerConfiguration) ToFlexibleServerConfigurationOutput

func (i *FlexibleServerConfiguration) ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput

func (*FlexibleServerConfiguration) ToFlexibleServerConfigurationOutputWithContext

func (i *FlexibleServerConfiguration) ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput

type FlexibleServerConfigurationArgs

type FlexibleServerConfigurationArgs struct {
	// Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
	// Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.
	Value pulumi.StringInput
}

The set of arguments for constructing a FlexibleServerConfiguration resource.

func (FlexibleServerConfigurationArgs) ElementType

type FlexibleServerConfigurationArray

type FlexibleServerConfigurationArray []FlexibleServerConfigurationInput

func (FlexibleServerConfigurationArray) ElementType

func (FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutput

func (i FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput

func (FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutputWithContext

func (i FlexibleServerConfigurationArray) ToFlexibleServerConfigurationArrayOutputWithContext(ctx context.Context) FlexibleServerConfigurationArrayOutput

type FlexibleServerConfigurationArrayInput

type FlexibleServerConfigurationArrayInput interface {
	pulumi.Input

	ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput
	ToFlexibleServerConfigurationArrayOutputWithContext(context.Context) FlexibleServerConfigurationArrayOutput
}

FlexibleServerConfigurationArrayInput is an input type that accepts FlexibleServerConfigurationArray and FlexibleServerConfigurationArrayOutput values. You can construct a concrete instance of `FlexibleServerConfigurationArrayInput` via:

FlexibleServerConfigurationArray{ FlexibleServerConfigurationArgs{...} }

type FlexibleServerConfigurationArrayOutput

type FlexibleServerConfigurationArrayOutput struct{ *pulumi.OutputState }

func (FlexibleServerConfigurationArrayOutput) ElementType

func (FlexibleServerConfigurationArrayOutput) Index

func (FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutput

func (o FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutput() FlexibleServerConfigurationArrayOutput

func (FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutputWithContext

func (o FlexibleServerConfigurationArrayOutput) ToFlexibleServerConfigurationArrayOutputWithContext(ctx context.Context) FlexibleServerConfigurationArrayOutput

type FlexibleServerConfigurationInput

type FlexibleServerConfigurationInput interface {
	pulumi.Input

	ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput
	ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput
}

type FlexibleServerConfigurationMap

type FlexibleServerConfigurationMap map[string]FlexibleServerConfigurationInput

func (FlexibleServerConfigurationMap) ElementType

func (FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutput

func (i FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput

func (FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutputWithContext

func (i FlexibleServerConfigurationMap) ToFlexibleServerConfigurationMapOutputWithContext(ctx context.Context) FlexibleServerConfigurationMapOutput

type FlexibleServerConfigurationMapInput

type FlexibleServerConfigurationMapInput interface {
	pulumi.Input

	ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput
	ToFlexibleServerConfigurationMapOutputWithContext(context.Context) FlexibleServerConfigurationMapOutput
}

FlexibleServerConfigurationMapInput is an input type that accepts FlexibleServerConfigurationMap and FlexibleServerConfigurationMapOutput values. You can construct a concrete instance of `FlexibleServerConfigurationMapInput` via:

FlexibleServerConfigurationMap{ "key": FlexibleServerConfigurationArgs{...} }

type FlexibleServerConfigurationMapOutput

type FlexibleServerConfigurationMapOutput struct{ *pulumi.OutputState }

func (FlexibleServerConfigurationMapOutput) ElementType

func (FlexibleServerConfigurationMapOutput) MapIndex

func (FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutput

func (o FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutput() FlexibleServerConfigurationMapOutput

func (FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutputWithContext

func (o FlexibleServerConfigurationMapOutput) ToFlexibleServerConfigurationMapOutputWithContext(ctx context.Context) FlexibleServerConfigurationMapOutput

type FlexibleServerConfigurationOutput

type FlexibleServerConfigurationOutput struct{ *pulumi.OutputState }

func (FlexibleServerConfigurationOutput) ElementType

func (FlexibleServerConfigurationOutput) Name

Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.

func (FlexibleServerConfigurationOutput) ResourceGroupName

The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.

func (FlexibleServerConfigurationOutput) ServerName

Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.

func (FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutput

func (o FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutput() FlexibleServerConfigurationOutput

func (FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutputWithContext

func (o FlexibleServerConfigurationOutput) ToFlexibleServerConfigurationOutputWithContext(ctx context.Context) FlexibleServerConfigurationOutput

func (FlexibleServerConfigurationOutput) Value

Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.

type FlexibleServerConfigurationState

type FlexibleServerConfigurationState struct {
	// Specifies the name of the MySQL Flexible Server Configuration, which needs [to be a valid MySQL configuration name](https://dev.mysql.com/doc/refman/5.7/en/server-configuration.html). Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
	// Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values.
	Value pulumi.StringPtrInput
}

func (FlexibleServerConfigurationState) ElementType

type FlexibleServerCustomerManagedKey

type FlexibleServerCustomerManagedKey struct {
	// The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.
	GeoBackupKeyVaultKeyId *string `pulumi:"geoBackupKeyVaultKeyId"`
	// The geo backup user managed identity id for a Customer Managed Key. Should be added with `identityIds`. It can't cross region and need identity in same region as geo backup.
	//
	// > **NOTE:** `primaryUserAssignedIdentityId` or `geoBackupUserAssignedIdentityId` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	GeoBackupUserAssignedIdentityId *string `pulumi:"geoBackupUserAssignedIdentityId"`
	// The ID of the Key Vault Key.
	KeyVaultKeyId *string `pulumi:"keyVaultKeyId"`
	// Specifies the primary user managed identity id for a Customer Managed Key. Should be added with `identityIds`.
	PrimaryUserAssignedIdentityId *string `pulumi:"primaryUserAssignedIdentityId"`
}

type FlexibleServerCustomerManagedKeyArgs

type FlexibleServerCustomerManagedKeyArgs struct {
	// The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.
	GeoBackupKeyVaultKeyId pulumi.StringPtrInput `pulumi:"geoBackupKeyVaultKeyId"`
	// The geo backup user managed identity id for a Customer Managed Key. Should be added with `identityIds`. It can't cross region and need identity in same region as geo backup.
	//
	// > **NOTE:** `primaryUserAssignedIdentityId` or `geoBackupUserAssignedIdentityId` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	GeoBackupUserAssignedIdentityId pulumi.StringPtrInput `pulumi:"geoBackupUserAssignedIdentityId"`
	// The ID of the Key Vault Key.
	KeyVaultKeyId pulumi.StringPtrInput `pulumi:"keyVaultKeyId"`
	// Specifies the primary user managed identity id for a Customer Managed Key. Should be added with `identityIds`.
	PrimaryUserAssignedIdentityId pulumi.StringPtrInput `pulumi:"primaryUserAssignedIdentityId"`
}

func (FlexibleServerCustomerManagedKeyArgs) ElementType

func (FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyOutput

func (i FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyOutput() FlexibleServerCustomerManagedKeyOutput

func (FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyOutputWithContext

func (i FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyOutputWithContext(ctx context.Context) FlexibleServerCustomerManagedKeyOutput

func (FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyPtrOutput

func (i FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyPtrOutput() FlexibleServerCustomerManagedKeyPtrOutput

func (FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyPtrOutputWithContext

func (i FlexibleServerCustomerManagedKeyArgs) ToFlexibleServerCustomerManagedKeyPtrOutputWithContext(ctx context.Context) FlexibleServerCustomerManagedKeyPtrOutput

type FlexibleServerCustomerManagedKeyInput

type FlexibleServerCustomerManagedKeyInput interface {
	pulumi.Input

	ToFlexibleServerCustomerManagedKeyOutput() FlexibleServerCustomerManagedKeyOutput
	ToFlexibleServerCustomerManagedKeyOutputWithContext(context.Context) FlexibleServerCustomerManagedKeyOutput
}

FlexibleServerCustomerManagedKeyInput is an input type that accepts FlexibleServerCustomerManagedKeyArgs and FlexibleServerCustomerManagedKeyOutput values. You can construct a concrete instance of `FlexibleServerCustomerManagedKeyInput` via:

FlexibleServerCustomerManagedKeyArgs{...}

type FlexibleServerCustomerManagedKeyOutput

type FlexibleServerCustomerManagedKeyOutput struct{ *pulumi.OutputState }

func (FlexibleServerCustomerManagedKeyOutput) ElementType

func (FlexibleServerCustomerManagedKeyOutput) GeoBackupKeyVaultKeyId

The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.

func (FlexibleServerCustomerManagedKeyOutput) GeoBackupUserAssignedIdentityId

func (o FlexibleServerCustomerManagedKeyOutput) GeoBackupUserAssignedIdentityId() pulumi.StringPtrOutput

The geo backup user managed identity id for a Customer Managed Key. Should be added with `identityIds`. It can't cross region and need identity in same region as geo backup.

> **NOTE:** `primaryUserAssignedIdentityId` or `geoBackupUserAssignedIdentityId` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (FlexibleServerCustomerManagedKeyOutput) KeyVaultKeyId

The ID of the Key Vault Key.

func (FlexibleServerCustomerManagedKeyOutput) PrimaryUserAssignedIdentityId

func (o FlexibleServerCustomerManagedKeyOutput) PrimaryUserAssignedIdentityId() pulumi.StringPtrOutput

Specifies the primary user managed identity id for a Customer Managed Key. Should be added with `identityIds`.

func (FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyOutput

func (o FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyOutput() FlexibleServerCustomerManagedKeyOutput

func (FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyOutputWithContext

func (o FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyOutputWithContext(ctx context.Context) FlexibleServerCustomerManagedKeyOutput

func (FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyPtrOutput

func (o FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyPtrOutput() FlexibleServerCustomerManagedKeyPtrOutput

func (FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyPtrOutputWithContext

func (o FlexibleServerCustomerManagedKeyOutput) ToFlexibleServerCustomerManagedKeyPtrOutputWithContext(ctx context.Context) FlexibleServerCustomerManagedKeyPtrOutput

type FlexibleServerCustomerManagedKeyPtrInput

type FlexibleServerCustomerManagedKeyPtrInput interface {
	pulumi.Input

	ToFlexibleServerCustomerManagedKeyPtrOutput() FlexibleServerCustomerManagedKeyPtrOutput
	ToFlexibleServerCustomerManagedKeyPtrOutputWithContext(context.Context) FlexibleServerCustomerManagedKeyPtrOutput
}

FlexibleServerCustomerManagedKeyPtrInput is an input type that accepts FlexibleServerCustomerManagedKeyArgs, FlexibleServerCustomerManagedKeyPtr and FlexibleServerCustomerManagedKeyPtrOutput values. You can construct a concrete instance of `FlexibleServerCustomerManagedKeyPtrInput` via:

        FlexibleServerCustomerManagedKeyArgs{...}

or:

        nil

type FlexibleServerCustomerManagedKeyPtrOutput

type FlexibleServerCustomerManagedKeyPtrOutput struct{ *pulumi.OutputState }

func (FlexibleServerCustomerManagedKeyPtrOutput) Elem

func (FlexibleServerCustomerManagedKeyPtrOutput) ElementType

func (FlexibleServerCustomerManagedKeyPtrOutput) GeoBackupKeyVaultKeyId

The ID of the geo backup Key Vault Key. It can't cross region and need Customer Managed Key in same region as geo backup.

func (FlexibleServerCustomerManagedKeyPtrOutput) GeoBackupUserAssignedIdentityId

func (o FlexibleServerCustomerManagedKeyPtrOutput) GeoBackupUserAssignedIdentityId() pulumi.StringPtrOutput

The geo backup user managed identity id for a Customer Managed Key. Should be added with `identityIds`. It can't cross region and need identity in same region as geo backup.

> **NOTE:** `primaryUserAssignedIdentityId` or `geoBackupUserAssignedIdentityId` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (FlexibleServerCustomerManagedKeyPtrOutput) KeyVaultKeyId

The ID of the Key Vault Key.

func (FlexibleServerCustomerManagedKeyPtrOutput) PrimaryUserAssignedIdentityId

func (o FlexibleServerCustomerManagedKeyPtrOutput) PrimaryUserAssignedIdentityId() pulumi.StringPtrOutput

Specifies the primary user managed identity id for a Customer Managed Key. Should be added with `identityIds`.

func (FlexibleServerCustomerManagedKeyPtrOutput) ToFlexibleServerCustomerManagedKeyPtrOutput

func (o FlexibleServerCustomerManagedKeyPtrOutput) ToFlexibleServerCustomerManagedKeyPtrOutput() FlexibleServerCustomerManagedKeyPtrOutput

func (FlexibleServerCustomerManagedKeyPtrOutput) ToFlexibleServerCustomerManagedKeyPtrOutputWithContext

func (o FlexibleServerCustomerManagedKeyPtrOutput) ToFlexibleServerCustomerManagedKeyPtrOutputWithContext(ctx context.Context) FlexibleServerCustomerManagedKeyPtrOutput

type FlexibleServerFirewallRule

type FlexibleServerFirewallRule struct {
	pulumi.CustomResourceState

	// Specifies the End IP Address associated with this Firewall Rule.
	//
	// > **NOTE:** The Azure feature `Allow access to Azure services` can be enabled by setting `startIpAddress` and `endIpAddress` to `0.0.0.0` which ([is documented in the Azure API Docs](https://docs.microsoft.com/rest/api/sql/firewallrules/createorupdate)).
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringOutput `pulumi:"serverName"`
	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
}

Manages a Firewall Rule for a MySQL Flexible Server.

## Example Usage

### Single IP Address)

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("api-rg-pro"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		_, err = mysql.NewFlexibleServerFirewallRule(ctx, "example", &mysql.FlexibleServerFirewallRuleArgs{
			Name:              pulumi.String("office"),
			ResourceGroupName: example.Name,
			ServerName:        exampleFlexibleServer.Name,
			StartIpAddress:    pulumi.String("40.112.8.12"),
			EndIpAddress:      pulumi.String("40.112.8.12"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### IP Range)

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("api-rg-pro"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		_, err = mysql.NewFlexibleServerFirewallRule(ctx, "example", &mysql.FlexibleServerFirewallRuleArgs{
			Name:              pulumi.String("office"),
			ResourceGroupName: example.Name,
			ServerName:        exampleFlexibleServer.Name,
			StartIpAddress:    pulumi.String("40.112.0.0"),
			EndIpAddress:      pulumi.String("40.112.255.255"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Allow Access To Azure Services)

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("api-rg-pro"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFlexibleServer, err := mysql.NewFlexibleServer(ctx, "example", &mysql.FlexibleServerArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		_, err = mysql.NewFlexibleServerFirewallRule(ctx, "example", &mysql.FlexibleServerFirewallRuleArgs{
			Name:              pulumi.String("office"),
			ResourceGroupName: example.Name,
			ServerName:        exampleFlexibleServer.Name,
			StartIpAddress:    pulumi.String("0.0.0.0"),
			EndIpAddress:      pulumi.String("0.0.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MySQL Firewall Rule's can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:mysql/flexibleServerFirewallRule:FlexibleServerFirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DBforMySQL/flexibleServers/flexibleServer1/firewallRules/firewallRule1 ```

func GetFlexibleServerFirewallRule

func GetFlexibleServerFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlexibleServerFirewallRuleState, opts ...pulumi.ResourceOption) (*FlexibleServerFirewallRule, error)

GetFlexibleServerFirewallRule gets an existing FlexibleServerFirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlexibleServerFirewallRule

func NewFlexibleServerFirewallRule(ctx *pulumi.Context,
	name string, args *FlexibleServerFirewallRuleArgs, opts ...pulumi.ResourceOption) (*FlexibleServerFirewallRule, error)

NewFlexibleServerFirewallRule registers a new resource with the given unique name, arguments, and options.

func (*FlexibleServerFirewallRule) ElementType

func (*FlexibleServerFirewallRule) ElementType() reflect.Type

func (*FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutput

func (i *FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput

func (*FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutputWithContext

func (i *FlexibleServerFirewallRule) ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput

type FlexibleServerFirewallRuleArgs

type FlexibleServerFirewallRuleArgs struct {
	// Specifies the End IP Address associated with this Firewall Rule.
	//
	// > **NOTE:** The Azure feature `Allow access to Azure services` can be enabled by setting `startIpAddress` and `endIpAddress` to `0.0.0.0` which ([is documented in the Azure API Docs](https://docs.microsoft.com/rest/api/sql/firewallrules/createorupdate)).
	EndIpAddress pulumi.StringInput
	// Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringInput
	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a FlexibleServerFirewallRule resource.

func (FlexibleServerFirewallRuleArgs) ElementType

type FlexibleServerFirewallRuleArray

type FlexibleServerFirewallRuleArray []FlexibleServerFirewallRuleInput

func (FlexibleServerFirewallRuleArray) ElementType

func (FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutput

func (i FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput

func (FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutputWithContext

func (i FlexibleServerFirewallRuleArray) ToFlexibleServerFirewallRuleArrayOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleArrayOutput

type FlexibleServerFirewallRuleArrayInput

type FlexibleServerFirewallRuleArrayInput interface {
	pulumi.Input

	ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput
	ToFlexibleServerFirewallRuleArrayOutputWithContext(context.Context) FlexibleServerFirewallRuleArrayOutput
}

FlexibleServerFirewallRuleArrayInput is an input type that accepts FlexibleServerFirewallRuleArray and FlexibleServerFirewallRuleArrayOutput values. You can construct a concrete instance of `FlexibleServerFirewallRuleArrayInput` via:

FlexibleServerFirewallRuleArray{ FlexibleServerFirewallRuleArgs{...} }

type FlexibleServerFirewallRuleArrayOutput

type FlexibleServerFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (FlexibleServerFirewallRuleArrayOutput) ElementType

func (FlexibleServerFirewallRuleArrayOutput) Index

func (FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutput

func (o FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutput() FlexibleServerFirewallRuleArrayOutput

func (FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutputWithContext

func (o FlexibleServerFirewallRuleArrayOutput) ToFlexibleServerFirewallRuleArrayOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleArrayOutput

type FlexibleServerFirewallRuleInput

type FlexibleServerFirewallRuleInput interface {
	pulumi.Input

	ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput
	ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput
}

type FlexibleServerFirewallRuleMap

type FlexibleServerFirewallRuleMap map[string]FlexibleServerFirewallRuleInput

func (FlexibleServerFirewallRuleMap) ElementType

func (FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutput

func (i FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput

func (FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutputWithContext

func (i FlexibleServerFirewallRuleMap) ToFlexibleServerFirewallRuleMapOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleMapOutput

type FlexibleServerFirewallRuleMapInput

type FlexibleServerFirewallRuleMapInput interface {
	pulumi.Input

	ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput
	ToFlexibleServerFirewallRuleMapOutputWithContext(context.Context) FlexibleServerFirewallRuleMapOutput
}

FlexibleServerFirewallRuleMapInput is an input type that accepts FlexibleServerFirewallRuleMap and FlexibleServerFirewallRuleMapOutput values. You can construct a concrete instance of `FlexibleServerFirewallRuleMapInput` via:

FlexibleServerFirewallRuleMap{ "key": FlexibleServerFirewallRuleArgs{...} }

type FlexibleServerFirewallRuleMapOutput

type FlexibleServerFirewallRuleMapOutput struct{ *pulumi.OutputState }

func (FlexibleServerFirewallRuleMapOutput) ElementType

func (FlexibleServerFirewallRuleMapOutput) MapIndex

func (FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutput

func (o FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutput() FlexibleServerFirewallRuleMapOutput

func (FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutputWithContext

func (o FlexibleServerFirewallRuleMapOutput) ToFlexibleServerFirewallRuleMapOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleMapOutput

type FlexibleServerFirewallRuleOutput

type FlexibleServerFirewallRuleOutput struct{ *pulumi.OutputState }

func (FlexibleServerFirewallRuleOutput) ElementType

func (FlexibleServerFirewallRuleOutput) EndIpAddress

Specifies the End IP Address associated with this Firewall Rule.

> **NOTE:** The Azure feature `Allow access to Azure services` can be enabled by setting `startIpAddress` and `endIpAddress` to `0.0.0.0` which ([is documented in the Azure API Docs](https://docs.microsoft.com/rest/api/sql/firewallrules/createorupdate)).

func (FlexibleServerFirewallRuleOutput) Name

Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created.

func (FlexibleServerFirewallRuleOutput) ResourceGroupName

The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.

func (FlexibleServerFirewallRuleOutput) ServerName

Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.

func (FlexibleServerFirewallRuleOutput) StartIpAddress

Specifies the Start IP Address associated with this Firewall Rule.

func (FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutput

func (o FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutput() FlexibleServerFirewallRuleOutput

func (FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutputWithContext

func (o FlexibleServerFirewallRuleOutput) ToFlexibleServerFirewallRuleOutputWithContext(ctx context.Context) FlexibleServerFirewallRuleOutput

type FlexibleServerFirewallRuleState

type FlexibleServerFirewallRuleState struct {
	// Specifies the End IP Address associated with this Firewall Rule.
	//
	// > **NOTE:** The Azure feature `Allow access to Azure services` can be enabled by setting `startIpAddress` and `endIpAddress` to `0.0.0.0` which ([is documented in the Azure API Docs](https://docs.microsoft.com/rest/api/sql/firewallrules/createorupdate)).
	EndIpAddress pulumi.StringPtrInput
	// Specifies the name of the MySQL Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the MySQL Flexible Server exists. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the MySQL Flexible Server. Changing this forces a new resource to be created.
	ServerName pulumi.StringPtrInput
	// Specifies the Start IP Address associated with this Firewall Rule.
	StartIpAddress pulumi.StringPtrInput
}

func (FlexibleServerFirewallRuleState) ElementType

type FlexibleServerHighAvailability

type FlexibleServerHighAvailability struct {
	// The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
	//
	// > **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `highAvailability` is enabled. To change the `highAvailability` for a MySQL Flexible Server created with `highAvailability` disabled during creation, the resource has to be recreated.
	Mode                    string  `pulumi:"mode"`
	StandbyAvailabilityZone *string `pulumi:"standbyAvailabilityZone"`
}

type FlexibleServerHighAvailabilityArgs

type FlexibleServerHighAvailabilityArgs struct {
	// The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.
	//
	// > **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `highAvailability` is enabled. To change the `highAvailability` for a MySQL Flexible Server created with `highAvailability` disabled during creation, the resource has to be recreated.
	Mode                    pulumi.StringInput    `pulumi:"mode"`
	StandbyAvailabilityZone pulumi.StringPtrInput `pulumi:"standbyAvailabilityZone"`
}

func (FlexibleServerHighAvailabilityArgs) ElementType

func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutput

func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput

func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutputWithContext

func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityOutput

func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutput

func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput

func (FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutputWithContext

func (i FlexibleServerHighAvailabilityArgs) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput

type FlexibleServerHighAvailabilityInput

type FlexibleServerHighAvailabilityInput interface {
	pulumi.Input

	ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput
	ToFlexibleServerHighAvailabilityOutputWithContext(context.Context) FlexibleServerHighAvailabilityOutput
}

FlexibleServerHighAvailabilityInput is an input type that accepts FlexibleServerHighAvailabilityArgs and FlexibleServerHighAvailabilityOutput values. You can construct a concrete instance of `FlexibleServerHighAvailabilityInput` via:

FlexibleServerHighAvailabilityArgs{...}

type FlexibleServerHighAvailabilityOutput

type FlexibleServerHighAvailabilityOutput struct{ *pulumi.OutputState }

func (FlexibleServerHighAvailabilityOutput) ElementType

func (FlexibleServerHighAvailabilityOutput) Mode

The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.

> **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `highAvailability` is enabled. To change the `highAvailability` for a MySQL Flexible Server created with `highAvailability` disabled during creation, the resource has to be recreated.

func (FlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone

func (o FlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringPtrOutput

func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutput

func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutput() FlexibleServerHighAvailabilityOutput

func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutputWithContext

func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityOutput

func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutput

func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput

func (FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext

func (o FlexibleServerHighAvailabilityOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput

type FlexibleServerHighAvailabilityPtrInput

type FlexibleServerHighAvailabilityPtrInput interface {
	pulumi.Input

	ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput
	ToFlexibleServerHighAvailabilityPtrOutputWithContext(context.Context) FlexibleServerHighAvailabilityPtrOutput
}

FlexibleServerHighAvailabilityPtrInput is an input type that accepts FlexibleServerHighAvailabilityArgs, FlexibleServerHighAvailabilityPtr and FlexibleServerHighAvailabilityPtrOutput values. You can construct a concrete instance of `FlexibleServerHighAvailabilityPtrInput` via:

        FlexibleServerHighAvailabilityArgs{...}

or:

        nil

type FlexibleServerHighAvailabilityPtrOutput

type FlexibleServerHighAvailabilityPtrOutput struct{ *pulumi.OutputState }

func (FlexibleServerHighAvailabilityPtrOutput) Elem

func (FlexibleServerHighAvailabilityPtrOutput) ElementType

func (FlexibleServerHighAvailabilityPtrOutput) Mode

The high availability mode for the MySQL Flexible Server. Possibles values are `SameZone` and `ZoneRedundant`.

> **NOTE:** `storage[0].auto_grow_enabled` must be enabled when `highAvailability` is enabled. To change the `highAvailability` for a MySQL Flexible Server created with `highAvailability` disabled during creation, the resource has to be recreated.

func (FlexibleServerHighAvailabilityPtrOutput) StandbyAvailabilityZone

func (FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutput

func (o FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutput() FlexibleServerHighAvailabilityPtrOutput

func (FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext

func (o FlexibleServerHighAvailabilityPtrOutput) ToFlexibleServerHighAvailabilityPtrOutputWithContext(ctx context.Context) FlexibleServerHighAvailabilityPtrOutput

type FlexibleServerIdentity

type FlexibleServerIdentity struct {
	// A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
	IdentityIds []string `pulumi:"identityIds"`
	// Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is `UserAssigned`.
	Type string `pulumi:"type"`
}

type FlexibleServerIdentityArgs

type FlexibleServerIdentityArgs struct {
	// A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is `UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FlexibleServerIdentityArgs) ElementType

func (FlexibleServerIdentityArgs) ElementType() reflect.Type

func (FlexibleServerIdentityArgs) ToFlexibleServerIdentityOutput

func (i FlexibleServerIdentityArgs) ToFlexibleServerIdentityOutput() FlexibleServerIdentityOutput

func (FlexibleServerIdentityArgs) ToFlexibleServerIdentityOutputWithContext

func (i FlexibleServerIdentityArgs) ToFlexibleServerIdentityOutputWithContext(ctx context.Context) FlexibleServerIdentityOutput

func (FlexibleServerIdentityArgs) ToFlexibleServerIdentityPtrOutput

func (i FlexibleServerIdentityArgs) ToFlexibleServerIdentityPtrOutput() FlexibleServerIdentityPtrOutput

func (FlexibleServerIdentityArgs) ToFlexibleServerIdentityPtrOutputWithContext

func (i FlexibleServerIdentityArgs) ToFlexibleServerIdentityPtrOutputWithContext(ctx context.Context) FlexibleServerIdentityPtrOutput

type FlexibleServerIdentityInput

type FlexibleServerIdentityInput interface {
	pulumi.Input

	ToFlexibleServerIdentityOutput() FlexibleServerIdentityOutput
	ToFlexibleServerIdentityOutputWithContext(context.Context) FlexibleServerIdentityOutput
}

FlexibleServerIdentityInput is an input type that accepts FlexibleServerIdentityArgs and FlexibleServerIdentityOutput values. You can construct a concrete instance of `FlexibleServerIdentityInput` via:

FlexibleServerIdentityArgs{...}

type FlexibleServerIdentityOutput

type FlexibleServerIdentityOutput struct{ *pulumi.OutputState }

func (FlexibleServerIdentityOutput) ElementType

func (FlexibleServerIdentityOutput) IdentityIds

A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.

func (FlexibleServerIdentityOutput) ToFlexibleServerIdentityOutput

func (o FlexibleServerIdentityOutput) ToFlexibleServerIdentityOutput() FlexibleServerIdentityOutput

func (FlexibleServerIdentityOutput) ToFlexibleServerIdentityOutputWithContext

func (o FlexibleServerIdentityOutput) ToFlexibleServerIdentityOutputWithContext(ctx context.Context) FlexibleServerIdentityOutput

func (FlexibleServerIdentityOutput) ToFlexibleServerIdentityPtrOutput

func (o FlexibleServerIdentityOutput) ToFlexibleServerIdentityPtrOutput() FlexibleServerIdentityPtrOutput

func (FlexibleServerIdentityOutput) ToFlexibleServerIdentityPtrOutputWithContext

func (o FlexibleServerIdentityOutput) ToFlexibleServerIdentityPtrOutputWithContext(ctx context.Context) FlexibleServerIdentityPtrOutput

func (FlexibleServerIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is `UserAssigned`.

type FlexibleServerIdentityPtrInput

type FlexibleServerIdentityPtrInput interface {
	pulumi.Input

	ToFlexibleServerIdentityPtrOutput() FlexibleServerIdentityPtrOutput
	ToFlexibleServerIdentityPtrOutputWithContext(context.Context) FlexibleServerIdentityPtrOutput
}

FlexibleServerIdentityPtrInput is an input type that accepts FlexibleServerIdentityArgs, FlexibleServerIdentityPtr and FlexibleServerIdentityPtrOutput values. You can construct a concrete instance of `FlexibleServerIdentityPtrInput` via:

        FlexibleServerIdentityArgs{...}

or:

        nil

type FlexibleServerIdentityPtrOutput

type FlexibleServerIdentityPtrOutput struct{ *pulumi.OutputState }

func (FlexibleServerIdentityPtrOutput) Elem

func (FlexibleServerIdentityPtrOutput) ElementType

func (FlexibleServerIdentityPtrOutput) IdentityIds

A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.

func (FlexibleServerIdentityPtrOutput) ToFlexibleServerIdentityPtrOutput

func (o FlexibleServerIdentityPtrOutput) ToFlexibleServerIdentityPtrOutput() FlexibleServerIdentityPtrOutput

func (FlexibleServerIdentityPtrOutput) ToFlexibleServerIdentityPtrOutputWithContext

func (o FlexibleServerIdentityPtrOutput) ToFlexibleServerIdentityPtrOutputWithContext(ctx context.Context) FlexibleServerIdentityPtrOutput

func (FlexibleServerIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is `UserAssigned`.

type FlexibleServerInput

type FlexibleServerInput interface {
	pulumi.Input

	ToFlexibleServerOutput() FlexibleServerOutput
	ToFlexibleServerOutputWithContext(ctx context.Context) FlexibleServerOutput
}

type FlexibleServerMaintenanceWindow

type FlexibleServerMaintenanceWindow struct {
	// The day of week for maintenance window. Defaults to `0`.
	DayOfWeek *int `pulumi:"dayOfWeek"`
	// The start hour for maintenance window. Defaults to `0`.
	StartHour *int `pulumi:"startHour"`
	// The start minute for maintenance window. Defaults to `0`.
	StartMinute *int `pulumi:"startMinute"`
}

type FlexibleServerMaintenanceWindowArgs

type FlexibleServerMaintenanceWindowArgs struct {
	// The day of week for maintenance window. Defaults to `0`.
	DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"`
	// The start hour for maintenance window. Defaults to `0`.
	StartHour pulumi.IntPtrInput `pulumi:"startHour"`
	// The start minute for maintenance window. Defaults to `0`.
	StartMinute pulumi.IntPtrInput `pulumi:"startMinute"`
}

func (FlexibleServerMaintenanceWindowArgs) ElementType

func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutput

func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput

func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutputWithContext

func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowOutput

func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutput

func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput

func (FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutputWithContext

func (i FlexibleServerMaintenanceWindowArgs) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput

type FlexibleServerMaintenanceWindowInput

type FlexibleServerMaintenanceWindowInput interface {
	pulumi.Input

	ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput
	ToFlexibleServerMaintenanceWindowOutputWithContext(context.Context) FlexibleServerMaintenanceWindowOutput
}

FlexibleServerMaintenanceWindowInput is an input type that accepts FlexibleServerMaintenanceWindowArgs and FlexibleServerMaintenanceWindowOutput values. You can construct a concrete instance of `FlexibleServerMaintenanceWindowInput` via:

FlexibleServerMaintenanceWindowArgs{...}

type FlexibleServerMaintenanceWindowOutput

type FlexibleServerMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (FlexibleServerMaintenanceWindowOutput) DayOfWeek

The day of week for maintenance window. Defaults to `0`.

func (FlexibleServerMaintenanceWindowOutput) ElementType

func (FlexibleServerMaintenanceWindowOutput) StartHour

The start hour for maintenance window. Defaults to `0`.

func (FlexibleServerMaintenanceWindowOutput) StartMinute

The start minute for maintenance window. Defaults to `0`.

func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutput

func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutput() FlexibleServerMaintenanceWindowOutput

func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutputWithContext

func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowOutput

func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutput

func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput

func (FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext

func (o FlexibleServerMaintenanceWindowOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput

type FlexibleServerMaintenanceWindowPtrInput

type FlexibleServerMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput
	ToFlexibleServerMaintenanceWindowPtrOutputWithContext(context.Context) FlexibleServerMaintenanceWindowPtrOutput
}

FlexibleServerMaintenanceWindowPtrInput is an input type that accepts FlexibleServerMaintenanceWindowArgs, FlexibleServerMaintenanceWindowPtr and FlexibleServerMaintenanceWindowPtrOutput values. You can construct a concrete instance of `FlexibleServerMaintenanceWindowPtrInput` via:

        FlexibleServerMaintenanceWindowArgs{...}

or:

        nil

type FlexibleServerMaintenanceWindowPtrOutput

type FlexibleServerMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (FlexibleServerMaintenanceWindowPtrOutput) DayOfWeek

The day of week for maintenance window. Defaults to `0`.

func (FlexibleServerMaintenanceWindowPtrOutput) Elem

func (FlexibleServerMaintenanceWindowPtrOutput) ElementType

func (FlexibleServerMaintenanceWindowPtrOutput) StartHour

The start hour for maintenance window. Defaults to `0`.

func (FlexibleServerMaintenanceWindowPtrOutput) StartMinute

The start minute for maintenance window. Defaults to `0`.

func (FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutput

func (o FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutput() FlexibleServerMaintenanceWindowPtrOutput

func (FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext

func (o FlexibleServerMaintenanceWindowPtrOutput) ToFlexibleServerMaintenanceWindowPtrOutputWithContext(ctx context.Context) FlexibleServerMaintenanceWindowPtrOutput

type FlexibleServerMap

type FlexibleServerMap map[string]FlexibleServerInput

func (FlexibleServerMap) ElementType

func (FlexibleServerMap) ElementType() reflect.Type

func (FlexibleServerMap) ToFlexibleServerMapOutput

func (i FlexibleServerMap) ToFlexibleServerMapOutput() FlexibleServerMapOutput

func (FlexibleServerMap) ToFlexibleServerMapOutputWithContext

func (i FlexibleServerMap) ToFlexibleServerMapOutputWithContext(ctx context.Context) FlexibleServerMapOutput

type FlexibleServerMapInput

type FlexibleServerMapInput interface {
	pulumi.Input

	ToFlexibleServerMapOutput() FlexibleServerMapOutput
	ToFlexibleServerMapOutputWithContext(context.Context) FlexibleServerMapOutput
}

FlexibleServerMapInput is an input type that accepts FlexibleServerMap and FlexibleServerMapOutput values. You can construct a concrete instance of `FlexibleServerMapInput` via:

FlexibleServerMap{ "key": FlexibleServerArgs{...} }

type FlexibleServerMapOutput

type FlexibleServerMapOutput struct{ *pulumi.OutputState }

func (FlexibleServerMapOutput) ElementType

func (FlexibleServerMapOutput) ElementType() reflect.Type

func (FlexibleServerMapOutput) MapIndex

func (FlexibleServerMapOutput) ToFlexibleServerMapOutput

func (o FlexibleServerMapOutput) ToFlexibleServerMapOutput() FlexibleServerMapOutput

func (FlexibleServerMapOutput) ToFlexibleServerMapOutputWithContext

func (o FlexibleServerMapOutput) ToFlexibleServerMapOutputWithContext(ctx context.Context) FlexibleServerMapOutput

type FlexibleServerOutput

type FlexibleServerOutput struct{ *pulumi.OutputState }

func (FlexibleServerOutput) AdministratorLogin

func (o FlexibleServerOutput) AdministratorLogin() pulumi.StringOutput

The Administrator login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) AdministratorPassword

func (o FlexibleServerOutput) AdministratorPassword() pulumi.StringPtrOutput

The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`.

func (FlexibleServerOutput) BackupRetentionDays

func (o FlexibleServerOutput) BackupRetentionDays() pulumi.IntPtrOutput

The backup retention days for the MySQL Flexible Server. Possible values are between `1` and `35` days. Defaults to `7`.

func (FlexibleServerOutput) CreateMode

The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.

> **NOTE:** Creating a `GeoRestore` server requires the source server with `geoRedundantBackupEnabled` enabled.

> **NOTE:** When a server is first created it may not be immediately available for `geo restore` or `replica`. It may take a few minutes to several hours for the necessary metadata to be populated. Please see the [Geo Restore](https://learn.microsoft.com/azure/mysql/single-server/how-to-restore-server-portal#geo-restore) and the [Replica](https://learn.microsoft.com/azure/mysql/flexible-server/concepts-read-replicas#create-a-replica) for more information.

func (FlexibleServerOutput) CustomerManagedKey

A `customerManagedKey` block as defined below.

> **NOTE:** `identity` is required when `customerManagedKey` is specified.

func (FlexibleServerOutput) DelegatedSubnetId

func (o FlexibleServerOutput) DelegatedSubnetId() pulumi.StringPtrOutput

The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) ElementType

func (FlexibleServerOutput) ElementType() reflect.Type

func (FlexibleServerOutput) Fqdn

The fully qualified domain name of the MySQL Flexible Server.

func (FlexibleServerOutput) GeoRedundantBackupEnabled

func (o FlexibleServerOutput) GeoRedundantBackupEnabled() pulumi.BoolPtrOutput

Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) HighAvailability

A `highAvailability` block as defined below.

func (FlexibleServerOutput) Identity

An `identity` block as defined below.

func (FlexibleServerOutput) Location

The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) MaintenanceWindow

A `maintenanceWindow` block as defined below.

func (FlexibleServerOutput) Name

The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) PointInTimeRestoreTimeInUtc

func (o FlexibleServerOutput) PointInTimeRestoreTimeInUtc() pulumi.StringPtrOutput

The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) PrivateDnsZoneId

func (o FlexibleServerOutput) PrivateDnsZoneId() pulumi.StringPtrOutput

The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.

> **NOTE:** The `privateDnsZoneId` is required when setting a `delegatedSubnetId`. The `privatedns.Zone` should end with suffix `.mysql.database.azure.com`.

func (FlexibleServerOutput) PublicNetworkAccessEnabled

func (o FlexibleServerOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput

Is the public network access enabled?

func (FlexibleServerOutput) ReplicaCapacity

func (o FlexibleServerOutput) ReplicaCapacity() pulumi.IntOutput

The maximum number of replicas that a primary MySQL Flexible Server can have.

func (FlexibleServerOutput) ReplicationRole

func (o FlexibleServerOutput) ReplicationRole() pulumi.StringOutput

The replication role. Possible value is `None`.

> **NOTE:** The `replicationRole` cannot be set while creating and only can be updated from `Replica` to `None`.

func (FlexibleServerOutput) ResourceGroupName

func (o FlexibleServerOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) SkuName

The SKU Name for the MySQL Flexible Server.

> **NOTE:** `skuName` should start with SKU tier `B (Burstable)`, `GP (General Purpose)`, `MO (Memory Optimized)` like `B_Standard_B1s`.

func (FlexibleServerOutput) SourceServerId

func (o FlexibleServerOutput) SourceServerId() pulumi.StringPtrOutput

The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) Storage

A `storage` block as defined below.

func (FlexibleServerOutput) Tags

A mapping of tags which should be assigned to the MySQL Flexible Server.

func (FlexibleServerOutput) ToFlexibleServerOutput

func (o FlexibleServerOutput) ToFlexibleServerOutput() FlexibleServerOutput

func (FlexibleServerOutput) ToFlexibleServerOutputWithContext

func (o FlexibleServerOutput) ToFlexibleServerOutputWithContext(ctx context.Context) FlexibleServerOutput

func (FlexibleServerOutput) Version

The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created.

func (FlexibleServerOutput) Zone

type FlexibleServerState

type FlexibleServerState struct {
	// The Administrator login for the MySQL Flexible Server. Required when `createMode` is `Default`. Changing this forces a new MySQL Flexible Server to be created.
	AdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `administratorLogin` for the MySQL Flexible Server. Required when `createMode` is `Default`.
	AdministratorPassword pulumi.StringPtrInput
	// The backup retention days for the MySQL Flexible Server. Possible values are between `1` and `35` days. Defaults to `7`.
	BackupRetentionDays pulumi.IntPtrInput
	// The creation mode which can be used to restore or replicate existing servers. Possible values are `Default`, `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.
	//
	// > **NOTE:** Creating a `GeoRestore` server requires the source server with `geoRedundantBackupEnabled` enabled.
	//
	// > **NOTE:** When a server is first created it may not be immediately available for `geo restore` or `replica`. It may take a few minutes to several hours for the necessary metadata to be populated. Please see the [Geo Restore](https://learn.microsoft.com/azure/mysql/single-server/how-to-restore-server-portal#geo-restore) and the [Replica](https://learn.microsoft.com/azure/mysql/flexible-server/concepts-read-replicas#create-a-replica) for more information.
	CreateMode pulumi.StringPtrInput
	// A `customerManagedKey` block as defined below.
	//
	// > **NOTE:** `identity` is required when `customerManagedKey` is specified.
	CustomerManagedKey FlexibleServerCustomerManagedKeyPtrInput
	// The ID of the virtual network subnet to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	DelegatedSubnetId pulumi.StringPtrInput
	// The fully qualified domain name of the MySQL Flexible Server.
	Fqdn pulumi.StringPtrInput
	// Should geo redundant backup enabled? Defaults to `false`. Changing this forces a new MySQL Flexible Server to be created.
	GeoRedundantBackupEnabled pulumi.BoolPtrInput
	// A `highAvailability` block as defined below.
	HighAvailability FlexibleServerHighAvailabilityPtrInput
	// An `identity` block as defined below.
	Identity FlexibleServerIdentityPtrInput
	// The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	Location pulumi.StringPtrInput
	// A `maintenanceWindow` block as defined below.
	MaintenanceWindow FlexibleServerMaintenanceWindowPtrInput
	// The name which should be used for this MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	Name pulumi.StringPtrInput
	// The point in time to restore from `creationSourceServerId` when `createMode` is `PointInTimeRestore`. Changing this forces a new MySQL Flexible Server to be created.
	PointInTimeRestoreTimeInUtc pulumi.StringPtrInput
	// The ID of the private DNS zone to create the MySQL Flexible Server. Changing this forces a new MySQL Flexible Server to be created.
	//
	// > **NOTE:** The `privateDnsZoneId` is required when setting a `delegatedSubnetId`. The `privatedns.Zone` should end with suffix `.mysql.database.azure.com`.
	PrivateDnsZoneId pulumi.StringPtrInput
	// Is the public network access enabled?
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The maximum number of replicas that a primary MySQL Flexible Server can have.
	ReplicaCapacity pulumi.IntPtrInput
	// The replication role. Possible value is `None`.
	//
	// > **NOTE:** The `replicationRole` cannot be set while creating and only can be updated from `Replica` to `None`.
	ReplicationRole pulumi.StringPtrInput
	// The name of the Resource Group where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The SKU Name for the MySQL Flexible Server.
	//
	// > **NOTE:** `skuName` should start with SKU tier `B (Burstable)`, `GP (General Purpose)`, `MO (Memory Optimized)` like `B_Standard_B1s`.
	SkuName pulumi.StringPtrInput
	// The resource ID of the source MySQL Flexible Server to be restored. Required when `createMode` is `PointInTimeRestore`, `GeoRestore`, and `Replica`. Changing this forces a new MySQL Flexible Server to be created.
	SourceServerId pulumi.StringPtrInput
	// A `storage` block as defined below.
	Storage FlexibleServerStoragePtrInput
	// A mapping of tags which should be assigned to the MySQL Flexible Server.
	Tags pulumi.StringMapInput
	// The version of the MySQL Flexible Server to use. Possible values are `5.7`, and `8.0.21`. Changing this forces a new MySQL Flexible Server to be created.
	Version pulumi.StringPtrInput
	Zone    pulumi.StringPtrInput
}

func (FlexibleServerState) ElementType

func (FlexibleServerState) ElementType() reflect.Type

type FlexibleServerStorage

type FlexibleServerStorage struct {
	// Should Storage Auto Grow be enabled? Defaults to `true`.
	AutoGrowEnabled *bool `pulumi:"autoGrowEnabled"`
	// Should IOPS be scaled automatically? If `true`, `iops` can not be set. Defaults to `false`.
	IoScalingEnabled *bool `pulumi:"ioScalingEnabled"`
	// The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.
	Iops *int `pulumi:"iops"`
	// The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.
	//
	// > **Note:** Decreasing `sizeGb` forces a new resource to be created.
	SizeGb *int `pulumi:"sizeGb"`
}

type FlexibleServerStorageArgs

type FlexibleServerStorageArgs struct {
	// Should Storage Auto Grow be enabled? Defaults to `true`.
	AutoGrowEnabled pulumi.BoolPtrInput `pulumi:"autoGrowEnabled"`
	// Should IOPS be scaled automatically? If `true`, `iops` can not be set. Defaults to `false`.
	IoScalingEnabled pulumi.BoolPtrInput `pulumi:"ioScalingEnabled"`
	// The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.
	Iops pulumi.IntPtrInput `pulumi:"iops"`
	// The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.
	//
	// > **Note:** Decreasing `sizeGb` forces a new resource to be created.
	SizeGb pulumi.IntPtrInput `pulumi:"sizeGb"`
}

func (FlexibleServerStorageArgs) ElementType

func (FlexibleServerStorageArgs) ElementType() reflect.Type

func (FlexibleServerStorageArgs) ToFlexibleServerStorageOutput

func (i FlexibleServerStorageArgs) ToFlexibleServerStorageOutput() FlexibleServerStorageOutput

func (FlexibleServerStorageArgs) ToFlexibleServerStorageOutputWithContext

func (i FlexibleServerStorageArgs) ToFlexibleServerStorageOutputWithContext(ctx context.Context) FlexibleServerStorageOutput

func (FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutput

func (i FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput

func (FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutputWithContext

func (i FlexibleServerStorageArgs) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput

type FlexibleServerStorageInput

type FlexibleServerStorageInput interface {
	pulumi.Input

	ToFlexibleServerStorageOutput() FlexibleServerStorageOutput
	ToFlexibleServerStorageOutputWithContext(context.Context) FlexibleServerStorageOutput
}

FlexibleServerStorageInput is an input type that accepts FlexibleServerStorageArgs and FlexibleServerStorageOutput values. You can construct a concrete instance of `FlexibleServerStorageInput` via:

FlexibleServerStorageArgs{...}

type FlexibleServerStorageOutput

type FlexibleServerStorageOutput struct{ *pulumi.OutputState }

func (FlexibleServerStorageOutput) AutoGrowEnabled

func (o FlexibleServerStorageOutput) AutoGrowEnabled() pulumi.BoolPtrOutput

Should Storage Auto Grow be enabled? Defaults to `true`.

func (FlexibleServerStorageOutput) ElementType

func (FlexibleServerStorageOutput) IoScalingEnabled

func (o FlexibleServerStorageOutput) IoScalingEnabled() pulumi.BoolPtrOutput

Should IOPS be scaled automatically? If `true`, `iops` can not be set. Defaults to `false`.

func (FlexibleServerStorageOutput) Iops

The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.

func (FlexibleServerStorageOutput) SizeGb

The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.

> **Note:** Decreasing `sizeGb` forces a new resource to be created.

func (FlexibleServerStorageOutput) ToFlexibleServerStorageOutput

func (o FlexibleServerStorageOutput) ToFlexibleServerStorageOutput() FlexibleServerStorageOutput

func (FlexibleServerStorageOutput) ToFlexibleServerStorageOutputWithContext

func (o FlexibleServerStorageOutput) ToFlexibleServerStorageOutputWithContext(ctx context.Context) FlexibleServerStorageOutput

func (FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutput

func (o FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput

func (FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutputWithContext

func (o FlexibleServerStorageOutput) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput

type FlexibleServerStoragePtrInput

type FlexibleServerStoragePtrInput interface {
	pulumi.Input

	ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput
	ToFlexibleServerStoragePtrOutputWithContext(context.Context) FlexibleServerStoragePtrOutput
}

FlexibleServerStoragePtrInput is an input type that accepts FlexibleServerStorageArgs, FlexibleServerStoragePtr and FlexibleServerStoragePtrOutput values. You can construct a concrete instance of `FlexibleServerStoragePtrInput` via:

        FlexibleServerStorageArgs{...}

or:

        nil

type FlexibleServerStoragePtrOutput

type FlexibleServerStoragePtrOutput struct{ *pulumi.OutputState }

func (FlexibleServerStoragePtrOutput) AutoGrowEnabled

Should Storage Auto Grow be enabled? Defaults to `true`.

func (FlexibleServerStoragePtrOutput) Elem

func (FlexibleServerStoragePtrOutput) ElementType

func (FlexibleServerStoragePtrOutput) IoScalingEnabled

Should IOPS be scaled automatically? If `true`, `iops` can not be set. Defaults to `false`.

func (FlexibleServerStoragePtrOutput) Iops

The storage IOPS for the MySQL Flexible Server. Possible values are between `360` and `20000`.

func (FlexibleServerStoragePtrOutput) SizeGb

The max storage allowed for the MySQL Flexible Server. Possible values are between `20` and `16384`.

> **Note:** Decreasing `sizeGb` forces a new resource to be created.

func (FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutput

func (o FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutput() FlexibleServerStoragePtrOutput

func (FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutputWithContext

func (o FlexibleServerStoragePtrOutput) ToFlexibleServerStoragePtrOutputWithContext(ctx context.Context) FlexibleServerStoragePtrOutput

type GetFlexibleServerHighAvailability

type GetFlexibleServerHighAvailability struct {
	// The high availability mode of the MySQL Flexible Server.
	Mode string `pulumi:"mode"`
	// The availability zone of the standby Flexible Server.
	StandbyAvailabilityZone string `pulumi:"standbyAvailabilityZone"`
}

type GetFlexibleServerHighAvailabilityArgs

type GetFlexibleServerHighAvailabilityArgs struct {
	// The high availability mode of the MySQL Flexible Server.
	Mode pulumi.StringInput `pulumi:"mode"`
	// The availability zone of the standby Flexible Server.
	StandbyAvailabilityZone pulumi.StringInput `pulumi:"standbyAvailabilityZone"`
}

func (GetFlexibleServerHighAvailabilityArgs) ElementType

func (GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutput

func (i GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput

func (GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutputWithContext

func (i GetFlexibleServerHighAvailabilityArgs) ToGetFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityOutput

type GetFlexibleServerHighAvailabilityArray

type GetFlexibleServerHighAvailabilityArray []GetFlexibleServerHighAvailabilityInput

func (GetFlexibleServerHighAvailabilityArray) ElementType

func (GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutput

func (i GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput

func (GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext

func (i GetFlexibleServerHighAvailabilityArray) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityArrayOutput

type GetFlexibleServerHighAvailabilityArrayInput

type GetFlexibleServerHighAvailabilityArrayInput interface {
	pulumi.Input

	ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput
	ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(context.Context) GetFlexibleServerHighAvailabilityArrayOutput
}

GetFlexibleServerHighAvailabilityArrayInput is an input type that accepts GetFlexibleServerHighAvailabilityArray and GetFlexibleServerHighAvailabilityArrayOutput values. You can construct a concrete instance of `GetFlexibleServerHighAvailabilityArrayInput` via:

GetFlexibleServerHighAvailabilityArray{ GetFlexibleServerHighAvailabilityArgs{...} }

type GetFlexibleServerHighAvailabilityArrayOutput

type GetFlexibleServerHighAvailabilityArrayOutput struct{ *pulumi.OutputState }

func (GetFlexibleServerHighAvailabilityArrayOutput) ElementType

func (GetFlexibleServerHighAvailabilityArrayOutput) Index

func (GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutput

func (o GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutput() GetFlexibleServerHighAvailabilityArrayOutput

func (GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext

func (o GetFlexibleServerHighAvailabilityArrayOutput) ToGetFlexibleServerHighAvailabilityArrayOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityArrayOutput

type GetFlexibleServerHighAvailabilityInput

type GetFlexibleServerHighAvailabilityInput interface {
	pulumi.Input

	ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput
	ToGetFlexibleServerHighAvailabilityOutputWithContext(context.Context) GetFlexibleServerHighAvailabilityOutput
}

GetFlexibleServerHighAvailabilityInput is an input type that accepts GetFlexibleServerHighAvailabilityArgs and GetFlexibleServerHighAvailabilityOutput values. You can construct a concrete instance of `GetFlexibleServerHighAvailabilityInput` via:

GetFlexibleServerHighAvailabilityArgs{...}

type GetFlexibleServerHighAvailabilityOutput

type GetFlexibleServerHighAvailabilityOutput struct{ *pulumi.OutputState }

func (GetFlexibleServerHighAvailabilityOutput) ElementType

func (GetFlexibleServerHighAvailabilityOutput) Mode

The high availability mode of the MySQL Flexible Server.

func (GetFlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone

func (o GetFlexibleServerHighAvailabilityOutput) StandbyAvailabilityZone() pulumi.StringOutput

The availability zone of the standby Flexible Server.

func (GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutput

func (o GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutput() GetFlexibleServerHighAvailabilityOutput

func (GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutputWithContext

func (o GetFlexibleServerHighAvailabilityOutput) ToGetFlexibleServerHighAvailabilityOutputWithContext(ctx context.Context) GetFlexibleServerHighAvailabilityOutput

type GetFlexibleServerMaintenanceWindow

type GetFlexibleServerMaintenanceWindow struct {
	// The day of week of the maintenance window.
	DayOfWeek int `pulumi:"dayOfWeek"`
	// The start hour of the maintenance window.
	StartHour int `pulumi:"startHour"`
	// The start minute of the maintenance window.
	StartMinute int `pulumi:"startMinute"`
}

type GetFlexibleServerMaintenanceWindowArgs

type GetFlexibleServerMaintenanceWindowArgs struct {
	// The day of week of the maintenance window.
	DayOfWeek pulumi.IntInput `pulumi:"dayOfWeek"`
	// The start hour of the maintenance window.
	StartHour pulumi.IntInput `pulumi:"startHour"`
	// The start minute of the maintenance window.
	StartMinute pulumi.IntInput `pulumi:"startMinute"`
}

func (GetFlexibleServerMaintenanceWindowArgs) ElementType

func (GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutput

func (i GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput

func (GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutputWithContext

func (i GetFlexibleServerMaintenanceWindowArgs) ToGetFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowOutput

type GetFlexibleServerMaintenanceWindowArray

type GetFlexibleServerMaintenanceWindowArray []GetFlexibleServerMaintenanceWindowInput

func (GetFlexibleServerMaintenanceWindowArray) ElementType

func (GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutput

func (i GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput

func (GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext

func (i GetFlexibleServerMaintenanceWindowArray) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowArrayOutput

type GetFlexibleServerMaintenanceWindowArrayInput

type GetFlexibleServerMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput
	ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(context.Context) GetFlexibleServerMaintenanceWindowArrayOutput
}

GetFlexibleServerMaintenanceWindowArrayInput is an input type that accepts GetFlexibleServerMaintenanceWindowArray and GetFlexibleServerMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetFlexibleServerMaintenanceWindowArrayInput` via:

GetFlexibleServerMaintenanceWindowArray{ GetFlexibleServerMaintenanceWindowArgs{...} }

type GetFlexibleServerMaintenanceWindowArrayOutput

type GetFlexibleServerMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetFlexibleServerMaintenanceWindowArrayOutput) ElementType

func (GetFlexibleServerMaintenanceWindowArrayOutput) Index

func (GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutput

func (o GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutput() GetFlexibleServerMaintenanceWindowArrayOutput

func (GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext

func (o GetFlexibleServerMaintenanceWindowArrayOutput) ToGetFlexibleServerMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowArrayOutput

type GetFlexibleServerMaintenanceWindowInput

type GetFlexibleServerMaintenanceWindowInput interface {
	pulumi.Input

	ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput
	ToGetFlexibleServerMaintenanceWindowOutputWithContext(context.Context) GetFlexibleServerMaintenanceWindowOutput
}

GetFlexibleServerMaintenanceWindowInput is an input type that accepts GetFlexibleServerMaintenanceWindowArgs and GetFlexibleServerMaintenanceWindowOutput values. You can construct a concrete instance of `GetFlexibleServerMaintenanceWindowInput` via:

GetFlexibleServerMaintenanceWindowArgs{...}

type GetFlexibleServerMaintenanceWindowOutput

type GetFlexibleServerMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetFlexibleServerMaintenanceWindowOutput) DayOfWeek

The day of week of the maintenance window.

func (GetFlexibleServerMaintenanceWindowOutput) ElementType

func (GetFlexibleServerMaintenanceWindowOutput) StartHour

The start hour of the maintenance window.

func (GetFlexibleServerMaintenanceWindowOutput) StartMinute

The start minute of the maintenance window.

func (GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutput

func (o GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutput() GetFlexibleServerMaintenanceWindowOutput

func (GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutputWithContext

func (o GetFlexibleServerMaintenanceWindowOutput) ToGetFlexibleServerMaintenanceWindowOutputWithContext(ctx context.Context) GetFlexibleServerMaintenanceWindowOutput

type GetFlexibleServerStorage

type GetFlexibleServerStorage struct {
	// Is Storage Auto Grow enabled?
	AutoGrowEnabled bool `pulumi:"autoGrowEnabled"`
	// Should IOPS be scaled automatically?
	IoScalingEnabled bool `pulumi:"ioScalingEnabled"`
	// The storage IOPS of the MySQL Flexible Server.
	Iops int `pulumi:"iops"`
	// The max storage allowed for the MySQL Flexible Server.
	SizeGb int `pulumi:"sizeGb"`
}

type GetFlexibleServerStorageArgs

type GetFlexibleServerStorageArgs struct {
	// Is Storage Auto Grow enabled?
	AutoGrowEnabled pulumi.BoolInput `pulumi:"autoGrowEnabled"`
	// Should IOPS be scaled automatically?
	IoScalingEnabled pulumi.BoolInput `pulumi:"ioScalingEnabled"`
	// The storage IOPS of the MySQL Flexible Server.
	Iops pulumi.IntInput `pulumi:"iops"`
	// The max storage allowed for the MySQL Flexible Server.
	SizeGb pulumi.IntInput `pulumi:"sizeGb"`
}

func (GetFlexibleServerStorageArgs) ElementType

func (GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutput

func (i GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput

func (GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutputWithContext

func (i GetFlexibleServerStorageArgs) ToGetFlexibleServerStorageOutputWithContext(ctx context.Context) GetFlexibleServerStorageOutput

type GetFlexibleServerStorageArray

type GetFlexibleServerStorageArray []GetFlexibleServerStorageInput

func (GetFlexibleServerStorageArray) ElementType

func (GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutput

func (i GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput

func (GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutputWithContext

func (i GetFlexibleServerStorageArray) ToGetFlexibleServerStorageArrayOutputWithContext(ctx context.Context) GetFlexibleServerStorageArrayOutput

type GetFlexibleServerStorageArrayInput

type GetFlexibleServerStorageArrayInput interface {
	pulumi.Input

	ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput
	ToGetFlexibleServerStorageArrayOutputWithContext(context.Context) GetFlexibleServerStorageArrayOutput
}

GetFlexibleServerStorageArrayInput is an input type that accepts GetFlexibleServerStorageArray and GetFlexibleServerStorageArrayOutput values. You can construct a concrete instance of `GetFlexibleServerStorageArrayInput` via:

GetFlexibleServerStorageArray{ GetFlexibleServerStorageArgs{...} }

type GetFlexibleServerStorageArrayOutput

type GetFlexibleServerStorageArrayOutput struct{ *pulumi.OutputState }

func (GetFlexibleServerStorageArrayOutput) ElementType

func (GetFlexibleServerStorageArrayOutput) Index

func (GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutput

func (o GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutput() GetFlexibleServerStorageArrayOutput

func (GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutputWithContext

func (o GetFlexibleServerStorageArrayOutput) ToGetFlexibleServerStorageArrayOutputWithContext(ctx context.Context) GetFlexibleServerStorageArrayOutput

type GetFlexibleServerStorageInput

type GetFlexibleServerStorageInput interface {
	pulumi.Input

	ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput
	ToGetFlexibleServerStorageOutputWithContext(context.Context) GetFlexibleServerStorageOutput
}

GetFlexibleServerStorageInput is an input type that accepts GetFlexibleServerStorageArgs and GetFlexibleServerStorageOutput values. You can construct a concrete instance of `GetFlexibleServerStorageInput` via:

GetFlexibleServerStorageArgs{...}

type GetFlexibleServerStorageOutput

type GetFlexibleServerStorageOutput struct{ *pulumi.OutputState }

func (GetFlexibleServerStorageOutput) AutoGrowEnabled

func (o GetFlexibleServerStorageOutput) AutoGrowEnabled() pulumi.BoolOutput

Is Storage Auto Grow enabled?

func (GetFlexibleServerStorageOutput) ElementType

func (GetFlexibleServerStorageOutput) IoScalingEnabled

func (o GetFlexibleServerStorageOutput) IoScalingEnabled() pulumi.BoolOutput

Should IOPS be scaled automatically?

func (GetFlexibleServerStorageOutput) Iops

The storage IOPS of the MySQL Flexible Server.

func (GetFlexibleServerStorageOutput) SizeGb

The max storage allowed for the MySQL Flexible Server.

func (GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutput

func (o GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutput() GetFlexibleServerStorageOutput

func (GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutputWithContext

func (o GetFlexibleServerStorageOutput) ToGetFlexibleServerStorageOutputWithContext(ctx context.Context) GetFlexibleServerStorageOutput

type LookupFlexibleServerArgs

type LookupFlexibleServerArgs struct {
	// Specifies the name of the MySQL Flexible Server.
	Name string `pulumi:"name"`
	// The name of the resource group for the MySQL Flexible Server.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getFlexibleServer.

type LookupFlexibleServerOutputArgs

type LookupFlexibleServerOutputArgs struct {
	// Specifies the name of the MySQL Flexible Server.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the resource group for the MySQL Flexible Server.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getFlexibleServer.

func (LookupFlexibleServerOutputArgs) ElementType

type LookupFlexibleServerResult

type LookupFlexibleServerResult struct {
	// The Administrator login of the MySQL Flexible Server.
	AdministratorLogin string `pulumi:"administratorLogin"`
	// The backup retention days of the MySQL Flexible Server.
	BackupRetentionDays int `pulumi:"backupRetentionDays"`
	// The ID of the virtual network subnet the MySQL Flexible Server is created in.
	DelegatedSubnetId string `pulumi:"delegatedSubnetId"`
	// The fully qualified domain name of the MySQL Flexible Server.
	Fqdn string `pulumi:"fqdn"`
	// Is geo redundant backup enabled?
	GeoRedundantBackupEnabled bool `pulumi:"geoRedundantBackupEnabled"`
	// A `highAvailability` block for this MySQL Flexible Server as defined below.
	HighAvailabilities []GetFlexibleServerHighAvailability `pulumi:"highAvailabilities"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure Region of the MySQL Flexible Server.
	Location string `pulumi:"location"`
	// A `maintenanceWindow` block for this MySQL Flexible Server as defined below.
	MaintenanceWindows []GetFlexibleServerMaintenanceWindow `pulumi:"maintenanceWindows"`
	Name               string                               `pulumi:"name"`
	// The ID of the Private DNS zone of the MySQL Flexible Server.
	PrivateDnsZoneId string `pulumi:"privateDnsZoneId"`
	// Is the public network access enabled?
	PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"`
	// The maximum number of replicas that a primary MySQL Flexible Server can have.
	ReplicaCapacity int `pulumi:"replicaCapacity"`
	// The replication role of the MySQL Flexible Server.
	ReplicationRole    string `pulumi:"replicationRole"`
	ResourceGroupName  string `pulumi:"resourceGroupName"`
	RestorePointInTime string `pulumi:"restorePointInTime"`
	// The SKU Name of the MySQL Flexible Server.
	SkuName string `pulumi:"skuName"`
	// A `storage` block for this MySQL Flexible Server as defined below.
	Storages []GetFlexibleServerStorage `pulumi:"storages"`
	// A mapping of tags which are assigned to the MySQL Flexible Server.
	Tags map[string]string `pulumi:"tags"`
	// The version of the MySQL Flexible Server.
	Version string `pulumi:"version"`
	// The Availability Zones where this MySQL Flexible Server is located.
	Zone string `pulumi:"zone"`
}

A collection of values returned by getFlexibleServer.

func LookupFlexibleServer

func LookupFlexibleServer(ctx *pulumi.Context, args *LookupFlexibleServerArgs, opts ...pulumi.InvokeOption) (*LookupFlexibleServerResult, error)

Use this data source to access information about an existing MySQL Flexible Server.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := mysql.LookupFlexibleServer(ctx, &mysql.LookupFlexibleServerArgs{
			Name:              "existingMySqlFlexibleServer",
			ResourceGroupName: "existingResGroup",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupFlexibleServerResultOutput

type LookupFlexibleServerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFlexibleServer.

func (LookupFlexibleServerResultOutput) AdministratorLogin

func (o LookupFlexibleServerResultOutput) AdministratorLogin() pulumi.StringOutput

The Administrator login of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) BackupRetentionDays

func (o LookupFlexibleServerResultOutput) BackupRetentionDays() pulumi.IntOutput

The backup retention days of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) DelegatedSubnetId

The ID of the virtual network subnet the MySQL Flexible Server is created in.

func (LookupFlexibleServerResultOutput) ElementType

func (LookupFlexibleServerResultOutput) Fqdn

The fully qualified domain name of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) GeoRedundantBackupEnabled

func (o LookupFlexibleServerResultOutput) GeoRedundantBackupEnabled() pulumi.BoolOutput

Is geo redundant backup enabled?

func (LookupFlexibleServerResultOutput) HighAvailabilities

A `highAvailability` block for this MySQL Flexible Server as defined below.

func (LookupFlexibleServerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFlexibleServerResultOutput) Location

The Azure Region of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) MaintenanceWindows

A `maintenanceWindow` block for this MySQL Flexible Server as defined below.

func (LookupFlexibleServerResultOutput) Name

func (LookupFlexibleServerResultOutput) PrivateDnsZoneId

The ID of the Private DNS zone of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) PublicNetworkAccessEnabled

func (o LookupFlexibleServerResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput

Is the public network access enabled?

func (LookupFlexibleServerResultOutput) ReplicaCapacity

The maximum number of replicas that a primary MySQL Flexible Server can have.

func (LookupFlexibleServerResultOutput) ReplicationRole

The replication role of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) ResourceGroupName

func (LookupFlexibleServerResultOutput) RestorePointInTime

func (o LookupFlexibleServerResultOutput) RestorePointInTime() pulumi.StringOutput

func (LookupFlexibleServerResultOutput) SkuName

The SKU Name of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) Storages

A `storage` block for this MySQL Flexible Server as defined below.

func (LookupFlexibleServerResultOutput) Tags

A mapping of tags which are assigned to the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutput

func (o LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutput() LookupFlexibleServerResultOutput

func (LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutputWithContext

func (o LookupFlexibleServerResultOutput) ToLookupFlexibleServerResultOutputWithContext(ctx context.Context) LookupFlexibleServerResultOutput

func (LookupFlexibleServerResultOutput) Version

The version of the MySQL Flexible Server.

func (LookupFlexibleServerResultOutput) Zone

The Availability Zones where this MySQL Flexible Server is located.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL