cosmosdb

package
v0.0.0-...-37ff63d Latest Latest
Warning

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

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

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// The capabilities which should be enabled for this Cosmos DB account. Possible values are `EnableAggregationPipeline`, `EnableCassandra`, `EnableGremlin`, `EnableTable`, `MongoDBv3.4`, and `mongoEnableDocLevelTTL`.
	Capabilities AccountCapabilityArrayOutput `pulumi:"capabilities"`
	// A list of connection strings available for this CosmosDB account. If the kind is `GlobalDocumentDB`, this will be empty.
	ConnectionStrings pulumi.StringArrayOutput `pulumi:"connectionStrings"`
	// Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account.
	ConsistencyPolicy AccountConsistencyPolicyOutput `pulumi:"consistencyPolicy"`
	// Enable automatic fail over for this Cosmos DB account.
	EnableAutomaticFailover pulumi.BoolPtrOutput `pulumi:"enableAutomaticFailover"`
	// Enable multi-master support 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.
	GeoLocations AccountGeoLocationArrayOutput `pulumi:"geoLocations"`
	// 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"`
	// 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"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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 master key for the CosmosDB Account.
	PrimaryMasterKey pulumi.StringOutput `pulumi:"primaryMasterKey"`
	// The Primary read-only master Key for the CosmosDB Account.
	PrimaryReadonlyMasterKey pulumi.StringOutput `pulumi:"primaryReadonlyMasterKey"`
	// 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 master key for the CosmosDB Account.
	SecondaryMasterKey pulumi.StringOutput `pulumi:"secondaryMasterKey"`
	// The Secondary read-only master key for the CosmosDB Account.
	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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_account.html.markdown.

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.

type AccountArgs

type AccountArgs struct {
	// The capabilities which should be enabled for this Cosmos DB account. Possible values are `EnableAggregationPipeline`, `EnableCassandra`, `EnableGremlin`, `EnableTable`, `MongoDBv3.4`, and `mongoEnableDocLevelTTL`.
	Capabilities AccountCapabilityArrayInput
	// Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account.
	ConsistencyPolicy AccountConsistencyPolicyInput
	// Enable automatic fail over for this Cosmos DB account.
	EnableAutomaticFailover pulumi.BoolPtrInput
	// Enable multi-master support 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.
	GeoLocations AccountGeoLocationArrayInput
	// 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
	// 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
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`.
	OfferType pulumi.StringInput
	// 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 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
}

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
}

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
}

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
}

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 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`.
	Prefix *string `pulumi:"prefix"`
}

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`.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

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
}

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
}

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

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`.

func (AccountGeoLocationOutput) ToAccountGeoLocationOutput

func (o AccountGeoLocationOutput) ToAccountGeoLocationOutput() AccountGeoLocationOutput

func (AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext

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

type AccountState

type AccountState struct {
	// The capabilities which should be enabled for this Cosmos DB account. Possible values are `EnableAggregationPipeline`, `EnableCassandra`, `EnableGremlin`, `EnableTable`, `MongoDBv3.4`, and `mongoEnableDocLevelTTL`.
	Capabilities AccountCapabilityArrayInput
	// A list of connection strings available for this CosmosDB account. If the kind is `GlobalDocumentDB`, this will be empty.
	ConnectionStrings pulumi.StringArrayInput
	// Specifies a `consistencyPolicy` resource, used to define the consistency policy for this CosmosDB account.
	ConsistencyPolicy AccountConsistencyPolicyPtrInput
	// Enable automatic fail over for this Cosmos DB account.
	EnableAutomaticFailover pulumi.BoolPtrInput
	// Enable multi-master support 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.
	GeoLocations AccountGeoLocationArrayInput
	// 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
	// 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
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the Offer Type to use for this CosmosDB Account - currently this can only be set to `Standard`.
	OfferType pulumi.StringPtrInput
	// The Primary master key for the CosmosDB Account.
	PrimaryMasterKey pulumi.StringPtrInput
	// The Primary read-only master Key for the CosmosDB Account.
	PrimaryReadonlyMasterKey pulumi.StringPtrInput
	// 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 master key for the CosmosDB Account.
	SecondaryMasterKey pulumi.StringPtrInput
	// The Secondary read-only master key for the CosmosDB Account.
	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"`
}

type AccountVirtualNetworkRuleArgs

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

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
}

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
}

type AccountVirtualNetworkRuleOutput

type AccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (AccountVirtualNetworkRuleOutput) ElementType

func (AccountVirtualNetworkRuleOutput) Id

The ID of the virtual network subnet.

func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput

func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput

func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext

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

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"`
	// 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_cassandra_keyspace.html.markdown.

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.

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
	// 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 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
	// 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 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
}

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
}

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
}

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
}

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
}

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
}

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
}

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
}

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"`
	// 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_gremlin_database.html.markdown.

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.

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
	// 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 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
	// 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"`
	// The conflict resolution policy for the graph. One or more `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.
	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 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.StringPtrOutput `pulumi:"partitionKeyPath"`
	// 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 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"`
	// 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_gremlin_graph.html.markdown.

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.

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
	// The conflict resolution policy for the graph. One or more `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.
	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 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
	// 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 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
	// 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 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
}

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
}

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"`
	// 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"`
}

type GremlinGraphIndexPolicyArgs

type GremlinGraphIndexPolicyArgs struct {
	// Indicates if the indexing policy is automatic. Defaults to `true`.
	Automatic pulumi.BoolPtrInput `pulumi:"automatic"`
	// 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"`
}

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
}

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 GremlinGraphIndexPolicyInput

type GremlinGraphIndexPolicyInput interface {
	pulumi.Input

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

type GremlinGraphIndexPolicyOutput

type GremlinGraphIndexPolicyOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyOutput) Automatic

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

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) ToGremlinGraphIndexPolicyOutput

func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext

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

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
	// The conflict resolution policy for the graph. One or more `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.
	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 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
	// 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 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
	// 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
}

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
}

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 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 multi-master is 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"`
	// id is 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 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 master key for the CosmosDB Account.
	PrimaryMasterKey string `pulumi:"primaryMasterKey"`
	// The Primary read-only master Key for the CosmosDB Account.
	PrimaryReadonlyMasterKey string `pulumi:"primaryReadonlyMasterKey"`
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints     []string `pulumi:"readEndpoints"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// The Secondary master key for the CosmosDB Account.
	SecondaryMasterKey string `pulumi:"secondaryMasterKey"`
	// The Secondary read-only master key for the CosmosDB Account.
	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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/cosmosdb_account.html.markdown.

type MongoCollection

type MongoCollection struct {
	pulumi.CustomResourceState

	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// 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 `0` items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrOutput `pulumi:"defaultTtlSeconds"`
	// 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"`
	// 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 Collection within a Cosmos DB Account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_mongo_collection.html.markdown.

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.

type MongoCollectionArgs

type MongoCollectionArgs struct {
	AccountName pulumi.StringInput
	// 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 `0` items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrInput
	// 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 resource destroy-apply.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a MongoCollection resource.

func (MongoCollectionArgs) ElementType

func (MongoCollectionArgs) ElementType() reflect.Type

type MongoCollectionState

type MongoCollectionState struct {
	AccountName pulumi.StringPtrInput
	// 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 `0` items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrInput
	// 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
	// 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 (MongoCollectionState) ElementType

func (MongoCollectionState) ElementType() reflect.Type

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"`
	// 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_mongo_database.html.markdown.

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.

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
	// 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 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
	// 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 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 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"`
	// Specifies the name of the Cosmos DB SQL Database. 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.StringPtrOutput `pulumi:"partitionKeyPath"`
	// 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"`
	// 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_sql_container.html.markdown.

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.

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 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
	// Specifies the name of the Cosmos DB SQL Database. 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
	// 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 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 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 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
	// Specifies the name of the Cosmos DB SQL Database. 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
	// 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
	// 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
}

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
}

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"`
	// 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"`
	// The throughput of SQL 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 SQL Database within a Cosmos DB Account.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_sql_database.html.markdown.

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.

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
	// 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
	// The throughput of SQL 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 SqlDatabase resource.

func (SqlDatabaseArgs) ElementType

func (SqlDatabaseArgs) ElementType() reflect.Type

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
	// 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
	// The throughput of SQL 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 (SqlDatabaseState) ElementType

func (SqlDatabaseState) 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"`
	// 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cosmosdb_table.html.markdown.

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.

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
	// 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 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
	// 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