cosmosdb

package
v4.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`.
	AccessKeyMetadataWritesEnabled pulumi.BoolPtrOutput `pulumi:"accessKeyMetadataWritesEnabled"`
	// Enable Analytical Storage option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created.
	AnalyticalStorageEnabled pulumi.BoolPtrOutput `pulumi:"analyticalStorageEnabled"`
	// A `backup` block as defined below.
	Backup AccountBackupOutput `pulumi:"backup"`
	// The capabilities which should be enabled for this Cosmos DB account. Value is a `capabilities` block as defined below. Changing this forces a new resource to be created.
	Capabilities AccountCapabilityArrayOutput `pulumi:"capabilities"`
	// A list of connection strings available for this CosmosDB account.
	ConnectionStrings pulumi.StringArrayOutput `pulumi:"connectionStrings"`
	// Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account.
	ConsistencyPolicy AccountConsistencyPolicyOutput `pulumi:"consistencyPolicy"`
	// A `corsRule` block as defined below.
	CorsRule AccountCorsRulePtrOutput `pulumi:"corsRule"`
	// Enable automatic fail over for this Cosmos DB account.
	EnableAutomaticFailover pulumi.BoolPtrOutput `pulumi:"enableAutomaticFailover"`
	// Enable Free Tier pricing option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created.
	EnableFreeTier pulumi.BoolPtrOutput `pulumi:"enableFreeTier"`
	// Enable multiple write locations for this Cosmos DB account.
	EnableMultipleWriteLocations pulumi.BoolPtrOutput `pulumi:"enableMultipleWriteLocations"`
	// The endpoint used to connect to the CosmosDB account.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// Specifies a `geoLocation` resource, used to define where data should be replicated with the `failoverPriority` 0 specifying the primary location. Value is a `geoLocation` block as defined below.
	GeoLocations AccountGeoLocationArrayOutput `pulumi:"geoLocations"`
	// An `identity` block as defined below.
	Identity AccountIdentityPtrOutput `pulumi:"identity"`
	// CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
	IpRangeFilter pulumi.StringPtrOutput `pulumi:"ipRangeFilter"`
	// Enables virtual network filtering for this Cosmos DB account.
	IsVirtualNetworkFilterEnabled pulumi.BoolPtrOutput `pulumi:"isVirtualNetworkFilterEnabled"`
	// A versionless Key Vault Key ID for CMK encryption. Changing this forces a new resource to be created.
	KeyVaultKeyId pulumi.StringPtrOutput `pulumi:"keyVaultKeyId"`
	// Specifies the Kind of CosmosDB to create - possible values are `GlobalDocumentDB` and `MongoDB`. Defaults to `GlobalDocumentDB`. Changing this forces a new resource to be created.
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Disable local authentication and ensure only MSI and AAD can be used exclusively for authentication. Defaults to `false`. Can be set only when using the SQL API.
	LocalAuthenticationDisabled pulumi.BoolPtrOutput `pulumi:"localAuthenticationDisabled"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The Server Version of a MongoDB account. Possible values are `4.0`, `3.6`, and `3.2`.
	MongoServerVersion pulumi.StringOutput `pulumi:"mongoServerVersion"`
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// If azure services can bypass ACLs. Defaults to `false`.
	NetworkAclBypassForAzureServices pulumi.BoolPtrOutput `pulumi:"networkAclBypassForAzureServices"`
	// The list of resource Ids for Network Acl Bypass for this Cosmos DB account.
	NetworkAclBypassIds pulumi.StringArrayOutput `pulumi:"networkAclBypassIds"`
	// Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`.
	OfferType pulumi.StringOutput `pulumi:"offerType"`
	// The Primary key for the CosmosDB Account.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	PrimaryMasterKey pulumi.StringOutput `pulumi:"primaryMasterKey"`
	// The Primary read-only Key for the CosmosDB Account.
	PrimaryReadonlyKey pulumi.StringOutput `pulumi:"primaryReadonlyKey"`
	// Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	PrimaryReadonlyMasterKey pulumi.StringOutput `pulumi:"primaryReadonlyMasterKey"`
	// Whether or not public network access is allowed for this CosmosDB account.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints pulumi.StringArrayOutput `pulumi:"readEndpoints"`
	// The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Secondary key for the CosmosDB Account.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	SecondaryMasterKey pulumi.StringOutput `pulumi:"secondaryMasterKey"`
	// The Secondary read-only key for the CosmosDB Account.
	SecondaryReadonlyKey pulumi.StringOutput `pulumi:"secondaryReadonlyKey"`
	// Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	SecondaryReadonlyMasterKey pulumi.StringOutput `pulumi:"secondaryReadonlyMasterKey"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies a `virtualNetworkRules` resource, used to define which subnets are allowed to access this CosmosDB account.
	VirtualNetworkRules AccountVirtualNetworkRuleArrayOutput `pulumi:"virtualNetworkRules"`
	// A list of write endpoints available for this CosmosDB account.
	WriteEndpoints pulumi.StringArrayOutput `pulumi:"writeEndpoints"`
}

Manages a CosmosDB (formally DocumentDB) Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rg, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{
			Location: pulumi.String("westus"),
		})
		if err != nil {
			return err
		}
		_, err = random.NewRandomInteger(ctx, "ri", &random.RandomIntegerArgs{
			Min: pulumi.Int(10000),
			Max: pulumi.Int(99999),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewAccount(ctx, "db", &cosmosdb.AccountArgs{
			Location:                rg.Location,
			ResourceGroupName:       rg.Name,
			OfferType:               pulumi.String("Standard"),
			Kind:                    pulumi.String("GlobalDocumentDB"),
			EnableAutomaticFailover: pulumi.Bool(true),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableAggregationPipeline"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("mongoEnableDocLevelTTL"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("MongoDBv3.4"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongo"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel:     pulumi.String("BoundedStaleness"),
				MaxIntervalInSeconds: pulumi.Int(10),
				MaxStalenessPrefix:   pulumi.Int(200),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         pulumi.Any(_var.Failover_location),
					FailoverPriority: pulumi.Int(1),
				},
				&cosmosdb.AccountGeoLocationArgs{
					Location:         rg.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/account:Account account1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1

```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account 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 NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

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

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

func (*Account) ToAccountPtrOutput

func (i *Account) ToAccountPtrOutput() AccountPtrOutput

func (*Account) ToAccountPtrOutputWithContext

func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountArgs

type AccountArgs struct {
	// Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`.
	AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput
	// Enable Analytical Storage option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created.
	AnalyticalStorageEnabled pulumi.BoolPtrInput
	// A `backup` block as defined below.
	Backup AccountBackupPtrInput
	// The capabilities which should be enabled for this Cosmos DB account. Value is a `capabilities` block as defined below. Changing this forces a new resource to be created.
	Capabilities AccountCapabilityArrayInput
	// Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account.
	ConsistencyPolicy AccountConsistencyPolicyInput
	// A `corsRule` block as defined below.
	CorsRule AccountCorsRulePtrInput
	// Enable automatic fail over for this Cosmos DB account.
	EnableAutomaticFailover pulumi.BoolPtrInput
	// Enable Free Tier pricing option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created.
	EnableFreeTier pulumi.BoolPtrInput
	// Enable multiple write locations for this Cosmos DB account.
	EnableMultipleWriteLocations pulumi.BoolPtrInput
	// Specifies a `geoLocation` resource, used to define where data should be replicated with the `failoverPriority` 0 specifying the primary location. Value is a `geoLocation` block as defined below.
	GeoLocations AccountGeoLocationArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
	IpRangeFilter pulumi.StringPtrInput
	// Enables virtual network filtering for this Cosmos DB account.
	IsVirtualNetworkFilterEnabled pulumi.BoolPtrInput
	// A versionless Key Vault Key ID for CMK encryption. Changing this forces a new resource to be created.
	KeyVaultKeyId pulumi.StringPtrInput
	// Specifies the Kind of CosmosDB to create - possible values are `GlobalDocumentDB` and `MongoDB`. Defaults to `GlobalDocumentDB`. Changing this forces a new resource to be created.
	Kind pulumi.StringPtrInput
	// Disable local authentication and ensure only MSI and AAD can be used exclusively for authentication. Defaults to `false`. Can be set only when using the SQL API.
	LocalAuthenticationDisabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Server Version of a MongoDB account. Possible values are `4.0`, `3.6`, and `3.2`.
	MongoServerVersion pulumi.StringPtrInput
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// If azure services can bypass ACLs. Defaults to `false`.
	NetworkAclBypassForAzureServices pulumi.BoolPtrInput
	// The list of resource Ids for Network Acl Bypass for this Cosmos DB account.
	NetworkAclBypassIds pulumi.StringArrayInput
	// Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`.
	OfferType pulumi.StringInput
	// Whether or not public network access is allowed for this CosmosDB account.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies a `virtualNetworkRules` resource, used to define which subnets are allowed to access this CosmosDB account.
	VirtualNetworkRules AccountVirtualNetworkRuleArrayInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountBackup added in v4.3.0

type AccountBackup struct {
	// The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440.
	IntervalInMinutes *int `pulumi:"intervalInMinutes"`
	// The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720.
	RetentionInHours *int `pulumi:"retentionInHours"`
	// The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.
	Type string `pulumi:"type"`
}

type AccountBackupArgs added in v4.3.0

type AccountBackupArgs struct {
	// The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440.
	IntervalInMinutes pulumi.IntPtrInput `pulumi:"intervalInMinutes"`
	// The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720.
	RetentionInHours pulumi.IntPtrInput `pulumi:"retentionInHours"`
	// The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountBackupArgs) ElementType added in v4.3.0

func (AccountBackupArgs) ElementType() reflect.Type

func (AccountBackupArgs) ToAccountBackupOutput added in v4.3.0

func (i AccountBackupArgs) ToAccountBackupOutput() AccountBackupOutput

func (AccountBackupArgs) ToAccountBackupOutputWithContext added in v4.3.0

func (i AccountBackupArgs) ToAccountBackupOutputWithContext(ctx context.Context) AccountBackupOutput

func (AccountBackupArgs) ToAccountBackupPtrOutput added in v4.3.0

func (i AccountBackupArgs) ToAccountBackupPtrOutput() AccountBackupPtrOutput

func (AccountBackupArgs) ToAccountBackupPtrOutputWithContext added in v4.3.0

func (i AccountBackupArgs) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput

type AccountBackupInput added in v4.3.0

type AccountBackupInput interface {
	pulumi.Input

	ToAccountBackupOutput() AccountBackupOutput
	ToAccountBackupOutputWithContext(context.Context) AccountBackupOutput
}

AccountBackupInput is an input type that accepts AccountBackupArgs and AccountBackupOutput values. You can construct a concrete instance of `AccountBackupInput` via:

AccountBackupArgs{...}

type AccountBackupOutput added in v4.3.0

type AccountBackupOutput struct{ *pulumi.OutputState }

func (AccountBackupOutput) ElementType added in v4.3.0

func (AccountBackupOutput) ElementType() reflect.Type

func (AccountBackupOutput) IntervalInMinutes added in v4.3.0

func (o AccountBackupOutput) IntervalInMinutes() pulumi.IntPtrOutput

The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440.

func (AccountBackupOutput) RetentionInHours added in v4.3.0

func (o AccountBackupOutput) RetentionInHours() pulumi.IntPtrOutput

The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720.

func (AccountBackupOutput) ToAccountBackupOutput added in v4.3.0

func (o AccountBackupOutput) ToAccountBackupOutput() AccountBackupOutput

func (AccountBackupOutput) ToAccountBackupOutputWithContext added in v4.3.0

func (o AccountBackupOutput) ToAccountBackupOutputWithContext(ctx context.Context) AccountBackupOutput

func (AccountBackupOutput) ToAccountBackupPtrOutput added in v4.3.0

func (o AccountBackupOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput

func (AccountBackupOutput) ToAccountBackupPtrOutputWithContext added in v4.3.0

func (o AccountBackupOutput) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput

func (AccountBackupOutput) Type added in v4.3.0

The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.

type AccountBackupPtrInput added in v4.3.0

type AccountBackupPtrInput interface {
	pulumi.Input

	ToAccountBackupPtrOutput() AccountBackupPtrOutput
	ToAccountBackupPtrOutputWithContext(context.Context) AccountBackupPtrOutput
}

AccountBackupPtrInput is an input type that accepts AccountBackupArgs, AccountBackupPtr and AccountBackupPtrOutput values. You can construct a concrete instance of `AccountBackupPtrInput` via:

        AccountBackupArgs{...}

or:

        nil

func AccountBackupPtr added in v4.3.0

func AccountBackupPtr(v *AccountBackupArgs) AccountBackupPtrInput

type AccountBackupPtrOutput added in v4.3.0

type AccountBackupPtrOutput struct{ *pulumi.OutputState }

func (AccountBackupPtrOutput) Elem added in v4.3.0

func (AccountBackupPtrOutput) ElementType added in v4.3.0

func (AccountBackupPtrOutput) ElementType() reflect.Type

func (AccountBackupPtrOutput) IntervalInMinutes added in v4.3.0

func (o AccountBackupPtrOutput) IntervalInMinutes() pulumi.IntPtrOutput

The interval in minutes between two backups. This is configurable only when `type` is `Periodic`. Possible values are between 60 and 1440.

func (AccountBackupPtrOutput) RetentionInHours added in v4.3.0

func (o AccountBackupPtrOutput) RetentionInHours() pulumi.IntPtrOutput

The time in hours that each backup is retained. This is configurable only when `type` is `Periodic`. Possible values are between 8 and 720.

func (AccountBackupPtrOutput) ToAccountBackupPtrOutput added in v4.3.0

func (o AccountBackupPtrOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput

func (AccountBackupPtrOutput) ToAccountBackupPtrOutputWithContext added in v4.3.0

func (o AccountBackupPtrOutput) ToAccountBackupPtrOutputWithContext(ctx context.Context) AccountBackupPtrOutput

func (AccountBackupPtrOutput) Type added in v4.3.0

The type of the `backup`. Possible values are `Continuous` and `Periodic`. Defaults to `Periodic`. Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.

type AccountCapability

type AccountCapability struct {
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
}

type AccountCapabilityArgs

type AccountCapabilityArgs struct {
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
}

func (AccountCapabilityArgs) ElementType

func (AccountCapabilityArgs) ElementType() reflect.Type

func (AccountCapabilityArgs) ToAccountCapabilityOutput

func (i AccountCapabilityArgs) ToAccountCapabilityOutput() AccountCapabilityOutput

func (AccountCapabilityArgs) ToAccountCapabilityOutputWithContext

func (i AccountCapabilityArgs) ToAccountCapabilityOutputWithContext(ctx context.Context) AccountCapabilityOutput

type AccountCapabilityArray

type AccountCapabilityArray []AccountCapabilityInput

func (AccountCapabilityArray) ElementType

func (AccountCapabilityArray) ElementType() reflect.Type

func (AccountCapabilityArray) ToAccountCapabilityArrayOutput

func (i AccountCapabilityArray) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput

func (AccountCapabilityArray) ToAccountCapabilityArrayOutputWithContext

func (i AccountCapabilityArray) ToAccountCapabilityArrayOutputWithContext(ctx context.Context) AccountCapabilityArrayOutput

type AccountCapabilityArrayInput

type AccountCapabilityArrayInput interface {
	pulumi.Input

	ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput
	ToAccountCapabilityArrayOutputWithContext(context.Context) AccountCapabilityArrayOutput
}

AccountCapabilityArrayInput is an input type that accepts AccountCapabilityArray and AccountCapabilityArrayOutput values. You can construct a concrete instance of `AccountCapabilityArrayInput` via:

AccountCapabilityArray{ AccountCapabilityArgs{...} }

type AccountCapabilityArrayOutput

type AccountCapabilityArrayOutput struct{ *pulumi.OutputState }

func (AccountCapabilityArrayOutput) ElementType

func (AccountCapabilityArrayOutput) Index

func (AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput

func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput

func (AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutputWithContext

func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutputWithContext(ctx context.Context) AccountCapabilityArrayOutput

type AccountCapabilityInput

type AccountCapabilityInput interface {
	pulumi.Input

	ToAccountCapabilityOutput() AccountCapabilityOutput
	ToAccountCapabilityOutputWithContext(context.Context) AccountCapabilityOutput
}

AccountCapabilityInput is an input type that accepts AccountCapabilityArgs and AccountCapabilityOutput values. You can construct a concrete instance of `AccountCapabilityInput` via:

AccountCapabilityArgs{...}

type AccountCapabilityOutput

type AccountCapabilityOutput struct{ *pulumi.OutputState }

func (AccountCapabilityOutput) ElementType

func (AccountCapabilityOutput) ElementType() reflect.Type

func (AccountCapabilityOutput) Name

Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.

func (AccountCapabilityOutput) ToAccountCapabilityOutput

func (o AccountCapabilityOutput) ToAccountCapabilityOutput() AccountCapabilityOutput

func (AccountCapabilityOutput) ToAccountCapabilityOutputWithContext

func (o AccountCapabilityOutput) ToAccountCapabilityOutputWithContext(ctx context.Context) AccountCapabilityOutput

type AccountConsistencyPolicy

type AccountConsistencyPolicy struct {
	// The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`.
	ConsistencyLevel string `pulumi:"consistencyLevel"`
	// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`.
	MaxIntervalInSeconds *int `pulumi:"maxIntervalInSeconds"`
	// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.
	MaxStalenessPrefix *int `pulumi:"maxStalenessPrefix"`
}

type AccountConsistencyPolicyArgs

type AccountConsistencyPolicyArgs struct {
	// The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`.
	ConsistencyLevel pulumi.StringInput `pulumi:"consistencyLevel"`
	// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`.
	MaxIntervalInSeconds pulumi.IntPtrInput `pulumi:"maxIntervalInSeconds"`
	// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.
	MaxStalenessPrefix pulumi.IntPtrInput `pulumi:"maxStalenessPrefix"`
}

func (AccountConsistencyPolicyArgs) ElementType

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput

func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutputWithContext

func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutputWithContext(ctx context.Context) AccountConsistencyPolicyOutput

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput

func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutputWithContext

func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput

type AccountConsistencyPolicyInput

type AccountConsistencyPolicyInput interface {
	pulumi.Input

	ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput
	ToAccountConsistencyPolicyOutputWithContext(context.Context) AccountConsistencyPolicyOutput
}

AccountConsistencyPolicyInput is an input type that accepts AccountConsistencyPolicyArgs and AccountConsistencyPolicyOutput values. You can construct a concrete instance of `AccountConsistencyPolicyInput` via:

AccountConsistencyPolicyArgs{...}

type AccountConsistencyPolicyOutput

type AccountConsistencyPolicyOutput struct{ *pulumi.OutputState }

func (AccountConsistencyPolicyOutput) ConsistencyLevel

func (o AccountConsistencyPolicyOutput) ConsistencyLevel() pulumi.StringOutput

The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`.

func (AccountConsistencyPolicyOutput) ElementType

func (AccountConsistencyPolicyOutput) MaxIntervalInSeconds

func (o AccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput

When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`.

func (AccountConsistencyPolicyOutput) MaxStalenessPrefix

func (o AccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntPtrOutput

When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput

func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutputWithContext

func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutputWithContext(ctx context.Context) AccountConsistencyPolicyOutput

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput

func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutputWithContext

func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput

type AccountConsistencyPolicyPtrInput

type AccountConsistencyPolicyPtrInput interface {
	pulumi.Input

	ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput
	ToAccountConsistencyPolicyPtrOutputWithContext(context.Context) AccountConsistencyPolicyPtrOutput
}

AccountConsistencyPolicyPtrInput is an input type that accepts AccountConsistencyPolicyArgs, AccountConsistencyPolicyPtr and AccountConsistencyPolicyPtrOutput values. You can construct a concrete instance of `AccountConsistencyPolicyPtrInput` via:

        AccountConsistencyPolicyArgs{...}

or:

        nil

type AccountConsistencyPolicyPtrOutput

type AccountConsistencyPolicyPtrOutput struct{ *pulumi.OutputState }

func (AccountConsistencyPolicyPtrOutput) ConsistencyLevel

The Consistency Level to use for this CosmosDB Account - can be either `BoundedStaleness`, `Eventual`, `Session`, `Strong` or `ConsistentPrefix`.

func (AccountConsistencyPolicyPtrOutput) Elem

func (AccountConsistencyPolicyPtrOutput) ElementType

func (AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds

func (o AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput

When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is `5` - `86400` (1 day). Defaults to `5`. Required when `consistencyLevel` is set to `BoundedStaleness`.

func (AccountConsistencyPolicyPtrOutput) MaxStalenessPrefix

func (o AccountConsistencyPolicyPtrOutput) MaxStalenessPrefix() pulumi.IntPtrOutput

When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.

func (AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput

func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput

func (AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutputWithContext

func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutputWithContext(ctx context.Context) AccountConsistencyPolicyPtrOutput

type AccountCorsRule added in v4.3.0

type AccountCorsRule struct {
	// A list of headers that are allowed to be a part of the cross-origin request.
	AllowedHeaders []string `pulumi:"allowedHeaders"`
	// A list of http headers that are allowed to be executed by the origin. Valid options are  `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
	AllowedMethods []string `pulumi:"allowedMethods"`
	// A list of origin domains that will be allowed by CORS.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
	// A list of response headers that are exposed to CORS clients.
	ExposedHeaders []string `pulumi:"exposedHeaders"`
	// The number of seconds the client should cache a preflight response.
	MaxAgeInSeconds int `pulumi:"maxAgeInSeconds"`
}

type AccountCorsRuleArgs added in v4.3.0

type AccountCorsRuleArgs struct {
	// A list of headers that are allowed to be a part of the cross-origin request.
	AllowedHeaders pulumi.StringArrayInput `pulumi:"allowedHeaders"`
	// A list of http headers that are allowed to be executed by the origin. Valid options are  `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.
	AllowedMethods pulumi.StringArrayInput `pulumi:"allowedMethods"`
	// A list of origin domains that will be allowed by CORS.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
	// A list of response headers that are exposed to CORS clients.
	ExposedHeaders pulumi.StringArrayInput `pulumi:"exposedHeaders"`
	// The number of seconds the client should cache a preflight response.
	MaxAgeInSeconds pulumi.IntInput `pulumi:"maxAgeInSeconds"`
}

func (AccountCorsRuleArgs) ElementType added in v4.3.0

func (AccountCorsRuleArgs) ElementType() reflect.Type

func (AccountCorsRuleArgs) ToAccountCorsRuleOutput added in v4.3.0

func (i AccountCorsRuleArgs) ToAccountCorsRuleOutput() AccountCorsRuleOutput

func (AccountCorsRuleArgs) ToAccountCorsRuleOutputWithContext added in v4.3.0

func (i AccountCorsRuleArgs) ToAccountCorsRuleOutputWithContext(ctx context.Context) AccountCorsRuleOutput

func (AccountCorsRuleArgs) ToAccountCorsRulePtrOutput added in v4.3.0

func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput

func (AccountCorsRuleArgs) ToAccountCorsRulePtrOutputWithContext added in v4.3.0

func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput

type AccountCorsRuleInput added in v4.3.0

type AccountCorsRuleInput interface {
	pulumi.Input

	ToAccountCorsRuleOutput() AccountCorsRuleOutput
	ToAccountCorsRuleOutputWithContext(context.Context) AccountCorsRuleOutput
}

AccountCorsRuleInput is an input type that accepts AccountCorsRuleArgs and AccountCorsRuleOutput values. You can construct a concrete instance of `AccountCorsRuleInput` via:

AccountCorsRuleArgs{...}

type AccountCorsRuleOutput added in v4.3.0

type AccountCorsRuleOutput struct{ *pulumi.OutputState }

func (AccountCorsRuleOutput) AllowedHeaders added in v4.3.0

func (o AccountCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput

A list of headers that are allowed to be a part of the cross-origin request.

func (AccountCorsRuleOutput) AllowedMethods added in v4.3.0

func (o AccountCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput

A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.

func (AccountCorsRuleOutput) AllowedOrigins added in v4.3.0

func (o AccountCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput

A list of origin domains that will be allowed by CORS.

func (AccountCorsRuleOutput) ElementType added in v4.3.0

func (AccountCorsRuleOutput) ElementType() reflect.Type

func (AccountCorsRuleOutput) ExposedHeaders added in v4.3.0

func (o AccountCorsRuleOutput) ExposedHeaders() pulumi.StringArrayOutput

A list of response headers that are exposed to CORS clients.

func (AccountCorsRuleOutput) MaxAgeInSeconds added in v4.3.0

func (o AccountCorsRuleOutput) MaxAgeInSeconds() pulumi.IntOutput

The number of seconds the client should cache a preflight response.

func (AccountCorsRuleOutput) ToAccountCorsRuleOutput added in v4.3.0

func (o AccountCorsRuleOutput) ToAccountCorsRuleOutput() AccountCorsRuleOutput

func (AccountCorsRuleOutput) ToAccountCorsRuleOutputWithContext added in v4.3.0

func (o AccountCorsRuleOutput) ToAccountCorsRuleOutputWithContext(ctx context.Context) AccountCorsRuleOutput

func (AccountCorsRuleOutput) ToAccountCorsRulePtrOutput added in v4.3.0

func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput

func (AccountCorsRuleOutput) ToAccountCorsRulePtrOutputWithContext added in v4.3.0

func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput

type AccountCorsRulePtrInput added in v4.3.0

type AccountCorsRulePtrInput interface {
	pulumi.Input

	ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput
	ToAccountCorsRulePtrOutputWithContext(context.Context) AccountCorsRulePtrOutput
}

AccountCorsRulePtrInput is an input type that accepts AccountCorsRuleArgs, AccountCorsRulePtr and AccountCorsRulePtrOutput values. You can construct a concrete instance of `AccountCorsRulePtrInput` via:

        AccountCorsRuleArgs{...}

or:

        nil

func AccountCorsRulePtr added in v4.3.0

func AccountCorsRulePtr(v *AccountCorsRuleArgs) AccountCorsRulePtrInput

type AccountCorsRulePtrOutput added in v4.3.0

type AccountCorsRulePtrOutput struct{ *pulumi.OutputState }

func (AccountCorsRulePtrOutput) AllowedHeaders added in v4.3.0

A list of headers that are allowed to be a part of the cross-origin request.

func (AccountCorsRulePtrOutput) AllowedMethods added in v4.3.0

A list of http headers that are allowed to be executed by the origin. Valid options are `DELETE`, `GET`, `HEAD`, `MERGE`, `POST`, `OPTIONS`, `PUT` or `PATCH`.

func (AccountCorsRulePtrOutput) AllowedOrigins added in v4.3.0

A list of origin domains that will be allowed by CORS.

func (AccountCorsRulePtrOutput) Elem added in v4.3.0

func (AccountCorsRulePtrOutput) ElementType added in v4.3.0

func (AccountCorsRulePtrOutput) ElementType() reflect.Type

func (AccountCorsRulePtrOutput) ExposedHeaders added in v4.3.0

A list of response headers that are exposed to CORS clients.

func (AccountCorsRulePtrOutput) MaxAgeInSeconds added in v4.3.0

func (o AccountCorsRulePtrOutput) MaxAgeInSeconds() pulumi.IntPtrOutput

The number of seconds the client should cache a preflight response.

func (AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput added in v4.3.0

func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput

func (AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutputWithContext added in v4.3.0

func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutputWithContext(ctx context.Context) AccountCorsRulePtrOutput

type AccountGeoLocation

type AccountGeoLocation struct {
	// The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`.
	FailoverPriority int `pulumi:"failoverPriority"`
	// The ID of the virtual network subnet.
	Id *string `pulumi:"id"`
	// The name of the Azure region to host replicated data.
	Location string `pulumi:"location"`
	// The string used to generate the document endpoints for this region. If not specified it defaults to `${cosmosdb_account.name}-${location}`. Changing this causes the location to be deleted and re-provisioned and cannot be changed for the location with failover priority `0`.
	//
	// Deprecated: This is deprecated because the service no longer accepts this as an input since Apr 25, 2019
	Prefix *string `pulumi:"prefix"`
	// Should zone redundancy be enabled for this region? Defaults to `false`.
	ZoneRedundant *bool `pulumi:"zoneRedundant"`
}

type AccountGeoLocationArgs

type AccountGeoLocationArgs struct {
	// The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`.
	FailoverPriority pulumi.IntInput `pulumi:"failoverPriority"`
	// The ID of the virtual network subnet.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Azure region to host replicated data.
	Location pulumi.StringInput `pulumi:"location"`
	// The string used to generate the document endpoints for this region. If not specified it defaults to `${cosmosdb_account.name}-${location}`. Changing this causes the location to be deleted and re-provisioned and cannot be changed for the location with failover priority `0`.
	//
	// Deprecated: This is deprecated because the service no longer accepts this as an input since Apr 25, 2019
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
	// Should zone redundancy be enabled for this region? Defaults to `false`.
	ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"`
}

func (AccountGeoLocationArgs) ElementType

func (AccountGeoLocationArgs) ElementType() reflect.Type

func (AccountGeoLocationArgs) ToAccountGeoLocationOutput

func (i AccountGeoLocationArgs) ToAccountGeoLocationOutput() AccountGeoLocationOutput

func (AccountGeoLocationArgs) ToAccountGeoLocationOutputWithContext

func (i AccountGeoLocationArgs) ToAccountGeoLocationOutputWithContext(ctx context.Context) AccountGeoLocationOutput

type AccountGeoLocationArray

type AccountGeoLocationArray []AccountGeoLocationInput

func (AccountGeoLocationArray) ElementType

func (AccountGeoLocationArray) ElementType() reflect.Type

func (AccountGeoLocationArray) ToAccountGeoLocationArrayOutput

func (i AccountGeoLocationArray) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput

func (AccountGeoLocationArray) ToAccountGeoLocationArrayOutputWithContext

func (i AccountGeoLocationArray) ToAccountGeoLocationArrayOutputWithContext(ctx context.Context) AccountGeoLocationArrayOutput

type AccountGeoLocationArrayInput

type AccountGeoLocationArrayInput interface {
	pulumi.Input

	ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput
	ToAccountGeoLocationArrayOutputWithContext(context.Context) AccountGeoLocationArrayOutput
}

AccountGeoLocationArrayInput is an input type that accepts AccountGeoLocationArray and AccountGeoLocationArrayOutput values. You can construct a concrete instance of `AccountGeoLocationArrayInput` via:

AccountGeoLocationArray{ AccountGeoLocationArgs{...} }

type AccountGeoLocationArrayOutput

type AccountGeoLocationArrayOutput struct{ *pulumi.OutputState }

func (AccountGeoLocationArrayOutput) ElementType

func (AccountGeoLocationArrayOutput) Index

func (AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput

func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput

func (AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutputWithContext

func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutputWithContext(ctx context.Context) AccountGeoLocationArrayOutput

type AccountGeoLocationInput

type AccountGeoLocationInput interface {
	pulumi.Input

	ToAccountGeoLocationOutput() AccountGeoLocationOutput
	ToAccountGeoLocationOutputWithContext(context.Context) AccountGeoLocationOutput
}

AccountGeoLocationInput is an input type that accepts AccountGeoLocationArgs and AccountGeoLocationOutput values. You can construct a concrete instance of `AccountGeoLocationInput` via:

AccountGeoLocationArgs{...}

type AccountGeoLocationOutput

type AccountGeoLocationOutput struct{ *pulumi.OutputState }

func (AccountGeoLocationOutput) ElementType

func (AccountGeoLocationOutput) ElementType() reflect.Type

func (AccountGeoLocationOutput) FailoverPriority

func (o AccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput

The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`.

func (AccountGeoLocationOutput) Id

The ID of the virtual network subnet.

func (AccountGeoLocationOutput) Location

The name of the Azure region to host replicated data.

func (AccountGeoLocationOutput) Prefix deprecated

The string used to generate the document endpoints for this region. If not specified it defaults to `${cosmosdb_account.name}-${location}`. Changing this causes the location to be deleted and re-provisioned and cannot be changed for the location with failover priority `0`.

Deprecated: This is deprecated because the service no longer accepts this as an input since Apr 25, 2019

func (AccountGeoLocationOutput) ToAccountGeoLocationOutput

func (o AccountGeoLocationOutput) ToAccountGeoLocationOutput() AccountGeoLocationOutput

func (AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext

func (o AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext(ctx context.Context) AccountGeoLocationOutput

func (AccountGeoLocationOutput) ZoneRedundant

func (o AccountGeoLocationOutput) ZoneRedundant() pulumi.BoolPtrOutput

Should zone redundancy be enabled for this region? Defaults to `false`.

type AccountIdentity added in v4.3.0

type AccountIdentity struct {
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs added in v4.3.0

type AccountIdentityArgs struct {
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType added in v4.3.0

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput added in v4.3.0

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext added in v4.3.0

func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutput added in v4.3.0

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext added in v4.3.0

func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

type AccountIdentityInput added in v4.3.0

type AccountIdentityInput interface {
	pulumi.Input

	ToAccountIdentityOutput() AccountIdentityOutput
	ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput
}

AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:

AccountIdentityArgs{...}

type AccountIdentityOutput added in v4.3.0

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType added in v4.3.0

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) PrincipalId added in v4.3.0

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityOutput) TenantId added in v4.3.0

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityOutput) ToAccountIdentityOutput added in v4.3.0

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext added in v4.3.0

func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutput added in v4.3.0

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext added in v4.3.0

func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityOutput) Type added in v4.3.0

Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`.

type AccountIdentityPtrInput added in v4.3.0

type AccountIdentityPtrInput interface {
	pulumi.Input

	ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
	ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput
}

AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:

        AccountIdentityArgs{...}

or:

        nil

func AccountIdentityPtr added in v4.3.0

func AccountIdentityPtr(v *AccountIdentityArgs) AccountIdentityPtrInput

type AccountIdentityPtrOutput added in v4.3.0

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem added in v4.3.0

func (AccountIdentityPtrOutput) ElementType added in v4.3.0

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) PrincipalId added in v4.3.0

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) TenantId added in v4.3.0

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput added in v4.3.0

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext added in v4.3.0

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) Type added in v4.3.0

Specifies the type of Managed Service Identity that should be configured on this Cosmos Account. Possible value is only `SystemAssigned`.

type AccountInput

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

func (AccountOutput) ToAccountPtrOutput

func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput

func (AccountOutput) ToAccountPtrOutputWithContext

func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountPtrInput

type AccountPtrInput interface {
	pulumi.Input

	ToAccountPtrOutput() AccountPtrOutput
	ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
}

type AccountPtrOutput

type AccountPtrOutput struct{ *pulumi.OutputState }

func (AccountPtrOutput) Elem added in v4.20.0

func (AccountPtrOutput) ElementType

func (AccountPtrOutput) ElementType() reflect.Type

func (AccountPtrOutput) ToAccountPtrOutput

func (o AccountPtrOutput) ToAccountPtrOutput() AccountPtrOutput

func (AccountPtrOutput) ToAccountPtrOutputWithContext

func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountState

type AccountState struct {
	// Is write operations on metadata resources (databases, containers, throughput) via account keys enabled? Defaults to `true`.
	AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput
	// Enable Analytical Storage option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created.
	AnalyticalStorageEnabled pulumi.BoolPtrInput
	// A `backup` block as defined below.
	Backup AccountBackupPtrInput
	// The capabilities which should be enabled for this Cosmos DB account. Value is a `capabilities` block as defined below. Changing this forces a new resource to be created.
	Capabilities AccountCapabilityArrayInput
	// A list of connection strings available for this CosmosDB account.
	ConnectionStrings pulumi.StringArrayInput
	// Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account.
	ConsistencyPolicy AccountConsistencyPolicyPtrInput
	// A `corsRule` block as defined below.
	CorsRule AccountCorsRulePtrInput
	// Enable automatic fail over for this Cosmos DB account.
	EnableAutomaticFailover pulumi.BoolPtrInput
	// Enable Free Tier pricing option for this Cosmos DB account. Defaults to `false`. Changing this forces a new resource to be created.
	EnableFreeTier pulumi.BoolPtrInput
	// Enable multiple write locations for this Cosmos DB account.
	EnableMultipleWriteLocations pulumi.BoolPtrInput
	// The endpoint used to connect to the CosmosDB account.
	Endpoint pulumi.StringPtrInput
	// Specifies a `geoLocation` resource, used to define where data should be replicated with the `failoverPriority` 0 specifying the primary location. Value is a `geoLocation` block as defined below.
	GeoLocations AccountGeoLocationArrayInput
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IP's for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
	IpRangeFilter pulumi.StringPtrInput
	// Enables virtual network filtering for this Cosmos DB account.
	IsVirtualNetworkFilterEnabled pulumi.BoolPtrInput
	// A versionless Key Vault Key ID for CMK encryption. Changing this forces a new resource to be created.
	KeyVaultKeyId pulumi.StringPtrInput
	// Specifies the Kind of CosmosDB to create - possible values are `GlobalDocumentDB` and `MongoDB`. Defaults to `GlobalDocumentDB`. Changing this forces a new resource to be created.
	Kind pulumi.StringPtrInput
	// Disable local authentication and ensure only MSI and AAD can be used exclusively for authentication. Defaults to `false`. Can be set only when using the SQL API.
	LocalAuthenticationDisabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Server Version of a MongoDB account. Possible values are `4.0`, `3.6`, and `3.2`.
	MongoServerVersion pulumi.StringPtrInput
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// If azure services can bypass ACLs. Defaults to `false`.
	NetworkAclBypassForAzureServices pulumi.BoolPtrInput
	// The list of resource Ids for Network Acl Bypass for this Cosmos DB account.
	NetworkAclBypassIds pulumi.StringArrayInput
	// Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`.
	OfferType pulumi.StringPtrInput
	// The Primary key for the CosmosDB Account.
	PrimaryKey pulumi.StringPtrInput
	// Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	PrimaryMasterKey pulumi.StringPtrInput
	// The Primary read-only Key for the CosmosDB Account.
	PrimaryReadonlyKey pulumi.StringPtrInput
	// Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	PrimaryReadonlyMasterKey pulumi.StringPtrInput
	// Whether or not public network access is allowed for this CosmosDB account.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints pulumi.StringArrayInput
	// The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Secondary key for the CosmosDB Account.
	SecondaryKey pulumi.StringPtrInput
	// Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	SecondaryMasterKey pulumi.StringPtrInput
	// The Secondary read-only key for the CosmosDB Account.
	SecondaryReadonlyKey pulumi.StringPtrInput
	// Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	SecondaryReadonlyMasterKey pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Specifies a `virtualNetworkRules` resource, used to define which subnets are allowed to access this CosmosDB account.
	VirtualNetworkRules AccountVirtualNetworkRuleArrayInput
	// A list of write endpoints available for this CosmosDB account.
	WriteEndpoints pulumi.StringArrayInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type AccountVirtualNetworkRule

type AccountVirtualNetworkRule struct {
	// The ID of the virtual network subnet.
	Id string `pulumi:"id"`
	// If set to true, the specified subnet will be added as a virtual network rule even if its CosmosDB service endpoint is not active. Defaults to `false`.
	IgnoreMissingVnetServiceEndpoint *bool `pulumi:"ignoreMissingVnetServiceEndpoint"`
}

type AccountVirtualNetworkRuleArgs

type AccountVirtualNetworkRuleArgs struct {
	// The ID of the virtual network subnet.
	Id pulumi.StringInput `pulumi:"id"`
	// If set to true, the specified subnet will be added as a virtual network rule even if its CosmosDB service endpoint is not active. Defaults to `false`.
	IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput `pulumi:"ignoreMissingVnetServiceEndpoint"`
}

func (AccountVirtualNetworkRuleArgs) ElementType

func (AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput

func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput

func (AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutputWithContext

func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleOutput

type AccountVirtualNetworkRuleArray

type AccountVirtualNetworkRuleArray []AccountVirtualNetworkRuleInput

func (AccountVirtualNetworkRuleArray) ElementType

func (AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput

func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput

func (AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutputWithContext

func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleArrayOutput

type AccountVirtualNetworkRuleArrayInput

type AccountVirtualNetworkRuleArrayInput interface {
	pulumi.Input

	ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput
	ToAccountVirtualNetworkRuleArrayOutputWithContext(context.Context) AccountVirtualNetworkRuleArrayOutput
}

AccountVirtualNetworkRuleArrayInput is an input type that accepts AccountVirtualNetworkRuleArray and AccountVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `AccountVirtualNetworkRuleArrayInput` via:

AccountVirtualNetworkRuleArray{ AccountVirtualNetworkRuleArgs{...} }

type AccountVirtualNetworkRuleArrayOutput

type AccountVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (AccountVirtualNetworkRuleArrayOutput) ElementType

func (AccountVirtualNetworkRuleArrayOutput) Index

func (AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput

func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput

func (AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutputWithContext

func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleArrayOutput

type AccountVirtualNetworkRuleInput

type AccountVirtualNetworkRuleInput interface {
	pulumi.Input

	ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput
	ToAccountVirtualNetworkRuleOutputWithContext(context.Context) AccountVirtualNetworkRuleOutput
}

AccountVirtualNetworkRuleInput is an input type that accepts AccountVirtualNetworkRuleArgs and AccountVirtualNetworkRuleOutput values. You can construct a concrete instance of `AccountVirtualNetworkRuleInput` via:

AccountVirtualNetworkRuleArgs{...}

type AccountVirtualNetworkRuleOutput

type AccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (AccountVirtualNetworkRuleOutput) ElementType

func (AccountVirtualNetworkRuleOutput) Id

The ID of the virtual network subnet.

func (AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint

func (o AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput

If set to true, the specified subnet will be added as a virtual network rule even if its CosmosDB service endpoint is not active. Defaults to `false`.

func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput

func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput

func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext

func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) AccountVirtualNetworkRuleOutput

type CassandraCluster added in v4.26.0

type CassandraCluster struct {
	pulumi.CustomResourceState

	// The initial admin password for this Cassandra Cluster.
	DefaultAdminPassword pulumi.StringOutput `pulumi:"defaultAdminPassword"`
	// The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	DelegatedManagementSubnetId pulumi.StringOutput `pulumi:"delegatedManagementSubnetId"`
	// The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a Cassandra Cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.1.0/24"),
			},
		})
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleVirtualNetwork.ID(),
			RoleDefinitionName: pulumi.String("Network Contributor"),
			PrincipalId:        pulumi.String("e5007d2c-4b13-4a74-9b6a-605d99f03501"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewCassandraCluster(ctx, "exampleCassandraCluster", &cosmosdb.CassandraClusterArgs{
			ResourceGroupName:           exampleResourceGroup.Name,
			Location:                    exampleResourceGroup.Location,
			DelegatedManagementSubnetId: exampleSubnet.ID(),
			DefaultAdminPassword:        pulumi.String("Password1234"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cassandra Clusters can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/cassandraCluster:CassandraCluster example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DocumentDB/cassandraClusters/cluster1

```

func GetCassandraCluster added in v4.26.0

func GetCassandraCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CassandraClusterState, opts ...pulumi.ResourceOption) (*CassandraCluster, error)

GetCassandraCluster gets an existing CassandraCluster 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 NewCassandraCluster added in v4.26.0

func NewCassandraCluster(ctx *pulumi.Context,
	name string, args *CassandraClusterArgs, opts ...pulumi.ResourceOption) (*CassandraCluster, error)

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

func (*CassandraCluster) ElementType added in v4.26.0

func (*CassandraCluster) ElementType() reflect.Type

func (*CassandraCluster) ToCassandraClusterOutput added in v4.26.0

func (i *CassandraCluster) ToCassandraClusterOutput() CassandraClusterOutput

func (*CassandraCluster) ToCassandraClusterOutputWithContext added in v4.26.0

func (i *CassandraCluster) ToCassandraClusterOutputWithContext(ctx context.Context) CassandraClusterOutput

func (*CassandraCluster) ToCassandraClusterPtrOutput added in v4.26.0

func (i *CassandraCluster) ToCassandraClusterPtrOutput() CassandraClusterPtrOutput

func (*CassandraCluster) ToCassandraClusterPtrOutputWithContext added in v4.26.0

func (i *CassandraCluster) ToCassandraClusterPtrOutputWithContext(ctx context.Context) CassandraClusterPtrOutput

type CassandraClusterArgs added in v4.26.0

type CassandraClusterArgs struct {
	// The initial admin password for this Cassandra Cluster.
	DefaultAdminPassword pulumi.StringInput
	// The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	DelegatedManagementSubnetId pulumi.StringInput
	// The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a CassandraCluster resource.

func (CassandraClusterArgs) ElementType added in v4.26.0

func (CassandraClusterArgs) ElementType() reflect.Type

type CassandraClusterArray added in v4.26.0

type CassandraClusterArray []CassandraClusterInput

func (CassandraClusterArray) ElementType added in v4.26.0

func (CassandraClusterArray) ElementType() reflect.Type

func (CassandraClusterArray) ToCassandraClusterArrayOutput added in v4.26.0

func (i CassandraClusterArray) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput

func (CassandraClusterArray) ToCassandraClusterArrayOutputWithContext added in v4.26.0

func (i CassandraClusterArray) ToCassandraClusterArrayOutputWithContext(ctx context.Context) CassandraClusterArrayOutput

type CassandraClusterArrayInput added in v4.26.0

type CassandraClusterArrayInput interface {
	pulumi.Input

	ToCassandraClusterArrayOutput() CassandraClusterArrayOutput
	ToCassandraClusterArrayOutputWithContext(context.Context) CassandraClusterArrayOutput
}

CassandraClusterArrayInput is an input type that accepts CassandraClusterArray and CassandraClusterArrayOutput values. You can construct a concrete instance of `CassandraClusterArrayInput` via:

CassandraClusterArray{ CassandraClusterArgs{...} }

type CassandraClusterArrayOutput added in v4.26.0

type CassandraClusterArrayOutput struct{ *pulumi.OutputState }

func (CassandraClusterArrayOutput) ElementType added in v4.26.0

func (CassandraClusterArrayOutput) Index added in v4.26.0

func (CassandraClusterArrayOutput) ToCassandraClusterArrayOutput added in v4.26.0

func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput

func (CassandraClusterArrayOutput) ToCassandraClusterArrayOutputWithContext added in v4.26.0

func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutputWithContext(ctx context.Context) CassandraClusterArrayOutput

type CassandraClusterInput added in v4.26.0

type CassandraClusterInput interface {
	pulumi.Input

	ToCassandraClusterOutput() CassandraClusterOutput
	ToCassandraClusterOutputWithContext(ctx context.Context) CassandraClusterOutput
}

type CassandraClusterMap added in v4.26.0

type CassandraClusterMap map[string]CassandraClusterInput

func (CassandraClusterMap) ElementType added in v4.26.0

func (CassandraClusterMap) ElementType() reflect.Type

func (CassandraClusterMap) ToCassandraClusterMapOutput added in v4.26.0

func (i CassandraClusterMap) ToCassandraClusterMapOutput() CassandraClusterMapOutput

func (CassandraClusterMap) ToCassandraClusterMapOutputWithContext added in v4.26.0

func (i CassandraClusterMap) ToCassandraClusterMapOutputWithContext(ctx context.Context) CassandraClusterMapOutput

type CassandraClusterMapInput added in v4.26.0

type CassandraClusterMapInput interface {
	pulumi.Input

	ToCassandraClusterMapOutput() CassandraClusterMapOutput
	ToCassandraClusterMapOutputWithContext(context.Context) CassandraClusterMapOutput
}

CassandraClusterMapInput is an input type that accepts CassandraClusterMap and CassandraClusterMapOutput values. You can construct a concrete instance of `CassandraClusterMapInput` via:

CassandraClusterMap{ "key": CassandraClusterArgs{...} }

type CassandraClusterMapOutput added in v4.26.0

type CassandraClusterMapOutput struct{ *pulumi.OutputState }

func (CassandraClusterMapOutput) ElementType added in v4.26.0

func (CassandraClusterMapOutput) ElementType() reflect.Type

func (CassandraClusterMapOutput) MapIndex added in v4.26.0

func (CassandraClusterMapOutput) ToCassandraClusterMapOutput added in v4.26.0

func (o CassandraClusterMapOutput) ToCassandraClusterMapOutput() CassandraClusterMapOutput

func (CassandraClusterMapOutput) ToCassandraClusterMapOutputWithContext added in v4.26.0

func (o CassandraClusterMapOutput) ToCassandraClusterMapOutputWithContext(ctx context.Context) CassandraClusterMapOutput

type CassandraClusterOutput added in v4.26.0

type CassandraClusterOutput struct{ *pulumi.OutputState }

func (CassandraClusterOutput) ElementType added in v4.26.0

func (CassandraClusterOutput) ElementType() reflect.Type

func (CassandraClusterOutput) ToCassandraClusterOutput added in v4.26.0

func (o CassandraClusterOutput) ToCassandraClusterOutput() CassandraClusterOutput

func (CassandraClusterOutput) ToCassandraClusterOutputWithContext added in v4.26.0

func (o CassandraClusterOutput) ToCassandraClusterOutputWithContext(ctx context.Context) CassandraClusterOutput

func (CassandraClusterOutput) ToCassandraClusterPtrOutput added in v4.26.0

func (o CassandraClusterOutput) ToCassandraClusterPtrOutput() CassandraClusterPtrOutput

func (CassandraClusterOutput) ToCassandraClusterPtrOutputWithContext added in v4.26.0

func (o CassandraClusterOutput) ToCassandraClusterPtrOutputWithContext(ctx context.Context) CassandraClusterPtrOutput

type CassandraClusterPtrInput added in v4.26.0

type CassandraClusterPtrInput interface {
	pulumi.Input

	ToCassandraClusterPtrOutput() CassandraClusterPtrOutput
	ToCassandraClusterPtrOutputWithContext(ctx context.Context) CassandraClusterPtrOutput
}

type CassandraClusterPtrOutput added in v4.26.0

type CassandraClusterPtrOutput struct{ *pulumi.OutputState }

func (CassandraClusterPtrOutput) Elem added in v4.26.0

func (CassandraClusterPtrOutput) ElementType added in v4.26.0

func (CassandraClusterPtrOutput) ElementType() reflect.Type

func (CassandraClusterPtrOutput) ToCassandraClusterPtrOutput added in v4.26.0

func (o CassandraClusterPtrOutput) ToCassandraClusterPtrOutput() CassandraClusterPtrOutput

func (CassandraClusterPtrOutput) ToCassandraClusterPtrOutputWithContext added in v4.26.0

func (o CassandraClusterPtrOutput) ToCassandraClusterPtrOutputWithContext(ctx context.Context) CassandraClusterPtrOutput

type CassandraClusterState added in v4.26.0

type CassandraClusterState struct {
	// The initial admin password for this Cassandra Cluster.
	DefaultAdminPassword pulumi.StringPtrInput
	// The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	DelegatedManagementSubnetId pulumi.StringPtrInput
	// The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (CassandraClusterState) ElementType added in v4.26.0

func (CassandraClusterState) ElementType() reflect.Type

type CassandraDatacenter added in v4.26.0

type CassandraDatacenter struct {
	pulumi.CustomResourceState

	// The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.
	CassandraClusterId pulumi.StringOutput `pulumi:"cassandraClusterId"`
	// The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	DelegatedManagementSubnetId pulumi.StringOutput `pulumi:"delegatedManagementSubnetId"`
	// Determines the number of p30 disks that are attached to each node. Defaults to 4.
	DiskCount pulumi.IntPtrOutput `pulumi:"diskCount"`
	// The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than 3. Defaults to 3.
	NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"`
	// Determines the selected sku. Defaults to Standard_DS14_v2.
	SkuName pulumi.StringPtrOutput `pulumi:"skuName"`
}

Manages a Cassandra Datacenter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.1.0/24"),
			},
		})
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleVirtualNetwork.ID(),
			RoleDefinitionName: pulumi.String("Network Contributor"),
			PrincipalId:        pulumi.String("e5007d2c-4b13-4a74-9b6a-605d99f03501"),
		})
		if err != nil {
			return err
		}
		exampleCassandraCluster, err := cosmosdb.NewCassandraCluster(ctx, "exampleCassandraCluster", &cosmosdb.CassandraClusterArgs{
			ResourceGroupName:           exampleResourceGroup.Name,
			Location:                    exampleResourceGroup.Location,
			DelegatedManagementSubnetId: exampleSubnet.ID(),
			DefaultAdminPassword:        pulumi.String("Password1234"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewCassandraDatacenter(ctx, "exampleCassandraDatacenter", &cosmosdb.CassandraDatacenterArgs{
			Location:                    exampleCassandraCluster.Location,
			CassandraClusterId:          exampleCassandraCluster.ID(),
			DelegatedManagementSubnetId: exampleSubnet.ID(),
			NodeCount:                   pulumi.Int(3),
			DiskCount:                   pulumi.Int(4),
			SkuName:                     pulumi.String("Standard_DS14_v2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cassandra Datacenters can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/cassandraDatacenter:CassandraDatacenter example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DocumentDB/cassandraClusters/cluster1/dataCenters/dc1

```

func GetCassandraDatacenter added in v4.26.0

func GetCassandraDatacenter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CassandraDatacenterState, opts ...pulumi.ResourceOption) (*CassandraDatacenter, error)

GetCassandraDatacenter gets an existing CassandraDatacenter 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 NewCassandraDatacenter added in v4.26.0

func NewCassandraDatacenter(ctx *pulumi.Context,
	name string, args *CassandraDatacenterArgs, opts ...pulumi.ResourceOption) (*CassandraDatacenter, error)

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

func (*CassandraDatacenter) ElementType added in v4.26.0

func (*CassandraDatacenter) ElementType() reflect.Type

func (*CassandraDatacenter) ToCassandraDatacenterOutput added in v4.26.0

func (i *CassandraDatacenter) ToCassandraDatacenterOutput() CassandraDatacenterOutput

func (*CassandraDatacenter) ToCassandraDatacenterOutputWithContext added in v4.26.0

func (i *CassandraDatacenter) ToCassandraDatacenterOutputWithContext(ctx context.Context) CassandraDatacenterOutput

func (*CassandraDatacenter) ToCassandraDatacenterPtrOutput added in v4.26.0

func (i *CassandraDatacenter) ToCassandraDatacenterPtrOutput() CassandraDatacenterPtrOutput

func (*CassandraDatacenter) ToCassandraDatacenterPtrOutputWithContext added in v4.26.0

func (i *CassandraDatacenter) ToCassandraDatacenterPtrOutputWithContext(ctx context.Context) CassandraDatacenterPtrOutput

type CassandraDatacenterArgs added in v4.26.0

type CassandraDatacenterArgs struct {
	// The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.
	CassandraClusterId pulumi.StringInput
	// The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	DelegatedManagementSubnetId pulumi.StringInput
	// Determines the number of p30 disks that are attached to each node. Defaults to 4.
	DiskCount pulumi.IntPtrInput
	// The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	Name pulumi.StringPtrInput
	// The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than 3. Defaults to 3.
	NodeCount pulumi.IntPtrInput
	// Determines the selected sku. Defaults to Standard_DS14_v2.
	SkuName pulumi.StringPtrInput
}

The set of arguments for constructing a CassandraDatacenter resource.

func (CassandraDatacenterArgs) ElementType added in v4.26.0

func (CassandraDatacenterArgs) ElementType() reflect.Type

type CassandraDatacenterArray added in v4.26.0

type CassandraDatacenterArray []CassandraDatacenterInput

func (CassandraDatacenterArray) ElementType added in v4.26.0

func (CassandraDatacenterArray) ElementType() reflect.Type

func (CassandraDatacenterArray) ToCassandraDatacenterArrayOutput added in v4.26.0

func (i CassandraDatacenterArray) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput

func (CassandraDatacenterArray) ToCassandraDatacenterArrayOutputWithContext added in v4.26.0

func (i CassandraDatacenterArray) ToCassandraDatacenterArrayOutputWithContext(ctx context.Context) CassandraDatacenterArrayOutput

type CassandraDatacenterArrayInput added in v4.26.0

type CassandraDatacenterArrayInput interface {
	pulumi.Input

	ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput
	ToCassandraDatacenterArrayOutputWithContext(context.Context) CassandraDatacenterArrayOutput
}

CassandraDatacenterArrayInput is an input type that accepts CassandraDatacenterArray and CassandraDatacenterArrayOutput values. You can construct a concrete instance of `CassandraDatacenterArrayInput` via:

CassandraDatacenterArray{ CassandraDatacenterArgs{...} }

type CassandraDatacenterArrayOutput added in v4.26.0

type CassandraDatacenterArrayOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterArrayOutput) ElementType added in v4.26.0

func (CassandraDatacenterArrayOutput) Index added in v4.26.0

func (CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput added in v4.26.0

func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput

func (CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutputWithContext added in v4.26.0

func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutputWithContext(ctx context.Context) CassandraDatacenterArrayOutput

type CassandraDatacenterInput added in v4.26.0

type CassandraDatacenterInput interface {
	pulumi.Input

	ToCassandraDatacenterOutput() CassandraDatacenterOutput
	ToCassandraDatacenterOutputWithContext(ctx context.Context) CassandraDatacenterOutput
}

type CassandraDatacenterMap added in v4.26.0

type CassandraDatacenterMap map[string]CassandraDatacenterInput

func (CassandraDatacenterMap) ElementType added in v4.26.0

func (CassandraDatacenterMap) ElementType() reflect.Type

func (CassandraDatacenterMap) ToCassandraDatacenterMapOutput added in v4.26.0

func (i CassandraDatacenterMap) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput

func (CassandraDatacenterMap) ToCassandraDatacenterMapOutputWithContext added in v4.26.0

func (i CassandraDatacenterMap) ToCassandraDatacenterMapOutputWithContext(ctx context.Context) CassandraDatacenterMapOutput

type CassandraDatacenterMapInput added in v4.26.0

type CassandraDatacenterMapInput interface {
	pulumi.Input

	ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput
	ToCassandraDatacenterMapOutputWithContext(context.Context) CassandraDatacenterMapOutput
}

CassandraDatacenterMapInput is an input type that accepts CassandraDatacenterMap and CassandraDatacenterMapOutput values. You can construct a concrete instance of `CassandraDatacenterMapInput` via:

CassandraDatacenterMap{ "key": CassandraDatacenterArgs{...} }

type CassandraDatacenterMapOutput added in v4.26.0

type CassandraDatacenterMapOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterMapOutput) ElementType added in v4.26.0

func (CassandraDatacenterMapOutput) MapIndex added in v4.26.0

func (CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput added in v4.26.0

func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput

func (CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutputWithContext added in v4.26.0

func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutputWithContext(ctx context.Context) CassandraDatacenterMapOutput

type CassandraDatacenterOutput added in v4.26.0

type CassandraDatacenterOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterOutput) ElementType added in v4.26.0

func (CassandraDatacenterOutput) ElementType() reflect.Type

func (CassandraDatacenterOutput) ToCassandraDatacenterOutput added in v4.26.0

func (o CassandraDatacenterOutput) ToCassandraDatacenterOutput() CassandraDatacenterOutput

func (CassandraDatacenterOutput) ToCassandraDatacenterOutputWithContext added in v4.26.0

func (o CassandraDatacenterOutput) ToCassandraDatacenterOutputWithContext(ctx context.Context) CassandraDatacenterOutput

func (CassandraDatacenterOutput) ToCassandraDatacenterPtrOutput added in v4.26.0

func (o CassandraDatacenterOutput) ToCassandraDatacenterPtrOutput() CassandraDatacenterPtrOutput

func (CassandraDatacenterOutput) ToCassandraDatacenterPtrOutputWithContext added in v4.26.0

func (o CassandraDatacenterOutput) ToCassandraDatacenterPtrOutputWithContext(ctx context.Context) CassandraDatacenterPtrOutput

type CassandraDatacenterPtrInput added in v4.26.0

type CassandraDatacenterPtrInput interface {
	pulumi.Input

	ToCassandraDatacenterPtrOutput() CassandraDatacenterPtrOutput
	ToCassandraDatacenterPtrOutputWithContext(ctx context.Context) CassandraDatacenterPtrOutput
}

type CassandraDatacenterPtrOutput added in v4.26.0

type CassandraDatacenterPtrOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterPtrOutput) Elem added in v4.26.0

func (CassandraDatacenterPtrOutput) ElementType added in v4.26.0

func (CassandraDatacenterPtrOutput) ToCassandraDatacenterPtrOutput added in v4.26.0

func (o CassandraDatacenterPtrOutput) ToCassandraDatacenterPtrOutput() CassandraDatacenterPtrOutput

func (CassandraDatacenterPtrOutput) ToCassandraDatacenterPtrOutputWithContext added in v4.26.0

func (o CassandraDatacenterPtrOutput) ToCassandraDatacenterPtrOutputWithContext(ctx context.Context) CassandraDatacenterPtrOutput

type CassandraDatacenterState added in v4.26.0

type CassandraDatacenterState struct {
	// The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.
	CassandraClusterId pulumi.StringPtrInput
	// The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	DelegatedManagementSubnetId pulumi.StringPtrInput
	// Determines the number of p30 disks that are attached to each node. Defaults to 4.
	DiskCount pulumi.IntPtrInput
	// The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	Name pulumi.StringPtrInput
	// The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than 3. Defaults to 3.
	NodeCount pulumi.IntPtrInput
	// Determines the selected sku. Defaults to Standard_DS14_v2.
	SkuName pulumi.StringPtrInput
}

func (CassandraDatacenterState) ElementType added in v4.26.0

func (CassandraDatacenterState) ElementType() reflect.Type

type CassandraKeyspace

type CassandraKeyspace struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	AutoscaleSettings CassandraKeyspaceAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of Cassandra KeySpace (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Cassandra KeySpace within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
			Name: "tflex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{
			ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
			Location:          pulumi.String(exampleResourceGroup.Location),
			OfferType:         pulumi.String("Standard"),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableCassandra"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         pulumi.String("West US"),
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewCassandraKeyspace(ctx, "exampleCassandraKeyspace", &cosmosdb.CassandraKeyspaceArgs{
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos Cassandra KeySpace can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/cassandraKeyspace:CassandraKeyspace ks1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/cassandraKeyspaces/ks1

```

func GetCassandraKeyspace

func GetCassandraKeyspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CassandraKeyspaceState, opts ...pulumi.ResourceOption) (*CassandraKeyspace, error)

GetCassandraKeyspace gets an existing CassandraKeyspace 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 NewCassandraKeyspace

func NewCassandraKeyspace(ctx *pulumi.Context,
	name string, args *CassandraKeyspaceArgs, opts ...pulumi.ResourceOption) (*CassandraKeyspace, error)

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

func (*CassandraKeyspace) ElementType

func (*CassandraKeyspace) ElementType() reflect.Type

func (*CassandraKeyspace) ToCassandraKeyspaceOutput

func (i *CassandraKeyspace) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput

func (*CassandraKeyspace) ToCassandraKeyspaceOutputWithContext

func (i *CassandraKeyspace) ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput

func (*CassandraKeyspace) ToCassandraKeyspacePtrOutput

func (i *CassandraKeyspace) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput

func (*CassandraKeyspace) ToCassandraKeyspacePtrOutputWithContext

func (i *CassandraKeyspace) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput

type CassandraKeyspaceArgs

type CassandraKeyspaceArgs struct {
	// The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	AutoscaleSettings CassandraKeyspaceAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of Cassandra KeySpace (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a CassandraKeyspace resource.

func (CassandraKeyspaceArgs) ElementType

func (CassandraKeyspaceArgs) ElementType() reflect.Type

type CassandraKeyspaceArray

type CassandraKeyspaceArray []CassandraKeyspaceInput

func (CassandraKeyspaceArray) ElementType

func (CassandraKeyspaceArray) ElementType() reflect.Type

func (CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutput

func (i CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput

func (CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutputWithContext

func (i CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutputWithContext(ctx context.Context) CassandraKeyspaceArrayOutput

type CassandraKeyspaceArrayInput

type CassandraKeyspaceArrayInput interface {
	pulumi.Input

	ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput
	ToCassandraKeyspaceArrayOutputWithContext(context.Context) CassandraKeyspaceArrayOutput
}

CassandraKeyspaceArrayInput is an input type that accepts CassandraKeyspaceArray and CassandraKeyspaceArrayOutput values. You can construct a concrete instance of `CassandraKeyspaceArrayInput` via:

CassandraKeyspaceArray{ CassandraKeyspaceArgs{...} }

type CassandraKeyspaceArrayOutput

type CassandraKeyspaceArrayOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceArrayOutput) ElementType

func (CassandraKeyspaceArrayOutput) Index

func (CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput

func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput

func (CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutputWithContext

func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutputWithContext(ctx context.Context) CassandraKeyspaceArrayOutput

type CassandraKeyspaceAutoscaleSettings

type CassandraKeyspaceAutoscaleSettings struct {
	// The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type CassandraKeyspaceAutoscaleSettingsArgs

type CassandraKeyspaceAutoscaleSettingsArgs struct {
	// The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (CassandraKeyspaceAutoscaleSettingsArgs) ElementType

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput

func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext

func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsOutput

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput

func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext

func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput

type CassandraKeyspaceAutoscaleSettingsInput

type CassandraKeyspaceAutoscaleSettingsInput interface {
	pulumi.Input

	ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput
	ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(context.Context) CassandraKeyspaceAutoscaleSettingsOutput
}

CassandraKeyspaceAutoscaleSettingsInput is an input type that accepts CassandraKeyspaceAutoscaleSettingsArgs and CassandraKeyspaceAutoscaleSettingsOutput values. You can construct a concrete instance of `CassandraKeyspaceAutoscaleSettingsInput` via:

CassandraKeyspaceAutoscaleSettingsArgs{...}

type CassandraKeyspaceAutoscaleSettingsOutput

type CassandraKeyspaceAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceAutoscaleSettingsOutput) ElementType

func (CassandraKeyspaceAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput

func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext

func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsOutput

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput

func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext

func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput

type CassandraKeyspaceAutoscaleSettingsPtrInput

type CassandraKeyspaceAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput
	ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput
}

CassandraKeyspaceAutoscaleSettingsPtrInput is an input type that accepts CassandraKeyspaceAutoscaleSettingsArgs, CassandraKeyspaceAutoscaleSettingsPtr and CassandraKeyspaceAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `CassandraKeyspaceAutoscaleSettingsPtrInput` via:

        CassandraKeyspaceAutoscaleSettingsArgs{...}

or:

        nil

type CassandraKeyspaceAutoscaleSettingsPtrOutput

type CassandraKeyspaceAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) Elem

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ElementType

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the Cassandra KeySpace (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput

func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext

func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraKeyspaceAutoscaleSettingsPtrOutput

type CassandraKeyspaceInput

type CassandraKeyspaceInput interface {
	pulumi.Input

	ToCassandraKeyspaceOutput() CassandraKeyspaceOutput
	ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput
}

type CassandraKeyspaceMap

type CassandraKeyspaceMap map[string]CassandraKeyspaceInput

func (CassandraKeyspaceMap) ElementType

func (CassandraKeyspaceMap) ElementType() reflect.Type

func (CassandraKeyspaceMap) ToCassandraKeyspaceMapOutput

func (i CassandraKeyspaceMap) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput

func (CassandraKeyspaceMap) ToCassandraKeyspaceMapOutputWithContext

func (i CassandraKeyspaceMap) ToCassandraKeyspaceMapOutputWithContext(ctx context.Context) CassandraKeyspaceMapOutput

type CassandraKeyspaceMapInput

type CassandraKeyspaceMapInput interface {
	pulumi.Input

	ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput
	ToCassandraKeyspaceMapOutputWithContext(context.Context) CassandraKeyspaceMapOutput
}

CassandraKeyspaceMapInput is an input type that accepts CassandraKeyspaceMap and CassandraKeyspaceMapOutput values. You can construct a concrete instance of `CassandraKeyspaceMapInput` via:

CassandraKeyspaceMap{ "key": CassandraKeyspaceArgs{...} }

type CassandraKeyspaceMapOutput

type CassandraKeyspaceMapOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceMapOutput) ElementType

func (CassandraKeyspaceMapOutput) ElementType() reflect.Type

func (CassandraKeyspaceMapOutput) MapIndex

func (CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput

func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput

func (CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutputWithContext

func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutputWithContext(ctx context.Context) CassandraKeyspaceMapOutput

type CassandraKeyspaceOutput

type CassandraKeyspaceOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceOutput) ElementType

func (CassandraKeyspaceOutput) ElementType() reflect.Type

func (CassandraKeyspaceOutput) ToCassandraKeyspaceOutput

func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput

func (CassandraKeyspaceOutput) ToCassandraKeyspaceOutputWithContext

func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutputWithContext(ctx context.Context) CassandraKeyspaceOutput

func (CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutput

func (o CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput

func (CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutputWithContext

func (o CassandraKeyspaceOutput) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput

type CassandraKeyspacePtrInput

type CassandraKeyspacePtrInput interface {
	pulumi.Input

	ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput
	ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput
}

type CassandraKeyspacePtrOutput

type CassandraKeyspacePtrOutput struct{ *pulumi.OutputState }

func (CassandraKeyspacePtrOutput) Elem added in v4.20.0

func (CassandraKeyspacePtrOutput) ElementType

func (CassandraKeyspacePtrOutput) ElementType() reflect.Type

func (CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutput

func (o CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutput() CassandraKeyspacePtrOutput

func (CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutputWithContext

func (o CassandraKeyspacePtrOutput) ToCassandraKeyspacePtrOutputWithContext(ctx context.Context) CassandraKeyspacePtrOutput

type CassandraKeyspaceState

type CassandraKeyspaceState struct {
	// The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	AutoscaleSettings CassandraKeyspaceAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of Cassandra KeySpace (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

func (CassandraKeyspaceState) ElementType

func (CassandraKeyspaceState) ElementType() reflect.Type

type CassandraTable

type CassandraTable struct {
	pulumi.CustomResourceState

	// Time to live of the Analytical Storage. Possible values are at least `-1`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.
	AnalyticalStorageTtl pulumi.IntPtrOutput                      `pulumi:"analyticalStorageTtl"`
	AutoscaleSettings    CassandraTableAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.
	CassandraKeyspaceId pulumi.StringOutput `pulumi:"cassandraKeyspaceId"`
	// Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
	DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"`
	// Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `schema` block as defined below. Changing this forces a new resource to be created.
	Schema     CassandraTableSchemaOutput `pulumi:"schema"`
	Throughput pulumi.IntOutput           `pulumi:"throughput"`
}

Manages a Cassandra Table within a Cosmos DB Cassandra Keyspace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
			Name: "tflex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{
			ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
			Location:          pulumi.String(exampleResourceGroup.Location),
			OfferType:         pulumi.String("Standard"),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableCassandra"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         pulumi.String("West US"),
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleCassandraKeyspace, err := cosmosdb.NewCassandraKeyspace(ctx, "exampleCassandraKeyspace", &cosmosdb.CassandraKeyspaceArgs{
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewCassandraTable(ctx, "exampleCassandraTable", &cosmosdb.CassandraTableArgs{
			CassandraKeyspaceId: exampleCassandraKeyspace.ID(),
			Schema: &cosmosdb.CassandraTableSchemaArgs{
				Columns: cosmosdb.CassandraTableSchemaColumnArray{
					&cosmosdb.CassandraTableSchemaColumnArgs{
						Name: pulumi.String("test1"),
						Type: pulumi.String("ascii"),
					},
					&cosmosdb.CassandraTableSchemaColumnArgs{
						Name: pulumi.String("test2"),
						Type: pulumi.String("int"),
					},
				},
				PartitionKeys: cosmosdb.CassandraTableSchemaPartitionKeyArray{
					&cosmosdb.CassandraTableSchemaPartitionKeyArgs{
						Name: pulumi.String("test1"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos Cassandra Table can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/cassandraTable:CassandraTable ks1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/cassandraKeyspaces/ks1/tables/table1

```

func GetCassandraTable

func GetCassandraTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CassandraTableState, opts ...pulumi.ResourceOption) (*CassandraTable, error)

GetCassandraTable gets an existing CassandraTable 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 NewCassandraTable

func NewCassandraTable(ctx *pulumi.Context,
	name string, args *CassandraTableArgs, opts ...pulumi.ResourceOption) (*CassandraTable, error)

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

func (*CassandraTable) ElementType

func (*CassandraTable) ElementType() reflect.Type

func (*CassandraTable) ToCassandraTableOutput

func (i *CassandraTable) ToCassandraTableOutput() CassandraTableOutput

func (*CassandraTable) ToCassandraTableOutputWithContext

func (i *CassandraTable) ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput

func (*CassandraTable) ToCassandraTablePtrOutput

func (i *CassandraTable) ToCassandraTablePtrOutput() CassandraTablePtrOutput

func (*CassandraTable) ToCassandraTablePtrOutputWithContext

func (i *CassandraTable) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput

type CassandraTableArgs

type CassandraTableArgs struct {
	// Time to live of the Analytical Storage. Possible values are at least `-1`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    CassandraTableAutoscaleSettingsPtrInput
	// The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.
	CassandraKeyspaceId pulumi.StringInput
	// Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
	DefaultTtl pulumi.IntPtrInput
	// Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `schema` block as defined below. Changing this forces a new resource to be created.
	Schema     CassandraTableSchemaInput
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a CassandraTable resource.

func (CassandraTableArgs) ElementType

func (CassandraTableArgs) ElementType() reflect.Type

type CassandraTableArray

type CassandraTableArray []CassandraTableInput

func (CassandraTableArray) ElementType

func (CassandraTableArray) ElementType() reflect.Type

func (CassandraTableArray) ToCassandraTableArrayOutput

func (i CassandraTableArray) ToCassandraTableArrayOutput() CassandraTableArrayOutput

func (CassandraTableArray) ToCassandraTableArrayOutputWithContext

func (i CassandraTableArray) ToCassandraTableArrayOutputWithContext(ctx context.Context) CassandraTableArrayOutput

type CassandraTableArrayInput

type CassandraTableArrayInput interface {
	pulumi.Input

	ToCassandraTableArrayOutput() CassandraTableArrayOutput
	ToCassandraTableArrayOutputWithContext(context.Context) CassandraTableArrayOutput
}

CassandraTableArrayInput is an input type that accepts CassandraTableArray and CassandraTableArrayOutput values. You can construct a concrete instance of `CassandraTableArrayInput` via:

CassandraTableArray{ CassandraTableArgs{...} }

type CassandraTableArrayOutput

type CassandraTableArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableArrayOutput) ElementType

func (CassandraTableArrayOutput) ElementType() reflect.Type

func (CassandraTableArrayOutput) Index

func (CassandraTableArrayOutput) ToCassandraTableArrayOutput

func (o CassandraTableArrayOutput) ToCassandraTableArrayOutput() CassandraTableArrayOutput

func (CassandraTableArrayOutput) ToCassandraTableArrayOutputWithContext

func (o CassandraTableArrayOutput) ToCassandraTableArrayOutputWithContext(ctx context.Context) CassandraTableArrayOutput

type CassandraTableAutoscaleSettings

type CassandraTableAutoscaleSettings struct {
	// The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type CassandraTableAutoscaleSettingsArgs

type CassandraTableAutoscaleSettingsArgs struct {
	// The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (CassandraTableAutoscaleSettingsArgs) ElementType

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput

func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutputWithContext

func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsOutput

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput

func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutputWithContext

func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput

type CassandraTableAutoscaleSettingsInput

type CassandraTableAutoscaleSettingsInput interface {
	pulumi.Input

	ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput
	ToCassandraTableAutoscaleSettingsOutputWithContext(context.Context) CassandraTableAutoscaleSettingsOutput
}

CassandraTableAutoscaleSettingsInput is an input type that accepts CassandraTableAutoscaleSettingsArgs and CassandraTableAutoscaleSettingsOutput values. You can construct a concrete instance of `CassandraTableAutoscaleSettingsInput` via:

CassandraTableAutoscaleSettingsArgs{...}

type CassandraTableAutoscaleSettingsOutput

type CassandraTableAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (CassandraTableAutoscaleSettingsOutput) ElementType

func (CassandraTableAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput

func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutputWithContext

func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsOutput

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput

func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext

func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput

type CassandraTableAutoscaleSettingsPtrInput

type CassandraTableAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput
	ToCassandraTableAutoscaleSettingsPtrOutputWithContext(context.Context) CassandraTableAutoscaleSettingsPtrOutput
}

CassandraTableAutoscaleSettingsPtrInput is an input type that accepts CassandraTableAutoscaleSettingsArgs, CassandraTableAutoscaleSettingsPtr and CassandraTableAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `CassandraTableAutoscaleSettingsPtrInput` via:

        CassandraTableAutoscaleSettingsArgs{...}

or:

        nil

type CassandraTableAutoscaleSettingsPtrOutput

type CassandraTableAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (CassandraTableAutoscaleSettingsPtrOutput) Elem

func (CassandraTableAutoscaleSettingsPtrOutput) ElementType

func (CassandraTableAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the Cassandra Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput

func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput

func (CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext

func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) CassandraTableAutoscaleSettingsPtrOutput

type CassandraTableInput

type CassandraTableInput interface {
	pulumi.Input

	ToCassandraTableOutput() CassandraTableOutput
	ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput
}

type CassandraTableMap

type CassandraTableMap map[string]CassandraTableInput

func (CassandraTableMap) ElementType

func (CassandraTableMap) ElementType() reflect.Type

func (CassandraTableMap) ToCassandraTableMapOutput

func (i CassandraTableMap) ToCassandraTableMapOutput() CassandraTableMapOutput

func (CassandraTableMap) ToCassandraTableMapOutputWithContext

func (i CassandraTableMap) ToCassandraTableMapOutputWithContext(ctx context.Context) CassandraTableMapOutput

type CassandraTableMapInput

type CassandraTableMapInput interface {
	pulumi.Input

	ToCassandraTableMapOutput() CassandraTableMapOutput
	ToCassandraTableMapOutputWithContext(context.Context) CassandraTableMapOutput
}

CassandraTableMapInput is an input type that accepts CassandraTableMap and CassandraTableMapOutput values. You can construct a concrete instance of `CassandraTableMapInput` via:

CassandraTableMap{ "key": CassandraTableArgs{...} }

type CassandraTableMapOutput

type CassandraTableMapOutput struct{ *pulumi.OutputState }

func (CassandraTableMapOutput) ElementType

func (CassandraTableMapOutput) ElementType() reflect.Type

func (CassandraTableMapOutput) MapIndex

func (CassandraTableMapOutput) ToCassandraTableMapOutput

func (o CassandraTableMapOutput) ToCassandraTableMapOutput() CassandraTableMapOutput

func (CassandraTableMapOutput) ToCassandraTableMapOutputWithContext

func (o CassandraTableMapOutput) ToCassandraTableMapOutputWithContext(ctx context.Context) CassandraTableMapOutput

type CassandraTableOutput

type CassandraTableOutput struct{ *pulumi.OutputState }

func (CassandraTableOutput) ElementType

func (CassandraTableOutput) ElementType() reflect.Type

func (CassandraTableOutput) ToCassandraTableOutput

func (o CassandraTableOutput) ToCassandraTableOutput() CassandraTableOutput

func (CassandraTableOutput) ToCassandraTableOutputWithContext

func (o CassandraTableOutput) ToCassandraTableOutputWithContext(ctx context.Context) CassandraTableOutput

func (CassandraTableOutput) ToCassandraTablePtrOutput

func (o CassandraTableOutput) ToCassandraTablePtrOutput() CassandraTablePtrOutput

func (CassandraTableOutput) ToCassandraTablePtrOutputWithContext

func (o CassandraTableOutput) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput

type CassandraTablePtrInput

type CassandraTablePtrInput interface {
	pulumi.Input

	ToCassandraTablePtrOutput() CassandraTablePtrOutput
	ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput
}

type CassandraTablePtrOutput

type CassandraTablePtrOutput struct{ *pulumi.OutputState }

func (CassandraTablePtrOutput) Elem added in v4.20.0

func (CassandraTablePtrOutput) ElementType

func (CassandraTablePtrOutput) ElementType() reflect.Type

func (CassandraTablePtrOutput) ToCassandraTablePtrOutput

func (o CassandraTablePtrOutput) ToCassandraTablePtrOutput() CassandraTablePtrOutput

func (CassandraTablePtrOutput) ToCassandraTablePtrOutputWithContext

func (o CassandraTablePtrOutput) ToCassandraTablePtrOutputWithContext(ctx context.Context) CassandraTablePtrOutput

type CassandraTableSchema

type CassandraTableSchema struct {
	// One or more `clusterKey` blocks as defined below.
	ClusterKeys []CassandraTableSchemaClusterKey `pulumi:"clusterKeys"`
	// One or more `column` blocks as defined below.
	Columns []CassandraTableSchemaColumn `pulumi:"columns"`
	// One or more `partitionKey` blocks as defined below.
	PartitionKeys []CassandraTableSchemaPartitionKey `pulumi:"partitionKeys"`
}

type CassandraTableSchemaArgs

type CassandraTableSchemaArgs struct {
	// One or more `clusterKey` blocks as defined below.
	ClusterKeys CassandraTableSchemaClusterKeyArrayInput `pulumi:"clusterKeys"`
	// One or more `column` blocks as defined below.
	Columns CassandraTableSchemaColumnArrayInput `pulumi:"columns"`
	// One or more `partitionKey` blocks as defined below.
	PartitionKeys CassandraTableSchemaPartitionKeyArrayInput `pulumi:"partitionKeys"`
}

func (CassandraTableSchemaArgs) ElementType

func (CassandraTableSchemaArgs) ElementType() reflect.Type

func (CassandraTableSchemaArgs) ToCassandraTableSchemaOutput

func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput

func (CassandraTableSchemaArgs) ToCassandraTableSchemaOutputWithContext

func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutputWithContext(ctx context.Context) CassandraTableSchemaOutput

func (CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput

func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput

func (CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutputWithContext

func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput

type CassandraTableSchemaClusterKey

type CassandraTableSchemaClusterKey struct {
	// Name of the cluster key to be created.
	Name string `pulumi:"name"`
	// Order of the key. Currently supported values are `Asc` and `Desc`.
	OrderBy string `pulumi:"orderBy"`
}

type CassandraTableSchemaClusterKeyArgs

type CassandraTableSchemaClusterKeyArgs struct {
	// Name of the cluster key to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// Order of the key. Currently supported values are `Asc` and `Desc`.
	OrderBy pulumi.StringInput `pulumi:"orderBy"`
}

func (CassandraTableSchemaClusterKeyArgs) ElementType

func (CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput

func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput

func (CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutputWithContext

func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyOutput

type CassandraTableSchemaClusterKeyArray

type CassandraTableSchemaClusterKeyArray []CassandraTableSchemaClusterKeyInput

func (CassandraTableSchemaClusterKeyArray) ElementType

func (CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput

func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput

func (CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutputWithContext

func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyArrayOutput

type CassandraTableSchemaClusterKeyArrayInput

type CassandraTableSchemaClusterKeyArrayInput interface {
	pulumi.Input

	ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput
	ToCassandraTableSchemaClusterKeyArrayOutputWithContext(context.Context) CassandraTableSchemaClusterKeyArrayOutput
}

CassandraTableSchemaClusterKeyArrayInput is an input type that accepts CassandraTableSchemaClusterKeyArray and CassandraTableSchemaClusterKeyArrayOutput values. You can construct a concrete instance of `CassandraTableSchemaClusterKeyArrayInput` via:

CassandraTableSchemaClusterKeyArray{ CassandraTableSchemaClusterKeyArgs{...} }

type CassandraTableSchemaClusterKeyArrayOutput

type CassandraTableSchemaClusterKeyArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaClusterKeyArrayOutput) ElementType

func (CassandraTableSchemaClusterKeyArrayOutput) Index

func (CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput

func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput

func (CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutputWithContext

func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyArrayOutput

type CassandraTableSchemaClusterKeyInput

type CassandraTableSchemaClusterKeyInput interface {
	pulumi.Input

	ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput
	ToCassandraTableSchemaClusterKeyOutputWithContext(context.Context) CassandraTableSchemaClusterKeyOutput
}

CassandraTableSchemaClusterKeyInput is an input type that accepts CassandraTableSchemaClusterKeyArgs and CassandraTableSchemaClusterKeyOutput values. You can construct a concrete instance of `CassandraTableSchemaClusterKeyInput` via:

CassandraTableSchemaClusterKeyArgs{...}

type CassandraTableSchemaClusterKeyOutput

type CassandraTableSchemaClusterKeyOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaClusterKeyOutput) ElementType

func (CassandraTableSchemaClusterKeyOutput) Name

Name of the cluster key to be created.

func (CassandraTableSchemaClusterKeyOutput) OrderBy

Order of the key. Currently supported values are `Asc` and `Desc`.

func (CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput

func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput

func (CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutputWithContext

func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutputWithContext(ctx context.Context) CassandraTableSchemaClusterKeyOutput

type CassandraTableSchemaColumn

type CassandraTableSchemaColumn struct {
	// Name of the column to be created.
	Name string `pulumi:"name"`
	// Type of the column to be created.
	Type string `pulumi:"type"`
}

type CassandraTableSchemaColumnArgs

type CassandraTableSchemaColumnArgs struct {
	// Name of the column to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of the column to be created.
	Type pulumi.StringInput `pulumi:"type"`
}

func (CassandraTableSchemaColumnArgs) ElementType

func (CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput

func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput

func (CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutputWithContext

func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutputWithContext(ctx context.Context) CassandraTableSchemaColumnOutput

type CassandraTableSchemaColumnArray

type CassandraTableSchemaColumnArray []CassandraTableSchemaColumnInput

func (CassandraTableSchemaColumnArray) ElementType

func (CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput

func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput

func (CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutputWithContext

func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutputWithContext(ctx context.Context) CassandraTableSchemaColumnArrayOutput

type CassandraTableSchemaColumnArrayInput

type CassandraTableSchemaColumnArrayInput interface {
	pulumi.Input

	ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput
	ToCassandraTableSchemaColumnArrayOutputWithContext(context.Context) CassandraTableSchemaColumnArrayOutput
}

CassandraTableSchemaColumnArrayInput is an input type that accepts CassandraTableSchemaColumnArray and CassandraTableSchemaColumnArrayOutput values. You can construct a concrete instance of `CassandraTableSchemaColumnArrayInput` via:

CassandraTableSchemaColumnArray{ CassandraTableSchemaColumnArgs{...} }

type CassandraTableSchemaColumnArrayOutput

type CassandraTableSchemaColumnArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaColumnArrayOutput) ElementType

func (CassandraTableSchemaColumnArrayOutput) Index

func (CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput

func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput

func (CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutputWithContext

func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutputWithContext(ctx context.Context) CassandraTableSchemaColumnArrayOutput

type CassandraTableSchemaColumnInput

type CassandraTableSchemaColumnInput interface {
	pulumi.Input

	ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput
	ToCassandraTableSchemaColumnOutputWithContext(context.Context) CassandraTableSchemaColumnOutput
}

CassandraTableSchemaColumnInput is an input type that accepts CassandraTableSchemaColumnArgs and CassandraTableSchemaColumnOutput values. You can construct a concrete instance of `CassandraTableSchemaColumnInput` via:

CassandraTableSchemaColumnArgs{...}

type CassandraTableSchemaColumnOutput

type CassandraTableSchemaColumnOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaColumnOutput) ElementType

func (CassandraTableSchemaColumnOutput) Name

Name of the column to be created.

func (CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput

func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput

func (CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutputWithContext

func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutputWithContext(ctx context.Context) CassandraTableSchemaColumnOutput

func (CassandraTableSchemaColumnOutput) Type

Type of the column to be created.

type CassandraTableSchemaInput

type CassandraTableSchemaInput interface {
	pulumi.Input

	ToCassandraTableSchemaOutput() CassandraTableSchemaOutput
	ToCassandraTableSchemaOutputWithContext(context.Context) CassandraTableSchemaOutput
}

CassandraTableSchemaInput is an input type that accepts CassandraTableSchemaArgs and CassandraTableSchemaOutput values. You can construct a concrete instance of `CassandraTableSchemaInput` via:

CassandraTableSchemaArgs{...}

type CassandraTableSchemaOutput

type CassandraTableSchemaOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaOutput) ClusterKeys

One or more `clusterKey` blocks as defined below.

func (CassandraTableSchemaOutput) Columns

One or more `column` blocks as defined below.

func (CassandraTableSchemaOutput) ElementType

func (CassandraTableSchemaOutput) ElementType() reflect.Type

func (CassandraTableSchemaOutput) PartitionKeys

One or more `partitionKey` blocks as defined below.

func (CassandraTableSchemaOutput) ToCassandraTableSchemaOutput

func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput

func (CassandraTableSchemaOutput) ToCassandraTableSchemaOutputWithContext

func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutputWithContext(ctx context.Context) CassandraTableSchemaOutput

func (CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput

func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput

func (CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutputWithContext

func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput

type CassandraTableSchemaPartitionKey

type CassandraTableSchemaPartitionKey struct {
	// Name of the column to partition by.
	Name string `pulumi:"name"`
}

type CassandraTableSchemaPartitionKeyArgs

type CassandraTableSchemaPartitionKeyArgs struct {
	// Name of the column to partition by.
	Name pulumi.StringInput `pulumi:"name"`
}

func (CassandraTableSchemaPartitionKeyArgs) ElementType

func (CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput

func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput

func (CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutputWithContext

func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyOutput

type CassandraTableSchemaPartitionKeyArray

type CassandraTableSchemaPartitionKeyArray []CassandraTableSchemaPartitionKeyInput

func (CassandraTableSchemaPartitionKeyArray) ElementType

func (CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput

func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput

func (CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext

func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyArrayOutput

type CassandraTableSchemaPartitionKeyArrayInput

type CassandraTableSchemaPartitionKeyArrayInput interface {
	pulumi.Input

	ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput
	ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(context.Context) CassandraTableSchemaPartitionKeyArrayOutput
}

CassandraTableSchemaPartitionKeyArrayInput is an input type that accepts CassandraTableSchemaPartitionKeyArray and CassandraTableSchemaPartitionKeyArrayOutput values. You can construct a concrete instance of `CassandraTableSchemaPartitionKeyArrayInput` via:

CassandraTableSchemaPartitionKeyArray{ CassandraTableSchemaPartitionKeyArgs{...} }

type CassandraTableSchemaPartitionKeyArrayOutput

type CassandraTableSchemaPartitionKeyArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaPartitionKeyArrayOutput) ElementType

func (CassandraTableSchemaPartitionKeyArrayOutput) Index

func (CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput

func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput

func (CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext

func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyArrayOutput

type CassandraTableSchemaPartitionKeyInput

type CassandraTableSchemaPartitionKeyInput interface {
	pulumi.Input

	ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput
	ToCassandraTableSchemaPartitionKeyOutputWithContext(context.Context) CassandraTableSchemaPartitionKeyOutput
}

CassandraTableSchemaPartitionKeyInput is an input type that accepts CassandraTableSchemaPartitionKeyArgs and CassandraTableSchemaPartitionKeyOutput values. You can construct a concrete instance of `CassandraTableSchemaPartitionKeyInput` via:

CassandraTableSchemaPartitionKeyArgs{...}

type CassandraTableSchemaPartitionKeyOutput

type CassandraTableSchemaPartitionKeyOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaPartitionKeyOutput) ElementType

func (CassandraTableSchemaPartitionKeyOutput) Name

Name of the column to partition by.

func (CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput

func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput

func (CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutputWithContext

func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutputWithContext(ctx context.Context) CassandraTableSchemaPartitionKeyOutput

type CassandraTableSchemaPtrInput

type CassandraTableSchemaPtrInput interface {
	pulumi.Input

	ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput
	ToCassandraTableSchemaPtrOutputWithContext(context.Context) CassandraTableSchemaPtrOutput
}

CassandraTableSchemaPtrInput is an input type that accepts CassandraTableSchemaArgs, CassandraTableSchemaPtr and CassandraTableSchemaPtrOutput values. You can construct a concrete instance of `CassandraTableSchemaPtrInput` via:

        CassandraTableSchemaArgs{...}

or:

        nil

type CassandraTableSchemaPtrOutput

type CassandraTableSchemaPtrOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaPtrOutput) ClusterKeys

One or more `clusterKey` blocks as defined below.

func (CassandraTableSchemaPtrOutput) Columns

One or more `column` blocks as defined below.

func (CassandraTableSchemaPtrOutput) Elem

func (CassandraTableSchemaPtrOutput) ElementType

func (CassandraTableSchemaPtrOutput) PartitionKeys

One or more `partitionKey` blocks as defined below.

func (CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput

func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput

func (CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutputWithContext

func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutputWithContext(ctx context.Context) CassandraTableSchemaPtrOutput

type CassandraTableState

type CassandraTableState struct {
	// Time to live of the Analytical Storage. Possible values are at least `-1`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    CassandraTableAutoscaleSettingsPtrInput
	// The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.
	CassandraKeyspaceId pulumi.StringPtrInput
	// Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
	DefaultTtl pulumi.IntPtrInput
	// Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `schema` block as defined below. Changing this forces a new resource to be created.
	Schema     CassandraTableSchemaPtrInput
	Throughput pulumi.IntPtrInput
}

func (CassandraTableState) ElementType

func (CassandraTableState) ElementType() reflect.Type

type GetAccountCapability

type GetAccountCapability struct {
	// Specifies the name of the CosmosDB Account.
	Name string `pulumi:"name"`
}

type GetAccountCapabilityArgs

type GetAccountCapabilityArgs struct {
	// Specifies the name of the CosmosDB Account.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAccountCapabilityArgs) ElementType

func (GetAccountCapabilityArgs) ElementType() reflect.Type

func (GetAccountCapabilityArgs) ToGetAccountCapabilityOutput

func (i GetAccountCapabilityArgs) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput

func (GetAccountCapabilityArgs) ToGetAccountCapabilityOutputWithContext

func (i GetAccountCapabilityArgs) ToGetAccountCapabilityOutputWithContext(ctx context.Context) GetAccountCapabilityOutput

type GetAccountCapabilityArray

type GetAccountCapabilityArray []GetAccountCapabilityInput

func (GetAccountCapabilityArray) ElementType

func (GetAccountCapabilityArray) ElementType() reflect.Type

func (GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutput

func (i GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput

func (GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutputWithContext

func (i GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutputWithContext(ctx context.Context) GetAccountCapabilityArrayOutput

type GetAccountCapabilityArrayInput

type GetAccountCapabilityArrayInput interface {
	pulumi.Input

	ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput
	ToGetAccountCapabilityArrayOutputWithContext(context.Context) GetAccountCapabilityArrayOutput
}

GetAccountCapabilityArrayInput is an input type that accepts GetAccountCapabilityArray and GetAccountCapabilityArrayOutput values. You can construct a concrete instance of `GetAccountCapabilityArrayInput` via:

GetAccountCapabilityArray{ GetAccountCapabilityArgs{...} }

type GetAccountCapabilityArrayOutput

type GetAccountCapabilityArrayOutput struct{ *pulumi.OutputState }

func (GetAccountCapabilityArrayOutput) ElementType

func (GetAccountCapabilityArrayOutput) Index

func (GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput

func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput

func (GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutputWithContext

func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutputWithContext(ctx context.Context) GetAccountCapabilityArrayOutput

type GetAccountCapabilityInput

type GetAccountCapabilityInput interface {
	pulumi.Input

	ToGetAccountCapabilityOutput() GetAccountCapabilityOutput
	ToGetAccountCapabilityOutputWithContext(context.Context) GetAccountCapabilityOutput
}

GetAccountCapabilityInput is an input type that accepts GetAccountCapabilityArgs and GetAccountCapabilityOutput values. You can construct a concrete instance of `GetAccountCapabilityInput` via:

GetAccountCapabilityArgs{...}

type GetAccountCapabilityOutput

type GetAccountCapabilityOutput struct{ *pulumi.OutputState }

func (GetAccountCapabilityOutput) ElementType

func (GetAccountCapabilityOutput) ElementType() reflect.Type

func (GetAccountCapabilityOutput) Name

Specifies the name of the CosmosDB Account.

func (GetAccountCapabilityOutput) ToGetAccountCapabilityOutput

func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput

func (GetAccountCapabilityOutput) ToGetAccountCapabilityOutputWithContext

func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutputWithContext(ctx context.Context) GetAccountCapabilityOutput

type GetAccountConsistencyPolicy

type GetAccountConsistencyPolicy struct {
	// The Consistency Level used by this CosmosDB Account.
	ConsistencyLevel string `pulumi:"consistencyLevel"`
	// The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness.
	MaxIntervalInSeconds int `pulumi:"maxIntervalInSeconds"`
	// The number of stale requests tolerated when the consistency level is Bounded Staleness.
	MaxStalenessPrefix int `pulumi:"maxStalenessPrefix"`
}

type GetAccountConsistencyPolicyArgs

type GetAccountConsistencyPolicyArgs struct {
	// The Consistency Level used by this CosmosDB Account.
	ConsistencyLevel pulumi.StringInput `pulumi:"consistencyLevel"`
	// The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness.
	MaxIntervalInSeconds pulumi.IntInput `pulumi:"maxIntervalInSeconds"`
	// The number of stale requests tolerated when the consistency level is Bounded Staleness.
	MaxStalenessPrefix pulumi.IntInput `pulumi:"maxStalenessPrefix"`
}

func (GetAccountConsistencyPolicyArgs) ElementType

func (GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput

func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput

func (GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutputWithContext

func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyOutput

type GetAccountConsistencyPolicyArray

type GetAccountConsistencyPolicyArray []GetAccountConsistencyPolicyInput

func (GetAccountConsistencyPolicyArray) ElementType

func (GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput

func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput

func (GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutputWithContext

func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyArrayOutput

type GetAccountConsistencyPolicyArrayInput

type GetAccountConsistencyPolicyArrayInput interface {
	pulumi.Input

	ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput
	ToGetAccountConsistencyPolicyArrayOutputWithContext(context.Context) GetAccountConsistencyPolicyArrayOutput
}

GetAccountConsistencyPolicyArrayInput is an input type that accepts GetAccountConsistencyPolicyArray and GetAccountConsistencyPolicyArrayOutput values. You can construct a concrete instance of `GetAccountConsistencyPolicyArrayInput` via:

GetAccountConsistencyPolicyArray{ GetAccountConsistencyPolicyArgs{...} }

type GetAccountConsistencyPolicyArrayOutput

type GetAccountConsistencyPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAccountConsistencyPolicyArrayOutput) ElementType

func (GetAccountConsistencyPolicyArrayOutput) Index

func (GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput

func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput

func (GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutputWithContext

func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyArrayOutput

type GetAccountConsistencyPolicyInput

type GetAccountConsistencyPolicyInput interface {
	pulumi.Input

	ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput
	ToGetAccountConsistencyPolicyOutputWithContext(context.Context) GetAccountConsistencyPolicyOutput
}

GetAccountConsistencyPolicyInput is an input type that accepts GetAccountConsistencyPolicyArgs and GetAccountConsistencyPolicyOutput values. You can construct a concrete instance of `GetAccountConsistencyPolicyInput` via:

GetAccountConsistencyPolicyArgs{...}

type GetAccountConsistencyPolicyOutput

type GetAccountConsistencyPolicyOutput struct{ *pulumi.OutputState }

func (GetAccountConsistencyPolicyOutput) ConsistencyLevel

The Consistency Level used by this CosmosDB Account.

func (GetAccountConsistencyPolicyOutput) ElementType

func (GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds

func (o GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntOutput

The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness.

func (GetAccountConsistencyPolicyOutput) MaxStalenessPrefix

func (o GetAccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntOutput

The number of stale requests tolerated when the consistency level is Bounded Staleness.

func (GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput

func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput

func (GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutputWithContext

func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutputWithContext(ctx context.Context) GetAccountConsistencyPolicyOutput

type GetAccountGeoLocation

type GetAccountGeoLocation struct {
	FailoverPriority int `pulumi:"failoverPriority"`
	// The ID of the virtual network subnet.
	Id string `pulumi:"id"`
	// The name of the Azure region hosting replicated data.
	Location string `pulumi:"location"`
}

type GetAccountGeoLocationArgs

type GetAccountGeoLocationArgs struct {
	FailoverPriority pulumi.IntInput `pulumi:"failoverPriority"`
	// The ID of the virtual network subnet.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the Azure region hosting replicated data.
	Location pulumi.StringInput `pulumi:"location"`
}

func (GetAccountGeoLocationArgs) ElementType

func (GetAccountGeoLocationArgs) ElementType() reflect.Type

func (GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutput

func (i GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput

func (GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutputWithContext

func (i GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutputWithContext(ctx context.Context) GetAccountGeoLocationOutput

type GetAccountGeoLocationArray

type GetAccountGeoLocationArray []GetAccountGeoLocationInput

func (GetAccountGeoLocationArray) ElementType

func (GetAccountGeoLocationArray) ElementType() reflect.Type

func (GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput

func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput

func (GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutputWithContext

func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutputWithContext(ctx context.Context) GetAccountGeoLocationArrayOutput

type GetAccountGeoLocationArrayInput

type GetAccountGeoLocationArrayInput interface {
	pulumi.Input

	ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput
	ToGetAccountGeoLocationArrayOutputWithContext(context.Context) GetAccountGeoLocationArrayOutput
}

GetAccountGeoLocationArrayInput is an input type that accepts GetAccountGeoLocationArray and GetAccountGeoLocationArrayOutput values. You can construct a concrete instance of `GetAccountGeoLocationArrayInput` via:

GetAccountGeoLocationArray{ GetAccountGeoLocationArgs{...} }

type GetAccountGeoLocationArrayOutput

type GetAccountGeoLocationArrayOutput struct{ *pulumi.OutputState }

func (GetAccountGeoLocationArrayOutput) ElementType

func (GetAccountGeoLocationArrayOutput) Index

func (GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput

func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput

func (GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutputWithContext

func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutputWithContext(ctx context.Context) GetAccountGeoLocationArrayOutput

type GetAccountGeoLocationInput

type GetAccountGeoLocationInput interface {
	pulumi.Input

	ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput
	ToGetAccountGeoLocationOutputWithContext(context.Context) GetAccountGeoLocationOutput
}

GetAccountGeoLocationInput is an input type that accepts GetAccountGeoLocationArgs and GetAccountGeoLocationOutput values. You can construct a concrete instance of `GetAccountGeoLocationInput` via:

GetAccountGeoLocationArgs{...}

type GetAccountGeoLocationOutput

type GetAccountGeoLocationOutput struct{ *pulumi.OutputState }

func (GetAccountGeoLocationOutput) ElementType

func (GetAccountGeoLocationOutput) FailoverPriority

func (o GetAccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput

func (GetAccountGeoLocationOutput) Id

The ID of the virtual network subnet.

func (GetAccountGeoLocationOutput) Location

The name of the Azure region hosting replicated data.

func (GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput

func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput

func (GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutputWithContext

func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutputWithContext(ctx context.Context) GetAccountGeoLocationOutput

type GetAccountVirtualNetworkRule

type GetAccountVirtualNetworkRule struct {
	// The ID of the virtual network subnet.
	Id string `pulumi:"id"`
}

type GetAccountVirtualNetworkRuleArgs

type GetAccountVirtualNetworkRuleArgs struct {
	// The ID of the virtual network subnet.
	Id pulumi.StringInput `pulumi:"id"`
}

func (GetAccountVirtualNetworkRuleArgs) ElementType

func (GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput

func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput

func (GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutputWithContext

func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleOutput

type GetAccountVirtualNetworkRuleArray

type GetAccountVirtualNetworkRuleArray []GetAccountVirtualNetworkRuleInput

func (GetAccountVirtualNetworkRuleArray) ElementType

func (GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput

func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput

func (GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutputWithContext

func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleArrayOutput

type GetAccountVirtualNetworkRuleArrayInput

type GetAccountVirtualNetworkRuleArrayInput interface {
	pulumi.Input

	ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput
	ToGetAccountVirtualNetworkRuleArrayOutputWithContext(context.Context) GetAccountVirtualNetworkRuleArrayOutput
}

GetAccountVirtualNetworkRuleArrayInput is an input type that accepts GetAccountVirtualNetworkRuleArray and GetAccountVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `GetAccountVirtualNetworkRuleArrayInput` via:

GetAccountVirtualNetworkRuleArray{ GetAccountVirtualNetworkRuleArgs{...} }

type GetAccountVirtualNetworkRuleArrayOutput

type GetAccountVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAccountVirtualNetworkRuleArrayOutput) ElementType

func (GetAccountVirtualNetworkRuleArrayOutput) Index

func (GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput

func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput

func (GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutputWithContext

func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleArrayOutput

type GetAccountVirtualNetworkRuleInput

type GetAccountVirtualNetworkRuleInput interface {
	pulumi.Input

	ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput
	ToGetAccountVirtualNetworkRuleOutputWithContext(context.Context) GetAccountVirtualNetworkRuleOutput
}

GetAccountVirtualNetworkRuleInput is an input type that accepts GetAccountVirtualNetworkRuleArgs and GetAccountVirtualNetworkRuleOutput values. You can construct a concrete instance of `GetAccountVirtualNetworkRuleInput` via:

GetAccountVirtualNetworkRuleArgs{...}

type GetAccountVirtualNetworkRuleOutput

type GetAccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (GetAccountVirtualNetworkRuleOutput) ElementType

func (GetAccountVirtualNetworkRuleOutput) Id

The ID of the virtual network subnet.

func (GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput

func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput

func (GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutputWithContext

func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutputWithContext(ctx context.Context) GetAccountVirtualNetworkRuleOutput

type GremlinDatabase

type GremlinDatabase struct {
	pulumi.CustomResourceState

	// The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Gremlin Database within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewGremlinDatabase(ctx, "exampleGremlinDatabase", &cosmosdb.GremlinDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB Gremlin Databases can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/gremlinDatabase:GremlinDatabase db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/gremlinDatabases/db1

```

func GetGremlinDatabase

func GetGremlinDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GremlinDatabaseState, opts ...pulumi.ResourceOption) (*GremlinDatabase, error)

GetGremlinDatabase gets an existing GremlinDatabase 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 NewGremlinDatabase

func NewGremlinDatabase(ctx *pulumi.Context,
	name string, args *GremlinDatabaseArgs, opts ...pulumi.ResourceOption) (*GremlinDatabase, error)

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

func (*GremlinDatabase) ElementType

func (*GremlinDatabase) ElementType() reflect.Type

func (*GremlinDatabase) ToGremlinDatabaseOutput

func (i *GremlinDatabase) ToGremlinDatabaseOutput() GremlinDatabaseOutput

func (*GremlinDatabase) ToGremlinDatabaseOutputWithContext

func (i *GremlinDatabase) ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput

func (*GremlinDatabase) ToGremlinDatabasePtrOutput

func (i *GremlinDatabase) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput

func (*GremlinDatabase) ToGremlinDatabasePtrOutputWithContext

func (i *GremlinDatabase) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput

type GremlinDatabaseArgs

type GremlinDatabaseArgs struct {
	// The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a GremlinDatabase resource.

func (GremlinDatabaseArgs) ElementType

func (GremlinDatabaseArgs) ElementType() reflect.Type

type GremlinDatabaseArray

type GremlinDatabaseArray []GremlinDatabaseInput

func (GremlinDatabaseArray) ElementType

func (GremlinDatabaseArray) ElementType() reflect.Type

func (GremlinDatabaseArray) ToGremlinDatabaseArrayOutput

func (i GremlinDatabaseArray) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput

func (GremlinDatabaseArray) ToGremlinDatabaseArrayOutputWithContext

func (i GremlinDatabaseArray) ToGremlinDatabaseArrayOutputWithContext(ctx context.Context) GremlinDatabaseArrayOutput

type GremlinDatabaseArrayInput

type GremlinDatabaseArrayInput interface {
	pulumi.Input

	ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput
	ToGremlinDatabaseArrayOutputWithContext(context.Context) GremlinDatabaseArrayOutput
}

GremlinDatabaseArrayInput is an input type that accepts GremlinDatabaseArray and GremlinDatabaseArrayOutput values. You can construct a concrete instance of `GremlinDatabaseArrayInput` via:

GremlinDatabaseArray{ GremlinDatabaseArgs{...} }

type GremlinDatabaseArrayOutput

type GremlinDatabaseArrayOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseArrayOutput) ElementType

func (GremlinDatabaseArrayOutput) ElementType() reflect.Type

func (GremlinDatabaseArrayOutput) Index

func (GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput

func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput

func (GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutputWithContext

func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutputWithContext(ctx context.Context) GremlinDatabaseArrayOutput

type GremlinDatabaseAutoscaleSettings

type GremlinDatabaseAutoscaleSettings struct {
	// The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type GremlinDatabaseAutoscaleSettingsArgs

type GremlinDatabaseAutoscaleSettingsArgs struct {
	// The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (GremlinDatabaseAutoscaleSettingsArgs) ElementType

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput

func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutputWithContext

func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsOutput

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput

func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext

func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput

type GremlinDatabaseAutoscaleSettingsInput

type GremlinDatabaseAutoscaleSettingsInput interface {
	pulumi.Input

	ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput
	ToGremlinDatabaseAutoscaleSettingsOutputWithContext(context.Context) GremlinDatabaseAutoscaleSettingsOutput
}

GremlinDatabaseAutoscaleSettingsInput is an input type that accepts GremlinDatabaseAutoscaleSettingsArgs and GremlinDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `GremlinDatabaseAutoscaleSettingsInput` via:

GremlinDatabaseAutoscaleSettingsArgs{...}

type GremlinDatabaseAutoscaleSettingsOutput

type GremlinDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseAutoscaleSettingsOutput) ElementType

func (GremlinDatabaseAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput

func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutputWithContext

func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsOutput

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput

func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext

func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput

type GremlinDatabaseAutoscaleSettingsPtrInput

type GremlinDatabaseAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput
	ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput
}

GremlinDatabaseAutoscaleSettingsPtrInput is an input type that accepts GremlinDatabaseAutoscaleSettingsArgs, GremlinDatabaseAutoscaleSettingsPtr and GremlinDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `GremlinDatabaseAutoscaleSettingsPtrInput` via:

        GremlinDatabaseAutoscaleSettingsArgs{...}

or:

        nil

type GremlinDatabaseAutoscaleSettingsPtrOutput

type GremlinDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseAutoscaleSettingsPtrOutput) Elem

func (GremlinDatabaseAutoscaleSettingsPtrOutput) ElementType

func (GremlinDatabaseAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the Gremlin database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput

func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput

func (GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext

func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinDatabaseAutoscaleSettingsPtrOutput

type GremlinDatabaseInput

type GremlinDatabaseInput interface {
	pulumi.Input

	ToGremlinDatabaseOutput() GremlinDatabaseOutput
	ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput
}

type GremlinDatabaseMap

type GremlinDatabaseMap map[string]GremlinDatabaseInput

func (GremlinDatabaseMap) ElementType

func (GremlinDatabaseMap) ElementType() reflect.Type

func (GremlinDatabaseMap) ToGremlinDatabaseMapOutput

func (i GremlinDatabaseMap) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput

func (GremlinDatabaseMap) ToGremlinDatabaseMapOutputWithContext

func (i GremlinDatabaseMap) ToGremlinDatabaseMapOutputWithContext(ctx context.Context) GremlinDatabaseMapOutput

type GremlinDatabaseMapInput

type GremlinDatabaseMapInput interface {
	pulumi.Input

	ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput
	ToGremlinDatabaseMapOutputWithContext(context.Context) GremlinDatabaseMapOutput
}

GremlinDatabaseMapInput is an input type that accepts GremlinDatabaseMap and GremlinDatabaseMapOutput values. You can construct a concrete instance of `GremlinDatabaseMapInput` via:

GremlinDatabaseMap{ "key": GremlinDatabaseArgs{...} }

type GremlinDatabaseMapOutput

type GremlinDatabaseMapOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseMapOutput) ElementType

func (GremlinDatabaseMapOutput) ElementType() reflect.Type

func (GremlinDatabaseMapOutput) MapIndex

func (GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput

func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput

func (GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutputWithContext

func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutputWithContext(ctx context.Context) GremlinDatabaseMapOutput

type GremlinDatabaseOutput

type GremlinDatabaseOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseOutput) ElementType

func (GremlinDatabaseOutput) ElementType() reflect.Type

func (GremlinDatabaseOutput) ToGremlinDatabaseOutput

func (o GremlinDatabaseOutput) ToGremlinDatabaseOutput() GremlinDatabaseOutput

func (GremlinDatabaseOutput) ToGremlinDatabaseOutputWithContext

func (o GremlinDatabaseOutput) ToGremlinDatabaseOutputWithContext(ctx context.Context) GremlinDatabaseOutput

func (GremlinDatabaseOutput) ToGremlinDatabasePtrOutput

func (o GremlinDatabaseOutput) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput

func (GremlinDatabaseOutput) ToGremlinDatabasePtrOutputWithContext

func (o GremlinDatabaseOutput) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput

type GremlinDatabasePtrInput

type GremlinDatabasePtrInput interface {
	pulumi.Input

	ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput
	ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput
}

type GremlinDatabasePtrOutput

type GremlinDatabasePtrOutput struct{ *pulumi.OutputState }

func (GremlinDatabasePtrOutput) Elem added in v4.20.0

func (GremlinDatabasePtrOutput) ElementType

func (GremlinDatabasePtrOutput) ElementType() reflect.Type

func (GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutput

func (o GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutput() GremlinDatabasePtrOutput

func (GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutputWithContext

func (o GremlinDatabasePtrOutput) ToGremlinDatabasePtrOutputWithContext(ctx context.Context) GremlinDatabasePtrOutput

type GremlinDatabaseState

type GremlinDatabaseState struct {
	// The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

func (GremlinDatabaseState) ElementType

func (GremlinDatabaseState) ElementType() reflect.Type

type GremlinGraph

type GremlinGraph struct {
	pulumi.CustomResourceState

	// The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created.
	AccountName       pulumi.StringOutput                    `pulumi:"accountName"`
	AutoscaleSettings GremlinGraphAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// A `conflictResolutionPolicy` blocks as defined below.
	ConflictResolutionPolicies GremlinGraphConflictResolutionPolicyArrayOutput `pulumi:"conflictResolutionPolicies"`
	// The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
	DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"`
	// The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below. Changing this forces a new resource to be created.
	IndexPolicies GremlinGraphIndexPolicyArrayOutput `pulumi:"indexPolicies"`
	// Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringOutput `pulumi:"partitionKeyPath"`
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1  `and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrOutput `pulumi:"partitionKeyVersion"`
	// The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys GremlinGraphUniqueKeyArrayOutput `pulumi:"uniqueKeys"`
}

Manages a Gremlin Graph within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleGremlinDatabase, err := cosmosdb.NewGremlinDatabase(ctx, "exampleGremlinDatabase", &cosmosdb.GremlinDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewGremlinGraph(ctx, "exampleGremlinGraph", &cosmosdb.GremlinGraphArgs{
			ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name),
			AccountName:       pulumi.Any(azurerm_cosmosdb_account.Example.Name),
			DatabaseName:      exampleGremlinDatabase.Name,
			PartitionKeyPath:  pulumi.String("/Example"),
			Throughput:        pulumi.Int(400),
			IndexPolicies: cosmosdb.GremlinGraphIndexPolicyArray{
				&cosmosdb.GremlinGraphIndexPolicyArgs{
					Automatic:    pulumi.Bool(true),
					IndexingMode: pulumi.String("Consistent"),
					IncludedPaths: pulumi.StringArray{
						pulumi.String("/*"),
					},
					ExcludedPaths: pulumi.StringArray{
						pulumi.String("/\"_etag\"/?"),
					},
				},
			},
			ConflictResolutionPolicies: cosmosdb.GremlinGraphConflictResolutionPolicyArray{
				&cosmosdb.GremlinGraphConflictResolutionPolicyArgs{
					Mode:                   pulumi.String("LastWriterWins"),
					ConflictResolutionPath: pulumi.String("/_ts"),
				},
			},
			UniqueKeys: cosmosdb.GremlinGraphUniqueKeyArray{
				&cosmosdb.GremlinGraphUniqueKeyArgs{
					Paths: pulumi.StringArray{
						pulumi.String("/definition/id1"),
						pulumi.String("/definition/id2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **NOTE:** The CosmosDB Account needs to have the `EnableGremlin` capability enabled to use this resource - which can be done by adding this to the `capabilities` list within the `cosmosdb.Account` resource.

## Import

Cosmos Gremlin Graphs can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/gremlinGraph:GremlinGraph example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/gremlinDatabases/db1/graphs/graphs1

```

func GetGremlinGraph

func GetGremlinGraph(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GremlinGraphState, opts ...pulumi.ResourceOption) (*GremlinGraph, error)

GetGremlinGraph gets an existing GremlinGraph 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 NewGremlinGraph

func NewGremlinGraph(ctx *pulumi.Context,
	name string, args *GremlinGraphArgs, opts ...pulumi.ResourceOption) (*GremlinGraph, error)

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

func (*GremlinGraph) ElementType

func (*GremlinGraph) ElementType() reflect.Type

func (*GremlinGraph) ToGremlinGraphOutput

func (i *GremlinGraph) ToGremlinGraphOutput() GremlinGraphOutput

func (*GremlinGraph) ToGremlinGraphOutputWithContext

func (i *GremlinGraph) ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput

func (*GremlinGraph) ToGremlinGraphPtrOutput

func (i *GremlinGraph) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput

func (*GremlinGraph) ToGremlinGraphPtrOutputWithContext

func (i *GremlinGraph) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput

type GremlinGraphArgs

type GremlinGraphArgs struct {
	// The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created.
	AccountName       pulumi.StringInput
	AutoscaleSettings GremlinGraphAutoscaleSettingsPtrInput
	// A `conflictResolutionPolicy` blocks as defined below.
	ConflictResolutionPolicies GremlinGraphConflictResolutionPolicyArrayInput
	// The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
	DefaultTtl pulumi.IntPtrInput
	// The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below. Changing this forces a new resource to be created.
	IndexPolicies GremlinGraphIndexPolicyArrayInput
	// Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringInput
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1  `and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	Throughput pulumi.IntPtrInput
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys GremlinGraphUniqueKeyArrayInput
}

The set of arguments for constructing a GremlinGraph resource.

func (GremlinGraphArgs) ElementType

func (GremlinGraphArgs) ElementType() reflect.Type

type GremlinGraphArray

type GremlinGraphArray []GremlinGraphInput

func (GremlinGraphArray) ElementType

func (GremlinGraphArray) ElementType() reflect.Type

func (GremlinGraphArray) ToGremlinGraphArrayOutput

func (i GremlinGraphArray) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput

func (GremlinGraphArray) ToGremlinGraphArrayOutputWithContext

func (i GremlinGraphArray) ToGremlinGraphArrayOutputWithContext(ctx context.Context) GremlinGraphArrayOutput

type GremlinGraphArrayInput

type GremlinGraphArrayInput interface {
	pulumi.Input

	ToGremlinGraphArrayOutput() GremlinGraphArrayOutput
	ToGremlinGraphArrayOutputWithContext(context.Context) GremlinGraphArrayOutput
}

GremlinGraphArrayInput is an input type that accepts GremlinGraphArray and GremlinGraphArrayOutput values. You can construct a concrete instance of `GremlinGraphArrayInput` via:

GremlinGraphArray{ GremlinGraphArgs{...} }

type GremlinGraphArrayOutput

type GremlinGraphArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphArrayOutput) ElementType

func (GremlinGraphArrayOutput) ElementType() reflect.Type

func (GremlinGraphArrayOutput) Index

func (GremlinGraphArrayOutput) ToGremlinGraphArrayOutput

func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput

func (GremlinGraphArrayOutput) ToGremlinGraphArrayOutputWithContext

func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutputWithContext(ctx context.Context) GremlinGraphArrayOutput

type GremlinGraphAutoscaleSettings

type GremlinGraphAutoscaleSettings struct {
	// The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type GremlinGraphAutoscaleSettingsArgs

type GremlinGraphAutoscaleSettingsArgs struct {
	// The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (GremlinGraphAutoscaleSettingsArgs) ElementType

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput

func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutputWithContext

func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsOutput

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput

func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext

func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput

type GremlinGraphAutoscaleSettingsInput

type GremlinGraphAutoscaleSettingsInput interface {
	pulumi.Input

	ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput
	ToGremlinGraphAutoscaleSettingsOutputWithContext(context.Context) GremlinGraphAutoscaleSettingsOutput
}

GremlinGraphAutoscaleSettingsInput is an input type that accepts GremlinGraphAutoscaleSettingsArgs and GremlinGraphAutoscaleSettingsOutput values. You can construct a concrete instance of `GremlinGraphAutoscaleSettingsInput` via:

GremlinGraphAutoscaleSettingsArgs{...}

type GremlinGraphAutoscaleSettingsOutput

type GremlinGraphAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (GremlinGraphAutoscaleSettingsOutput) ElementType

func (GremlinGraphAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput

func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutputWithContext

func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsOutput

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput

func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext

func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput

type GremlinGraphAutoscaleSettingsPtrInput

type GremlinGraphAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput
	ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(context.Context) GremlinGraphAutoscaleSettingsPtrOutput
}

GremlinGraphAutoscaleSettingsPtrInput is an input type that accepts GremlinGraphAutoscaleSettingsArgs, GremlinGraphAutoscaleSettingsPtr and GremlinGraphAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `GremlinGraphAutoscaleSettingsPtrInput` via:

        GremlinGraphAutoscaleSettingsArgs{...}

or:

        nil

type GremlinGraphAutoscaleSettingsPtrOutput

type GremlinGraphAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (GremlinGraphAutoscaleSettingsPtrOutput) Elem

func (GremlinGraphAutoscaleSettingsPtrOutput) ElementType

func (GremlinGraphAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the Gremlin graph (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput

func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput

func (GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext

func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext(ctx context.Context) GremlinGraphAutoscaleSettingsPtrOutput

type GremlinGraphConflictResolutionPolicy

type GremlinGraphConflictResolutionPolicy struct {
	// The conflict resolution path in the case of LastWriterWins mode.
	ConflictResolutionPath *string `pulumi:"conflictResolutionPath"`
	// The procedure to resolve conflicts in the case of custom mode.
	ConflictResolutionProcedure *string `pulumi:"conflictResolutionProcedure"`
	// Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
	Mode string `pulumi:"mode"`
}

type GremlinGraphConflictResolutionPolicyArgs

type GremlinGraphConflictResolutionPolicyArgs struct {
	// The conflict resolution path in the case of LastWriterWins mode.
	ConflictResolutionPath pulumi.StringPtrInput `pulumi:"conflictResolutionPath"`
	// The procedure to resolve conflicts in the case of custom mode.
	ConflictResolutionProcedure pulumi.StringPtrInput `pulumi:"conflictResolutionProcedure"`
	// Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
	Mode pulumi.StringInput `pulumi:"mode"`
}

func (GremlinGraphConflictResolutionPolicyArgs) ElementType

func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput

func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput

func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutputWithContext

func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyOutput

type GremlinGraphConflictResolutionPolicyArray

type GremlinGraphConflictResolutionPolicyArray []GremlinGraphConflictResolutionPolicyInput

func (GremlinGraphConflictResolutionPolicyArray) ElementType

func (GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutput

func (i GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput

func (GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext

func (i GremlinGraphConflictResolutionPolicyArray) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyArrayOutput

type GremlinGraphConflictResolutionPolicyArrayInput

type GremlinGraphConflictResolutionPolicyArrayInput interface {
	pulumi.Input

	ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput
	ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(context.Context) GremlinGraphConflictResolutionPolicyArrayOutput
}

GremlinGraphConflictResolutionPolicyArrayInput is an input type that accepts GremlinGraphConflictResolutionPolicyArray and GremlinGraphConflictResolutionPolicyArrayOutput values. You can construct a concrete instance of `GremlinGraphConflictResolutionPolicyArrayInput` via:

GremlinGraphConflictResolutionPolicyArray{ GremlinGraphConflictResolutionPolicyArgs{...} }

type GremlinGraphConflictResolutionPolicyArrayOutput

type GremlinGraphConflictResolutionPolicyArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphConflictResolutionPolicyArrayOutput) ElementType

func (GremlinGraphConflictResolutionPolicyArrayOutput) Index

func (GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutput

func (o GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutput() GremlinGraphConflictResolutionPolicyArrayOutput

func (GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext

func (o GremlinGraphConflictResolutionPolicyArrayOutput) ToGremlinGraphConflictResolutionPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyArrayOutput

type GremlinGraphConflictResolutionPolicyInput

type GremlinGraphConflictResolutionPolicyInput interface {
	pulumi.Input

	ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput
	ToGremlinGraphConflictResolutionPolicyOutputWithContext(context.Context) GremlinGraphConflictResolutionPolicyOutput
}

GremlinGraphConflictResolutionPolicyInput is an input type that accepts GremlinGraphConflictResolutionPolicyArgs and GremlinGraphConflictResolutionPolicyOutput values. You can construct a concrete instance of `GremlinGraphConflictResolutionPolicyInput` via:

GremlinGraphConflictResolutionPolicyArgs{...}

type GremlinGraphConflictResolutionPolicyOutput

type GremlinGraphConflictResolutionPolicyOutput struct{ *pulumi.OutputState }

func (GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionPath

The conflict resolution path in the case of LastWriterWins mode.

func (GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure

func (o GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput

The procedure to resolve conflicts in the case of custom mode.

func (GremlinGraphConflictResolutionPolicyOutput) ElementType

func (GremlinGraphConflictResolutionPolicyOutput) Mode

Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.

func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput

func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput

func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutputWithContext

func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyOutput

type GremlinGraphIndexPolicy

type GremlinGraphIndexPolicy struct {
	// Indicates if the indexing policy is automatic. Defaults to `true`.
	Automatic *bool `pulumi:"automatic"`
	// One or more `compositeIndex` blocks as defined below.
	CompositeIndices []GremlinGraphIndexPolicyCompositeIndex `pulumi:"compositeIndices"`
	// List of paths to exclude from indexing. Required if `indexingMode` is `Consistent` or `Lazy`.
	ExcludedPaths []string `pulumi:"excludedPaths"`
	// List of paths to include in the indexing. Required if `indexingMode` is `Consistent` or `Lazy`.
	IncludedPaths []string `pulumi:"includedPaths"`
	// Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`.
	IndexingMode string `pulumi:"indexingMode"`
	// One or more `spatialIndex` blocks as defined below.
	SpatialIndices []GremlinGraphIndexPolicySpatialIndex `pulumi:"spatialIndices"`
}

type GremlinGraphIndexPolicyArgs

type GremlinGraphIndexPolicyArgs struct {
	// Indicates if the indexing policy is automatic. Defaults to `true`.
	Automatic pulumi.BoolPtrInput `pulumi:"automatic"`
	// One or more `compositeIndex` blocks as defined below.
	CompositeIndices GremlinGraphIndexPolicyCompositeIndexArrayInput `pulumi:"compositeIndices"`
	// List of paths to exclude from indexing. Required if `indexingMode` is `Consistent` or `Lazy`.
	ExcludedPaths pulumi.StringArrayInput `pulumi:"excludedPaths"`
	// List of paths to include in the indexing. Required if `indexingMode` is `Consistent` or `Lazy`.
	IncludedPaths pulumi.StringArrayInput `pulumi:"includedPaths"`
	// Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`.
	IndexingMode pulumi.StringInput `pulumi:"indexingMode"`
	// One or more `spatialIndex` blocks as defined below.
	SpatialIndices GremlinGraphIndexPolicySpatialIndexArrayInput `pulumi:"spatialIndices"`
}

func (GremlinGraphIndexPolicyArgs) ElementType

func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutput

func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput

func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutputWithContext

func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput

type GremlinGraphIndexPolicyArray

type GremlinGraphIndexPolicyArray []GremlinGraphIndexPolicyInput

func (GremlinGraphIndexPolicyArray) ElementType

func (GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutput

func (i GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput

func (GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutputWithContext

func (i GremlinGraphIndexPolicyArray) ToGremlinGraphIndexPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyArrayOutput

type GremlinGraphIndexPolicyArrayInput

type GremlinGraphIndexPolicyArrayInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput
	ToGremlinGraphIndexPolicyArrayOutputWithContext(context.Context) GremlinGraphIndexPolicyArrayOutput
}

GremlinGraphIndexPolicyArrayInput is an input type that accepts GremlinGraphIndexPolicyArray and GremlinGraphIndexPolicyArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyArrayInput` via:

GremlinGraphIndexPolicyArray{ GremlinGraphIndexPolicyArgs{...} }

type GremlinGraphIndexPolicyArrayOutput

type GremlinGraphIndexPolicyArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyArrayOutput) ElementType

func (GremlinGraphIndexPolicyArrayOutput) Index

func (GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutput

func (o GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutput() GremlinGraphIndexPolicyArrayOutput

func (GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutputWithContext

func (o GremlinGraphIndexPolicyArrayOutput) ToGremlinGraphIndexPolicyArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyArrayOutput

type GremlinGraphIndexPolicyCompositeIndex added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndex struct {
	// One or more `index` blocks as defined below.
	Indices []GremlinGraphIndexPolicyCompositeIndexIndex `pulumi:"indices"`
}

type GremlinGraphIndexPolicyCompositeIndexArgs added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexArgs struct {
	// One or more `index` blocks as defined below.
	Indices GremlinGraphIndexPolicyCompositeIndexIndexArrayInput `pulumi:"indices"`
}

func (GremlinGraphIndexPolicyCompositeIndexArgs) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexOutput

type GremlinGraphIndexPolicyCompositeIndexArray added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexArray []GremlinGraphIndexPolicyCompositeIndexInput

func (GremlinGraphIndexPolicyCompositeIndexArray) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput

type GremlinGraphIndexPolicyCompositeIndexArrayInput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexArrayInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput
	ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput
}

GremlinGraphIndexPolicyCompositeIndexArrayInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexArray and GremlinGraphIndexPolicyCompositeIndexArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexArrayInput` via:

GremlinGraphIndexPolicyCompositeIndexArray{ GremlinGraphIndexPolicyCompositeIndexArgs{...} }

type GremlinGraphIndexPolicyCompositeIndexArrayOutput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) Index added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexArrayOutput

type GremlinGraphIndexPolicyCompositeIndexIndex added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndex struct {
	// Order of the index. Possible values are `Ascending` or `Descending`.
	Order string `pulumi:"order"`
	// Path for which the indexing behaviour applies to.
	Path string `pulumi:"path"`
}

type GremlinGraphIndexPolicyCompositeIndexIndexArgs added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndexArgs struct {
	// Order of the index. Possible values are `Ascending` or `Descending`.
	Order pulumi.StringInput `pulumi:"order"`
	// Path for which the indexing behaviour applies to.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput

type GremlinGraphIndexPolicyCompositeIndexIndexArray added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndexArray []GremlinGraphIndexPolicyCompositeIndexIndexInput

func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext added in v4.7.0

func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
	ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput
}

GremlinGraphIndexPolicyCompositeIndexIndexArrayInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexIndexArray and GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexIndexArrayInput` via:

GremlinGraphIndexPolicyCompositeIndexIndexArray{ GremlinGraphIndexPolicyCompositeIndexIndexArgs{...} }

type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) Index added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

type GremlinGraphIndexPolicyCompositeIndexIndexInput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndexInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput
	ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput
}

GremlinGraphIndexPolicyCompositeIndexIndexInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexIndexArgs and GremlinGraphIndexPolicyCompositeIndexIndexOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexIndexInput` via:

GremlinGraphIndexPolicyCompositeIndexIndexArgs{...}

type GremlinGraphIndexPolicyCompositeIndexIndexOutput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexIndexOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) Order added in v4.7.0

Order of the index. Possible values are `Ascending` or `Descending`.

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) Path added in v4.7.0

Path for which the indexing behaviour applies to.

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexIndexOutput

type GremlinGraphIndexPolicyCompositeIndexInput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput
	ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(context.Context) GremlinGraphIndexPolicyCompositeIndexOutput
}

GremlinGraphIndexPolicyCompositeIndexInput is an input type that accepts GremlinGraphIndexPolicyCompositeIndexArgs and GremlinGraphIndexPolicyCompositeIndexOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyCompositeIndexInput` via:

GremlinGraphIndexPolicyCompositeIndexArgs{...}

type GremlinGraphIndexPolicyCompositeIndexOutput added in v4.7.0

type GremlinGraphIndexPolicyCompositeIndexOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexOutput) ElementType added in v4.7.0

func (GremlinGraphIndexPolicyCompositeIndexOutput) Indices added in v4.7.0

One or more `index` blocks as defined below.

func (GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext added in v4.7.0

func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyCompositeIndexOutput

type GremlinGraphIndexPolicyInput

type GremlinGraphIndexPolicyInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput
	ToGremlinGraphIndexPolicyOutputWithContext(context.Context) GremlinGraphIndexPolicyOutput
}

GremlinGraphIndexPolicyInput is an input type that accepts GremlinGraphIndexPolicyArgs and GremlinGraphIndexPolicyOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyInput` via:

GremlinGraphIndexPolicyArgs{...}

type GremlinGraphIndexPolicyOutput

type GremlinGraphIndexPolicyOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyOutput) Automatic

Indicates if the indexing policy is automatic. Defaults to `true`.

func (GremlinGraphIndexPolicyOutput) CompositeIndices added in v4.7.0

One or more `compositeIndex` blocks as defined below.

func (GremlinGraphIndexPolicyOutput) ElementType

func (GremlinGraphIndexPolicyOutput) ExcludedPaths

List of paths to exclude from indexing. Required if `indexingMode` is `Consistent` or `Lazy`.

func (GremlinGraphIndexPolicyOutput) IncludedPaths

List of paths to include in the indexing. Required if `indexingMode` is `Consistent` or `Lazy`.

func (GremlinGraphIndexPolicyOutput) IndexingMode

Indicates the indexing mode. Possible values include: `Consistent`, `Lazy`, `None`.

func (GremlinGraphIndexPolicyOutput) SpatialIndices added in v4.8.0

One or more `spatialIndex` blocks as defined below.

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput

func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext

func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyOutput

type GremlinGraphIndexPolicySpatialIndex added in v4.8.0

type GremlinGraphIndexPolicySpatialIndex struct {
	// Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
	Path  string   `pulumi:"path"`
	Types []string `pulumi:"types"`
}

type GremlinGraphIndexPolicySpatialIndexArgs added in v4.8.0

type GremlinGraphIndexPolicySpatialIndexArgs struct {
	// Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
	Path  pulumi.StringInput      `pulumi:"path"`
	Types pulumi.StringArrayInput `pulumi:"types"`
}

func (GremlinGraphIndexPolicySpatialIndexArgs) ElementType added in v4.8.0

func (GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput added in v4.8.0

func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput

func (GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext added in v4.8.0

func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexOutput

type GremlinGraphIndexPolicySpatialIndexArray added in v4.8.0

type GremlinGraphIndexPolicySpatialIndexArray []GremlinGraphIndexPolicySpatialIndexInput

func (GremlinGraphIndexPolicySpatialIndexArray) ElementType added in v4.8.0

func (GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput added in v4.8.0

func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput

func (GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext added in v4.8.0

func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput

type GremlinGraphIndexPolicySpatialIndexArrayInput added in v4.8.0

type GremlinGraphIndexPolicySpatialIndexArrayInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput
	ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput
}

GremlinGraphIndexPolicySpatialIndexArrayInput is an input type that accepts GremlinGraphIndexPolicySpatialIndexArray and GremlinGraphIndexPolicySpatialIndexArrayOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicySpatialIndexArrayInput` via:

GremlinGraphIndexPolicySpatialIndexArray{ GremlinGraphIndexPolicySpatialIndexArgs{...} }

type GremlinGraphIndexPolicySpatialIndexArrayOutput added in v4.8.0

type GremlinGraphIndexPolicySpatialIndexArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ElementType added in v4.8.0

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) Index added in v4.8.0

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput added in v4.8.0

func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext added in v4.8.0

func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexArrayOutput

type GremlinGraphIndexPolicySpatialIndexInput added in v4.8.0

type GremlinGraphIndexPolicySpatialIndexInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput
	ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(context.Context) GremlinGraphIndexPolicySpatialIndexOutput
}

GremlinGraphIndexPolicySpatialIndexInput is an input type that accepts GremlinGraphIndexPolicySpatialIndexArgs and GremlinGraphIndexPolicySpatialIndexOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicySpatialIndexInput` via:

GremlinGraphIndexPolicySpatialIndexArgs{...}

type GremlinGraphIndexPolicySpatialIndexOutput added in v4.8.0

type GremlinGraphIndexPolicySpatialIndexOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicySpatialIndexOutput) ElementType added in v4.8.0

func (GremlinGraphIndexPolicySpatialIndexOutput) Path added in v4.8.0

Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.

func (GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput added in v4.8.0

func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput

func (GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext added in v4.8.0

func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext(ctx context.Context) GremlinGraphIndexPolicySpatialIndexOutput

func (GremlinGraphIndexPolicySpatialIndexOutput) Types added in v4.8.0

type GremlinGraphInput

type GremlinGraphInput interface {
	pulumi.Input

	ToGremlinGraphOutput() GremlinGraphOutput
	ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput
}

type GremlinGraphMap

type GremlinGraphMap map[string]GremlinGraphInput

func (GremlinGraphMap) ElementType

func (GremlinGraphMap) ElementType() reflect.Type

func (GremlinGraphMap) ToGremlinGraphMapOutput

func (i GremlinGraphMap) ToGremlinGraphMapOutput() GremlinGraphMapOutput

func (GremlinGraphMap) ToGremlinGraphMapOutputWithContext

func (i GremlinGraphMap) ToGremlinGraphMapOutputWithContext(ctx context.Context) GremlinGraphMapOutput

type GremlinGraphMapInput

type GremlinGraphMapInput interface {
	pulumi.Input

	ToGremlinGraphMapOutput() GremlinGraphMapOutput
	ToGremlinGraphMapOutputWithContext(context.Context) GremlinGraphMapOutput
}

GremlinGraphMapInput is an input type that accepts GremlinGraphMap and GremlinGraphMapOutput values. You can construct a concrete instance of `GremlinGraphMapInput` via:

GremlinGraphMap{ "key": GremlinGraphArgs{...} }

type GremlinGraphMapOutput

type GremlinGraphMapOutput struct{ *pulumi.OutputState }

func (GremlinGraphMapOutput) ElementType

func (GremlinGraphMapOutput) ElementType() reflect.Type

func (GremlinGraphMapOutput) MapIndex

func (GremlinGraphMapOutput) ToGremlinGraphMapOutput

func (o GremlinGraphMapOutput) ToGremlinGraphMapOutput() GremlinGraphMapOutput

func (GremlinGraphMapOutput) ToGremlinGraphMapOutputWithContext

func (o GremlinGraphMapOutput) ToGremlinGraphMapOutputWithContext(ctx context.Context) GremlinGraphMapOutput

type GremlinGraphOutput

type GremlinGraphOutput struct{ *pulumi.OutputState }

func (GremlinGraphOutput) ElementType

func (GremlinGraphOutput) ElementType() reflect.Type

func (GremlinGraphOutput) ToGremlinGraphOutput

func (o GremlinGraphOutput) ToGremlinGraphOutput() GremlinGraphOutput

func (GremlinGraphOutput) ToGremlinGraphOutputWithContext

func (o GremlinGraphOutput) ToGremlinGraphOutputWithContext(ctx context.Context) GremlinGraphOutput

func (GremlinGraphOutput) ToGremlinGraphPtrOutput

func (o GremlinGraphOutput) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput

func (GremlinGraphOutput) ToGremlinGraphPtrOutputWithContext

func (o GremlinGraphOutput) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput

type GremlinGraphPtrInput

type GremlinGraphPtrInput interface {
	pulumi.Input

	ToGremlinGraphPtrOutput() GremlinGraphPtrOutput
	ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput
}

type GremlinGraphPtrOutput

type GremlinGraphPtrOutput struct{ *pulumi.OutputState }

func (GremlinGraphPtrOutput) Elem added in v4.20.0

func (GremlinGraphPtrOutput) ElementType

func (GremlinGraphPtrOutput) ElementType() reflect.Type

func (GremlinGraphPtrOutput) ToGremlinGraphPtrOutput

func (o GremlinGraphPtrOutput) ToGremlinGraphPtrOutput() GremlinGraphPtrOutput

func (GremlinGraphPtrOutput) ToGremlinGraphPtrOutputWithContext

func (o GremlinGraphPtrOutput) ToGremlinGraphPtrOutputWithContext(ctx context.Context) GremlinGraphPtrOutput

type GremlinGraphState

type GremlinGraphState struct {
	// The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created.
	AccountName       pulumi.StringPtrInput
	AutoscaleSettings GremlinGraphAutoscaleSettingsPtrInput
	// A `conflictResolutionPolicy` blocks as defined below.
	ConflictResolutionPolicies GremlinGraphConflictResolutionPolicyArrayInput
	// The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
	DefaultTtl pulumi.IntPtrInput
	// The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below. Changing this forces a new resource to be created.
	IndexPolicies GremlinGraphIndexPolicyArrayInput
	// Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringPtrInput
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1  `and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	Throughput pulumi.IntPtrInput
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys GremlinGraphUniqueKeyArrayInput
}

func (GremlinGraphState) ElementType

func (GremlinGraphState) ElementType() reflect.Type

type GremlinGraphUniqueKey

type GremlinGraphUniqueKey struct {
	// A list of paths to use for this unique key.
	Paths []string `pulumi:"paths"`
}

type GremlinGraphUniqueKeyArgs

type GremlinGraphUniqueKeyArgs struct {
	// A list of paths to use for this unique key.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
}

func (GremlinGraphUniqueKeyArgs) ElementType

func (GremlinGraphUniqueKeyArgs) ElementType() reflect.Type

func (GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutput

func (i GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput

func (GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutputWithContext

func (i GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyOutput

type GremlinGraphUniqueKeyArray

type GremlinGraphUniqueKeyArray []GremlinGraphUniqueKeyInput

func (GremlinGraphUniqueKeyArray) ElementType

func (GremlinGraphUniqueKeyArray) ElementType() reflect.Type

func (GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput

func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput

func (GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutputWithContext

func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyArrayOutput

type GremlinGraphUniqueKeyArrayInput

type GremlinGraphUniqueKeyArrayInput interface {
	pulumi.Input

	ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput
	ToGremlinGraphUniqueKeyArrayOutputWithContext(context.Context) GremlinGraphUniqueKeyArrayOutput
}

GremlinGraphUniqueKeyArrayInput is an input type that accepts GremlinGraphUniqueKeyArray and GremlinGraphUniqueKeyArrayOutput values. You can construct a concrete instance of `GremlinGraphUniqueKeyArrayInput` via:

GremlinGraphUniqueKeyArray{ GremlinGraphUniqueKeyArgs{...} }

type GremlinGraphUniqueKeyArrayOutput

type GremlinGraphUniqueKeyArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphUniqueKeyArrayOutput) ElementType

func (GremlinGraphUniqueKeyArrayOutput) Index

func (GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput

func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput

func (GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutputWithContext

func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyArrayOutput

type GremlinGraphUniqueKeyInput

type GremlinGraphUniqueKeyInput interface {
	pulumi.Input

	ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput
	ToGremlinGraphUniqueKeyOutputWithContext(context.Context) GremlinGraphUniqueKeyOutput
}

GremlinGraphUniqueKeyInput is an input type that accepts GremlinGraphUniqueKeyArgs and GremlinGraphUniqueKeyOutput values. You can construct a concrete instance of `GremlinGraphUniqueKeyInput` via:

GremlinGraphUniqueKeyArgs{...}

type GremlinGraphUniqueKeyOutput

type GremlinGraphUniqueKeyOutput struct{ *pulumi.OutputState }

func (GremlinGraphUniqueKeyOutput) ElementType

func (GremlinGraphUniqueKeyOutput) Paths

A list of paths to use for this unique key.

func (GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput

func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput

func (GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutputWithContext

func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutputWithContext(ctx context.Context) GremlinGraphUniqueKeyOutput

type LookupAccountArgs

type LookupAccountArgs struct {
	// Specifies the name of the CosmosDB Account.
	Name string `pulumi:"name"`
	// Specifies the name of the resource group in which the CosmosDB Account resides.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

type LookupAccountOutputArgs added in v4.20.0

type LookupAccountOutputArgs struct {
	// Specifies the name of the CosmosDB Account.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the name of the resource group in which the CosmosDB Account resides.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

func (LookupAccountOutputArgs) ElementType added in v4.20.0

func (LookupAccountOutputArgs) ElementType() reflect.Type

type LookupAccountResult

type LookupAccountResult struct {
	// Capabilities enabled on this Cosmos DB account.
	Capabilities        []GetAccountCapability        `pulumi:"capabilities"`
	ConsistencyPolicies []GetAccountConsistencyPolicy `pulumi:"consistencyPolicies"`
	// If automatic failover is enabled for this CosmosDB Account.
	EnableAutomaticFailover bool `pulumi:"enableAutomaticFailover"`
	// If Free Tier pricing option is enabled for this CosmosDB Account.
	EnableFreeTier bool `pulumi:"enableFreeTier"`
	// If multiple write locations are enabled for this Cosmos DB account.
	EnableMultipleWriteLocations bool `pulumi:"enableMultipleWriteLocations"`
	// The endpoint used to connect to the CosmosDB account.
	Endpoint     string                  `pulumi:"endpoint"`
	GeoLocations []GetAccountGeoLocation `pulumi:"geoLocations"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current IP Filter for this CosmosDB account
	IpRangeFilter string `pulumi:"ipRangeFilter"`
	// If virtual network filtering is enabled for this Cosmos DB account.
	IsVirtualNetworkFilterEnabled bool `pulumi:"isVirtualNetworkFilterEnabled"`
	// The Key Vault key URI for CMK encryption.
	KeyVaultKeyId string `pulumi:"keyVaultKeyId"`
	// The Kind of the CosmosDB account.
	Kind string `pulumi:"kind"`
	// The name of the Azure region hosting replicated data.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The Offer Type to used by this CosmosDB Account.
	OfferType string `pulumi:"offerType"`
	// The Primary key for the CosmosDB Account.
	PrimaryKey string `pulumi:"primaryKey"`
	// Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	PrimaryMasterKey string `pulumi:"primaryMasterKey"`
	// The Primary read-only Key for the CosmosDB Account.
	PrimaryReadonlyKey string `pulumi:"primaryReadonlyKey"`
	// Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	PrimaryReadonlyMasterKey string `pulumi:"primaryReadonlyMasterKey"`
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints     []string `pulumi:"readEndpoints"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// The Secondary key for the CosmosDB Account.
	SecondaryKey string `pulumi:"secondaryKey"`
	// Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	SecondaryMasterKey string `pulumi:"secondaryMasterKey"`
	// The Secondary read-only key for the CosmosDB Account.
	SecondaryReadonlyKey string `pulumi:"secondaryReadonlyKey"`
	// Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes
	SecondaryReadonlyMasterKey string `pulumi:"secondaryReadonlyMasterKey"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// Subnets that are allowed to access this CosmosDB account.
	VirtualNetworkRules []GetAccountVirtualNetworkRule `pulumi:"virtualNetworkRules"`
	// A list of write endpoints available for this CosmosDB account.
	WriteEndpoints []string `pulumi:"writeEndpoints"`
}

A collection of values returned by getAccount.

func LookupAccount

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

Use this data source to access information about an existing CosmosDB (formally DocumentDB) Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cosmosdbAccountEndpoint", example.Endpoint)
		return nil
	})
}

```

type LookupAccountResultOutput added in v4.20.0

type LookupAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func LookupAccountOutput added in v4.20.0

func LookupAccountOutput(ctx *pulumi.Context, args LookupAccountOutputArgs, opts ...pulumi.InvokeOption) LookupAccountResultOutput

func (LookupAccountResultOutput) Capabilities added in v4.20.0

Capabilities enabled on this Cosmos DB account.

func (LookupAccountResultOutput) ConsistencyPolicies added in v4.20.0

func (LookupAccountResultOutput) ElementType added in v4.20.0

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) EnableAutomaticFailover added in v4.20.0

func (o LookupAccountResultOutput) EnableAutomaticFailover() pulumi.BoolOutput

If automatic failover is enabled for this CosmosDB Account.

func (LookupAccountResultOutput) EnableFreeTier added in v4.20.0

func (o LookupAccountResultOutput) EnableFreeTier() pulumi.BoolOutput

If Free Tier pricing option is enabled for this CosmosDB Account.

func (LookupAccountResultOutput) EnableMultipleWriteLocations added in v4.20.0

func (o LookupAccountResultOutput) EnableMultipleWriteLocations() pulumi.BoolOutput

If multiple write locations are enabled for this Cosmos DB account.

func (LookupAccountResultOutput) Endpoint added in v4.20.0

The endpoint used to connect to the CosmosDB account.

func (LookupAccountResultOutput) GeoLocations added in v4.20.0

func (LookupAccountResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupAccountResultOutput) IpRangeFilter added in v4.20.0

func (o LookupAccountResultOutput) IpRangeFilter() pulumi.StringOutput

The current IP Filter for this CosmosDB account

func (LookupAccountResultOutput) IsVirtualNetworkFilterEnabled added in v4.20.0

func (o LookupAccountResultOutput) IsVirtualNetworkFilterEnabled() pulumi.BoolOutput

If virtual network filtering is enabled for this Cosmos DB account.

func (LookupAccountResultOutput) KeyVaultKeyId added in v4.20.0

func (o LookupAccountResultOutput) KeyVaultKeyId() pulumi.StringOutput

The Key Vault key URI for CMK encryption.

func (LookupAccountResultOutput) Kind added in v4.20.0

The Kind of the CosmosDB account.

func (LookupAccountResultOutput) Location added in v4.20.0

The name of the Azure region hosting replicated data.

func (LookupAccountResultOutput) Name added in v4.20.0

func (LookupAccountResultOutput) OfferType added in v4.20.0

The Offer Type to used by this CosmosDB Account.

func (LookupAccountResultOutput) PrimaryKey added in v4.20.0

The Primary key for the CosmosDB Account.

func (LookupAccountResultOutput) PrimaryMasterKey deprecated added in v4.20.0

func (o LookupAccountResultOutput) PrimaryMasterKey() pulumi.StringOutput

Deprecated: This property has been renamed to `primary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes

func (LookupAccountResultOutput) PrimaryReadonlyKey added in v4.20.0

func (o LookupAccountResultOutput) PrimaryReadonlyKey() pulumi.StringOutput

The Primary read-only Key for the CosmosDB Account.

func (LookupAccountResultOutput) PrimaryReadonlyMasterKey deprecated added in v4.20.0

func (o LookupAccountResultOutput) PrimaryReadonlyMasterKey() pulumi.StringOutput

Deprecated: This property has been renamed to `primary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes

func (LookupAccountResultOutput) ReadEndpoints added in v4.20.0

A list of read endpoints available for this CosmosDB account.

func (LookupAccountResultOutput) ResourceGroupName added in v4.20.0

func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAccountResultOutput) SecondaryKey added in v4.20.0

The Secondary key for the CosmosDB Account.

func (LookupAccountResultOutput) SecondaryMasterKey deprecated added in v4.20.0

func (o LookupAccountResultOutput) SecondaryMasterKey() pulumi.StringOutput

Deprecated: This property has been renamed to `secondary_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes

func (LookupAccountResultOutput) SecondaryReadonlyKey added in v4.20.0

func (o LookupAccountResultOutput) SecondaryReadonlyKey() pulumi.StringOutput

The Secondary read-only key for the CosmosDB Account.

func (LookupAccountResultOutput) SecondaryReadonlyMasterKey deprecated added in v4.20.0

func (o LookupAccountResultOutput) SecondaryReadonlyMasterKey() pulumi.StringOutput

Deprecated: This property has been renamed to `secondary_readonly_key` and will be removed in v3.0 of the provider in support of HashiCorp's inclusive language policy which can be found here: https://discuss.hashicorp.com/t/inclusive-language-changes

func (LookupAccountResultOutput) Tags added in v4.20.0

A mapping of tags assigned to the resource.

func (LookupAccountResultOutput) ToLookupAccountResultOutput added in v4.20.0

func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput

func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext added in v4.20.0

func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput

func (LookupAccountResultOutput) VirtualNetworkRules added in v4.20.0

Subnets that are allowed to access this CosmosDB account.

func (LookupAccountResultOutput) WriteEndpoints added in v4.20.0

A list of write endpoints available for this CosmosDB account.

type LookupMongoDatabaseArgs added in v4.17.0

type LookupMongoDatabaseArgs struct {
	// The name of the Cosmos DB Account where the Mongo Database exists.
	AccountName string `pulumi:"accountName"`
	// The name of this Cosmos DB Mongo Database.
	Name string `pulumi:"name"`
	// The name of the Resource Group where the Cosmos DB Mongo Database exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getMongoDatabase.

type LookupMongoDatabaseOutputArgs added in v4.20.0

type LookupMongoDatabaseOutputArgs struct {
	// The name of the Cosmos DB Account where the Mongo Database exists.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// The name of this Cosmos DB Mongo Database.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group where the Cosmos DB Mongo Database exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getMongoDatabase.

func (LookupMongoDatabaseOutputArgs) ElementType added in v4.20.0

type LookupMongoDatabaseResult added in v4.17.0

type LookupMongoDatabaseResult struct {
	AccountName string `pulumi:"accountName"`
	// The provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the Cosmos DB Mongo Database.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getMongoDatabase.

func LookupMongoDatabase added in v4.17.0

func LookupMongoDatabase(ctx *pulumi.Context, args *LookupMongoDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupMongoDatabaseResult, error)

Use this data source to access information about an existing Cosmos DB Mongo Database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupMongoDatabase(ctx, &cosmosdb.LookupMongoDatabaseArgs{
			Name:              "test-cosmosdb-mongo-db",
			ResourceGroupName: "test-cosmosdb-account-rg",
			AccountName:       "test-cosmosdb-account",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupMongoDatabaseResultOutput added in v4.20.0

type LookupMongoDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMongoDatabase.

func LookupMongoDatabaseOutput added in v4.20.0

func (LookupMongoDatabaseResultOutput) AccountName added in v4.20.0

func (LookupMongoDatabaseResultOutput) ElementType added in v4.20.0

func (LookupMongoDatabaseResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupMongoDatabaseResultOutput) Name added in v4.20.0

func (LookupMongoDatabaseResultOutput) ResourceGroupName added in v4.20.0

func (o LookupMongoDatabaseResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupMongoDatabaseResultOutput) Tags added in v4.20.0

A mapping of tags assigned to the Cosmos DB Mongo Database.

func (LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput added in v4.20.0

func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput() LookupMongoDatabaseResultOutput

func (LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutputWithContext added in v4.20.0

func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutputWithContext(ctx context.Context) LookupMongoDatabaseResultOutput

type MongoCollection

type MongoCollection struct {
	pulumi.CustomResourceState

	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrOutput `pulumi:"analyticalStorageTtl"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Requires `shardKey` to be set.
	AutoscaleSettings MongoCollectionAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// The default Time To Live in seconds. If the value is `-1` or `0`, items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrOutput `pulumi:"defaultTtlSeconds"`
	// One or more `index` blocks as defined below.
	Indices MongoCollectionIndexArrayOutput `pulumi:"indices"`
	// Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The name of the key to partition on for sharding. There must not be any other unique index keys.
	ShardKey pulumi.StringPtrOutput `pulumi:"shardKey"`
	// One or more `systemIndexes` blocks as defined below.
	SystemIndexes MongoCollectionSystemIndexArrayOutput `pulumi:"systemIndexes"`
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Mongo Collection within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleMongoDatabase, err := cosmosdb.NewMongoDatabase(ctx, "exampleMongoDatabase", &cosmosdb.MongoDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewMongoCollection(ctx, "exampleMongoCollection", &cosmosdb.MongoCollectionArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			DatabaseName:      exampleMongoDatabase.Name,
			DefaultTtlSeconds: pulumi.Int(777),
			ShardKey:          pulumi.String("uniqueKey"),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB Mongo Collection can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/mongoCollection:MongoCollection collection1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbDatabases/db1/collections/collection1

```

func GetMongoCollection

func GetMongoCollection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoCollectionState, opts ...pulumi.ResourceOption) (*MongoCollection, error)

GetMongoCollection gets an existing MongoCollection 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 NewMongoCollection

func NewMongoCollection(ctx *pulumi.Context,
	name string, args *MongoCollectionArgs, opts ...pulumi.ResourceOption) (*MongoCollection, error)

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

func (*MongoCollection) ElementType

func (*MongoCollection) ElementType() reflect.Type

func (*MongoCollection) ToMongoCollectionOutput

func (i *MongoCollection) ToMongoCollectionOutput() MongoCollectionOutput

func (*MongoCollection) ToMongoCollectionOutputWithContext

func (i *MongoCollection) ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput

func (*MongoCollection) ToMongoCollectionPtrOutput

func (i *MongoCollection) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput

func (*MongoCollection) ToMongoCollectionPtrOutputWithContext

func (i *MongoCollection) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput

type MongoCollectionArgs

type MongoCollectionArgs struct {
	AccountName pulumi.StringInput
	// The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Requires `shardKey` to be set.
	AutoscaleSettings MongoCollectionAutoscaleSettingsPtrInput
	// The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// The default Time To Live in seconds. If the value is `-1` or `0`, items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrInput
	// One or more `index` blocks as defined below.
	Indices MongoCollectionIndexArrayInput
	// Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the key to partition on for sharding. There must not be any other unique index keys.
	ShardKey pulumi.StringPtrInput
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a MongoCollection resource.

func (MongoCollectionArgs) ElementType

func (MongoCollectionArgs) ElementType() reflect.Type

type MongoCollectionArray

type MongoCollectionArray []MongoCollectionInput

func (MongoCollectionArray) ElementType

func (MongoCollectionArray) ElementType() reflect.Type

func (MongoCollectionArray) ToMongoCollectionArrayOutput

func (i MongoCollectionArray) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput

func (MongoCollectionArray) ToMongoCollectionArrayOutputWithContext

func (i MongoCollectionArray) ToMongoCollectionArrayOutputWithContext(ctx context.Context) MongoCollectionArrayOutput

type MongoCollectionArrayInput

type MongoCollectionArrayInput interface {
	pulumi.Input

	ToMongoCollectionArrayOutput() MongoCollectionArrayOutput
	ToMongoCollectionArrayOutputWithContext(context.Context) MongoCollectionArrayOutput
}

MongoCollectionArrayInput is an input type that accepts MongoCollectionArray and MongoCollectionArrayOutput values. You can construct a concrete instance of `MongoCollectionArrayInput` via:

MongoCollectionArray{ MongoCollectionArgs{...} }

type MongoCollectionArrayOutput

type MongoCollectionArrayOutput struct{ *pulumi.OutputState }

func (MongoCollectionArrayOutput) ElementType

func (MongoCollectionArrayOutput) ElementType() reflect.Type

func (MongoCollectionArrayOutput) Index

func (MongoCollectionArrayOutput) ToMongoCollectionArrayOutput

func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput

func (MongoCollectionArrayOutput) ToMongoCollectionArrayOutputWithContext

func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutputWithContext(ctx context.Context) MongoCollectionArrayOutput

type MongoCollectionAutoscaleSettings

type MongoCollectionAutoscaleSettings struct {
	// The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type MongoCollectionAutoscaleSettingsArgs

type MongoCollectionAutoscaleSettingsArgs struct {
	// The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (MongoCollectionAutoscaleSettingsArgs) ElementType

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput

func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutputWithContext

func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsOutput

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput

func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext

func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput

type MongoCollectionAutoscaleSettingsInput

type MongoCollectionAutoscaleSettingsInput interface {
	pulumi.Input

	ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput
	ToMongoCollectionAutoscaleSettingsOutputWithContext(context.Context) MongoCollectionAutoscaleSettingsOutput
}

MongoCollectionAutoscaleSettingsInput is an input type that accepts MongoCollectionAutoscaleSettingsArgs and MongoCollectionAutoscaleSettingsOutput values. You can construct a concrete instance of `MongoCollectionAutoscaleSettingsInput` via:

MongoCollectionAutoscaleSettingsArgs{...}

type MongoCollectionAutoscaleSettingsOutput

type MongoCollectionAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (MongoCollectionAutoscaleSettingsOutput) ElementType

func (MongoCollectionAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput

func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutputWithContext

func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsOutput

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput

func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext

func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput

type MongoCollectionAutoscaleSettingsPtrInput

type MongoCollectionAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput
	ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(context.Context) MongoCollectionAutoscaleSettingsPtrOutput
}

MongoCollectionAutoscaleSettingsPtrInput is an input type that accepts MongoCollectionAutoscaleSettingsArgs, MongoCollectionAutoscaleSettingsPtr and MongoCollectionAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `MongoCollectionAutoscaleSettingsPtrInput` via:

        MongoCollectionAutoscaleSettingsArgs{...}

or:

        nil

type MongoCollectionAutoscaleSettingsPtrOutput

type MongoCollectionAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (MongoCollectionAutoscaleSettingsPtrOutput) Elem

func (MongoCollectionAutoscaleSettingsPtrOutput) ElementType

func (MongoCollectionAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the MongoDB collection (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput

func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput

func (MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext

func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoCollectionAutoscaleSettingsPtrOutput

type MongoCollectionIndex

type MongoCollectionIndex struct {
	// Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
	Keys []string `pulumi:"keys"`
	// Is the index unique or not? Defaults to `false`.
	Unique *bool `pulumi:"unique"`
}

type MongoCollectionIndexArgs

type MongoCollectionIndexArgs struct {
	// Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Is the index unique or not? Defaults to `false`.
	Unique pulumi.BoolPtrInput `pulumi:"unique"`
}

func (MongoCollectionIndexArgs) ElementType

func (MongoCollectionIndexArgs) ElementType() reflect.Type

func (MongoCollectionIndexArgs) ToMongoCollectionIndexOutput

func (i MongoCollectionIndexArgs) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput

func (MongoCollectionIndexArgs) ToMongoCollectionIndexOutputWithContext

func (i MongoCollectionIndexArgs) ToMongoCollectionIndexOutputWithContext(ctx context.Context) MongoCollectionIndexOutput

type MongoCollectionIndexArray

type MongoCollectionIndexArray []MongoCollectionIndexInput

func (MongoCollectionIndexArray) ElementType

func (MongoCollectionIndexArray) ElementType() reflect.Type

func (MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutput

func (i MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput

func (MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutputWithContext

func (i MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutputWithContext(ctx context.Context) MongoCollectionIndexArrayOutput

type MongoCollectionIndexArrayInput

type MongoCollectionIndexArrayInput interface {
	pulumi.Input

	ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput
	ToMongoCollectionIndexArrayOutputWithContext(context.Context) MongoCollectionIndexArrayOutput
}

MongoCollectionIndexArrayInput is an input type that accepts MongoCollectionIndexArray and MongoCollectionIndexArrayOutput values. You can construct a concrete instance of `MongoCollectionIndexArrayInput` via:

MongoCollectionIndexArray{ MongoCollectionIndexArgs{...} }

type MongoCollectionIndexArrayOutput

type MongoCollectionIndexArrayOutput struct{ *pulumi.OutputState }

func (MongoCollectionIndexArrayOutput) ElementType

func (MongoCollectionIndexArrayOutput) Index

func (MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput

func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput

func (MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutputWithContext

func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutputWithContext(ctx context.Context) MongoCollectionIndexArrayOutput

type MongoCollectionIndexInput

type MongoCollectionIndexInput interface {
	pulumi.Input

	ToMongoCollectionIndexOutput() MongoCollectionIndexOutput
	ToMongoCollectionIndexOutputWithContext(context.Context) MongoCollectionIndexOutput
}

MongoCollectionIndexInput is an input type that accepts MongoCollectionIndexArgs and MongoCollectionIndexOutput values. You can construct a concrete instance of `MongoCollectionIndexInput` via:

MongoCollectionIndexArgs{...}

type MongoCollectionIndexOutput

type MongoCollectionIndexOutput struct{ *pulumi.OutputState }

func (MongoCollectionIndexOutput) ElementType

func (MongoCollectionIndexOutput) ElementType() reflect.Type

func (MongoCollectionIndexOutput) Keys

Specifies the list of user settable keys for each Cosmos DB Mongo Collection.

func (MongoCollectionIndexOutput) ToMongoCollectionIndexOutput

func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput

func (MongoCollectionIndexOutput) ToMongoCollectionIndexOutputWithContext

func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutputWithContext(ctx context.Context) MongoCollectionIndexOutput

func (MongoCollectionIndexOutput) Unique

Is the index unique or not? Defaults to `false`.

type MongoCollectionInput

type MongoCollectionInput interface {
	pulumi.Input

	ToMongoCollectionOutput() MongoCollectionOutput
	ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput
}

type MongoCollectionMap

type MongoCollectionMap map[string]MongoCollectionInput

func (MongoCollectionMap) ElementType

func (MongoCollectionMap) ElementType() reflect.Type

func (MongoCollectionMap) ToMongoCollectionMapOutput

func (i MongoCollectionMap) ToMongoCollectionMapOutput() MongoCollectionMapOutput

func (MongoCollectionMap) ToMongoCollectionMapOutputWithContext

func (i MongoCollectionMap) ToMongoCollectionMapOutputWithContext(ctx context.Context) MongoCollectionMapOutput

type MongoCollectionMapInput

type MongoCollectionMapInput interface {
	pulumi.Input

	ToMongoCollectionMapOutput() MongoCollectionMapOutput
	ToMongoCollectionMapOutputWithContext(context.Context) MongoCollectionMapOutput
}

MongoCollectionMapInput is an input type that accepts MongoCollectionMap and MongoCollectionMapOutput values. You can construct a concrete instance of `MongoCollectionMapInput` via:

MongoCollectionMap{ "key": MongoCollectionArgs{...} }

type MongoCollectionMapOutput

type MongoCollectionMapOutput struct{ *pulumi.OutputState }

func (MongoCollectionMapOutput) ElementType

func (MongoCollectionMapOutput) ElementType() reflect.Type

func (MongoCollectionMapOutput) MapIndex

func (MongoCollectionMapOutput) ToMongoCollectionMapOutput

func (o MongoCollectionMapOutput) ToMongoCollectionMapOutput() MongoCollectionMapOutput

func (MongoCollectionMapOutput) ToMongoCollectionMapOutputWithContext

func (o MongoCollectionMapOutput) ToMongoCollectionMapOutputWithContext(ctx context.Context) MongoCollectionMapOutput

type MongoCollectionOutput

type MongoCollectionOutput struct{ *pulumi.OutputState }

func (MongoCollectionOutput) ElementType

func (MongoCollectionOutput) ElementType() reflect.Type

func (MongoCollectionOutput) ToMongoCollectionOutput

func (o MongoCollectionOutput) ToMongoCollectionOutput() MongoCollectionOutput

func (MongoCollectionOutput) ToMongoCollectionOutputWithContext

func (o MongoCollectionOutput) ToMongoCollectionOutputWithContext(ctx context.Context) MongoCollectionOutput

func (MongoCollectionOutput) ToMongoCollectionPtrOutput

func (o MongoCollectionOutput) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput

func (MongoCollectionOutput) ToMongoCollectionPtrOutputWithContext

func (o MongoCollectionOutput) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput

type MongoCollectionPtrInput

type MongoCollectionPtrInput interface {
	pulumi.Input

	ToMongoCollectionPtrOutput() MongoCollectionPtrOutput
	ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput
}

type MongoCollectionPtrOutput

type MongoCollectionPtrOutput struct{ *pulumi.OutputState }

func (MongoCollectionPtrOutput) Elem added in v4.20.0

func (MongoCollectionPtrOutput) ElementType

func (MongoCollectionPtrOutput) ElementType() reflect.Type

func (MongoCollectionPtrOutput) ToMongoCollectionPtrOutput

func (o MongoCollectionPtrOutput) ToMongoCollectionPtrOutput() MongoCollectionPtrOutput

func (MongoCollectionPtrOutput) ToMongoCollectionPtrOutputWithContext

func (o MongoCollectionPtrOutput) ToMongoCollectionPtrOutputWithContext(ctx context.Context) MongoCollectionPtrOutput

type MongoCollectionState

type MongoCollectionState struct {
	AccountName pulumi.StringPtrInput
	// The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply. Requires `shardKey` to be set.
	AutoscaleSettings MongoCollectionAutoscaleSettingsPtrInput
	// The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// The default Time To Live in seconds. If the value is `-1` or `0`, items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrInput
	// One or more `index` blocks as defined below.
	Indices MongoCollectionIndexArrayInput
	// Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the key to partition on for sharding. There must not be any other unique index keys.
	ShardKey pulumi.StringPtrInput
	// One or more `systemIndexes` blocks as defined below.
	SystemIndexes MongoCollectionSystemIndexArrayInput
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual manual destroy-apply.
	Throughput pulumi.IntPtrInput
}

func (MongoCollectionState) ElementType

func (MongoCollectionState) ElementType() reflect.Type

type MongoCollectionSystemIndex

type MongoCollectionSystemIndex struct {
	// Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
	Keys []string `pulumi:"keys"`
	// Is the index unique or not? Defaults to `false`.
	Unique *bool `pulumi:"unique"`
}

type MongoCollectionSystemIndexArgs

type MongoCollectionSystemIndexArgs struct {
	// Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Is the index unique or not? Defaults to `false`.
	Unique pulumi.BoolPtrInput `pulumi:"unique"`
}

func (MongoCollectionSystemIndexArgs) ElementType

func (MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput

func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput

func (MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutputWithContext

func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutputWithContext(ctx context.Context) MongoCollectionSystemIndexOutput

type MongoCollectionSystemIndexArray

type MongoCollectionSystemIndexArray []MongoCollectionSystemIndexInput

func (MongoCollectionSystemIndexArray) ElementType

func (MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput

func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput

func (MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutputWithContext

func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutputWithContext(ctx context.Context) MongoCollectionSystemIndexArrayOutput

type MongoCollectionSystemIndexArrayInput

type MongoCollectionSystemIndexArrayInput interface {
	pulumi.Input

	ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput
	ToMongoCollectionSystemIndexArrayOutputWithContext(context.Context) MongoCollectionSystemIndexArrayOutput
}

MongoCollectionSystemIndexArrayInput is an input type that accepts MongoCollectionSystemIndexArray and MongoCollectionSystemIndexArrayOutput values. You can construct a concrete instance of `MongoCollectionSystemIndexArrayInput` via:

MongoCollectionSystemIndexArray{ MongoCollectionSystemIndexArgs{...} }

type MongoCollectionSystemIndexArrayOutput

type MongoCollectionSystemIndexArrayOutput struct{ *pulumi.OutputState }

func (MongoCollectionSystemIndexArrayOutput) ElementType

func (MongoCollectionSystemIndexArrayOutput) Index

func (MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput

func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput

func (MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutputWithContext

func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutputWithContext(ctx context.Context) MongoCollectionSystemIndexArrayOutput

type MongoCollectionSystemIndexInput

type MongoCollectionSystemIndexInput interface {
	pulumi.Input

	ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput
	ToMongoCollectionSystemIndexOutputWithContext(context.Context) MongoCollectionSystemIndexOutput
}

MongoCollectionSystemIndexInput is an input type that accepts MongoCollectionSystemIndexArgs and MongoCollectionSystemIndexOutput values. You can construct a concrete instance of `MongoCollectionSystemIndexInput` via:

MongoCollectionSystemIndexArgs{...}

type MongoCollectionSystemIndexOutput

type MongoCollectionSystemIndexOutput struct{ *pulumi.OutputState }

func (MongoCollectionSystemIndexOutput) ElementType

func (MongoCollectionSystemIndexOutput) Keys

Specifies the list of user settable keys for each Cosmos DB Mongo Collection.

func (MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput

func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput

func (MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutputWithContext

func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutputWithContext(ctx context.Context) MongoCollectionSystemIndexOutput

func (MongoCollectionSystemIndexOutput) Unique

Is the index unique or not? Defaults to `false`.

type MongoDatabase

type MongoDatabase struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Mongo Database within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewMongoDatabase(ctx, "exampleMongoDatabase", &cosmosdb.MongoDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos Mongo Database can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/mongoDatabase:MongoDatabase db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbDatabases/db1

```

func GetMongoDatabase

func GetMongoDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoDatabaseState, opts ...pulumi.ResourceOption) (*MongoDatabase, error)

GetMongoDatabase gets an existing MongoDatabase 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 NewMongoDatabase

func NewMongoDatabase(ctx *pulumi.Context,
	name string, args *MongoDatabaseArgs, opts ...pulumi.ResourceOption) (*MongoDatabase, error)

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

func (*MongoDatabase) ElementType

func (*MongoDatabase) ElementType() reflect.Type

func (*MongoDatabase) ToMongoDatabaseOutput

func (i *MongoDatabase) ToMongoDatabaseOutput() MongoDatabaseOutput

func (*MongoDatabase) ToMongoDatabaseOutputWithContext

func (i *MongoDatabase) ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput

func (*MongoDatabase) ToMongoDatabasePtrOutput

func (i *MongoDatabase) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput

func (*MongoDatabase) ToMongoDatabasePtrOutputWithContext

func (i *MongoDatabase) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput

type MongoDatabaseArgs

type MongoDatabaseArgs struct {
	// The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a MongoDatabase resource.

func (MongoDatabaseArgs) ElementType

func (MongoDatabaseArgs) ElementType() reflect.Type

type MongoDatabaseArray

type MongoDatabaseArray []MongoDatabaseInput

func (MongoDatabaseArray) ElementType

func (MongoDatabaseArray) ElementType() reflect.Type

func (MongoDatabaseArray) ToMongoDatabaseArrayOutput

func (i MongoDatabaseArray) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput

func (MongoDatabaseArray) ToMongoDatabaseArrayOutputWithContext

func (i MongoDatabaseArray) ToMongoDatabaseArrayOutputWithContext(ctx context.Context) MongoDatabaseArrayOutput

type MongoDatabaseArrayInput

type MongoDatabaseArrayInput interface {
	pulumi.Input

	ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput
	ToMongoDatabaseArrayOutputWithContext(context.Context) MongoDatabaseArrayOutput
}

MongoDatabaseArrayInput is an input type that accepts MongoDatabaseArray and MongoDatabaseArrayOutput values. You can construct a concrete instance of `MongoDatabaseArrayInput` via:

MongoDatabaseArray{ MongoDatabaseArgs{...} }

type MongoDatabaseArrayOutput

type MongoDatabaseArrayOutput struct{ *pulumi.OutputState }

func (MongoDatabaseArrayOutput) ElementType

func (MongoDatabaseArrayOutput) ElementType() reflect.Type

func (MongoDatabaseArrayOutput) Index

func (MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput

func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput

func (MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutputWithContext

func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutputWithContext(ctx context.Context) MongoDatabaseArrayOutput

type MongoDatabaseAutoscaleSettings

type MongoDatabaseAutoscaleSettings struct {
	// The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type MongoDatabaseAutoscaleSettingsArgs

type MongoDatabaseAutoscaleSettingsArgs struct {
	// The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (MongoDatabaseAutoscaleSettingsArgs) ElementType

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput

func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutputWithContext

func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsOutput

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput

func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext

func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput

type MongoDatabaseAutoscaleSettingsInput

type MongoDatabaseAutoscaleSettingsInput interface {
	pulumi.Input

	ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput
	ToMongoDatabaseAutoscaleSettingsOutputWithContext(context.Context) MongoDatabaseAutoscaleSettingsOutput
}

MongoDatabaseAutoscaleSettingsInput is an input type that accepts MongoDatabaseAutoscaleSettingsArgs and MongoDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `MongoDatabaseAutoscaleSettingsInput` via:

MongoDatabaseAutoscaleSettingsArgs{...}

type MongoDatabaseAutoscaleSettingsOutput

type MongoDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (MongoDatabaseAutoscaleSettingsOutput) ElementType

func (MongoDatabaseAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput

func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutputWithContext

func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsOutput

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput

func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext

func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput

type MongoDatabaseAutoscaleSettingsPtrInput

type MongoDatabaseAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput
	ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) MongoDatabaseAutoscaleSettingsPtrOutput
}

MongoDatabaseAutoscaleSettingsPtrInput is an input type that accepts MongoDatabaseAutoscaleSettingsArgs, MongoDatabaseAutoscaleSettingsPtr and MongoDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `MongoDatabaseAutoscaleSettingsPtrInput` via:

        MongoDatabaseAutoscaleSettingsArgs{...}

or:

        nil

type MongoDatabaseAutoscaleSettingsPtrOutput

type MongoDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (MongoDatabaseAutoscaleSettingsPtrOutput) Elem

func (MongoDatabaseAutoscaleSettingsPtrOutput) ElementType

func (MongoDatabaseAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the MongoDB database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput

func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput

func (MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext

func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) MongoDatabaseAutoscaleSettingsPtrOutput

type MongoDatabaseInput

type MongoDatabaseInput interface {
	pulumi.Input

	ToMongoDatabaseOutput() MongoDatabaseOutput
	ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput
}

type MongoDatabaseMap

type MongoDatabaseMap map[string]MongoDatabaseInput

func (MongoDatabaseMap) ElementType

func (MongoDatabaseMap) ElementType() reflect.Type

func (MongoDatabaseMap) ToMongoDatabaseMapOutput

func (i MongoDatabaseMap) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput

func (MongoDatabaseMap) ToMongoDatabaseMapOutputWithContext

func (i MongoDatabaseMap) ToMongoDatabaseMapOutputWithContext(ctx context.Context) MongoDatabaseMapOutput

type MongoDatabaseMapInput

type MongoDatabaseMapInput interface {
	pulumi.Input

	ToMongoDatabaseMapOutput() MongoDatabaseMapOutput
	ToMongoDatabaseMapOutputWithContext(context.Context) MongoDatabaseMapOutput
}

MongoDatabaseMapInput is an input type that accepts MongoDatabaseMap and MongoDatabaseMapOutput values. You can construct a concrete instance of `MongoDatabaseMapInput` via:

MongoDatabaseMap{ "key": MongoDatabaseArgs{...} }

type MongoDatabaseMapOutput

type MongoDatabaseMapOutput struct{ *pulumi.OutputState }

func (MongoDatabaseMapOutput) ElementType

func (MongoDatabaseMapOutput) ElementType() reflect.Type

func (MongoDatabaseMapOutput) MapIndex

func (MongoDatabaseMapOutput) ToMongoDatabaseMapOutput

func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput

func (MongoDatabaseMapOutput) ToMongoDatabaseMapOutputWithContext

func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutputWithContext(ctx context.Context) MongoDatabaseMapOutput

type MongoDatabaseOutput

type MongoDatabaseOutput struct{ *pulumi.OutputState }

func (MongoDatabaseOutput) ElementType

func (MongoDatabaseOutput) ElementType() reflect.Type

func (MongoDatabaseOutput) ToMongoDatabaseOutput

func (o MongoDatabaseOutput) ToMongoDatabaseOutput() MongoDatabaseOutput

func (MongoDatabaseOutput) ToMongoDatabaseOutputWithContext

func (o MongoDatabaseOutput) ToMongoDatabaseOutputWithContext(ctx context.Context) MongoDatabaseOutput

func (MongoDatabaseOutput) ToMongoDatabasePtrOutput

func (o MongoDatabaseOutput) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput

func (MongoDatabaseOutput) ToMongoDatabasePtrOutputWithContext

func (o MongoDatabaseOutput) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput

type MongoDatabasePtrInput

type MongoDatabasePtrInput interface {
	pulumi.Input

	ToMongoDatabasePtrOutput() MongoDatabasePtrOutput
	ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput
}

type MongoDatabasePtrOutput

type MongoDatabasePtrOutput struct{ *pulumi.OutputState }

func (MongoDatabasePtrOutput) Elem added in v4.20.0

func (MongoDatabasePtrOutput) ElementType

func (MongoDatabasePtrOutput) ElementType() reflect.Type

func (MongoDatabasePtrOutput) ToMongoDatabasePtrOutput

func (o MongoDatabasePtrOutput) ToMongoDatabasePtrOutput() MongoDatabasePtrOutput

func (MongoDatabasePtrOutput) ToMongoDatabasePtrOutputWithContext

func (o MongoDatabasePtrOutput) ToMongoDatabasePtrOutputWithContext(ctx context.Context) MongoDatabasePtrOutput

type MongoDatabaseState

type MongoDatabaseState struct {
	// The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

func (MongoDatabaseState) ElementType

func (MongoDatabaseState) ElementType() reflect.Type

type NotebookWorkspace added in v4.2.0

type NotebookWorkspace struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the endpoint of Notebook server.
	ServerEndpoint pulumi.StringOutput `pulumi:"serverEndpoint"`
}

Manages an SQL Notebook Workspace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "exampleAccount", &cosmosdb.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("GlobalDocumentDB"),
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("BoundedStaleness"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         exampleResourceGroup.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewNotebookWorkspace(ctx, "exampleNotebookWorkspace", &cosmosdb.NotebookWorkspaceArgs{
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

=SQL Notebook Workspaces can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/notebookWorkspace:NotebookWorkspace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/notebookWorkspaces/notebookWorkspace1

```

func GetNotebookWorkspace added in v4.2.0

func GetNotebookWorkspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotebookWorkspaceState, opts ...pulumi.ResourceOption) (*NotebookWorkspace, error)

GetNotebookWorkspace gets an existing NotebookWorkspace 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 NewNotebookWorkspace added in v4.2.0

func NewNotebookWorkspace(ctx *pulumi.Context,
	name string, args *NotebookWorkspaceArgs, opts ...pulumi.ResourceOption) (*NotebookWorkspace, error)

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

func (*NotebookWorkspace) ElementType added in v4.2.0

func (*NotebookWorkspace) ElementType() reflect.Type

func (*NotebookWorkspace) ToNotebookWorkspaceOutput added in v4.2.0

func (i *NotebookWorkspace) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput

func (*NotebookWorkspace) ToNotebookWorkspaceOutputWithContext added in v4.2.0

func (i *NotebookWorkspace) ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput

func (*NotebookWorkspace) ToNotebookWorkspacePtrOutput added in v4.2.0

func (i *NotebookWorkspace) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput

func (*NotebookWorkspace) ToNotebookWorkspacePtrOutputWithContext added in v4.2.0

func (i *NotebookWorkspace) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput

type NotebookWorkspaceArgs added in v4.2.0

type NotebookWorkspaceArgs struct {
	// The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created.
	AccountName pulumi.StringInput
	// The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a NotebookWorkspace resource.

func (NotebookWorkspaceArgs) ElementType added in v4.2.0

func (NotebookWorkspaceArgs) ElementType() reflect.Type

type NotebookWorkspaceArray added in v4.2.0

type NotebookWorkspaceArray []NotebookWorkspaceInput

func (NotebookWorkspaceArray) ElementType added in v4.2.0

func (NotebookWorkspaceArray) ElementType() reflect.Type

func (NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutput added in v4.2.0

func (i NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput

func (NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutputWithContext added in v4.2.0

func (i NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutputWithContext(ctx context.Context) NotebookWorkspaceArrayOutput

type NotebookWorkspaceArrayInput added in v4.2.0

type NotebookWorkspaceArrayInput interface {
	pulumi.Input

	ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput
	ToNotebookWorkspaceArrayOutputWithContext(context.Context) NotebookWorkspaceArrayOutput
}

NotebookWorkspaceArrayInput is an input type that accepts NotebookWorkspaceArray and NotebookWorkspaceArrayOutput values. You can construct a concrete instance of `NotebookWorkspaceArrayInput` via:

NotebookWorkspaceArray{ NotebookWorkspaceArgs{...} }

type NotebookWorkspaceArrayOutput added in v4.2.0

type NotebookWorkspaceArrayOutput struct{ *pulumi.OutputState }

func (NotebookWorkspaceArrayOutput) ElementType added in v4.2.0

func (NotebookWorkspaceArrayOutput) Index added in v4.2.0

func (NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput added in v4.2.0

func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput

func (NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutputWithContext added in v4.2.0

func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutputWithContext(ctx context.Context) NotebookWorkspaceArrayOutput

type NotebookWorkspaceInput added in v4.2.0

type NotebookWorkspaceInput interface {
	pulumi.Input

	ToNotebookWorkspaceOutput() NotebookWorkspaceOutput
	ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput
}

type NotebookWorkspaceMap added in v4.2.0

type NotebookWorkspaceMap map[string]NotebookWorkspaceInput

func (NotebookWorkspaceMap) ElementType added in v4.2.0

func (NotebookWorkspaceMap) ElementType() reflect.Type

func (NotebookWorkspaceMap) ToNotebookWorkspaceMapOutput added in v4.2.0

func (i NotebookWorkspaceMap) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput

func (NotebookWorkspaceMap) ToNotebookWorkspaceMapOutputWithContext added in v4.2.0

func (i NotebookWorkspaceMap) ToNotebookWorkspaceMapOutputWithContext(ctx context.Context) NotebookWorkspaceMapOutput

type NotebookWorkspaceMapInput added in v4.2.0

type NotebookWorkspaceMapInput interface {
	pulumi.Input

	ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput
	ToNotebookWorkspaceMapOutputWithContext(context.Context) NotebookWorkspaceMapOutput
}

NotebookWorkspaceMapInput is an input type that accepts NotebookWorkspaceMap and NotebookWorkspaceMapOutput values. You can construct a concrete instance of `NotebookWorkspaceMapInput` via:

NotebookWorkspaceMap{ "key": NotebookWorkspaceArgs{...} }

type NotebookWorkspaceMapOutput added in v4.2.0

type NotebookWorkspaceMapOutput struct{ *pulumi.OutputState }

func (NotebookWorkspaceMapOutput) ElementType added in v4.2.0

func (NotebookWorkspaceMapOutput) ElementType() reflect.Type

func (NotebookWorkspaceMapOutput) MapIndex added in v4.2.0

func (NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput added in v4.2.0

func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput

func (NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutputWithContext added in v4.2.0

func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutputWithContext(ctx context.Context) NotebookWorkspaceMapOutput

type NotebookWorkspaceOutput added in v4.2.0

type NotebookWorkspaceOutput struct{ *pulumi.OutputState }

func (NotebookWorkspaceOutput) ElementType added in v4.2.0

func (NotebookWorkspaceOutput) ElementType() reflect.Type

func (NotebookWorkspaceOutput) ToNotebookWorkspaceOutput added in v4.2.0

func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput

func (NotebookWorkspaceOutput) ToNotebookWorkspaceOutputWithContext added in v4.2.0

func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutputWithContext(ctx context.Context) NotebookWorkspaceOutput

func (NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutput added in v4.2.0

func (o NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput

func (NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutputWithContext added in v4.2.0

func (o NotebookWorkspaceOutput) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput

type NotebookWorkspacePtrInput added in v4.2.0

type NotebookWorkspacePtrInput interface {
	pulumi.Input

	ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput
	ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput
}

type NotebookWorkspacePtrOutput added in v4.2.0

type NotebookWorkspacePtrOutput struct{ *pulumi.OutputState }

func (NotebookWorkspacePtrOutput) Elem added in v4.20.0

func (NotebookWorkspacePtrOutput) ElementType added in v4.2.0

func (NotebookWorkspacePtrOutput) ElementType() reflect.Type

func (NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutput added in v4.2.0

func (o NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutput() NotebookWorkspacePtrOutput

func (NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutputWithContext added in v4.2.0

func (o NotebookWorkspacePtrOutput) ToNotebookWorkspacePtrOutputWithContext(ctx context.Context) NotebookWorkspacePtrOutput

type NotebookWorkspaceState added in v4.2.0

type NotebookWorkspaceState struct {
	// The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created.
	AccountName pulumi.StringPtrInput
	// The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the endpoint of Notebook server.
	ServerEndpoint pulumi.StringPtrInput
}

func (NotebookWorkspaceState) ElementType added in v4.2.0

func (NotebookWorkspaceState) ElementType() reflect.Type

type SqlContainer

type SqlContainer struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrOutput `pulumi:"analyticalStorageTtl"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set.
	AutoscaleSettings SqlContainerAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// A `conflictResolutionPolicy` blocks as defined below.
	ConflictResolutionPolicy SqlContainerConflictResolutionPolicyOutput `pulumi:"conflictResolutionPolicy"`
	// The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"`
	// An `indexingPolicy` block as defined below.
	IndexingPolicy SqlContainerIndexingPolicyOutput `pulumi:"indexingPolicy"`
	// Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringOutput `pulumi:"partitionKeyPath"`
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1  `and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrOutput `pulumi:"partitionKeyVersion"`
	// The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of SQL container (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon container creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys SqlContainerUniqueKeyArrayOutput `pulumi:"uniqueKeys"`
}

Manages a SQL Container within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{
			ResourceGroupName:   pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name),
			AccountName:         pulumi.Any(azurerm_cosmosdb_account.Example.Name),
			DatabaseName:        pulumi.Any(azurerm_cosmosdb_sql_database.Example.Name),
			PartitionKeyPath:    pulumi.String("/definition/id"),
			PartitionKeyVersion: pulumi.Int(1),
			Throughput:          pulumi.Int(400),
			IndexingPolicy: &cosmosdb.SqlContainerIndexingPolicyArgs{
				IndexingMode: pulumi.String("Consistent"),
				IncludedPaths: cosmosdb.SqlContainerIndexingPolicyIncludedPathArray{
					&cosmosdb.SqlContainerIndexingPolicyIncludedPathArgs{
						Path: pulumi.String("/*"),
					},
					&cosmosdb.SqlContainerIndexingPolicyIncludedPathArgs{
						Path: pulumi.String("/included/?"),
					},
				},
				ExcludedPaths: cosmosdb.SqlContainerIndexingPolicyExcludedPathArray{
					&cosmosdb.SqlContainerIndexingPolicyExcludedPathArgs{
						Path: pulumi.String("/excluded/?"),
					},
				},
			},
			UniqueKeys: cosmosdb.SqlContainerUniqueKeyArray{
				&cosmosdb.SqlContainerUniqueKeyArgs{
					Paths: pulumi.StringArray{
						pulumi.String("/definition/idlong"),
						pulumi.String("/definition/idshort"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos SQL Containers can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/sqlContainer:SqlContainer example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1

```

func GetSqlContainer

func GetSqlContainer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlContainerState, opts ...pulumi.ResourceOption) (*SqlContainer, error)

GetSqlContainer gets an existing SqlContainer 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 NewSqlContainer

func NewSqlContainer(ctx *pulumi.Context,
	name string, args *SqlContainerArgs, opts ...pulumi.ResourceOption) (*SqlContainer, error)

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

func (*SqlContainer) ElementType

func (*SqlContainer) ElementType() reflect.Type

func (*SqlContainer) ToSqlContainerOutput

func (i *SqlContainer) ToSqlContainerOutput() SqlContainerOutput

func (*SqlContainer) ToSqlContainerOutputWithContext

func (i *SqlContainer) ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput

func (*SqlContainer) ToSqlContainerPtrOutput

func (i *SqlContainer) ToSqlContainerPtrOutput() SqlContainerPtrOutput

func (*SqlContainer) ToSqlContainerPtrOutputWithContext

func (i *SqlContainer) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput

type SqlContainerArgs

type SqlContainerArgs struct {
	// The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set.
	AutoscaleSettings SqlContainerAutoscaleSettingsPtrInput
	// A `conflictResolutionPolicy` blocks as defined below.
	ConflictResolutionPolicy SqlContainerConflictResolutionPolicyPtrInput
	// The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	DefaultTtl pulumi.IntPtrInput
	// An `indexingPolicy` block as defined below.
	IndexingPolicy SqlContainerIndexingPolicyPtrInput
	// Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringInput
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1  `and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrInput
	// The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of SQL container (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon container creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys SqlContainerUniqueKeyArrayInput
}

The set of arguments for constructing a SqlContainer resource.

func (SqlContainerArgs) ElementType

func (SqlContainerArgs) ElementType() reflect.Type

type SqlContainerArray

type SqlContainerArray []SqlContainerInput

func (SqlContainerArray) ElementType

func (SqlContainerArray) ElementType() reflect.Type

func (SqlContainerArray) ToSqlContainerArrayOutput

func (i SqlContainerArray) ToSqlContainerArrayOutput() SqlContainerArrayOutput

func (SqlContainerArray) ToSqlContainerArrayOutputWithContext

func (i SqlContainerArray) ToSqlContainerArrayOutputWithContext(ctx context.Context) SqlContainerArrayOutput

type SqlContainerArrayInput

type SqlContainerArrayInput interface {
	pulumi.Input

	ToSqlContainerArrayOutput() SqlContainerArrayOutput
	ToSqlContainerArrayOutputWithContext(context.Context) SqlContainerArrayOutput
}

SqlContainerArrayInput is an input type that accepts SqlContainerArray and SqlContainerArrayOutput values. You can construct a concrete instance of `SqlContainerArrayInput` via:

SqlContainerArray{ SqlContainerArgs{...} }

type SqlContainerArrayOutput

type SqlContainerArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerArrayOutput) ElementType

func (SqlContainerArrayOutput) ElementType() reflect.Type

func (SqlContainerArrayOutput) Index

func (SqlContainerArrayOutput) ToSqlContainerArrayOutput

func (o SqlContainerArrayOutput) ToSqlContainerArrayOutput() SqlContainerArrayOutput

func (SqlContainerArrayOutput) ToSqlContainerArrayOutputWithContext

func (o SqlContainerArrayOutput) ToSqlContainerArrayOutputWithContext(ctx context.Context) SqlContainerArrayOutput

type SqlContainerAutoscaleSettings

type SqlContainerAutoscaleSettings struct {
	// The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type SqlContainerAutoscaleSettingsArgs

type SqlContainerAutoscaleSettingsArgs struct {
	// The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (SqlContainerAutoscaleSettingsArgs) ElementType

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput

func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutputWithContext

func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsOutput

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput

func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutputWithContext

func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput

type SqlContainerAutoscaleSettingsInput

type SqlContainerAutoscaleSettingsInput interface {
	pulumi.Input

	ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput
	ToSqlContainerAutoscaleSettingsOutputWithContext(context.Context) SqlContainerAutoscaleSettingsOutput
}

SqlContainerAutoscaleSettingsInput is an input type that accepts SqlContainerAutoscaleSettingsArgs and SqlContainerAutoscaleSettingsOutput values. You can construct a concrete instance of `SqlContainerAutoscaleSettingsInput` via:

SqlContainerAutoscaleSettingsArgs{...}

type SqlContainerAutoscaleSettingsOutput

type SqlContainerAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (SqlContainerAutoscaleSettingsOutput) ElementType

func (SqlContainerAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput

func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutputWithContext

func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsOutput

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput

func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext

func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput

type SqlContainerAutoscaleSettingsPtrInput

type SqlContainerAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput
	ToSqlContainerAutoscaleSettingsPtrOutputWithContext(context.Context) SqlContainerAutoscaleSettingsPtrOutput
}

SqlContainerAutoscaleSettingsPtrInput is an input type that accepts SqlContainerAutoscaleSettingsArgs, SqlContainerAutoscaleSettingsPtr and SqlContainerAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `SqlContainerAutoscaleSettingsPtrInput` via:

        SqlContainerAutoscaleSettingsArgs{...}

or:

        nil

type SqlContainerAutoscaleSettingsPtrOutput

type SqlContainerAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerAutoscaleSettingsPtrOutput) Elem

func (SqlContainerAutoscaleSettingsPtrOutput) ElementType

func (SqlContainerAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the SQL container (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput

func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput

func (SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext

func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlContainerAutoscaleSettingsPtrOutput

type SqlContainerConflictResolutionPolicy added in v4.1.0

type SqlContainerConflictResolutionPolicy struct {
	// The conflict resolution path in the case of `LastWriterWins` mode.
	ConflictResolutionPath *string `pulumi:"conflictResolutionPath"`
	// The procedure to resolve conflicts in the case of `Custom` mode.
	ConflictResolutionProcedure *string `pulumi:"conflictResolutionProcedure"`
	// Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
	Mode string `pulumi:"mode"`
}

type SqlContainerConflictResolutionPolicyArgs added in v4.1.0

type SqlContainerConflictResolutionPolicyArgs struct {
	// The conflict resolution path in the case of `LastWriterWins` mode.
	ConflictResolutionPath pulumi.StringPtrInput `pulumi:"conflictResolutionPath"`
	// The procedure to resolve conflicts in the case of `Custom` mode.
	ConflictResolutionProcedure pulumi.StringPtrInput `pulumi:"conflictResolutionProcedure"`
	// Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
	Mode pulumi.StringInput `pulumi:"mode"`
}

func (SqlContainerConflictResolutionPolicyArgs) ElementType added in v4.1.0

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput added in v4.1.0

func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutputWithContext added in v4.1.0

func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyOutput

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput added in v4.1.0

func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext added in v4.1.0

func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput

type SqlContainerConflictResolutionPolicyInput added in v4.1.0

type SqlContainerConflictResolutionPolicyInput interface {
	pulumi.Input

	ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput
	ToSqlContainerConflictResolutionPolicyOutputWithContext(context.Context) SqlContainerConflictResolutionPolicyOutput
}

SqlContainerConflictResolutionPolicyInput is an input type that accepts SqlContainerConflictResolutionPolicyArgs and SqlContainerConflictResolutionPolicyOutput values. You can construct a concrete instance of `SqlContainerConflictResolutionPolicyInput` via:

SqlContainerConflictResolutionPolicyArgs{...}

type SqlContainerConflictResolutionPolicyOutput added in v4.1.0

type SqlContainerConflictResolutionPolicyOutput struct{ *pulumi.OutputState }

func (SqlContainerConflictResolutionPolicyOutput) ConflictResolutionPath added in v4.1.0

The conflict resolution path in the case of `LastWriterWins` mode.

func (SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure added in v4.1.0

func (o SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput

The procedure to resolve conflicts in the case of `Custom` mode.

func (SqlContainerConflictResolutionPolicyOutput) ElementType added in v4.1.0

func (SqlContainerConflictResolutionPolicyOutput) Mode added in v4.1.0

Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput added in v4.1.0

func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutputWithContext added in v4.1.0

func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyOutput

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput added in v4.1.0

func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext added in v4.1.0

func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput

type SqlContainerConflictResolutionPolicyPtrInput added in v4.1.0

type SqlContainerConflictResolutionPolicyPtrInput interface {
	pulumi.Input

	ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput
	ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(context.Context) SqlContainerConflictResolutionPolicyPtrOutput
}

SqlContainerConflictResolutionPolicyPtrInput is an input type that accepts SqlContainerConflictResolutionPolicyArgs, SqlContainerConflictResolutionPolicyPtr and SqlContainerConflictResolutionPolicyPtrOutput values. You can construct a concrete instance of `SqlContainerConflictResolutionPolicyPtrInput` via:

        SqlContainerConflictResolutionPolicyArgs{...}

or:

        nil

type SqlContainerConflictResolutionPolicyPtrOutput added in v4.1.0

type SqlContainerConflictResolutionPolicyPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionPath added in v4.1.0

The conflict resolution path in the case of `LastWriterWins` mode.

func (SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionProcedure added in v4.1.0

The procedure to resolve conflicts in the case of `Custom` mode.

func (SqlContainerConflictResolutionPolicyPtrOutput) Elem added in v4.1.0

func (SqlContainerConflictResolutionPolicyPtrOutput) ElementType added in v4.1.0

func (SqlContainerConflictResolutionPolicyPtrOutput) Mode added in v4.1.0

Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.

func (SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput added in v4.1.0

func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput

func (SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext added in v4.1.0

func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) SqlContainerConflictResolutionPolicyPtrOutput

type SqlContainerIndexingPolicy

type SqlContainerIndexingPolicy struct {
	// One or more `compositeIndex` blocks as defined below.
	CompositeIndices []SqlContainerIndexingPolicyCompositeIndex `pulumi:"compositeIndices"`
	// One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
	ExcludedPaths []SqlContainerIndexingPolicyExcludedPath `pulumi:"excludedPaths"`
	// One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
	IncludedPaths []SqlContainerIndexingPolicyIncludedPath `pulumi:"includedPaths"`
	// Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`.
	IndexingMode *string `pulumi:"indexingMode"`
	// One or more `spatialIndex` blocks as defined below.
	SpatialIndices []SqlContainerIndexingPolicySpatialIndex `pulumi:"spatialIndices"`
}

type SqlContainerIndexingPolicyArgs

type SqlContainerIndexingPolicyArgs struct {
	// One or more `compositeIndex` blocks as defined below.
	CompositeIndices SqlContainerIndexingPolicyCompositeIndexArrayInput `pulumi:"compositeIndices"`
	// One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
	ExcludedPaths SqlContainerIndexingPolicyExcludedPathArrayInput `pulumi:"excludedPaths"`
	// One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`
	IncludedPaths SqlContainerIndexingPolicyIncludedPathArrayInput `pulumi:"includedPaths"`
	// Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`.
	IndexingMode pulumi.StringPtrInput `pulumi:"indexingMode"`
	// One or more `spatialIndex` blocks as defined below.
	SpatialIndices SqlContainerIndexingPolicySpatialIndexArrayInput `pulumi:"spatialIndices"`
}

func (SqlContainerIndexingPolicyArgs) ElementType

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput

func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutputWithContext

func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyOutput

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput

func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutputWithContext

func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput

type SqlContainerIndexingPolicyCompositeIndex

type SqlContainerIndexingPolicyCompositeIndex struct {
	// One or more `index` blocks as defined below.
	Indices []SqlContainerIndexingPolicyCompositeIndexIndex `pulumi:"indices"`
}

type SqlContainerIndexingPolicyCompositeIndexArgs

type SqlContainerIndexingPolicyCompositeIndexArgs struct {
	// One or more `index` blocks as defined below.
	Indices SqlContainerIndexingPolicyCompositeIndexIndexArrayInput `pulumi:"indices"`
}

func (SqlContainerIndexingPolicyCompositeIndexArgs) ElementType

func (SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput

func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext

func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexOutput

type SqlContainerIndexingPolicyCompositeIndexArray

type SqlContainerIndexingPolicyCompositeIndexArray []SqlContainerIndexingPolicyCompositeIndexInput

func (SqlContainerIndexingPolicyCompositeIndexArray) ElementType

func (SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput

func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext

func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexArrayInput

type SqlContainerIndexingPolicyCompositeIndexArrayInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput
	ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput
}

SqlContainerIndexingPolicyCompositeIndexArrayInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexArray and SqlContainerIndexingPolicyCompositeIndexArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexArrayInput` via:

SqlContainerIndexingPolicyCompositeIndexArray{ SqlContainerIndexingPolicyCompositeIndexArgs{...} }

type SqlContainerIndexingPolicyCompositeIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) Index

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput

func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext

func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexIndex

type SqlContainerIndexingPolicyCompositeIndexIndex struct {
	// Order of the index. Possible values are `Ascending` or `Descending`.
	Order string `pulumi:"order"`
	// Path for which the indexing behaviour applies to.
	Path string `pulumi:"path"`
}

type SqlContainerIndexingPolicyCompositeIndexIndexArgs

type SqlContainerIndexingPolicyCompositeIndexIndexArgs struct {
	// Order of the index. Possible values are `Ascending` or `Descending`.
	Order pulumi.StringInput `pulumi:"order"`
	// Path for which the indexing behaviour applies to.
	Path pulumi.StringInput `pulumi:"path"`
}

func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput

func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext

func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput

type SqlContainerIndexingPolicyCompositeIndexIndexArray

type SqlContainerIndexingPolicyCompositeIndexIndexArray []SqlContainerIndexingPolicyCompositeIndexIndexInput

func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext

func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput

type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
	ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput
}

SqlContainerIndexingPolicyCompositeIndexIndexArrayInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexIndexArray and SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexIndexArrayInput` via:

SqlContainerIndexingPolicyCompositeIndexIndexArray{ SqlContainerIndexingPolicyCompositeIndexIndexArgs{...} }

type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) Index

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext

func (o SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexIndexInput

type SqlContainerIndexingPolicyCompositeIndexIndexInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput
	ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput
}

SqlContainerIndexingPolicyCompositeIndexIndexInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexIndexArgs and SqlContainerIndexingPolicyCompositeIndexIndexOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexIndexInput` via:

SqlContainerIndexingPolicyCompositeIndexIndexArgs{...}

type SqlContainerIndexingPolicyCompositeIndexIndexOutput

type SqlContainerIndexingPolicyCompositeIndexIndexOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) Order

Order of the index. Possible values are `Ascending` or `Descending`.

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) Path

Path for which the indexing behaviour applies to.

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput

func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext

func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexIndexOutput

type SqlContainerIndexingPolicyCompositeIndexInput

type SqlContainerIndexingPolicyCompositeIndexInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput
	ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(context.Context) SqlContainerIndexingPolicyCompositeIndexOutput
}

SqlContainerIndexingPolicyCompositeIndexInput is an input type that accepts SqlContainerIndexingPolicyCompositeIndexArgs and SqlContainerIndexingPolicyCompositeIndexOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyCompositeIndexInput` via:

SqlContainerIndexingPolicyCompositeIndexArgs{...}

type SqlContainerIndexingPolicyCompositeIndexOutput

type SqlContainerIndexingPolicyCompositeIndexOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexOutput) Indices

One or more `index` blocks as defined below.

func (SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput

func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext

func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyCompositeIndexOutput

type SqlContainerIndexingPolicyExcludedPath

type SqlContainerIndexingPolicyExcludedPath struct {
	// Path that is excluded from indexing.
	Path string `pulumi:"path"`
}

type SqlContainerIndexingPolicyExcludedPathArgs

type SqlContainerIndexingPolicyExcludedPathArgs struct {
	// Path that is excluded from indexing.
	Path pulumi.StringInput `pulumi:"path"`
}

func (SqlContainerIndexingPolicyExcludedPathArgs) ElementType

func (SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput

func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput

func (SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext

func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathOutput

type SqlContainerIndexingPolicyExcludedPathArray

type SqlContainerIndexingPolicyExcludedPathArray []SqlContainerIndexingPolicyExcludedPathInput

func (SqlContainerIndexingPolicyExcludedPathArray) ElementType

func (SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput

func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput

func (SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext

func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput

type SqlContainerIndexingPolicyExcludedPathArrayInput

type SqlContainerIndexingPolicyExcludedPathArrayInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput
	ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput
}

SqlContainerIndexingPolicyExcludedPathArrayInput is an input type that accepts SqlContainerIndexingPolicyExcludedPathArray and SqlContainerIndexingPolicyExcludedPathArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyExcludedPathArrayInput` via:

SqlContainerIndexingPolicyExcludedPathArray{ SqlContainerIndexingPolicyExcludedPathArgs{...} }

type SqlContainerIndexingPolicyExcludedPathArrayOutput

type SqlContainerIndexingPolicyExcludedPathArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ElementType

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) Index

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput

func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext

func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathArrayOutput

type SqlContainerIndexingPolicyExcludedPathInput

type SqlContainerIndexingPolicyExcludedPathInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput
	ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(context.Context) SqlContainerIndexingPolicyExcludedPathOutput
}

SqlContainerIndexingPolicyExcludedPathInput is an input type that accepts SqlContainerIndexingPolicyExcludedPathArgs and SqlContainerIndexingPolicyExcludedPathOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyExcludedPathInput` via:

SqlContainerIndexingPolicyExcludedPathArgs{...}

type SqlContainerIndexingPolicyExcludedPathOutput

type SqlContainerIndexingPolicyExcludedPathOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyExcludedPathOutput) ElementType

func (SqlContainerIndexingPolicyExcludedPathOutput) Path

Path that is excluded from indexing.

func (SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput

func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput

func (SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext

func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyExcludedPathOutput

type SqlContainerIndexingPolicyIncludedPath

type SqlContainerIndexingPolicyIncludedPath struct {
	// Path for which the indexing behaviour applies to.
	Path string `pulumi:"path"`
}

type SqlContainerIndexingPolicyIncludedPathArgs

type SqlContainerIndexingPolicyIncludedPathArgs struct {
	// Path for which the indexing behaviour applies to.
	Path pulumi.StringInput `pulumi:"path"`
}

func (SqlContainerIndexingPolicyIncludedPathArgs) ElementType

func (SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput

func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput

func (SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext

func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathOutput

type SqlContainerIndexingPolicyIncludedPathArray

type SqlContainerIndexingPolicyIncludedPathArray []SqlContainerIndexingPolicyIncludedPathInput

func (SqlContainerIndexingPolicyIncludedPathArray) ElementType

func (SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput

func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput

func (SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext

func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput

type SqlContainerIndexingPolicyIncludedPathArrayInput

type SqlContainerIndexingPolicyIncludedPathArrayInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput
	ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput
}

SqlContainerIndexingPolicyIncludedPathArrayInput is an input type that accepts SqlContainerIndexingPolicyIncludedPathArray and SqlContainerIndexingPolicyIncludedPathArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyIncludedPathArrayInput` via:

SqlContainerIndexingPolicyIncludedPathArray{ SqlContainerIndexingPolicyIncludedPathArgs{...} }

type SqlContainerIndexingPolicyIncludedPathArrayOutput

type SqlContainerIndexingPolicyIncludedPathArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ElementType

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) Index

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput

func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext

func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathArrayOutput

type SqlContainerIndexingPolicyIncludedPathInput

type SqlContainerIndexingPolicyIncludedPathInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput
	ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(context.Context) SqlContainerIndexingPolicyIncludedPathOutput
}

SqlContainerIndexingPolicyIncludedPathInput is an input type that accepts SqlContainerIndexingPolicyIncludedPathArgs and SqlContainerIndexingPolicyIncludedPathOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyIncludedPathInput` via:

SqlContainerIndexingPolicyIncludedPathArgs{...}

type SqlContainerIndexingPolicyIncludedPathOutput

type SqlContainerIndexingPolicyIncludedPathOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyIncludedPathOutput) ElementType

func (SqlContainerIndexingPolicyIncludedPathOutput) Path

Path for which the indexing behaviour applies to.

func (SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput

func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput

func (SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext

func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyIncludedPathOutput

type SqlContainerIndexingPolicyInput

type SqlContainerIndexingPolicyInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput
	ToSqlContainerIndexingPolicyOutputWithContext(context.Context) SqlContainerIndexingPolicyOutput
}

SqlContainerIndexingPolicyInput is an input type that accepts SqlContainerIndexingPolicyArgs and SqlContainerIndexingPolicyOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyInput` via:

SqlContainerIndexingPolicyArgs{...}

type SqlContainerIndexingPolicyOutput

type SqlContainerIndexingPolicyOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyOutput) CompositeIndices

One or more `compositeIndex` blocks as defined below.

func (SqlContainerIndexingPolicyOutput) ElementType

func (SqlContainerIndexingPolicyOutput) ExcludedPaths

One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`

func (SqlContainerIndexingPolicyOutput) IncludedPaths

One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`

func (SqlContainerIndexingPolicyOutput) IndexingMode

Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`.

func (SqlContainerIndexingPolicyOutput) SpatialIndices added in v4.8.0

One or more `spatialIndex` blocks as defined below.

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput

func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutputWithContext

func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyOutput

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput

func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext

func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput

type SqlContainerIndexingPolicyPtrInput

type SqlContainerIndexingPolicyPtrInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput
	ToSqlContainerIndexingPolicyPtrOutputWithContext(context.Context) SqlContainerIndexingPolicyPtrOutput
}

SqlContainerIndexingPolicyPtrInput is an input type that accepts SqlContainerIndexingPolicyArgs, SqlContainerIndexingPolicyPtr and SqlContainerIndexingPolicyPtrOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicyPtrInput` via:

        SqlContainerIndexingPolicyArgs{...}

or:

        nil

type SqlContainerIndexingPolicyPtrOutput

type SqlContainerIndexingPolicyPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyPtrOutput) CompositeIndices

One or more `compositeIndex` blocks as defined below.

func (SqlContainerIndexingPolicyPtrOutput) Elem

func (SqlContainerIndexingPolicyPtrOutput) ElementType

func (SqlContainerIndexingPolicyPtrOutput) ExcludedPaths

One or more `excludedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`

func (SqlContainerIndexingPolicyPtrOutput) IncludedPaths

One or more `includedPath` blocks as defined below. Either `includedPath` or `excludedPath` must contain the `path` `/*`

func (SqlContainerIndexingPolicyPtrOutput) IndexingMode

Indicates the indexing mode. Possible values include: `Consistent` and `None`. Defaults to `Consistent`.

func (SqlContainerIndexingPolicyPtrOutput) SpatialIndices added in v4.8.0

One or more `spatialIndex` blocks as defined below.

func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput

func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput

func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext

func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext(ctx context.Context) SqlContainerIndexingPolicyPtrOutput

type SqlContainerIndexingPolicySpatialIndex added in v4.8.0

type SqlContainerIndexingPolicySpatialIndex struct {
	// Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
	Path string `pulumi:"path"`
	// A set of spatial types of the path.
	Types []string `pulumi:"types"`
}

type SqlContainerIndexingPolicySpatialIndexArgs added in v4.8.0

type SqlContainerIndexingPolicySpatialIndexArgs struct {
	// Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.
	Path pulumi.StringInput `pulumi:"path"`
	// A set of spatial types of the path.
	Types pulumi.StringArrayInput `pulumi:"types"`
}

func (SqlContainerIndexingPolicySpatialIndexArgs) ElementType added in v4.8.0

func (SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput added in v4.8.0

func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput

func (SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext added in v4.8.0

func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexOutput

type SqlContainerIndexingPolicySpatialIndexArray added in v4.8.0

type SqlContainerIndexingPolicySpatialIndexArray []SqlContainerIndexingPolicySpatialIndexInput

func (SqlContainerIndexingPolicySpatialIndexArray) ElementType added in v4.8.0

func (SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput added in v4.8.0

func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput

func (SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext added in v4.8.0

func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput

type SqlContainerIndexingPolicySpatialIndexArrayInput added in v4.8.0

type SqlContainerIndexingPolicySpatialIndexArrayInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput
	ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput
}

SqlContainerIndexingPolicySpatialIndexArrayInput is an input type that accepts SqlContainerIndexingPolicySpatialIndexArray and SqlContainerIndexingPolicySpatialIndexArrayOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicySpatialIndexArrayInput` via:

SqlContainerIndexingPolicySpatialIndexArray{ SqlContainerIndexingPolicySpatialIndexArgs{...} }

type SqlContainerIndexingPolicySpatialIndexArrayOutput added in v4.8.0

type SqlContainerIndexingPolicySpatialIndexArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ElementType added in v4.8.0

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) Index added in v4.8.0

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput added in v4.8.0

func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext added in v4.8.0

func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexArrayOutput

type SqlContainerIndexingPolicySpatialIndexInput added in v4.8.0

type SqlContainerIndexingPolicySpatialIndexInput interface {
	pulumi.Input

	ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput
	ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(context.Context) SqlContainerIndexingPolicySpatialIndexOutput
}

SqlContainerIndexingPolicySpatialIndexInput is an input type that accepts SqlContainerIndexingPolicySpatialIndexArgs and SqlContainerIndexingPolicySpatialIndexOutput values. You can construct a concrete instance of `SqlContainerIndexingPolicySpatialIndexInput` via:

SqlContainerIndexingPolicySpatialIndexArgs{...}

type SqlContainerIndexingPolicySpatialIndexOutput added in v4.8.0

type SqlContainerIndexingPolicySpatialIndexOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicySpatialIndexOutput) ElementType added in v4.8.0

func (SqlContainerIndexingPolicySpatialIndexOutput) Path added in v4.8.0

Path for which the indexing behaviour applies to. According to the service design, all spatial types including `LineString`, `MultiPolygon`, `Point`, and `Polygon` will be applied to the path.

func (SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput added in v4.8.0

func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput

func (SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext added in v4.8.0

func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext(ctx context.Context) SqlContainerIndexingPolicySpatialIndexOutput

func (SqlContainerIndexingPolicySpatialIndexOutput) Types added in v4.8.0

A set of spatial types of the path.

type SqlContainerInput

type SqlContainerInput interface {
	pulumi.Input

	ToSqlContainerOutput() SqlContainerOutput
	ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput
}

type SqlContainerMap

type SqlContainerMap map[string]SqlContainerInput

func (SqlContainerMap) ElementType

func (SqlContainerMap) ElementType() reflect.Type

func (SqlContainerMap) ToSqlContainerMapOutput

func (i SqlContainerMap) ToSqlContainerMapOutput() SqlContainerMapOutput

func (SqlContainerMap) ToSqlContainerMapOutputWithContext

func (i SqlContainerMap) ToSqlContainerMapOutputWithContext(ctx context.Context) SqlContainerMapOutput

type SqlContainerMapInput

type SqlContainerMapInput interface {
	pulumi.Input

	ToSqlContainerMapOutput() SqlContainerMapOutput
	ToSqlContainerMapOutputWithContext(context.Context) SqlContainerMapOutput
}

SqlContainerMapInput is an input type that accepts SqlContainerMap and SqlContainerMapOutput values. You can construct a concrete instance of `SqlContainerMapInput` via:

SqlContainerMap{ "key": SqlContainerArgs{...} }

type SqlContainerMapOutput

type SqlContainerMapOutput struct{ *pulumi.OutputState }

func (SqlContainerMapOutput) ElementType

func (SqlContainerMapOutput) ElementType() reflect.Type

func (SqlContainerMapOutput) MapIndex

func (SqlContainerMapOutput) ToSqlContainerMapOutput

func (o SqlContainerMapOutput) ToSqlContainerMapOutput() SqlContainerMapOutput

func (SqlContainerMapOutput) ToSqlContainerMapOutputWithContext

func (o SqlContainerMapOutput) ToSqlContainerMapOutputWithContext(ctx context.Context) SqlContainerMapOutput

type SqlContainerOutput

type SqlContainerOutput struct{ *pulumi.OutputState }

func (SqlContainerOutput) ElementType

func (SqlContainerOutput) ElementType() reflect.Type

func (SqlContainerOutput) ToSqlContainerOutput

func (o SqlContainerOutput) ToSqlContainerOutput() SqlContainerOutput

func (SqlContainerOutput) ToSqlContainerOutputWithContext

func (o SqlContainerOutput) ToSqlContainerOutputWithContext(ctx context.Context) SqlContainerOutput

func (SqlContainerOutput) ToSqlContainerPtrOutput

func (o SqlContainerOutput) ToSqlContainerPtrOutput() SqlContainerPtrOutput

func (SqlContainerOutput) ToSqlContainerPtrOutputWithContext

func (o SqlContainerOutput) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput

type SqlContainerPtrInput

type SqlContainerPtrInput interface {
	pulumi.Input

	ToSqlContainerPtrOutput() SqlContainerPtrOutput
	ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput
}

type SqlContainerPtrOutput

type SqlContainerPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerPtrOutput) Elem added in v4.20.0

func (SqlContainerPtrOutput) ElementType

func (SqlContainerPtrOutput) ElementType() reflect.Type

func (SqlContainerPtrOutput) ToSqlContainerPtrOutput

func (o SqlContainerPtrOutput) ToSqlContainerPtrOutput() SqlContainerPtrOutput

func (SqlContainerPtrOutput) ToSqlContainerPtrOutputWithContext

func (o SqlContainerPtrOutput) ToSqlContainerPtrOutputWithContext(ctx context.Context) SqlContainerPtrOutput

type SqlContainerState

type SqlContainerState struct {
	// The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set.
	AutoscaleSettings SqlContainerAutoscaleSettingsPtrInput
	// A `conflictResolutionPolicy` blocks as defined below.
	ConflictResolutionPolicy SqlContainerConflictResolutionPolicyPtrInput
	// The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// The default time to live of SQL container. If missing, items are not expired automatically. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	DefaultTtl pulumi.IntPtrInput
	// An `indexingPolicy` block as defined below.
	IndexingPolicy SqlContainerIndexingPolicyPtrInput
	// Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringPtrInput
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are ` 1  `and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrInput
	// The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of SQL container (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon container creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys SqlContainerUniqueKeyArrayInput
}

func (SqlContainerState) ElementType

func (SqlContainerState) ElementType() reflect.Type

type SqlContainerUniqueKey

type SqlContainerUniqueKey struct {
	// A list of paths to use for this unique key.
	Paths []string `pulumi:"paths"`
}

type SqlContainerUniqueKeyArgs

type SqlContainerUniqueKeyArgs struct {
	// A list of paths to use for this unique key.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
}

func (SqlContainerUniqueKeyArgs) ElementType

func (SqlContainerUniqueKeyArgs) ElementType() reflect.Type

func (SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutput

func (i SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput

func (SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutputWithContext

func (i SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutputWithContext(ctx context.Context) SqlContainerUniqueKeyOutput

type SqlContainerUniqueKeyArray

type SqlContainerUniqueKeyArray []SqlContainerUniqueKeyInput

func (SqlContainerUniqueKeyArray) ElementType

func (SqlContainerUniqueKeyArray) ElementType() reflect.Type

func (SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput

func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput

func (SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutputWithContext

func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutputWithContext(ctx context.Context) SqlContainerUniqueKeyArrayOutput

type SqlContainerUniqueKeyArrayInput

type SqlContainerUniqueKeyArrayInput interface {
	pulumi.Input

	ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput
	ToSqlContainerUniqueKeyArrayOutputWithContext(context.Context) SqlContainerUniqueKeyArrayOutput
}

SqlContainerUniqueKeyArrayInput is an input type that accepts SqlContainerUniqueKeyArray and SqlContainerUniqueKeyArrayOutput values. You can construct a concrete instance of `SqlContainerUniqueKeyArrayInput` via:

SqlContainerUniqueKeyArray{ SqlContainerUniqueKeyArgs{...} }

type SqlContainerUniqueKeyArrayOutput

type SqlContainerUniqueKeyArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerUniqueKeyArrayOutput) ElementType

func (SqlContainerUniqueKeyArrayOutput) Index

func (SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput

func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput

func (SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutputWithContext

func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutputWithContext(ctx context.Context) SqlContainerUniqueKeyArrayOutput

type SqlContainerUniqueKeyInput

type SqlContainerUniqueKeyInput interface {
	pulumi.Input

	ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput
	ToSqlContainerUniqueKeyOutputWithContext(context.Context) SqlContainerUniqueKeyOutput
}

SqlContainerUniqueKeyInput is an input type that accepts SqlContainerUniqueKeyArgs and SqlContainerUniqueKeyOutput values. You can construct a concrete instance of `SqlContainerUniqueKeyInput` via:

SqlContainerUniqueKeyArgs{...}

type SqlContainerUniqueKeyOutput

type SqlContainerUniqueKeyOutput struct{ *pulumi.OutputState }

func (SqlContainerUniqueKeyOutput) ElementType

func (SqlContainerUniqueKeyOutput) Paths

A list of paths to use for this unique key.

func (SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput

func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput

func (SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutputWithContext

func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutputWithContext(ctx context.Context) SqlContainerUniqueKeyOutput

type SqlDatabase

type SqlDatabase struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	Throughput        pulumi.IntOutput    `pulumi:"throughput"`
}

Manages a SQL Database within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos SQL Database can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/sqlDatabase:SqlDatabase db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/db1

```

func GetSqlDatabase

func GetSqlDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlDatabaseState, opts ...pulumi.ResourceOption) (*SqlDatabase, error)

GetSqlDatabase gets an existing SqlDatabase 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 NewSqlDatabase

func NewSqlDatabase(ctx *pulumi.Context,
	name string, args *SqlDatabaseArgs, opts ...pulumi.ResourceOption) (*SqlDatabase, error)

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

func (*SqlDatabase) ElementType

func (*SqlDatabase) ElementType() reflect.Type

func (*SqlDatabase) ToSqlDatabaseOutput

func (i *SqlDatabase) ToSqlDatabaseOutput() SqlDatabaseOutput

func (*SqlDatabase) ToSqlDatabaseOutputWithContext

func (i *SqlDatabase) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput

func (*SqlDatabase) ToSqlDatabasePtrOutput

func (i *SqlDatabase) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput

func (*SqlDatabase) ToSqlDatabasePtrOutputWithContext

func (i *SqlDatabase) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput

type SqlDatabaseArgs

type SqlDatabaseArgs struct {
	// The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	Throughput        pulumi.IntPtrInput
}

The set of arguments for constructing a SqlDatabase resource.

func (SqlDatabaseArgs) ElementType

func (SqlDatabaseArgs) ElementType() reflect.Type

type SqlDatabaseArray

type SqlDatabaseArray []SqlDatabaseInput

func (SqlDatabaseArray) ElementType

func (SqlDatabaseArray) ElementType() reflect.Type

func (SqlDatabaseArray) ToSqlDatabaseArrayOutput

func (i SqlDatabaseArray) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput

func (SqlDatabaseArray) ToSqlDatabaseArrayOutputWithContext

func (i SqlDatabaseArray) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput

type SqlDatabaseArrayInput

type SqlDatabaseArrayInput interface {
	pulumi.Input

	ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput
	ToSqlDatabaseArrayOutputWithContext(context.Context) SqlDatabaseArrayOutput
}

SqlDatabaseArrayInput is an input type that accepts SqlDatabaseArray and SqlDatabaseArrayOutput values. You can construct a concrete instance of `SqlDatabaseArrayInput` via:

SqlDatabaseArray{ SqlDatabaseArgs{...} }

type SqlDatabaseArrayOutput

type SqlDatabaseArrayOutput struct{ *pulumi.OutputState }

func (SqlDatabaseArrayOutput) ElementType

func (SqlDatabaseArrayOutput) ElementType() reflect.Type

func (SqlDatabaseArrayOutput) Index

func (SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput

func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput

func (SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext

func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput

type SqlDatabaseAutoscaleSettings

type SqlDatabaseAutoscaleSettings struct {
	// The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type SqlDatabaseAutoscaleSettingsArgs

type SqlDatabaseAutoscaleSettingsArgs struct {
	// The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (SqlDatabaseAutoscaleSettingsArgs) ElementType

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseAutoscaleSettingsInput

type SqlDatabaseAutoscaleSettingsInput interface {
	pulumi.Input

	ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput
	ToSqlDatabaseAutoscaleSettingsOutputWithContext(context.Context) SqlDatabaseAutoscaleSettingsOutput
}

SqlDatabaseAutoscaleSettingsInput is an input type that accepts SqlDatabaseAutoscaleSettingsArgs and SqlDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `SqlDatabaseAutoscaleSettingsInput` via:

SqlDatabaseAutoscaleSettingsArgs{...}

type SqlDatabaseAutoscaleSettingsOutput

type SqlDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (SqlDatabaseAutoscaleSettingsOutput) ElementType

func (SqlDatabaseAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseAutoscaleSettingsPtrInput

type SqlDatabaseAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
	ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
}

SqlDatabaseAutoscaleSettingsPtrInput is an input type that accepts SqlDatabaseAutoscaleSettingsArgs, SqlDatabaseAutoscaleSettingsPtr and SqlDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `SqlDatabaseAutoscaleSettingsPtrInput` via:

        SqlDatabaseAutoscaleSettingsArgs{...}

or:

        nil

type SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (SqlDatabaseAutoscaleSettingsPtrOutput) Elem

func (SqlDatabaseAutoscaleSettingsPtrOutput) ElementType

func (SqlDatabaseAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the SQL database (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput

func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput

func (SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext

func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseInput

type SqlDatabaseInput interface {
	pulumi.Input

	ToSqlDatabaseOutput() SqlDatabaseOutput
	ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput
}

type SqlDatabaseMap

type SqlDatabaseMap map[string]SqlDatabaseInput

func (SqlDatabaseMap) ElementType

func (SqlDatabaseMap) ElementType() reflect.Type

func (SqlDatabaseMap) ToSqlDatabaseMapOutput

func (i SqlDatabaseMap) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput

func (SqlDatabaseMap) ToSqlDatabaseMapOutputWithContext

func (i SqlDatabaseMap) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput

type SqlDatabaseMapInput

type SqlDatabaseMapInput interface {
	pulumi.Input

	ToSqlDatabaseMapOutput() SqlDatabaseMapOutput
	ToSqlDatabaseMapOutputWithContext(context.Context) SqlDatabaseMapOutput
}

SqlDatabaseMapInput is an input type that accepts SqlDatabaseMap and SqlDatabaseMapOutput values. You can construct a concrete instance of `SqlDatabaseMapInput` via:

SqlDatabaseMap{ "key": SqlDatabaseArgs{...} }

type SqlDatabaseMapOutput

type SqlDatabaseMapOutput struct{ *pulumi.OutputState }

func (SqlDatabaseMapOutput) ElementType

func (SqlDatabaseMapOutput) ElementType() reflect.Type

func (SqlDatabaseMapOutput) MapIndex

func (SqlDatabaseMapOutput) ToSqlDatabaseMapOutput

func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput

func (SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext

func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput

type SqlDatabaseOutput

type SqlDatabaseOutput struct{ *pulumi.OutputState }

func (SqlDatabaseOutput) ElementType

func (SqlDatabaseOutput) ElementType() reflect.Type

func (SqlDatabaseOutput) ToSqlDatabaseOutput

func (o SqlDatabaseOutput) ToSqlDatabaseOutput() SqlDatabaseOutput

func (SqlDatabaseOutput) ToSqlDatabaseOutputWithContext

func (o SqlDatabaseOutput) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput

func (SqlDatabaseOutput) ToSqlDatabasePtrOutput

func (o SqlDatabaseOutput) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput

func (SqlDatabaseOutput) ToSqlDatabasePtrOutputWithContext

func (o SqlDatabaseOutput) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput

type SqlDatabasePtrInput

type SqlDatabasePtrInput interface {
	pulumi.Input

	ToSqlDatabasePtrOutput() SqlDatabasePtrOutput
	ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput
}

type SqlDatabasePtrOutput

type SqlDatabasePtrOutput struct{ *pulumi.OutputState }

func (SqlDatabasePtrOutput) Elem added in v4.20.0

func (SqlDatabasePtrOutput) ElementType

func (SqlDatabasePtrOutput) ElementType() reflect.Type

func (SqlDatabasePtrOutput) ToSqlDatabasePtrOutput

func (o SqlDatabasePtrOutput) ToSqlDatabasePtrOutput() SqlDatabasePtrOutput

func (SqlDatabasePtrOutput) ToSqlDatabasePtrOutputWithContext

func (o SqlDatabasePtrOutput) ToSqlDatabasePtrOutputWithContext(ctx context.Context) SqlDatabasePtrOutput

type SqlDatabaseState

type SqlDatabaseState struct {
	// The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	Throughput        pulumi.IntPtrInput
}

func (SqlDatabaseState) ElementType

func (SqlDatabaseState) ElementType() reflect.Type

type SqlFunction added in v4.2.0

type SqlFunction struct {
	pulumi.CustomResourceState

	// Body of the User Defined Function.
	Body pulumi.StringOutput `pulumi:"body"`
	// The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages an SQL User Defined Function.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "exampleSqlContainer", &cosmosdb.SqlContainerArgs{
			ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name),
			AccountName:       pulumi.Any(azurerm_cosmosdb_account.Example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("/id"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlFunction(ctx, "exampleSqlFunction", &cosmosdb.SqlFunctionArgs{
			ContainerId: exampleSqlContainer.ID(),
			Body:        pulumi.String("function trigger(){}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SQL User Defined Functions can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/sqlFunction:SqlFunction example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1/userDefinedFunctions/userDefinedFunction1

```

func GetSqlFunction added in v4.2.0

func GetSqlFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlFunctionState, opts ...pulumi.ResourceOption) (*SqlFunction, error)

GetSqlFunction gets an existing SqlFunction 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 NewSqlFunction added in v4.2.0

func NewSqlFunction(ctx *pulumi.Context,
	name string, args *SqlFunctionArgs, opts ...pulumi.ResourceOption) (*SqlFunction, error)

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

func (*SqlFunction) ElementType added in v4.2.0

func (*SqlFunction) ElementType() reflect.Type

func (*SqlFunction) ToSqlFunctionOutput added in v4.2.0

func (i *SqlFunction) ToSqlFunctionOutput() SqlFunctionOutput

func (*SqlFunction) ToSqlFunctionOutputWithContext added in v4.2.0

func (i *SqlFunction) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput

func (*SqlFunction) ToSqlFunctionPtrOutput added in v4.2.0

func (i *SqlFunction) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput

func (*SqlFunction) ToSqlFunctionPtrOutputWithContext added in v4.2.0

func (i *SqlFunction) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput

type SqlFunctionArgs added in v4.2.0

type SqlFunctionArgs struct {
	// Body of the User Defined Function.
	Body pulumi.StringInput
	// The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.
	ContainerId pulumi.StringInput
	// The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a SqlFunction resource.

func (SqlFunctionArgs) ElementType added in v4.2.0

func (SqlFunctionArgs) ElementType() reflect.Type

type SqlFunctionArray added in v4.2.0

type SqlFunctionArray []SqlFunctionInput

func (SqlFunctionArray) ElementType added in v4.2.0

func (SqlFunctionArray) ElementType() reflect.Type

func (SqlFunctionArray) ToSqlFunctionArrayOutput added in v4.2.0

func (i SqlFunctionArray) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput

func (SqlFunctionArray) ToSqlFunctionArrayOutputWithContext added in v4.2.0

func (i SqlFunctionArray) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput

type SqlFunctionArrayInput added in v4.2.0

type SqlFunctionArrayInput interface {
	pulumi.Input

	ToSqlFunctionArrayOutput() SqlFunctionArrayOutput
	ToSqlFunctionArrayOutputWithContext(context.Context) SqlFunctionArrayOutput
}

SqlFunctionArrayInput is an input type that accepts SqlFunctionArray and SqlFunctionArrayOutput values. You can construct a concrete instance of `SqlFunctionArrayInput` via:

SqlFunctionArray{ SqlFunctionArgs{...} }

type SqlFunctionArrayOutput added in v4.2.0

type SqlFunctionArrayOutput struct{ *pulumi.OutputState }

func (SqlFunctionArrayOutput) ElementType added in v4.2.0

func (SqlFunctionArrayOutput) ElementType() reflect.Type

func (SqlFunctionArrayOutput) Index added in v4.2.0

func (SqlFunctionArrayOutput) ToSqlFunctionArrayOutput added in v4.2.0

func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput

func (SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext added in v4.2.0

func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput

type SqlFunctionInput added in v4.2.0

type SqlFunctionInput interface {
	pulumi.Input

	ToSqlFunctionOutput() SqlFunctionOutput
	ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput
}

type SqlFunctionMap added in v4.2.0

type SqlFunctionMap map[string]SqlFunctionInput

func (SqlFunctionMap) ElementType added in v4.2.0

func (SqlFunctionMap) ElementType() reflect.Type

func (SqlFunctionMap) ToSqlFunctionMapOutput added in v4.2.0

func (i SqlFunctionMap) ToSqlFunctionMapOutput() SqlFunctionMapOutput

func (SqlFunctionMap) ToSqlFunctionMapOutputWithContext added in v4.2.0

func (i SqlFunctionMap) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput

type SqlFunctionMapInput added in v4.2.0

type SqlFunctionMapInput interface {
	pulumi.Input

	ToSqlFunctionMapOutput() SqlFunctionMapOutput
	ToSqlFunctionMapOutputWithContext(context.Context) SqlFunctionMapOutput
}

SqlFunctionMapInput is an input type that accepts SqlFunctionMap and SqlFunctionMapOutput values. You can construct a concrete instance of `SqlFunctionMapInput` via:

SqlFunctionMap{ "key": SqlFunctionArgs{...} }

type SqlFunctionMapOutput added in v4.2.0

type SqlFunctionMapOutput struct{ *pulumi.OutputState }

func (SqlFunctionMapOutput) ElementType added in v4.2.0

func (SqlFunctionMapOutput) ElementType() reflect.Type

func (SqlFunctionMapOutput) MapIndex added in v4.2.0

func (SqlFunctionMapOutput) ToSqlFunctionMapOutput added in v4.2.0

func (o SqlFunctionMapOutput) ToSqlFunctionMapOutput() SqlFunctionMapOutput

func (SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext added in v4.2.0

func (o SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput

type SqlFunctionOutput added in v4.2.0

type SqlFunctionOutput struct{ *pulumi.OutputState }

func (SqlFunctionOutput) ElementType added in v4.2.0

func (SqlFunctionOutput) ElementType() reflect.Type

func (SqlFunctionOutput) ToSqlFunctionOutput added in v4.2.0

func (o SqlFunctionOutput) ToSqlFunctionOutput() SqlFunctionOutput

func (SqlFunctionOutput) ToSqlFunctionOutputWithContext added in v4.2.0

func (o SqlFunctionOutput) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput

func (SqlFunctionOutput) ToSqlFunctionPtrOutput added in v4.2.0

func (o SqlFunctionOutput) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput

func (SqlFunctionOutput) ToSqlFunctionPtrOutputWithContext added in v4.2.0

func (o SqlFunctionOutput) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput

type SqlFunctionPtrInput added in v4.2.0

type SqlFunctionPtrInput interface {
	pulumi.Input

	ToSqlFunctionPtrOutput() SqlFunctionPtrOutput
	ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput
}

type SqlFunctionPtrOutput added in v4.2.0

type SqlFunctionPtrOutput struct{ *pulumi.OutputState }

func (SqlFunctionPtrOutput) Elem added in v4.20.0

func (SqlFunctionPtrOutput) ElementType added in v4.2.0

func (SqlFunctionPtrOutput) ElementType() reflect.Type

func (SqlFunctionPtrOutput) ToSqlFunctionPtrOutput added in v4.2.0

func (o SqlFunctionPtrOutput) ToSqlFunctionPtrOutput() SqlFunctionPtrOutput

func (SqlFunctionPtrOutput) ToSqlFunctionPtrOutputWithContext added in v4.2.0

func (o SqlFunctionPtrOutput) ToSqlFunctionPtrOutputWithContext(ctx context.Context) SqlFunctionPtrOutput

type SqlFunctionState added in v4.2.0

type SqlFunctionState struct {
	// Body of the User Defined Function.
	Body pulumi.StringPtrInput
	// The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.
	ContainerId pulumi.StringPtrInput
	// The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.
	Name pulumi.StringPtrInput
}

func (SqlFunctionState) ElementType added in v4.2.0

func (SqlFunctionState) ElementType() reflect.Type

type SqlStoredProcedure

type SqlStoredProcedure struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The body of the stored procedure.
	Body pulumi.StringOutput `pulumi:"body"`
	// The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.
	ContainerName pulumi.StringOutput `pulumi:"containerName"`
	// The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a SQL Stored Procedure within a Cosmos DB Account SQL Database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "exampleSqlContainer", &cosmosdb.SqlContainerArgs{
			ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name),
			AccountName:       pulumi.Any(azurerm_cosmosdb_account.Example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("/id"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlStoredProcedure(ctx, "exampleSqlStoredProcedure", &cosmosdb.SqlStoredProcedureArgs{
			ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name),
			AccountName:       pulumi.Any(azurerm_cosmosdb_account.Example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			ContainerName:     exampleSqlContainer.Name,
			Body: pulumi.String("  	function () { var context = getContext(); var response = context.getResponse(); response.setBody('Hello, World'); }\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB SQL Stored Procedures can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/sqlStoredProcedure:SqlStoredProcedure db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/db1/containers/c1/storedProcedures/sp1

```

func GetSqlStoredProcedure

func GetSqlStoredProcedure(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlStoredProcedureState, opts ...pulumi.ResourceOption) (*SqlStoredProcedure, error)

GetSqlStoredProcedure gets an existing SqlStoredProcedure 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 NewSqlStoredProcedure

func NewSqlStoredProcedure(ctx *pulumi.Context,
	name string, args *SqlStoredProcedureArgs, opts ...pulumi.ResourceOption) (*SqlStoredProcedure, error)

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

func (*SqlStoredProcedure) ElementType

func (*SqlStoredProcedure) ElementType() reflect.Type

func (*SqlStoredProcedure) ToSqlStoredProcedureOutput

func (i *SqlStoredProcedure) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput

func (*SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext

func (i *SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput

func (*SqlStoredProcedure) ToSqlStoredProcedurePtrOutput

func (i *SqlStoredProcedure) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput

func (*SqlStoredProcedure) ToSqlStoredProcedurePtrOutputWithContext

func (i *SqlStoredProcedure) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput

type SqlStoredProcedureArgs

type SqlStoredProcedureArgs struct {
	// The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The body of the stored procedure.
	Body pulumi.StringInput
	// The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.
	ContainerName pulumi.StringInput
	// The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a SqlStoredProcedure resource.

func (SqlStoredProcedureArgs) ElementType

func (SqlStoredProcedureArgs) ElementType() reflect.Type

type SqlStoredProcedureArray

type SqlStoredProcedureArray []SqlStoredProcedureInput

func (SqlStoredProcedureArray) ElementType

func (SqlStoredProcedureArray) ElementType() reflect.Type

func (SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutput

func (i SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput

func (SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutputWithContext

func (i SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput

type SqlStoredProcedureArrayInput

type SqlStoredProcedureArrayInput interface {
	pulumi.Input

	ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput
	ToSqlStoredProcedureArrayOutputWithContext(context.Context) SqlStoredProcedureArrayOutput
}

SqlStoredProcedureArrayInput is an input type that accepts SqlStoredProcedureArray and SqlStoredProcedureArrayOutput values. You can construct a concrete instance of `SqlStoredProcedureArrayInput` via:

SqlStoredProcedureArray{ SqlStoredProcedureArgs{...} }

type SqlStoredProcedureArrayOutput

type SqlStoredProcedureArrayOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedureArrayOutput) ElementType

func (SqlStoredProcedureArrayOutput) Index

func (SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput

func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput

func (SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext

func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput

type SqlStoredProcedureInput

type SqlStoredProcedureInput interface {
	pulumi.Input

	ToSqlStoredProcedureOutput() SqlStoredProcedureOutput
	ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput
}

type SqlStoredProcedureMap

type SqlStoredProcedureMap map[string]SqlStoredProcedureInput

func (SqlStoredProcedureMap) ElementType

func (SqlStoredProcedureMap) ElementType() reflect.Type

func (SqlStoredProcedureMap) ToSqlStoredProcedureMapOutput

func (i SqlStoredProcedureMap) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput

func (SqlStoredProcedureMap) ToSqlStoredProcedureMapOutputWithContext

func (i SqlStoredProcedureMap) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput

type SqlStoredProcedureMapInput

type SqlStoredProcedureMapInput interface {
	pulumi.Input

	ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput
	ToSqlStoredProcedureMapOutputWithContext(context.Context) SqlStoredProcedureMapOutput
}

SqlStoredProcedureMapInput is an input type that accepts SqlStoredProcedureMap and SqlStoredProcedureMapOutput values. You can construct a concrete instance of `SqlStoredProcedureMapInput` via:

SqlStoredProcedureMap{ "key": SqlStoredProcedureArgs{...} }

type SqlStoredProcedureMapOutput

type SqlStoredProcedureMapOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedureMapOutput) ElementType

func (SqlStoredProcedureMapOutput) MapIndex

func (SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput

func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput

func (SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext

func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput

type SqlStoredProcedureOutput

type SqlStoredProcedureOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedureOutput) ElementType

func (SqlStoredProcedureOutput) ElementType() reflect.Type

func (SqlStoredProcedureOutput) ToSqlStoredProcedureOutput

func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput

func (SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext

func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput

func (SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutput

func (o SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput

func (SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutputWithContext

func (o SqlStoredProcedureOutput) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput

type SqlStoredProcedurePtrInput

type SqlStoredProcedurePtrInput interface {
	pulumi.Input

	ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput
	ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput
}

type SqlStoredProcedurePtrOutput

type SqlStoredProcedurePtrOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedurePtrOutput) Elem added in v4.20.0

func (SqlStoredProcedurePtrOutput) ElementType

func (SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutput

func (o SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutput() SqlStoredProcedurePtrOutput

func (SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutputWithContext

func (o SqlStoredProcedurePtrOutput) ToSqlStoredProcedurePtrOutputWithContext(ctx context.Context) SqlStoredProcedurePtrOutput

type SqlStoredProcedureState

type SqlStoredProcedureState struct {
	// The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The body of the stored procedure.
	Body pulumi.StringPtrInput
	// The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.
	ContainerName pulumi.StringPtrInput
	// The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (SqlStoredProcedureState) ElementType

func (SqlStoredProcedureState) ElementType() reflect.Type

type SqlTrigger added in v4.2.0

type SqlTrigger struct {
	pulumi.CustomResourceState

	// Body of the Trigger.
	Body pulumi.StringOutput `pulumi:"body"`
	// The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.
	Operation pulumi.StringOutput `pulumi:"operation"`
	// Type of the Trigger. Possible values are `Pre` and `Post`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages an SQL Trigger.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "exampleSqlDatabase", &cosmosdb.SqlDatabaseArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "exampleSqlContainer", &cosmosdb.SqlContainerArgs{
			ResourceGroupName: pulumi.Any(azurerm_cosmosdb_account.Example.Resource_group_name),
			AccountName:       pulumi.Any(azurerm_cosmosdb_account.Example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("/id"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlTrigger(ctx, "exampleSqlTrigger", &cosmosdb.SqlTriggerArgs{
			ContainerId: exampleSqlContainer.ID(),
			Body:        pulumi.String("function trigger(){}"),
			Operation:   pulumi.String("Delete"),
			Type:        pulumi.String("Post"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SQL Triggers can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/sqlTrigger:SqlTrigger example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1/triggers/trigger1

```

func GetSqlTrigger added in v4.2.0

func GetSqlTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlTriggerState, opts ...pulumi.ResourceOption) (*SqlTrigger, error)

GetSqlTrigger gets an existing SqlTrigger 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 NewSqlTrigger added in v4.2.0

func NewSqlTrigger(ctx *pulumi.Context,
	name string, args *SqlTriggerArgs, opts ...pulumi.ResourceOption) (*SqlTrigger, error)

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

func (*SqlTrigger) ElementType added in v4.2.0

func (*SqlTrigger) ElementType() reflect.Type

func (*SqlTrigger) ToSqlTriggerOutput added in v4.2.0

func (i *SqlTrigger) ToSqlTriggerOutput() SqlTriggerOutput

func (*SqlTrigger) ToSqlTriggerOutputWithContext added in v4.2.0

func (i *SqlTrigger) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput

func (*SqlTrigger) ToSqlTriggerPtrOutput added in v4.2.0

func (i *SqlTrigger) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput

func (*SqlTrigger) ToSqlTriggerPtrOutputWithContext added in v4.2.0

func (i *SqlTrigger) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput

type SqlTriggerArgs added in v4.2.0

type SqlTriggerArgs struct {
	// Body of the Trigger.
	Body pulumi.StringInput
	// The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.
	ContainerId pulumi.StringInput
	// The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.
	Name pulumi.StringPtrInput
	// The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.
	Operation pulumi.StringInput
	// Type of the Trigger. Possible values are `Pre` and `Post`.
	Type pulumi.StringInput
}

The set of arguments for constructing a SqlTrigger resource.

func (SqlTriggerArgs) ElementType added in v4.2.0

func (SqlTriggerArgs) ElementType() reflect.Type

type SqlTriggerArray added in v4.2.0

type SqlTriggerArray []SqlTriggerInput

func (SqlTriggerArray) ElementType added in v4.2.0

func (SqlTriggerArray) ElementType() reflect.Type

func (SqlTriggerArray) ToSqlTriggerArrayOutput added in v4.2.0

func (i SqlTriggerArray) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput

func (SqlTriggerArray) ToSqlTriggerArrayOutputWithContext added in v4.2.0

func (i SqlTriggerArray) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput

type SqlTriggerArrayInput added in v4.2.0

type SqlTriggerArrayInput interface {
	pulumi.Input

	ToSqlTriggerArrayOutput() SqlTriggerArrayOutput
	ToSqlTriggerArrayOutputWithContext(context.Context) SqlTriggerArrayOutput
}

SqlTriggerArrayInput is an input type that accepts SqlTriggerArray and SqlTriggerArrayOutput values. You can construct a concrete instance of `SqlTriggerArrayInput` via:

SqlTriggerArray{ SqlTriggerArgs{...} }

type SqlTriggerArrayOutput added in v4.2.0

type SqlTriggerArrayOutput struct{ *pulumi.OutputState }

func (SqlTriggerArrayOutput) ElementType added in v4.2.0

func (SqlTriggerArrayOutput) ElementType() reflect.Type

func (SqlTriggerArrayOutput) Index added in v4.2.0

func (SqlTriggerArrayOutput) ToSqlTriggerArrayOutput added in v4.2.0

func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput

func (SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext added in v4.2.0

func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput

type SqlTriggerInput added in v4.2.0

type SqlTriggerInput interface {
	pulumi.Input

	ToSqlTriggerOutput() SqlTriggerOutput
	ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput
}

type SqlTriggerMap added in v4.2.0

type SqlTriggerMap map[string]SqlTriggerInput

func (SqlTriggerMap) ElementType added in v4.2.0

func (SqlTriggerMap) ElementType() reflect.Type

func (SqlTriggerMap) ToSqlTriggerMapOutput added in v4.2.0

func (i SqlTriggerMap) ToSqlTriggerMapOutput() SqlTriggerMapOutput

func (SqlTriggerMap) ToSqlTriggerMapOutputWithContext added in v4.2.0

func (i SqlTriggerMap) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput

type SqlTriggerMapInput added in v4.2.0

type SqlTriggerMapInput interface {
	pulumi.Input

	ToSqlTriggerMapOutput() SqlTriggerMapOutput
	ToSqlTriggerMapOutputWithContext(context.Context) SqlTriggerMapOutput
}

SqlTriggerMapInput is an input type that accepts SqlTriggerMap and SqlTriggerMapOutput values. You can construct a concrete instance of `SqlTriggerMapInput` via:

SqlTriggerMap{ "key": SqlTriggerArgs{...} }

type SqlTriggerMapOutput added in v4.2.0

type SqlTriggerMapOutput struct{ *pulumi.OutputState }

func (SqlTriggerMapOutput) ElementType added in v4.2.0

func (SqlTriggerMapOutput) ElementType() reflect.Type

func (SqlTriggerMapOutput) MapIndex added in v4.2.0

func (SqlTriggerMapOutput) ToSqlTriggerMapOutput added in v4.2.0

func (o SqlTriggerMapOutput) ToSqlTriggerMapOutput() SqlTriggerMapOutput

func (SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext added in v4.2.0

func (o SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput

type SqlTriggerOutput added in v4.2.0

type SqlTriggerOutput struct{ *pulumi.OutputState }

func (SqlTriggerOutput) ElementType added in v4.2.0

func (SqlTriggerOutput) ElementType() reflect.Type

func (SqlTriggerOutput) ToSqlTriggerOutput added in v4.2.0

func (o SqlTriggerOutput) ToSqlTriggerOutput() SqlTriggerOutput

func (SqlTriggerOutput) ToSqlTriggerOutputWithContext added in v4.2.0

func (o SqlTriggerOutput) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput

func (SqlTriggerOutput) ToSqlTriggerPtrOutput added in v4.2.0

func (o SqlTriggerOutput) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput

func (SqlTriggerOutput) ToSqlTriggerPtrOutputWithContext added in v4.2.0

func (o SqlTriggerOutput) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput

type SqlTriggerPtrInput added in v4.2.0

type SqlTriggerPtrInput interface {
	pulumi.Input

	ToSqlTriggerPtrOutput() SqlTriggerPtrOutput
	ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput
}

type SqlTriggerPtrOutput added in v4.2.0

type SqlTriggerPtrOutput struct{ *pulumi.OutputState }

func (SqlTriggerPtrOutput) Elem added in v4.20.0

func (SqlTriggerPtrOutput) ElementType added in v4.2.0

func (SqlTriggerPtrOutput) ElementType() reflect.Type

func (SqlTriggerPtrOutput) ToSqlTriggerPtrOutput added in v4.2.0

func (o SqlTriggerPtrOutput) ToSqlTriggerPtrOutput() SqlTriggerPtrOutput

func (SqlTriggerPtrOutput) ToSqlTriggerPtrOutputWithContext added in v4.2.0

func (o SqlTriggerPtrOutput) ToSqlTriggerPtrOutputWithContext(ctx context.Context) SqlTriggerPtrOutput

type SqlTriggerState added in v4.2.0

type SqlTriggerState struct {
	// Body of the Trigger.
	Body pulumi.StringPtrInput
	// The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.
	ContainerId pulumi.StringPtrInput
	// The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.
	Name pulumi.StringPtrInput
	// The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.
	Operation pulumi.StringPtrInput
	// Type of the Trigger. Possible values are `Pre` and `Post`.
	Type pulumi.StringPtrInput
}

func (SqlTriggerState) ElementType added in v4.2.0

func (SqlTriggerState) ElementType() reflect.Type

type Table

type Table struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings TableAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Table within a Cosmos DB Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/cosmosdb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewTable(ctx, "exampleTable", &cosmosdb.TableArgs{
			ResourceGroupName: pulumi.String(exampleAccount.ResourceGroupName),
			AccountName:       pulumi.String(exampleAccount.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB Tables can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:cosmosdb/table:Table table1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/tables/table1

```

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table 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 NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

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

func (*Table) ElementType

func (*Table) ElementType() reflect.Type

func (*Table) ToTableOutput

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

func (*Table) ToTablePtrOutput

func (i *Table) ToTablePtrOutput() TablePtrOutput

func (*Table) ToTablePtrOutputWithContext

func (i *Table) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput

type TableArgs

type TableArgs struct {
	// The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings TableAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableArray

type TableArray []TableInput

func (TableArray) ElementType

func (TableArray) ElementType() reflect.Type

func (TableArray) ToTableArrayOutput

func (i TableArray) ToTableArrayOutput() TableArrayOutput

func (TableArray) ToTableArrayOutputWithContext

func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableArrayInput

type TableArrayInput interface {
	pulumi.Input

	ToTableArrayOutput() TableArrayOutput
	ToTableArrayOutputWithContext(context.Context) TableArrayOutput
}

TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:

TableArray{ TableArgs{...} }

type TableArrayOutput

type TableArrayOutput struct{ *pulumi.OutputState }

func (TableArrayOutput) ElementType

func (TableArrayOutput) ElementType() reflect.Type

func (TableArrayOutput) Index

func (TableArrayOutput) ToTableArrayOutput

func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput

func (TableArrayOutput) ToTableArrayOutputWithContext

func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableAutoscaleSettings

type TableAutoscaleSettings struct {
	// The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput *int `pulumi:"maxThroughput"`
}

type TableAutoscaleSettingsArgs

type TableAutoscaleSettingsArgs struct {
	// The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
	MaxThroughput pulumi.IntPtrInput `pulumi:"maxThroughput"`
}

func (TableAutoscaleSettingsArgs) ElementType

func (TableAutoscaleSettingsArgs) ElementType() reflect.Type

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput

type TableAutoscaleSettingsInput

type TableAutoscaleSettingsInput interface {
	pulumi.Input

	ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput
	ToTableAutoscaleSettingsOutputWithContext(context.Context) TableAutoscaleSettingsOutput
}

TableAutoscaleSettingsInput is an input type that accepts TableAutoscaleSettingsArgs and TableAutoscaleSettingsOutput values. You can construct a concrete instance of `TableAutoscaleSettingsInput` via:

TableAutoscaleSettingsArgs{...}

type TableAutoscaleSettingsOutput

type TableAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (TableAutoscaleSettingsOutput) ElementType

func (TableAutoscaleSettingsOutput) MaxThroughput

The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput

type TableAutoscaleSettingsPtrInput

type TableAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
	ToTableAutoscaleSettingsPtrOutputWithContext(context.Context) TableAutoscaleSettingsPtrOutput
}

TableAutoscaleSettingsPtrInput is an input type that accepts TableAutoscaleSettingsArgs, TableAutoscaleSettingsPtr and TableAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `TableAutoscaleSettingsPtrInput` via:

        TableAutoscaleSettingsArgs{...}

or:

        nil

type TableAutoscaleSettingsPtrOutput

type TableAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (TableAutoscaleSettingsPtrOutput) Elem

func (TableAutoscaleSettingsPtrOutput) ElementType

func (TableAutoscaleSettingsPtrOutput) MaxThroughput

The maximum throughput of the Table (RU/s). Must be between `4,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.

func (TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput

func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput

func (TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext

func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput

type TableInput

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableMap

type TableMap map[string]TableInput

func (TableMap) ElementType

func (TableMap) ElementType() reflect.Type

func (TableMap) ToTableMapOutput

func (i TableMap) ToTableMapOutput() TableMapOutput

func (TableMap) ToTableMapOutputWithContext

func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableMapInput

type TableMapInput interface {
	pulumi.Input

	ToTableMapOutput() TableMapOutput
	ToTableMapOutputWithContext(context.Context) TableMapOutput
}

TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:

TableMap{ "key": TableArgs{...} }

type TableMapOutput

type TableMapOutput struct{ *pulumi.OutputState }

func (TableMapOutput) ElementType

func (TableMapOutput) ElementType() reflect.Type

func (TableMapOutput) MapIndex

func (TableMapOutput) ToTableMapOutput

func (o TableMapOutput) ToTableMapOutput() TableMapOutput

func (TableMapOutput) ToTableMapOutputWithContext

func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

func (TableOutput) ToTablePtrOutput

func (o TableOutput) ToTablePtrOutput() TablePtrOutput

func (TableOutput) ToTablePtrOutputWithContext

func (o TableOutput) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput

type TablePtrInput

type TablePtrInput interface {
	pulumi.Input

	ToTablePtrOutput() TablePtrOutput
	ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput
}

type TablePtrOutput

type TablePtrOutput struct{ *pulumi.OutputState }

func (TablePtrOutput) Elem added in v4.20.0

func (o TablePtrOutput) Elem() TableOutput

func (TablePtrOutput) ElementType

func (TablePtrOutput) ElementType() reflect.Type

func (TablePtrOutput) ToTablePtrOutput

func (o TablePtrOutput) ToTablePtrOutput() TablePtrOutput

func (TablePtrOutput) ToTablePtrOutputWithContext

func (o TablePtrOutput) ToTablePtrOutputWithContext(ctx context.Context) TablePtrOutput

type TableState

type TableState struct {
	// The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	AutoscaleSettings TableAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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