v20200701preview

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	pulumi.CustomResourceState

	// The charset of the database.
	Charset pulumi.StringPtrOutput `pulumi:"charset"`
	// The collation of the database.
	Collation pulumi.StringPtrOutput `pulumi:"collation"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
}

Represents a Database.

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

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

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

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

type DatabaseArgs

type DatabaseArgs struct {
	// The charset of the database.
	Charset pulumi.StringPtrInput
	// The collation of the database.
	Collation pulumi.StringPtrInput
	// The name of the database.
	DatabaseName pulumi.StringInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseState

type DatabaseState struct {
	// The charset of the database.
	Charset pulumi.StringPtrInput
	// The collation of the database.
	Collation pulumi.StringPtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type DelegatedSubnetArguments

type DelegatedSubnetArguments struct {
	// delegated subnet arm resource id.
	SubnetArmResourceId *string `pulumi:"subnetArmResourceId"`
}

Delegated subnet arguments of a server

type DelegatedSubnetArgumentsArgs

type DelegatedSubnetArgumentsArgs struct {
	// delegated subnet arm resource id.
	SubnetArmResourceId pulumi.StringPtrInput `pulumi:"subnetArmResourceId"`
}

Delegated subnet arguments of a server

func (DelegatedSubnetArgumentsArgs) ElementType

func (DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsOutput

func (i DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsOutput() DelegatedSubnetArgumentsOutput

func (DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsOutputWithContext

func (i DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsOutput

func (DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsPtrOutput

func (i DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsPtrOutput() DelegatedSubnetArgumentsPtrOutput

func (DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsPtrOutputWithContext

func (i DelegatedSubnetArgumentsArgs) ToDelegatedSubnetArgumentsPtrOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsPtrOutput

type DelegatedSubnetArgumentsInput

type DelegatedSubnetArgumentsInput interface {
	pulumi.Input

	ToDelegatedSubnetArgumentsOutput() DelegatedSubnetArgumentsOutput
	ToDelegatedSubnetArgumentsOutputWithContext(context.Context) DelegatedSubnetArgumentsOutput
}

DelegatedSubnetArgumentsInput is an input type that accepts DelegatedSubnetArgumentsArgs and DelegatedSubnetArgumentsOutput values. You can construct a concrete instance of `DelegatedSubnetArgumentsInput` via:

DelegatedSubnetArgumentsArgs{...}

type DelegatedSubnetArgumentsOutput

type DelegatedSubnetArgumentsOutput struct{ *pulumi.OutputState }

Delegated subnet arguments of a server

func (DelegatedSubnetArgumentsOutput) ElementType

func (DelegatedSubnetArgumentsOutput) SubnetArmResourceId

func (o DelegatedSubnetArgumentsOutput) SubnetArmResourceId() pulumi.StringPtrOutput

delegated subnet arm resource id.

func (DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsOutput

func (o DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsOutput() DelegatedSubnetArgumentsOutput

func (DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsOutputWithContext

func (o DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsOutput

func (DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsPtrOutput

func (o DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsPtrOutput() DelegatedSubnetArgumentsPtrOutput

func (DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsPtrOutputWithContext

func (o DelegatedSubnetArgumentsOutput) ToDelegatedSubnetArgumentsPtrOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsPtrOutput

type DelegatedSubnetArgumentsPtrInput

type DelegatedSubnetArgumentsPtrInput interface {
	pulumi.Input

	ToDelegatedSubnetArgumentsPtrOutput() DelegatedSubnetArgumentsPtrOutput
	ToDelegatedSubnetArgumentsPtrOutputWithContext(context.Context) DelegatedSubnetArgumentsPtrOutput
}

DelegatedSubnetArgumentsPtrInput is an input type that accepts DelegatedSubnetArgumentsArgs, DelegatedSubnetArgumentsPtr and DelegatedSubnetArgumentsPtrOutput values. You can construct a concrete instance of `DelegatedSubnetArgumentsPtrInput` via:

        DelegatedSubnetArgumentsArgs{...}

or:

        nil

type DelegatedSubnetArgumentsPtrOutput

type DelegatedSubnetArgumentsPtrOutput struct{ *pulumi.OutputState }

func (DelegatedSubnetArgumentsPtrOutput) Elem

func (DelegatedSubnetArgumentsPtrOutput) ElementType

func (DelegatedSubnetArgumentsPtrOutput) SubnetArmResourceId

delegated subnet arm resource id.

func (DelegatedSubnetArgumentsPtrOutput) ToDelegatedSubnetArgumentsPtrOutput

func (o DelegatedSubnetArgumentsPtrOutput) ToDelegatedSubnetArgumentsPtrOutput() DelegatedSubnetArgumentsPtrOutput

func (DelegatedSubnetArgumentsPtrOutput) ToDelegatedSubnetArgumentsPtrOutputWithContext

func (o DelegatedSubnetArgumentsPtrOutput) ToDelegatedSubnetArgumentsPtrOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsPtrOutput

type DelegatedSubnetArgumentsResponse

type DelegatedSubnetArgumentsResponse struct {
	// delegated subnet arm resource id.
	SubnetArmResourceId *string `pulumi:"subnetArmResourceId"`
}

Delegated subnet arguments of a server

type DelegatedSubnetArgumentsResponseArgs

type DelegatedSubnetArgumentsResponseArgs struct {
	// delegated subnet arm resource id.
	SubnetArmResourceId pulumi.StringPtrInput `pulumi:"subnetArmResourceId"`
}

Delegated subnet arguments of a server

func (DelegatedSubnetArgumentsResponseArgs) ElementType

func (DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponseOutput

func (i DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponseOutput() DelegatedSubnetArgumentsResponseOutput

func (DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponseOutputWithContext

func (i DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponseOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsResponseOutput

func (DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponsePtrOutput

func (i DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponsePtrOutput() DelegatedSubnetArgumentsResponsePtrOutput

func (DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponsePtrOutputWithContext

func (i DelegatedSubnetArgumentsResponseArgs) ToDelegatedSubnetArgumentsResponsePtrOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsResponsePtrOutput

type DelegatedSubnetArgumentsResponseInput

type DelegatedSubnetArgumentsResponseInput interface {
	pulumi.Input

	ToDelegatedSubnetArgumentsResponseOutput() DelegatedSubnetArgumentsResponseOutput
	ToDelegatedSubnetArgumentsResponseOutputWithContext(context.Context) DelegatedSubnetArgumentsResponseOutput
}

DelegatedSubnetArgumentsResponseInput is an input type that accepts DelegatedSubnetArgumentsResponseArgs and DelegatedSubnetArgumentsResponseOutput values. You can construct a concrete instance of `DelegatedSubnetArgumentsResponseInput` via:

DelegatedSubnetArgumentsResponseArgs{...}

type DelegatedSubnetArgumentsResponseOutput

type DelegatedSubnetArgumentsResponseOutput struct{ *pulumi.OutputState }

Delegated subnet arguments of a server

func (DelegatedSubnetArgumentsResponseOutput) ElementType

func (DelegatedSubnetArgumentsResponseOutput) SubnetArmResourceId

delegated subnet arm resource id.

func (DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponseOutput

func (o DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponseOutput() DelegatedSubnetArgumentsResponseOutput

func (DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponseOutputWithContext

func (o DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponseOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsResponseOutput

func (DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponsePtrOutput

func (o DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponsePtrOutput() DelegatedSubnetArgumentsResponsePtrOutput

func (DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponsePtrOutputWithContext

func (o DelegatedSubnetArgumentsResponseOutput) ToDelegatedSubnetArgumentsResponsePtrOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsResponsePtrOutput

type DelegatedSubnetArgumentsResponsePtrInput

type DelegatedSubnetArgumentsResponsePtrInput interface {
	pulumi.Input

	ToDelegatedSubnetArgumentsResponsePtrOutput() DelegatedSubnetArgumentsResponsePtrOutput
	ToDelegatedSubnetArgumentsResponsePtrOutputWithContext(context.Context) DelegatedSubnetArgumentsResponsePtrOutput
}

DelegatedSubnetArgumentsResponsePtrInput is an input type that accepts DelegatedSubnetArgumentsResponseArgs, DelegatedSubnetArgumentsResponsePtr and DelegatedSubnetArgumentsResponsePtrOutput values. You can construct a concrete instance of `DelegatedSubnetArgumentsResponsePtrInput` via:

        DelegatedSubnetArgumentsResponseArgs{...}

or:

        nil

type DelegatedSubnetArgumentsResponsePtrOutput

type DelegatedSubnetArgumentsResponsePtrOutput struct{ *pulumi.OutputState }

func (DelegatedSubnetArgumentsResponsePtrOutput) Elem

func (DelegatedSubnetArgumentsResponsePtrOutput) ElementType

func (DelegatedSubnetArgumentsResponsePtrOutput) SubnetArmResourceId

delegated subnet arm resource id.

func (DelegatedSubnetArgumentsResponsePtrOutput) ToDelegatedSubnetArgumentsResponsePtrOutput

func (o DelegatedSubnetArgumentsResponsePtrOutput) ToDelegatedSubnetArgumentsResponsePtrOutput() DelegatedSubnetArgumentsResponsePtrOutput

func (DelegatedSubnetArgumentsResponsePtrOutput) ToDelegatedSubnetArgumentsResponsePtrOutputWithContext

func (o DelegatedSubnetArgumentsResponsePtrOutput) ToDelegatedSubnetArgumentsResponsePtrOutputWithContext(ctx context.Context) DelegatedSubnetArgumentsResponsePtrOutput

type FirewallRule

type FirewallRule struct {
	pulumi.CustomResourceState

	// The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
}

Represents a server firewall rule.

func GetFirewallRule

func GetFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)

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

func NewFirewallRule

func NewFirewallRule(ctx *pulumi.Context,
	name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)

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

type FirewallRuleArgs

type FirewallRuleArgs struct {
	// The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress pulumi.StringInput
	// The name of the server firewall rule.
	FirewallRuleName pulumi.StringInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a FirewallRule resource.

func (FirewallRuleArgs) ElementType

func (FirewallRuleArgs) ElementType() reflect.Type

type FirewallRuleState

type FirewallRuleState struct {
	// The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress pulumi.StringPtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress pulumi.StringPtrInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
}

func (FirewallRuleState) ElementType

func (FirewallRuleState) ElementType() reflect.Type

type Identity

type Identity struct {
	// The identity type.
	Type *string `pulumi:"type"`
}

Identity for the resource.

type IdentityArgs

type IdentityArgs struct {
	// The identity type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

Identity for the resource.

func (IdentityArgs) ElementType

func (IdentityArgs) ElementType() reflect.Type

func (IdentityArgs) ToIdentityOutput

func (i IdentityArgs) ToIdentityOutput() IdentityOutput

func (IdentityArgs) ToIdentityOutputWithContext

func (i IdentityArgs) ToIdentityOutputWithContext(ctx context.Context) IdentityOutput

func (IdentityArgs) ToIdentityPtrOutput

func (i IdentityArgs) ToIdentityPtrOutput() IdentityPtrOutput

func (IdentityArgs) ToIdentityPtrOutputWithContext

func (i IdentityArgs) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput

type IdentityInput

type IdentityInput interface {
	pulumi.Input

	ToIdentityOutput() IdentityOutput
	ToIdentityOutputWithContext(context.Context) IdentityOutput
}

IdentityInput is an input type that accepts IdentityArgs and IdentityOutput values. You can construct a concrete instance of `IdentityInput` via:

IdentityArgs{...}

type IdentityOutput

type IdentityOutput struct{ *pulumi.OutputState }

Identity for the resource.

func (IdentityOutput) ElementType

func (IdentityOutput) ElementType() reflect.Type

func (IdentityOutput) ToIdentityOutput

func (o IdentityOutput) ToIdentityOutput() IdentityOutput

func (IdentityOutput) ToIdentityOutputWithContext

func (o IdentityOutput) ToIdentityOutputWithContext(ctx context.Context) IdentityOutput

func (IdentityOutput) ToIdentityPtrOutput

func (o IdentityOutput) ToIdentityPtrOutput() IdentityPtrOutput

func (IdentityOutput) ToIdentityPtrOutputWithContext

func (o IdentityOutput) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput

func (IdentityOutput) Type

The identity type.

type IdentityPtrInput

type IdentityPtrInput interface {
	pulumi.Input

	ToIdentityPtrOutput() IdentityPtrOutput
	ToIdentityPtrOutputWithContext(context.Context) IdentityPtrOutput
}

IdentityPtrInput is an input type that accepts IdentityArgs, IdentityPtr and IdentityPtrOutput values. You can construct a concrete instance of `IdentityPtrInput` via:

        IdentityArgs{...}

or:

        nil

func IdentityPtr

func IdentityPtr(v *IdentityArgs) IdentityPtrInput

type IdentityPtrOutput

type IdentityPtrOutput struct{ *pulumi.OutputState }

func (IdentityPtrOutput) Elem

func (IdentityPtrOutput) ElementType

func (IdentityPtrOutput) ElementType() reflect.Type

func (IdentityPtrOutput) ToIdentityPtrOutput

func (o IdentityPtrOutput) ToIdentityPtrOutput() IdentityPtrOutput

func (IdentityPtrOutput) ToIdentityPtrOutputWithContext

func (o IdentityPtrOutput) ToIdentityPtrOutputWithContext(ctx context.Context) IdentityPtrOutput

func (IdentityPtrOutput) Type

The identity type.

type IdentityResponse

type IdentityResponse struct {
	// The principal ID of resource identity.
	PrincipalId string `pulumi:"principalId"`
	// The tenant ID of resource.
	TenantId string `pulumi:"tenantId"`
	// The identity type.
	Type *string `pulumi:"type"`
}

Identity for the resource.

type IdentityResponseArgs

type IdentityResponseArgs struct {
	// The principal ID of resource identity.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The tenant ID of resource.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The identity type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

Identity for the resource.

func (IdentityResponseArgs) ElementType

func (IdentityResponseArgs) ElementType() reflect.Type

func (IdentityResponseArgs) ToIdentityResponseOutput

func (i IdentityResponseArgs) ToIdentityResponseOutput() IdentityResponseOutput

func (IdentityResponseArgs) ToIdentityResponseOutputWithContext

func (i IdentityResponseArgs) ToIdentityResponseOutputWithContext(ctx context.Context) IdentityResponseOutput

func (IdentityResponseArgs) ToIdentityResponsePtrOutput

func (i IdentityResponseArgs) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput

func (IdentityResponseArgs) ToIdentityResponsePtrOutputWithContext

func (i IdentityResponseArgs) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput

type IdentityResponseInput

type IdentityResponseInput interface {
	pulumi.Input

	ToIdentityResponseOutput() IdentityResponseOutput
	ToIdentityResponseOutputWithContext(context.Context) IdentityResponseOutput
}

IdentityResponseInput is an input type that accepts IdentityResponseArgs and IdentityResponseOutput values. You can construct a concrete instance of `IdentityResponseInput` via:

IdentityResponseArgs{...}

type IdentityResponseOutput

type IdentityResponseOutput struct{ *pulumi.OutputState }

Identity for the resource.

func (IdentityResponseOutput) ElementType

func (IdentityResponseOutput) ElementType() reflect.Type

func (IdentityResponseOutput) PrincipalId

func (o IdentityResponseOutput) PrincipalId() pulumi.StringOutput

The principal ID of resource identity.

func (IdentityResponseOutput) TenantId

The tenant ID of resource.

func (IdentityResponseOutput) ToIdentityResponseOutput

func (o IdentityResponseOutput) ToIdentityResponseOutput() IdentityResponseOutput

func (IdentityResponseOutput) ToIdentityResponseOutputWithContext

func (o IdentityResponseOutput) ToIdentityResponseOutputWithContext(ctx context.Context) IdentityResponseOutput

func (IdentityResponseOutput) ToIdentityResponsePtrOutput

func (o IdentityResponseOutput) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput

func (IdentityResponseOutput) ToIdentityResponsePtrOutputWithContext

func (o IdentityResponseOutput) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput

func (IdentityResponseOutput) Type

The identity type.

type IdentityResponsePtrInput

type IdentityResponsePtrInput interface {
	pulumi.Input

	ToIdentityResponsePtrOutput() IdentityResponsePtrOutput
	ToIdentityResponsePtrOutputWithContext(context.Context) IdentityResponsePtrOutput
}

IdentityResponsePtrInput is an input type that accepts IdentityResponseArgs, IdentityResponsePtr and IdentityResponsePtrOutput values. You can construct a concrete instance of `IdentityResponsePtrInput` via:

        IdentityResponseArgs{...}

or:

        nil

type IdentityResponsePtrOutput

type IdentityResponsePtrOutput struct{ *pulumi.OutputState }

func (IdentityResponsePtrOutput) Elem

func (IdentityResponsePtrOutput) ElementType

func (IdentityResponsePtrOutput) ElementType() reflect.Type

func (IdentityResponsePtrOutput) PrincipalId

The principal ID of resource identity.

func (IdentityResponsePtrOutput) TenantId

The tenant ID of resource.

func (IdentityResponsePtrOutput) ToIdentityResponsePtrOutput

func (o IdentityResponsePtrOutput) ToIdentityResponsePtrOutput() IdentityResponsePtrOutput

func (IdentityResponsePtrOutput) ToIdentityResponsePtrOutputWithContext

func (o IdentityResponsePtrOutput) ToIdentityResponsePtrOutputWithContext(ctx context.Context) IdentityResponsePtrOutput

func (IdentityResponsePtrOutput) Type

The identity type.

type LookupDatabaseArgs

type LookupDatabaseArgs struct {
	// The name of the database.
	DatabaseName string `pulumi:"databaseName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupDatabaseResult

type LookupDatabaseResult struct {
	// The charset of the database.
	Charset *string `pulumi:"charset"`
	// The collation of the database.
	Collation *string `pulumi:"collation"`
	// The name of the resource
	Name string `pulumi:"name"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
}

Represents a Database.

func LookupDatabase

func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)

type LookupFirewallRuleArgs

type LookupFirewallRuleArgs struct {
	// The name of the server firewall rule.
	FirewallRuleName string `pulumi:"firewallRuleName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupFirewallRuleResult

type LookupFirewallRuleResult struct {
	// The end IP address of the server firewall rule. Must be IPv4 format.
	EndIpAddress string `pulumi:"endIpAddress"`
	// The name of the resource
	Name string `pulumi:"name"`
	// The start IP address of the server firewall rule. Must be IPv4 format.
	StartIpAddress string `pulumi:"startIpAddress"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
}

Represents a server firewall rule.

type LookupServerArgs

type LookupServerArgs struct {
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupServerKeyArgs

type LookupServerKeyArgs struct {
	// The name of the server key.
	KeyName string `pulumi:"keyName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupServerKeyResult

type LookupServerKeyResult struct {
	// The key creation date.
	CreationDate string `pulumi:"creationDate"`
	// Kind of encryption protector used to protect the key.
	Kind string `pulumi:"kind"`
	// The name of the resource
	Name string `pulumi:"name"`
	// The key type like 'AzureKeyVault'.
	ServerKeyType string `pulumi:"serverKeyType"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
	// The URI of the key.
	Uri *string `pulumi:"uri"`
}

A MySQL Server key.

func LookupServerKey

func LookupServerKey(ctx *pulumi.Context, args *LookupServerKeyArgs, opts ...pulumi.InvokeOption) (*LookupServerKeyResult, error)

type LookupServerResult

type LookupServerResult struct {
	// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin *string `pulumi:"administratorLogin"`
	// The password of the administrator login (required for server creation).
	AdministratorLoginPassword *string `pulumi:"administratorLoginPassword"`
	// availability Zone information of the server.
	AvailabilityZone *string `pulumi:"availabilityZone"`
	// Status showing whether the data encryption is enabled with customer-managed keys.
	ByokEnforcement string `pulumi:"byokEnforcement"`
	// The mode to create a new MySQL server.
	CreateMode *string `pulumi:"createMode"`
	// Delegated subnet arguments.
	DelegatedSubnetArguments *DelegatedSubnetArgumentsResponse `pulumi:"delegatedSubnetArguments"`
	// Earliest restore point creation time (ISO8601 format)
	EarliestRestoreDate string `pulumi:"earliestRestoreDate"`
	// The fully qualified domain name of a server.
	FullyQualifiedDomainName string `pulumi:"fullyQualifiedDomainName"`
	// Enable HA or not for a server.
	HaEnabled *string `pulumi:"haEnabled"`
	// The state of a HA server.
	HaState string `pulumi:"haState"`
	// The Azure Active Directory identity of the server.
	Identity *IdentityResponse `pulumi:"identity"`
	// Status showing whether the server enabled infrastructure encryption.
	InfrastructureEncryption *string `pulumi:"infrastructureEncryption"`
	// The geo-location where the resource lives
	Location string `pulumi:"location"`
	// Maintenance window of a server.
	MaintenanceWindow *MaintenanceWindowResponse `pulumi:"maintenanceWindow"`
	// The name of the resource
	Name string `pulumi:"name"`
	// Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
	PublicNetworkAccess string `pulumi:"publicNetworkAccess"`
	// The maximum number of replicas that a primary server can have.
	ReplicaCapacity int `pulumi:"replicaCapacity"`
	// The replication role.
	ReplicationRole *string `pulumi:"replicationRole"`
	// Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime *string `pulumi:"restorePointInTime"`
	// The SKU (pricing tier) of the server.
	Sku *SkuResponse `pulumi:"sku"`
	// The source MySQL server id.
	SourceServerId *string `pulumi:"sourceServerId"`
	// Enable ssl enforcement or not when connect to server.
	SslEnforcement *string `pulumi:"sslEnforcement"`
	// availability Zone information of the server.
	StandbyAvailabilityZone string `pulumi:"standbyAvailabilityZone"`
	// The state of a server.
	State string `pulumi:"state"`
	// Storage profile of a server.
	StorageProfile *StorageProfileResponse `pulumi:"storageProfile"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
	// Server version.
	Version *string `pulumi:"version"`
}

Represents a server.

func LookupServer

func LookupServer(ctx *pulumi.Context, args *LookupServerArgs, opts ...pulumi.InvokeOption) (*LookupServerResult, error)

type MaintenanceWindow

type MaintenanceWindow struct {
	// indicates whether custom window is enabled or disabled
	CustomWindow *string `pulumi:"customWindow"`
	// day of week for maintenance window
	DayOfWeek *int `pulumi:"dayOfWeek"`
	// start hour for maintenance window
	StartHour *int `pulumi:"startHour"`
	// start minute for maintenance window
	StartMinute *int `pulumi:"startMinute"`
}

Maintenance window of a server.

type MaintenanceWindowArgs

type MaintenanceWindowArgs struct {
	// indicates whether custom window is enabled or disabled
	CustomWindow pulumi.StringPtrInput `pulumi:"customWindow"`
	// day of week for maintenance window
	DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"`
	// start hour for maintenance window
	StartHour pulumi.IntPtrInput `pulumi:"startHour"`
	// start minute for maintenance window
	StartMinute pulumi.IntPtrInput `pulumi:"startMinute"`
}

Maintenance window of a server.

func (MaintenanceWindowArgs) ElementType

func (MaintenanceWindowArgs) ElementType() reflect.Type

func (MaintenanceWindowArgs) ToMaintenanceWindowOutput

func (i MaintenanceWindowArgs) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext

func (i MaintenanceWindowArgs) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput

func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowArgs) ToMaintenanceWindowPtrOutputWithContext

func (i MaintenanceWindowArgs) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowInput

type MaintenanceWindowInput interface {
	pulumi.Input

	ToMaintenanceWindowOutput() MaintenanceWindowOutput
	ToMaintenanceWindowOutputWithContext(context.Context) MaintenanceWindowOutput
}

MaintenanceWindowInput is an input type that accepts MaintenanceWindowArgs and MaintenanceWindowOutput values. You can construct a concrete instance of `MaintenanceWindowInput` via:

MaintenanceWindowArgs{...}

type MaintenanceWindowOutput

type MaintenanceWindowOutput struct{ *pulumi.OutputState }

Maintenance window of a server.

func (MaintenanceWindowOutput) CustomWindow

indicates whether custom window is enabled or disabled

func (MaintenanceWindowOutput) DayOfWeek

day of week for maintenance window

func (MaintenanceWindowOutput) ElementType

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) StartHour

start hour for maintenance window

func (MaintenanceWindowOutput) StartMinute

start minute for maintenance window

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowPtrInput

type MaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
	ToMaintenanceWindowPtrOutputWithContext(context.Context) MaintenanceWindowPtrOutput
}

MaintenanceWindowPtrInput is an input type that accepts MaintenanceWindowArgs, MaintenanceWindowPtr and MaintenanceWindowPtrOutput values. You can construct a concrete instance of `MaintenanceWindowPtrInput` via:

        MaintenanceWindowArgs{...}

or:

        nil

type MaintenanceWindowPtrOutput

type MaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowPtrOutput) CustomWindow

indicates whether custom window is enabled or disabled

func (MaintenanceWindowPtrOutput) DayOfWeek

day of week for maintenance window

func (MaintenanceWindowPtrOutput) Elem

func (MaintenanceWindowPtrOutput) ElementType

func (MaintenanceWindowPtrOutput) ElementType() reflect.Type

func (MaintenanceWindowPtrOutput) StartHour

start hour for maintenance window

func (MaintenanceWindowPtrOutput) StartMinute

start minute for maintenance window

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowResponse

type MaintenanceWindowResponse struct {
	// indicates whether custom window is enabled or disabled
	CustomWindow *string `pulumi:"customWindow"`
	// day of week for maintenance window
	DayOfWeek *int `pulumi:"dayOfWeek"`
	// start hour for maintenance window
	StartHour *int `pulumi:"startHour"`
	// start minute for maintenance window
	StartMinute *int `pulumi:"startMinute"`
}

Maintenance window of a server.

type MaintenanceWindowResponseArgs

type MaintenanceWindowResponseArgs struct {
	// indicates whether custom window is enabled or disabled
	CustomWindow pulumi.StringPtrInput `pulumi:"customWindow"`
	// day of week for maintenance window
	DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"`
	// start hour for maintenance window
	StartHour pulumi.IntPtrInput `pulumi:"startHour"`
	// start minute for maintenance window
	StartMinute pulumi.IntPtrInput `pulumi:"startMinute"`
}

Maintenance window of a server.

func (MaintenanceWindowResponseArgs) ElementType

func (MaintenanceWindowResponseArgs) ToMaintenanceWindowResponseOutput

func (i MaintenanceWindowResponseArgs) ToMaintenanceWindowResponseOutput() MaintenanceWindowResponseOutput

func (MaintenanceWindowResponseArgs) ToMaintenanceWindowResponseOutputWithContext

func (i MaintenanceWindowResponseArgs) ToMaintenanceWindowResponseOutputWithContext(ctx context.Context) MaintenanceWindowResponseOutput

func (MaintenanceWindowResponseArgs) ToMaintenanceWindowResponsePtrOutput

func (i MaintenanceWindowResponseArgs) ToMaintenanceWindowResponsePtrOutput() MaintenanceWindowResponsePtrOutput

func (MaintenanceWindowResponseArgs) ToMaintenanceWindowResponsePtrOutputWithContext

func (i MaintenanceWindowResponseArgs) ToMaintenanceWindowResponsePtrOutputWithContext(ctx context.Context) MaintenanceWindowResponsePtrOutput

type MaintenanceWindowResponseInput

type MaintenanceWindowResponseInput interface {
	pulumi.Input

	ToMaintenanceWindowResponseOutput() MaintenanceWindowResponseOutput
	ToMaintenanceWindowResponseOutputWithContext(context.Context) MaintenanceWindowResponseOutput
}

MaintenanceWindowResponseInput is an input type that accepts MaintenanceWindowResponseArgs and MaintenanceWindowResponseOutput values. You can construct a concrete instance of `MaintenanceWindowResponseInput` via:

MaintenanceWindowResponseArgs{...}

type MaintenanceWindowResponseOutput

type MaintenanceWindowResponseOutput struct{ *pulumi.OutputState }

Maintenance window of a server.

func (MaintenanceWindowResponseOutput) CustomWindow

indicates whether custom window is enabled or disabled

func (MaintenanceWindowResponseOutput) DayOfWeek

day of week for maintenance window

func (MaintenanceWindowResponseOutput) ElementType

func (MaintenanceWindowResponseOutput) StartHour

start hour for maintenance window

func (MaintenanceWindowResponseOutput) StartMinute

start minute for maintenance window

func (MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutput

func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutput() MaintenanceWindowResponseOutput

func (MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithContext

func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponseOutputWithContext(ctx context.Context) MaintenanceWindowResponseOutput

func (MaintenanceWindowResponseOutput) ToMaintenanceWindowResponsePtrOutput

func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponsePtrOutput() MaintenanceWindowResponsePtrOutput

func (MaintenanceWindowResponseOutput) ToMaintenanceWindowResponsePtrOutputWithContext

func (o MaintenanceWindowResponseOutput) ToMaintenanceWindowResponsePtrOutputWithContext(ctx context.Context) MaintenanceWindowResponsePtrOutput

type MaintenanceWindowResponsePtrInput

type MaintenanceWindowResponsePtrInput interface {
	pulumi.Input

	ToMaintenanceWindowResponsePtrOutput() MaintenanceWindowResponsePtrOutput
	ToMaintenanceWindowResponsePtrOutputWithContext(context.Context) MaintenanceWindowResponsePtrOutput
}

MaintenanceWindowResponsePtrInput is an input type that accepts MaintenanceWindowResponseArgs, MaintenanceWindowResponsePtr and MaintenanceWindowResponsePtrOutput values. You can construct a concrete instance of `MaintenanceWindowResponsePtrInput` via:

        MaintenanceWindowResponseArgs{...}

or:

        nil

type MaintenanceWindowResponsePtrOutput

type MaintenanceWindowResponsePtrOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowResponsePtrOutput) CustomWindow

indicates whether custom window is enabled or disabled

func (MaintenanceWindowResponsePtrOutput) DayOfWeek

day of week for maintenance window

func (MaintenanceWindowResponsePtrOutput) Elem

func (MaintenanceWindowResponsePtrOutput) ElementType

func (MaintenanceWindowResponsePtrOutput) StartHour

start hour for maintenance window

func (MaintenanceWindowResponsePtrOutput) StartMinute

start minute for maintenance window

func (MaintenanceWindowResponsePtrOutput) ToMaintenanceWindowResponsePtrOutput

func (o MaintenanceWindowResponsePtrOutput) ToMaintenanceWindowResponsePtrOutput() MaintenanceWindowResponsePtrOutput

func (MaintenanceWindowResponsePtrOutput) ToMaintenanceWindowResponsePtrOutputWithContext

func (o MaintenanceWindowResponsePtrOutput) ToMaintenanceWindowResponsePtrOutputWithContext(ctx context.Context) MaintenanceWindowResponsePtrOutput

type Server

type Server struct {
	pulumi.CustomResourceState

	// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin pulumi.StringPtrOutput `pulumi:"administratorLogin"`
	// The password of the administrator login (required for server creation).
	AdministratorLoginPassword pulumi.StringPtrOutput `pulumi:"administratorLoginPassword"`
	// availability Zone information of the server.
	AvailabilityZone pulumi.StringPtrOutput `pulumi:"availabilityZone"`
	// Status showing whether the data encryption is enabled with customer-managed keys.
	ByokEnforcement pulumi.StringOutput `pulumi:"byokEnforcement"`
	// The mode to create a new MySQL server.
	CreateMode pulumi.StringPtrOutput `pulumi:"createMode"`
	// Delegated subnet arguments.
	DelegatedSubnetArguments DelegatedSubnetArgumentsResponsePtrOutput `pulumi:"delegatedSubnetArguments"`
	// Earliest restore point creation time (ISO8601 format)
	EarliestRestoreDate pulumi.StringOutput `pulumi:"earliestRestoreDate"`
	// The fully qualified domain name of a server.
	FullyQualifiedDomainName pulumi.StringOutput `pulumi:"fullyQualifiedDomainName"`
	// Enable HA or not for a server.
	HaEnabled pulumi.StringPtrOutput `pulumi:"haEnabled"`
	// The state of a HA server.
	HaState pulumi.StringOutput `pulumi:"haState"`
	// The Azure Active Directory identity of the server.
	Identity IdentityResponsePtrOutput `pulumi:"identity"`
	// Status showing whether the server enabled infrastructure encryption.
	InfrastructureEncryption pulumi.StringPtrOutput `pulumi:"infrastructureEncryption"`
	// The geo-location where the resource lives
	Location pulumi.StringOutput `pulumi:"location"`
	// Maintenance window of a server.
	MaintenanceWindow MaintenanceWindowResponsePtrOutput `pulumi:"maintenanceWindow"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
	PublicNetworkAccess pulumi.StringOutput `pulumi:"publicNetworkAccess"`
	// The maximum number of replicas that a primary server can have.
	ReplicaCapacity pulumi.IntOutput `pulumi:"replicaCapacity"`
	// The replication role.
	ReplicationRole pulumi.StringPtrOutput `pulumi:"replicationRole"`
	// Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime pulumi.StringPtrOutput `pulumi:"restorePointInTime"`
	// The SKU (pricing tier) of the server.
	Sku SkuResponsePtrOutput `pulumi:"sku"`
	// The source MySQL server id.
	SourceServerId pulumi.StringPtrOutput `pulumi:"sourceServerId"`
	// Enable ssl enforcement or not when connect to server.
	SslEnforcement pulumi.StringPtrOutput `pulumi:"sslEnforcement"`
	// availability Zone information of the server.
	StandbyAvailabilityZone pulumi.StringOutput `pulumi:"standbyAvailabilityZone"`
	// The state of a server.
	State pulumi.StringOutput `pulumi:"state"`
	// Storage profile of a server.
	StorageProfile StorageProfileResponsePtrOutput `pulumi:"storageProfile"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
	// Server version.
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

Represents a server.

func GetServer

func GetServer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerState, opts ...pulumi.ResourceOption) (*Server, error)

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

func NewServer

func NewServer(ctx *pulumi.Context,
	name string, args *ServerArgs, opts ...pulumi.ResourceOption) (*Server, error)

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

type ServerArgs

type ServerArgs struct {
	// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin pulumi.StringPtrInput
	// The password of the administrator login (required for server creation).
	AdministratorLoginPassword pulumi.StringPtrInput
	// availability Zone information of the server.
	AvailabilityZone pulumi.StringPtrInput
	// The mode to create a new MySQL server.
	CreateMode pulumi.StringPtrInput
	// Delegated subnet arguments.
	DelegatedSubnetArguments DelegatedSubnetArgumentsPtrInput
	// Enable HA or not for a server.
	HaEnabled pulumi.StringPtrInput
	// The Azure Active Directory identity of the server.
	Identity IdentityPtrInput
	// Status showing whether the server enabled infrastructure encryption.
	InfrastructureEncryption pulumi.StringPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringInput
	// Maintenance window of a server.
	MaintenanceWindow MaintenanceWindowPtrInput
	// The replication role.
	ReplicationRole pulumi.StringPtrInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime pulumi.StringPtrInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The SKU (pricing tier) of the server.
	Sku SkuPtrInput
	// The source MySQL server id.
	SourceServerId pulumi.StringPtrInput
	// Enable ssl enforcement or not when connect to server.
	SslEnforcement pulumi.StringPtrInput
	// Storage profile of a server.
	StorageProfile StorageProfilePtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Server version.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Server resource.

func (ServerArgs) ElementType

func (ServerArgs) ElementType() reflect.Type

type ServerKey

type ServerKey struct {
	pulumi.CustomResourceState

	// The key creation date.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// Kind of encryption protector used to protect the key.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// The key type like 'AzureKeyVault'.
	ServerKeyType pulumi.StringOutput `pulumi:"serverKeyType"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
	// The URI of the key.
	Uri pulumi.StringPtrOutput `pulumi:"uri"`
}

A MySQL Server key.

func GetServerKey

func GetServerKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerKeyState, opts ...pulumi.ResourceOption) (*ServerKey, error)

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

func NewServerKey

func NewServerKey(ctx *pulumi.Context,
	name string, args *ServerKeyArgs, opts ...pulumi.ResourceOption) (*ServerKey, error)

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

type ServerKeyArgs

type ServerKeyArgs struct {
	// The name of the server key.
	KeyName pulumi.StringInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// The key type like 'AzureKeyVault'.
	ServerKeyType pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The URI of the key.
	Uri pulumi.StringPtrInput
}

The set of arguments for constructing a ServerKey resource.

func (ServerKeyArgs) ElementType

func (ServerKeyArgs) ElementType() reflect.Type

type ServerKeyState

type ServerKeyState struct {
	// The key creation date.
	CreationDate pulumi.StringPtrInput
	// Kind of encryption protector used to protect the key.
	Kind pulumi.StringPtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// The key type like 'AzureKeyVault'.
	ServerKeyType pulumi.StringPtrInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
	// The URI of the key.
	Uri pulumi.StringPtrInput
}

func (ServerKeyState) ElementType

func (ServerKeyState) ElementType() reflect.Type

type ServerState

type ServerState struct {
	// The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
	AdministratorLogin pulumi.StringPtrInput
	// The password of the administrator login (required for server creation).
	AdministratorLoginPassword pulumi.StringPtrInput
	// availability Zone information of the server.
	AvailabilityZone pulumi.StringPtrInput
	// Status showing whether the data encryption is enabled with customer-managed keys.
	ByokEnforcement pulumi.StringPtrInput
	// The mode to create a new MySQL server.
	CreateMode pulumi.StringPtrInput
	// Delegated subnet arguments.
	DelegatedSubnetArguments DelegatedSubnetArgumentsResponsePtrInput
	// Earliest restore point creation time (ISO8601 format)
	EarliestRestoreDate pulumi.StringPtrInput
	// The fully qualified domain name of a server.
	FullyQualifiedDomainName pulumi.StringPtrInput
	// Enable HA or not for a server.
	HaEnabled pulumi.StringPtrInput
	// The state of a HA server.
	HaState pulumi.StringPtrInput
	// The Azure Active Directory identity of the server.
	Identity IdentityResponsePtrInput
	// Status showing whether the server enabled infrastructure encryption.
	InfrastructureEncryption pulumi.StringPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// Maintenance window of a server.
	MaintenanceWindow MaintenanceWindowResponsePtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'
	PublicNetworkAccess pulumi.StringPtrInput
	// The maximum number of replicas that a primary server can have.
	ReplicaCapacity pulumi.IntPtrInput
	// The replication role.
	ReplicationRole pulumi.StringPtrInput
	// Restore point creation time (ISO8601 format), specifying the time to restore from.
	RestorePointInTime pulumi.StringPtrInput
	// The SKU (pricing tier) of the server.
	Sku SkuResponsePtrInput
	// The source MySQL server id.
	SourceServerId pulumi.StringPtrInput
	// Enable ssl enforcement or not when connect to server.
	SslEnforcement pulumi.StringPtrInput
	// availability Zone information of the server.
	StandbyAvailabilityZone pulumi.StringPtrInput
	// The state of a server.
	State pulumi.StringPtrInput
	// Storage profile of a server.
	StorageProfile StorageProfileResponsePtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
	// Server version.
	Version pulumi.StringPtrInput
}

func (ServerState) ElementType

func (ServerState) ElementType() reflect.Type

type Sku

type Sku struct {
	// The name of the sku, e.g. Standard_D32s_v3.
	Name string `pulumi:"name"`
	// The tier of the particular SKU, e.g. GeneralPurpose.
	Tier string `pulumi:"tier"`
}

Billing information related properties of a server.

type SkuArgs

type SkuArgs struct {
	// The name of the sku, e.g. Standard_D32s_v3.
	Name pulumi.StringInput `pulumi:"name"`
	// The tier of the particular SKU, e.g. GeneralPurpose.
	Tier pulumi.StringInput `pulumi:"tier"`
}

Billing information related properties of a server.

func (SkuArgs) ElementType

func (SkuArgs) ElementType() reflect.Type

func (SkuArgs) ToSkuOutput

func (i SkuArgs) ToSkuOutput() SkuOutput

func (SkuArgs) ToSkuOutputWithContext

func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput

func (SkuArgs) ToSkuPtrOutput

func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput

func (SkuArgs) ToSkuPtrOutputWithContext

func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput

type SkuInput

type SkuInput interface {
	pulumi.Input

	ToSkuOutput() SkuOutput
	ToSkuOutputWithContext(context.Context) SkuOutput
}

SkuInput is an input type that accepts SkuArgs and SkuOutput values. You can construct a concrete instance of `SkuInput` via:

SkuArgs{...}

type SkuOutput

type SkuOutput struct{ *pulumi.OutputState }

Billing information related properties of a server.

func (SkuOutput) ElementType

func (SkuOutput) ElementType() reflect.Type

func (SkuOutput) Name

func (o SkuOutput) Name() pulumi.StringOutput

The name of the sku, e.g. Standard_D32s_v3.

func (SkuOutput) Tier

func (o SkuOutput) Tier() pulumi.StringOutput

The tier of the particular SKU, e.g. GeneralPurpose.

func (SkuOutput) ToSkuOutput

func (o SkuOutput) ToSkuOutput() SkuOutput

func (SkuOutput) ToSkuOutputWithContext

func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput

func (SkuOutput) ToSkuPtrOutput

func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput

func (SkuOutput) ToSkuPtrOutputWithContext

func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput

type SkuPtrInput

type SkuPtrInput interface {
	pulumi.Input

	ToSkuPtrOutput() SkuPtrOutput
	ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput
}

SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values. You can construct a concrete instance of `SkuPtrInput` via:

        SkuArgs{...}

or:

        nil

func SkuPtr

func SkuPtr(v *SkuArgs) SkuPtrInput

type SkuPtrOutput

type SkuPtrOutput struct{ *pulumi.OutputState }

func (SkuPtrOutput) Elem

func (o SkuPtrOutput) Elem() SkuOutput

func (SkuPtrOutput) ElementType

func (SkuPtrOutput) ElementType() reflect.Type

func (SkuPtrOutput) Name

The name of the sku, e.g. Standard_D32s_v3.

func (SkuPtrOutput) Tier

The tier of the particular SKU, e.g. GeneralPurpose.

func (SkuPtrOutput) ToSkuPtrOutput

func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput

func (SkuPtrOutput) ToSkuPtrOutputWithContext

func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput

type SkuResponse

type SkuResponse struct {
	// The name of the sku, e.g. Standard_D32s_v3.
	Name string `pulumi:"name"`
	// The tier of the particular SKU, e.g. GeneralPurpose.
	Tier string `pulumi:"tier"`
}

Billing information related properties of a server.

type SkuResponseArgs

type SkuResponseArgs struct {
	// The name of the sku, e.g. Standard_D32s_v3.
	Name pulumi.StringInput `pulumi:"name"`
	// The tier of the particular SKU, e.g. GeneralPurpose.
	Tier pulumi.StringInput `pulumi:"tier"`
}

Billing information related properties of a server.

func (SkuResponseArgs) ElementType

func (SkuResponseArgs) ElementType() reflect.Type

func (SkuResponseArgs) ToSkuResponseOutput

func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput

func (SkuResponseArgs) ToSkuResponseOutputWithContext

func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput

func (SkuResponseArgs) ToSkuResponsePtrOutput

func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput

func (SkuResponseArgs) ToSkuResponsePtrOutputWithContext

func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput

type SkuResponseInput

type SkuResponseInput interface {
	pulumi.Input

	ToSkuResponseOutput() SkuResponseOutput
	ToSkuResponseOutputWithContext(context.Context) SkuResponseOutput
}

SkuResponseInput is an input type that accepts SkuResponseArgs and SkuResponseOutput values. You can construct a concrete instance of `SkuResponseInput` via:

SkuResponseArgs{...}

type SkuResponseOutput

type SkuResponseOutput struct{ *pulumi.OutputState }

Billing information related properties of a server.

func (SkuResponseOutput) ElementType

func (SkuResponseOutput) ElementType() reflect.Type

func (SkuResponseOutput) Name

The name of the sku, e.g. Standard_D32s_v3.

func (SkuResponseOutput) Tier

The tier of the particular SKU, e.g. GeneralPurpose.

func (SkuResponseOutput) ToSkuResponseOutput

func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput

func (SkuResponseOutput) ToSkuResponseOutputWithContext

func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput

func (SkuResponseOutput) ToSkuResponsePtrOutput

func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput

func (SkuResponseOutput) ToSkuResponsePtrOutputWithContext

func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput

type SkuResponsePtrInput

type SkuResponsePtrInput interface {
	pulumi.Input

	ToSkuResponsePtrOutput() SkuResponsePtrOutput
	ToSkuResponsePtrOutputWithContext(context.Context) SkuResponsePtrOutput
}

SkuResponsePtrInput is an input type that accepts SkuResponseArgs, SkuResponsePtr and SkuResponsePtrOutput values. You can construct a concrete instance of `SkuResponsePtrInput` via:

        SkuResponseArgs{...}

or:

        nil

func SkuResponsePtr

func SkuResponsePtr(v *SkuResponseArgs) SkuResponsePtrInput

type SkuResponsePtrOutput

type SkuResponsePtrOutput struct{ *pulumi.OutputState }

func (SkuResponsePtrOutput) Elem

func (SkuResponsePtrOutput) ElementType

func (SkuResponsePtrOutput) ElementType() reflect.Type

func (SkuResponsePtrOutput) Name

The name of the sku, e.g. Standard_D32s_v3.

func (SkuResponsePtrOutput) Tier

The tier of the particular SKU, e.g. GeneralPurpose.

func (SkuResponsePtrOutput) ToSkuResponsePtrOutput

func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput

func (SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext

func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput

type StorageProfile

type StorageProfile struct {
	// Backup retention days for the server.
	BackupRetentionDays *int `pulumi:"backupRetentionDays"`
	// Enable Storage Auto Grow.
	StorageAutogrow *string `pulumi:"storageAutogrow"`
	// Storage IOPS for a server.
	StorageIops *int `pulumi:"storageIops"`
	// Max storage allowed for a server.
	StorageMB *int `pulumi:"storageMB"`
}

Storage Profile properties of a server

type StorageProfileArgs

type StorageProfileArgs struct {
	// Backup retention days for the server.
	BackupRetentionDays pulumi.IntPtrInput `pulumi:"backupRetentionDays"`
	// Enable Storage Auto Grow.
	StorageAutogrow pulumi.StringPtrInput `pulumi:"storageAutogrow"`
	// Storage IOPS for a server.
	StorageIops pulumi.IntPtrInput `pulumi:"storageIops"`
	// Max storage allowed for a server.
	StorageMB pulumi.IntPtrInput `pulumi:"storageMB"`
}

Storage Profile properties of a server

func (StorageProfileArgs) ElementType

func (StorageProfileArgs) ElementType() reflect.Type

func (StorageProfileArgs) ToStorageProfileOutput

func (i StorageProfileArgs) ToStorageProfileOutput() StorageProfileOutput

func (StorageProfileArgs) ToStorageProfileOutputWithContext

func (i StorageProfileArgs) ToStorageProfileOutputWithContext(ctx context.Context) StorageProfileOutput

func (StorageProfileArgs) ToStorageProfilePtrOutput

func (i StorageProfileArgs) ToStorageProfilePtrOutput() StorageProfilePtrOutput

func (StorageProfileArgs) ToStorageProfilePtrOutputWithContext

func (i StorageProfileArgs) ToStorageProfilePtrOutputWithContext(ctx context.Context) StorageProfilePtrOutput

type StorageProfileInput

type StorageProfileInput interface {
	pulumi.Input

	ToStorageProfileOutput() StorageProfileOutput
	ToStorageProfileOutputWithContext(context.Context) StorageProfileOutput
}

StorageProfileInput is an input type that accepts StorageProfileArgs and StorageProfileOutput values. You can construct a concrete instance of `StorageProfileInput` via:

StorageProfileArgs{...}

type StorageProfileOutput

type StorageProfileOutput struct{ *pulumi.OutputState }

Storage Profile properties of a server

func (StorageProfileOutput) BackupRetentionDays

func (o StorageProfileOutput) BackupRetentionDays() pulumi.IntPtrOutput

Backup retention days for the server.

func (StorageProfileOutput) ElementType

func (StorageProfileOutput) ElementType() reflect.Type

func (StorageProfileOutput) StorageAutogrow

func (o StorageProfileOutput) StorageAutogrow() pulumi.StringPtrOutput

Enable Storage Auto Grow.

func (StorageProfileOutput) StorageIops

func (o StorageProfileOutput) StorageIops() pulumi.IntPtrOutput

Storage IOPS for a server.

func (StorageProfileOutput) StorageMB

Max storage allowed for a server.

func (StorageProfileOutput) ToStorageProfileOutput

func (o StorageProfileOutput) ToStorageProfileOutput() StorageProfileOutput

func (StorageProfileOutput) ToStorageProfileOutputWithContext

func (o StorageProfileOutput) ToStorageProfileOutputWithContext(ctx context.Context) StorageProfileOutput

func (StorageProfileOutput) ToStorageProfilePtrOutput

func (o StorageProfileOutput) ToStorageProfilePtrOutput() StorageProfilePtrOutput

func (StorageProfileOutput) ToStorageProfilePtrOutputWithContext

func (o StorageProfileOutput) ToStorageProfilePtrOutputWithContext(ctx context.Context) StorageProfilePtrOutput

type StorageProfilePtrInput

type StorageProfilePtrInput interface {
	pulumi.Input

	ToStorageProfilePtrOutput() StorageProfilePtrOutput
	ToStorageProfilePtrOutputWithContext(context.Context) StorageProfilePtrOutput
}

StorageProfilePtrInput is an input type that accepts StorageProfileArgs, StorageProfilePtr and StorageProfilePtrOutput values. You can construct a concrete instance of `StorageProfilePtrInput` via:

        StorageProfileArgs{...}

or:

        nil

type StorageProfilePtrOutput

type StorageProfilePtrOutput struct{ *pulumi.OutputState }

func (StorageProfilePtrOutput) BackupRetentionDays

func (o StorageProfilePtrOutput) BackupRetentionDays() pulumi.IntPtrOutput

Backup retention days for the server.

func (StorageProfilePtrOutput) Elem

func (StorageProfilePtrOutput) ElementType

func (StorageProfilePtrOutput) ElementType() reflect.Type

func (StorageProfilePtrOutput) StorageAutogrow

func (o StorageProfilePtrOutput) StorageAutogrow() pulumi.StringPtrOutput

Enable Storage Auto Grow.

func (StorageProfilePtrOutput) StorageIops

Storage IOPS for a server.

func (StorageProfilePtrOutput) StorageMB

Max storage allowed for a server.

func (StorageProfilePtrOutput) ToStorageProfilePtrOutput

func (o StorageProfilePtrOutput) ToStorageProfilePtrOutput() StorageProfilePtrOutput

func (StorageProfilePtrOutput) ToStorageProfilePtrOutputWithContext

func (o StorageProfilePtrOutput) ToStorageProfilePtrOutputWithContext(ctx context.Context) StorageProfilePtrOutput

type StorageProfileResponse

type StorageProfileResponse struct {
	// Backup retention days for the server.
	BackupRetentionDays *int `pulumi:"backupRetentionDays"`
	// Enable Storage Auto Grow.
	StorageAutogrow *string `pulumi:"storageAutogrow"`
	// Storage IOPS for a server.
	StorageIops *int `pulumi:"storageIops"`
	// Max storage allowed for a server.
	StorageMB *int `pulumi:"storageMB"`
}

Storage Profile properties of a server

type StorageProfileResponseArgs

type StorageProfileResponseArgs struct {
	// Backup retention days for the server.
	BackupRetentionDays pulumi.IntPtrInput `pulumi:"backupRetentionDays"`
	// Enable Storage Auto Grow.
	StorageAutogrow pulumi.StringPtrInput `pulumi:"storageAutogrow"`
	// Storage IOPS for a server.
	StorageIops pulumi.IntPtrInput `pulumi:"storageIops"`
	// Max storage allowed for a server.
	StorageMB pulumi.IntPtrInput `pulumi:"storageMB"`
}

Storage Profile properties of a server

func (StorageProfileResponseArgs) ElementType

func (StorageProfileResponseArgs) ElementType() reflect.Type

func (StorageProfileResponseArgs) ToStorageProfileResponseOutput

func (i StorageProfileResponseArgs) ToStorageProfileResponseOutput() StorageProfileResponseOutput

func (StorageProfileResponseArgs) ToStorageProfileResponseOutputWithContext

func (i StorageProfileResponseArgs) ToStorageProfileResponseOutputWithContext(ctx context.Context) StorageProfileResponseOutput

func (StorageProfileResponseArgs) ToStorageProfileResponsePtrOutput

func (i StorageProfileResponseArgs) ToStorageProfileResponsePtrOutput() StorageProfileResponsePtrOutput

func (StorageProfileResponseArgs) ToStorageProfileResponsePtrOutputWithContext

func (i StorageProfileResponseArgs) ToStorageProfileResponsePtrOutputWithContext(ctx context.Context) StorageProfileResponsePtrOutput

type StorageProfileResponseInput

type StorageProfileResponseInput interface {
	pulumi.Input

	ToStorageProfileResponseOutput() StorageProfileResponseOutput
	ToStorageProfileResponseOutputWithContext(context.Context) StorageProfileResponseOutput
}

StorageProfileResponseInput is an input type that accepts StorageProfileResponseArgs and StorageProfileResponseOutput values. You can construct a concrete instance of `StorageProfileResponseInput` via:

StorageProfileResponseArgs{...}

type StorageProfileResponseOutput

type StorageProfileResponseOutput struct{ *pulumi.OutputState }

Storage Profile properties of a server

func (StorageProfileResponseOutput) BackupRetentionDays

func (o StorageProfileResponseOutput) BackupRetentionDays() pulumi.IntPtrOutput

Backup retention days for the server.

func (StorageProfileResponseOutput) ElementType

func (StorageProfileResponseOutput) StorageAutogrow

Enable Storage Auto Grow.

func (StorageProfileResponseOutput) StorageIops

Storage IOPS for a server.

func (StorageProfileResponseOutput) StorageMB

Max storage allowed for a server.

func (StorageProfileResponseOutput) ToStorageProfileResponseOutput

func (o StorageProfileResponseOutput) ToStorageProfileResponseOutput() StorageProfileResponseOutput

func (StorageProfileResponseOutput) ToStorageProfileResponseOutputWithContext

func (o StorageProfileResponseOutput) ToStorageProfileResponseOutputWithContext(ctx context.Context) StorageProfileResponseOutput

func (StorageProfileResponseOutput) ToStorageProfileResponsePtrOutput

func (o StorageProfileResponseOutput) ToStorageProfileResponsePtrOutput() StorageProfileResponsePtrOutput

func (StorageProfileResponseOutput) ToStorageProfileResponsePtrOutputWithContext

func (o StorageProfileResponseOutput) ToStorageProfileResponsePtrOutputWithContext(ctx context.Context) StorageProfileResponsePtrOutput

type StorageProfileResponsePtrInput

type StorageProfileResponsePtrInput interface {
	pulumi.Input

	ToStorageProfileResponsePtrOutput() StorageProfileResponsePtrOutput
	ToStorageProfileResponsePtrOutputWithContext(context.Context) StorageProfileResponsePtrOutput
}

StorageProfileResponsePtrInput is an input type that accepts StorageProfileResponseArgs, StorageProfileResponsePtr and StorageProfileResponsePtrOutput values. You can construct a concrete instance of `StorageProfileResponsePtrInput` via:

        StorageProfileResponseArgs{...}

or:

        nil

type StorageProfileResponsePtrOutput

type StorageProfileResponsePtrOutput struct{ *pulumi.OutputState }

func (StorageProfileResponsePtrOutput) BackupRetentionDays

func (o StorageProfileResponsePtrOutput) BackupRetentionDays() pulumi.IntPtrOutput

Backup retention days for the server.

func (StorageProfileResponsePtrOutput) Elem

func (StorageProfileResponsePtrOutput) ElementType

func (StorageProfileResponsePtrOutput) StorageAutogrow

Enable Storage Auto Grow.

func (StorageProfileResponsePtrOutput) StorageIops

Storage IOPS for a server.

func (StorageProfileResponsePtrOutput) StorageMB

Max storage allowed for a server.

func (StorageProfileResponsePtrOutput) ToStorageProfileResponsePtrOutput

func (o StorageProfileResponsePtrOutput) ToStorageProfileResponsePtrOutput() StorageProfileResponsePtrOutput

func (StorageProfileResponsePtrOutput) ToStorageProfileResponsePtrOutputWithContext

func (o StorageProfileResponsePtrOutput) ToStorageProfileResponsePtrOutputWithContext(ctx context.Context) StorageProfileResponsePtrOutput

Jump to

Keyboard shortcuts

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