cosmosdb

package
v5.74.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	AccessKeyMetadataWritesEnabled pulumi.BoolPtrOutput `pulumi:"accessKeyMetadataWritesEnabled"`
	// An `analyticalStorage` block as defined below.
	AnalyticalStorage        AccountAnalyticalStorageOutput `pulumi:"analyticalStorage"`
	AnalyticalStorageEnabled pulumi.BoolPtrOutput           `pulumi:"analyticalStorageEnabled"`
	AutomaticFailoverEnabled pulumi.BoolOutput              `pulumi:"automaticFailoverEnabled"`
	Backup                   AccountBackupOutput            `pulumi:"backup"`
	Capabilities             AccountCapabilityArrayOutput   `pulumi:"capabilities"`
	// A `capacity` block as defined below.
	Capacity AccountCapacityOutput `pulumi:"capacity"`
	// Deprecated: This property has been superseded by the primary and secondary connection strings for sql, mongodb and readonly and will be removed in v4.0 of the AzureRM provider
	ConnectionStrings pulumi.StringArrayOutput       `pulumi:"connectionStrings"`
	ConsistencyPolicy AccountConsistencyPolicyOutput `pulumi:"consistencyPolicy"`
	CorsRule          AccountCorsRulePtrOutput       `pulumi:"corsRule"`
	// The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created.
	//
	// > **Note:** `createMode` can only be defined when the `backup.type` is set to `Continuous`.
	CreateMode pulumi.StringOutput `pulumi:"createMode"`
	// The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`.
	DefaultIdentityType pulumi.StringPtrOutput `pulumi:"defaultIdentityType"`
	// Deprecated: This property has been superseded by `automaticFailoverEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableAutomaticFailover pulumi.BoolOutput `pulumi:"enableAutomaticFailover"`
	// Deprecated: This property has been superseded by `freeTierEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableFreeTier pulumi.BoolOutput `pulumi:"enableFreeTier"`
	// Deprecated: This property has been superseded by `multipleWriteLocationsEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableMultipleWriteLocations pulumi.BoolOutput `pulumi:"enableMultipleWriteLocations"`
	// The endpoint used to connect to the CosmosDB account.
	Endpoint                      pulumi.StringOutput           `pulumi:"endpoint"`
	FreeTierEnabled               pulumi.BoolOutput             `pulumi:"freeTierEnabled"`
	GeoLocations                  AccountGeoLocationArrayOutput `pulumi:"geoLocations"`
	Identity                      AccountIdentityPtrOutput      `pulumi:"identity"`
	IpRangeFilter                 pulumi.StringPtrOutput        `pulumi:"ipRangeFilter"`
	IsVirtualNetworkFilterEnabled pulumi.BoolPtrOutput          `pulumi:"isVirtualNetworkFilterEnabled"`
	KeyVaultKeyId                 pulumi.StringPtrOutput        `pulumi:"keyVaultKeyId"`
	Kind                          pulumi.StringPtrOutput        `pulumi:"kind"`
	LocalAuthenticationDisabled   pulumi.BoolPtrOutput          `pulumi:"localAuthenticationDisabled"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.
	MinimalTlsVersion             pulumi.StringOutput `pulumi:"minimalTlsVersion"`
	MongoServerVersion            pulumi.StringOutput `pulumi:"mongoServerVersion"`
	MultipleWriteLocationsEnabled pulumi.BoolOutput   `pulumi:"multipleWriteLocationsEnabled"`
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name                             pulumi.StringOutput      `pulumi:"name"`
	NetworkAclBypassForAzureServices pulumi.BoolPtrOutput     `pulumi:"networkAclBypassForAzureServices"`
	NetworkAclBypassIds              pulumi.StringArrayOutput `pulumi:"networkAclBypassIds"`
	// Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`.
	OfferType             pulumi.StringOutput  `pulumi:"offerType"`
	PartitionMergeEnabled pulumi.BoolPtrOutput `pulumi:"partitionMergeEnabled"`
	// The Primary key for the CosmosDB Account.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// Primary Mongodb connection string for the CosmosDB Account.
	PrimaryMongodbConnectionString pulumi.StringOutput `pulumi:"primaryMongodbConnectionString"`
	// The Primary read-only Key for the CosmosDB Account.
	PrimaryReadonlyKey pulumi.StringOutput `pulumi:"primaryReadonlyKey"`
	// Primary readonly Mongodb connection string for the CosmosDB Account.
	PrimaryReadonlyMongodbConnectionString pulumi.StringOutput `pulumi:"primaryReadonlyMongodbConnectionString"`
	// Primary readonly SQL connection string for the CosmosDB Account.
	PrimaryReadonlySqlConnectionString pulumi.StringOutput `pulumi:"primaryReadonlySqlConnectionString"`
	// Primary SQL connection string for the CosmosDB Account.
	PrimarySqlConnectionString pulumi.StringOutput  `pulumi:"primarySqlConnectionString"`
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints pulumi.StringArrayOutput `pulumi:"readEndpoints"`
	// The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput     `pulumi:"resourceGroupName"`
	Restore           AccountRestorePtrOutput `pulumi:"restore"`
	// The Secondary key for the CosmosDB Account.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// Secondary Mongodb connection string for the CosmosDB Account.
	SecondaryMongodbConnectionString pulumi.StringOutput `pulumi:"secondaryMongodbConnectionString"`
	// The Secondary read-only key for the CosmosDB Account.
	SecondaryReadonlyKey pulumi.StringOutput `pulumi:"secondaryReadonlyKey"`
	// Secondary readonly Mongodb connection string for the CosmosDB Account.
	SecondaryReadonlyMongodbConnectionString pulumi.StringOutput `pulumi:"secondaryReadonlyMongodbConnectionString"`
	// Secondary readonly SQL connection string for the CosmosDB Account.
	SecondaryReadonlySqlConnectionString pulumi.StringOutput `pulumi:"secondaryReadonlySqlConnectionString"`
	// Secondary SQL connection string for the CosmosDB Account.
	SecondarySqlConnectionString pulumi.StringOutput `pulumi:"secondarySqlConnectionString"`
	// A mapping of tags to assign to the resource.
	Tags                pulumi.StringMapOutput               `pulumi:"tags"`
	VirtualNetworkRules AccountVirtualNetworkRuleArrayOutput `pulumi:"virtualNetworkRules"`
	// A list of write endpoints available for this CosmosDB account.
	WriteEndpoints pulumi.StringArrayOutput `pulumi:"writeEndpoints"`
}

Manages a CosmosDB (formally DocumentDB) Account.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.NewResourceGroup(ctx, "rg", &core.ResourceGroupArgs{
			Name:     pulumi.String("sample-rg"),
			Location: pulumi.String("westus"),
		})
		if err != nil {
			return err
		}
		ri, err := random.NewRandomInteger(ctx, "ri", &random.RandomIntegerArgs{
			Min: pulumi.Int(10000),
			Max: pulumi.Int(99999),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewAccount(ctx, "db", &cosmosdb.AccountArgs{
			Name: ri.Result.ApplyT(func(result int) (string, error) {
				return fmt.Sprintf("tfex-cosmos-db-%v", result), nil
			}).(pulumi.StringOutput),
			Location:                pulumi.Any(example.Location),
			ResourceGroupName:       pulumi.Any(example.Name),
			OfferType:               pulumi.String("Standard"),
			Kind:                    pulumi.String("MongoDB"),
			EnableAutomaticFailover: pulumi.Bool(true),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableAggregationPipeline"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("mongoEnableDocLevelTTL"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("MongoDBv3.4"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongo"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel:     pulumi.String("BoundedStaleness"),
				MaxIntervalInSeconds: pulumi.Int(300),
				MaxStalenessPrefix:   pulumi.Int(100000),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         pulumi.String("eastus"),
					FailoverPriority: pulumi.Int(1),
				},
				&cosmosdb.AccountGeoLocationArgs{
					Location:         pulumi.String("westus"),
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## User Assigned Identity Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/cosmosdb"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{
			ResourceGroupName: pulumi.Any(exampleAzurermResourceGroup.Name),
			Location:          pulumi.Any(exampleAzurermResourceGroup.Location),
			Name:              pulumi.String("example-resource"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("example-resource"),
			Location:          pulumi.Any(exampleAzurermResourceGroup.Location),
			ResourceGroupName: pulumi.Any(exampleAzurermResourceGroup.Name),
			DefaultIdentityType: std.JoinOutput(ctx, std.JoinOutputArgs{
				Separator: pulumi.String("="),
				Input: pulumi.StringArray{
					pulumi.String("UserAssignedIdentity"),
					example.ID(),
				},
			}, nil).ApplyT(func(invoke std.JoinResult) (*string, error) {
				return invoke.Result, nil
			}).(pulumi.StringPtrOutput),
			OfferType: pulumi.String("Standard"),
			Kind:      pulumi.String("MongoDB"),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongo"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         pulumi.String("westus"),
					FailoverPriority: pulumi.Int(0),
				},
			},
			Identity: &cosmosdb.AccountIdentityArgs{
				Type: pulumi.String("UserAssigned"),
				IdentityIds: pulumi.StringArray{
					example.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetAccount

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

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

func NewAccount

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

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

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

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

type AccountAnalyticalStorage

type AccountAnalyticalStorage struct {
	// The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`.
	SchemaType string `pulumi:"schemaType"`
}

type AccountAnalyticalStorageArgs

type AccountAnalyticalStorageArgs struct {
	// The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`.
	SchemaType pulumi.StringInput `pulumi:"schemaType"`
}

func (AccountAnalyticalStorageArgs) ElementType

func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutput

func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput

func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutputWithContext

func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStorageOutputWithContext(ctx context.Context) AccountAnalyticalStorageOutput

func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutput

func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput

func (AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutputWithContext

func (i AccountAnalyticalStorageArgs) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput

type AccountAnalyticalStorageInput

type AccountAnalyticalStorageInput interface {
	pulumi.Input

	ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput
	ToAccountAnalyticalStorageOutputWithContext(context.Context) AccountAnalyticalStorageOutput
}

AccountAnalyticalStorageInput is an input type that accepts AccountAnalyticalStorageArgs and AccountAnalyticalStorageOutput values. You can construct a concrete instance of `AccountAnalyticalStorageInput` via:

AccountAnalyticalStorageArgs{...}

type AccountAnalyticalStorageOutput

type AccountAnalyticalStorageOutput struct{ *pulumi.OutputState }

func (AccountAnalyticalStorageOutput) ElementType

func (AccountAnalyticalStorageOutput) SchemaType

The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`.

func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutput

func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutput() AccountAnalyticalStorageOutput

func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutputWithContext

func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStorageOutputWithContext(ctx context.Context) AccountAnalyticalStorageOutput

func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutput

func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput

func (AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutputWithContext

func (o AccountAnalyticalStorageOutput) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput

type AccountAnalyticalStoragePtrInput

type AccountAnalyticalStoragePtrInput interface {
	pulumi.Input

	ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput
	ToAccountAnalyticalStoragePtrOutputWithContext(context.Context) AccountAnalyticalStoragePtrOutput
}

AccountAnalyticalStoragePtrInput is an input type that accepts AccountAnalyticalStorageArgs, AccountAnalyticalStoragePtr and AccountAnalyticalStoragePtrOutput values. You can construct a concrete instance of `AccountAnalyticalStoragePtrInput` via:

        AccountAnalyticalStorageArgs{...}

or:

        nil

type AccountAnalyticalStoragePtrOutput

type AccountAnalyticalStoragePtrOutput struct{ *pulumi.OutputState }

func (AccountAnalyticalStoragePtrOutput) Elem

func (AccountAnalyticalStoragePtrOutput) ElementType

func (AccountAnalyticalStoragePtrOutput) SchemaType

The schema type of the Analytical Storage for this Cosmos DB account. Possible values are `FullFidelity` and `WellDefined`.

func (AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutput

func (o AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutput() AccountAnalyticalStoragePtrOutput

func (AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutputWithContext

func (o AccountAnalyticalStoragePtrOutput) ToAccountAnalyticalStoragePtrOutputWithContext(ctx context.Context) AccountAnalyticalStoragePtrOutput

type AccountArgs

type AccountArgs struct {
	AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput
	// An `analyticalStorage` block as defined below.
	AnalyticalStorage        AccountAnalyticalStoragePtrInput
	AnalyticalStorageEnabled pulumi.BoolPtrInput
	AutomaticFailoverEnabled pulumi.BoolPtrInput
	Backup                   AccountBackupPtrInput
	Capabilities             AccountCapabilityArrayInput
	// A `capacity` block as defined below.
	Capacity          AccountCapacityPtrInput
	ConsistencyPolicy AccountConsistencyPolicyInput
	CorsRule          AccountCorsRulePtrInput
	// The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created.
	//
	// > **Note:** `createMode` can only be defined when the `backup.type` is set to `Continuous`.
	CreateMode pulumi.StringPtrInput
	// The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`.
	DefaultIdentityType pulumi.StringPtrInput
	// Deprecated: This property has been superseded by `automaticFailoverEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableAutomaticFailover pulumi.BoolPtrInput
	// Deprecated: This property has been superseded by `freeTierEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableFreeTier pulumi.BoolPtrInput
	// Deprecated: This property has been superseded by `multipleWriteLocationsEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableMultipleWriteLocations  pulumi.BoolPtrInput
	FreeTierEnabled               pulumi.BoolPtrInput
	GeoLocations                  AccountGeoLocationArrayInput
	Identity                      AccountIdentityPtrInput
	IpRangeFilter                 pulumi.StringPtrInput
	IsVirtualNetworkFilterEnabled pulumi.BoolPtrInput
	KeyVaultKeyId                 pulumi.StringPtrInput
	Kind                          pulumi.StringPtrInput
	LocalAuthenticationDisabled   pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.
	MinimalTlsVersion             pulumi.StringPtrInput
	MongoServerVersion            pulumi.StringPtrInput
	MultipleWriteLocationsEnabled pulumi.BoolPtrInput
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name                             pulumi.StringPtrInput
	NetworkAclBypassForAzureServices pulumi.BoolPtrInput
	NetworkAclBypassIds              pulumi.StringArrayInput
	// Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`.
	OfferType                  pulumi.StringInput
	PartitionMergeEnabled      pulumi.BoolPtrInput
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	Restore           AccountRestorePtrInput
	// A mapping of tags to assign to the resource.
	Tags                pulumi.StringMapInput
	VirtualNetworkRules AccountVirtualNetworkRuleArrayInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

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

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

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

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

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

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

type AccountBackup

type AccountBackup struct {
	// The interval in minutes between two backups. Possible values are between 60 and 1440. Defaults to `240`.
	IntervalInMinutes *int `pulumi:"intervalInMinutes"`
	// The time in hours that each backup is retained. Possible values are between 8 and 720. Defaults to `8`.
	RetentionInHours *int `pulumi:"retentionInHours"`
	// The storage redundancy is used to indicate the type of backup residency. Possible values are `Geo`, `Local` and `Zone`. Defaults to `Geo`.
	//
	// > **Note:** You can only configure `intervalInMinutes`, `retentionInHours` and `storageRedundancy` when the `type` field is set to `Periodic`.
	StorageRedundancy *string `pulumi:"storageRedundancy"`
	// The continuous backup tier. Possible values are `Continuous7Days` and `Continuous30Days`.
	Tier *string `pulumi:"tier"`
	// The type of the `backup`. Possible values are `Continuous` and `Periodic`.
	//
	// > **Note:** Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.
	Type string `pulumi:"type"`
}

type AccountBackupArgs

type AccountBackupArgs struct {
	// The interval in minutes between two backups. Possible values are between 60 and 1440. Defaults to `240`.
	IntervalInMinutes pulumi.IntPtrInput `pulumi:"intervalInMinutes"`
	// The time in hours that each backup is retained. Possible values are between 8 and 720. Defaults to `8`.
	RetentionInHours pulumi.IntPtrInput `pulumi:"retentionInHours"`
	// The storage redundancy is used to indicate the type of backup residency. Possible values are `Geo`, `Local` and `Zone`. Defaults to `Geo`.
	//
	// > **Note:** You can only configure `intervalInMinutes`, `retentionInHours` and `storageRedundancy` when the `type` field is set to `Periodic`.
	StorageRedundancy pulumi.StringPtrInput `pulumi:"storageRedundancy"`
	// The continuous backup tier. Possible values are `Continuous7Days` and `Continuous30Days`.
	Tier pulumi.StringPtrInput `pulumi:"tier"`
	// The type of the `backup`. Possible values are `Continuous` and `Periodic`.
	//
	// > **Note:** Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountBackupArgs) ElementType

func (AccountBackupArgs) ElementType() reflect.Type

func (AccountBackupArgs) ToAccountBackupOutput

func (i AccountBackupArgs) ToAccountBackupOutput() AccountBackupOutput

func (AccountBackupArgs) ToAccountBackupOutputWithContext

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

func (AccountBackupArgs) ToAccountBackupPtrOutput

func (i AccountBackupArgs) ToAccountBackupPtrOutput() AccountBackupPtrOutput

func (AccountBackupArgs) ToAccountBackupPtrOutputWithContext

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

type AccountBackupInput

type AccountBackupInput interface {
	pulumi.Input

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

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

AccountBackupArgs{...}

type AccountBackupOutput

type AccountBackupOutput struct{ *pulumi.OutputState }

func (AccountBackupOutput) ElementType

func (AccountBackupOutput) ElementType() reflect.Type

func (AccountBackupOutput) IntervalInMinutes

func (o AccountBackupOutput) IntervalInMinutes() pulumi.IntPtrOutput

The interval in minutes between two backups. Possible values are between 60 and 1440. Defaults to `240`.

func (AccountBackupOutput) RetentionInHours

func (o AccountBackupOutput) RetentionInHours() pulumi.IntPtrOutput

The time in hours that each backup is retained. Possible values are between 8 and 720. Defaults to `8`.

func (AccountBackupOutput) StorageRedundancy

func (o AccountBackupOutput) StorageRedundancy() pulumi.StringPtrOutput

The storage redundancy is used to indicate the type of backup residency. Possible values are `Geo`, `Local` and `Zone`. Defaults to `Geo`.

> **Note:** You can only configure `intervalInMinutes`, `retentionInHours` and `storageRedundancy` when the `type` field is set to `Periodic`.

func (AccountBackupOutput) Tier added in v5.68.0

The continuous backup tier. Possible values are `Continuous7Days` and `Continuous30Days`.

func (AccountBackupOutput) ToAccountBackupOutput

func (o AccountBackupOutput) ToAccountBackupOutput() AccountBackupOutput

func (AccountBackupOutput) ToAccountBackupOutputWithContext

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

func (AccountBackupOutput) ToAccountBackupPtrOutput

func (o AccountBackupOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput

func (AccountBackupOutput) ToAccountBackupPtrOutputWithContext

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

func (AccountBackupOutput) Type

The type of the `backup`. Possible values are `Continuous` and `Periodic`.

> **Note:** Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.

type AccountBackupPtrInput

type AccountBackupPtrInput interface {
	pulumi.Input

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

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

        AccountBackupArgs{...}

or:

        nil

type AccountBackupPtrOutput

type AccountBackupPtrOutput struct{ *pulumi.OutputState }

func (AccountBackupPtrOutput) Elem

func (AccountBackupPtrOutput) ElementType

func (AccountBackupPtrOutput) ElementType() reflect.Type

func (AccountBackupPtrOutput) IntervalInMinutes

func (o AccountBackupPtrOutput) IntervalInMinutes() pulumi.IntPtrOutput

The interval in minutes between two backups. Possible values are between 60 and 1440. Defaults to `240`.

func (AccountBackupPtrOutput) RetentionInHours

func (o AccountBackupPtrOutput) RetentionInHours() pulumi.IntPtrOutput

The time in hours that each backup is retained. Possible values are between 8 and 720. Defaults to `8`.

func (AccountBackupPtrOutput) StorageRedundancy

func (o AccountBackupPtrOutput) StorageRedundancy() pulumi.StringPtrOutput

The storage redundancy is used to indicate the type of backup residency. Possible values are `Geo`, `Local` and `Zone`. Defaults to `Geo`.

> **Note:** You can only configure `intervalInMinutes`, `retentionInHours` and `storageRedundancy` when the `type` field is set to `Periodic`.

func (AccountBackupPtrOutput) Tier added in v5.68.0

The continuous backup tier. Possible values are `Continuous7Days` and `Continuous30Days`.

func (AccountBackupPtrOutput) ToAccountBackupPtrOutput

func (o AccountBackupPtrOutput) ToAccountBackupPtrOutput() AccountBackupPtrOutput

func (AccountBackupPtrOutput) ToAccountBackupPtrOutputWithContext

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

func (AccountBackupPtrOutput) Type

The type of the `backup`. Possible values are `Continuous` and `Periodic`.

> **Note:** Migration of `Periodic` to `Continuous` is one-way, changing `Continuous` to `Periodic` forces a new resource to be created.

type AccountCapability

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

type AccountCapabilityArgs

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

func (AccountCapabilityArgs) ElementType

func (AccountCapabilityArgs) ElementType() reflect.Type

func (AccountCapabilityArgs) ToAccountCapabilityOutput

func (i AccountCapabilityArgs) ToAccountCapabilityOutput() AccountCapabilityOutput

func (AccountCapabilityArgs) ToAccountCapabilityOutputWithContext

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

type AccountCapabilityArray

type AccountCapabilityArray []AccountCapabilityInput

func (AccountCapabilityArray) ElementType

func (AccountCapabilityArray) ElementType() reflect.Type

func (AccountCapabilityArray) ToAccountCapabilityArrayOutput

func (i AccountCapabilityArray) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput

func (AccountCapabilityArray) ToAccountCapabilityArrayOutputWithContext

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

type AccountCapabilityArrayInput

type AccountCapabilityArrayInput interface {
	pulumi.Input

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

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

AccountCapabilityArray{ AccountCapabilityArgs{...} }

type AccountCapabilityArrayOutput

type AccountCapabilityArrayOutput struct{ *pulumi.OutputState }

func (AccountCapabilityArrayOutput) ElementType

func (AccountCapabilityArrayOutput) Index

func (AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput

func (o AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutput() AccountCapabilityArrayOutput

func (AccountCapabilityArrayOutput) ToAccountCapabilityArrayOutputWithContext

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

type AccountCapabilityInput

type AccountCapabilityInput interface {
	pulumi.Input

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

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

AccountCapabilityArgs{...}

type AccountCapabilityOutput

type AccountCapabilityOutput struct{ *pulumi.OutputState }

func (AccountCapabilityOutput) ElementType

func (AccountCapabilityOutput) ElementType() reflect.Type

func (AccountCapabilityOutput) Name

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

func (AccountCapabilityOutput) ToAccountCapabilityOutput

func (o AccountCapabilityOutput) ToAccountCapabilityOutput() AccountCapabilityOutput

func (AccountCapabilityOutput) ToAccountCapabilityOutputWithContext

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

type AccountCapacity

type AccountCapacity struct {
	// The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
	TotalThroughputLimit int `pulumi:"totalThroughputLimit"`
}

type AccountCapacityArgs

type AccountCapacityArgs struct {
	// The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
	TotalThroughputLimit pulumi.IntInput `pulumi:"totalThroughputLimit"`
}

func (AccountCapacityArgs) ElementType

func (AccountCapacityArgs) ElementType() reflect.Type

func (AccountCapacityArgs) ToAccountCapacityOutput

func (i AccountCapacityArgs) ToAccountCapacityOutput() AccountCapacityOutput

func (AccountCapacityArgs) ToAccountCapacityOutputWithContext

func (i AccountCapacityArgs) ToAccountCapacityOutputWithContext(ctx context.Context) AccountCapacityOutput

func (AccountCapacityArgs) ToAccountCapacityPtrOutput

func (i AccountCapacityArgs) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput

func (AccountCapacityArgs) ToAccountCapacityPtrOutputWithContext

func (i AccountCapacityArgs) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput

type AccountCapacityInput

type AccountCapacityInput interface {
	pulumi.Input

	ToAccountCapacityOutput() AccountCapacityOutput
	ToAccountCapacityOutputWithContext(context.Context) AccountCapacityOutput
}

AccountCapacityInput is an input type that accepts AccountCapacityArgs and AccountCapacityOutput values. You can construct a concrete instance of `AccountCapacityInput` via:

AccountCapacityArgs{...}

type AccountCapacityOutput

type AccountCapacityOutput struct{ *pulumi.OutputState }

func (AccountCapacityOutput) ElementType

func (AccountCapacityOutput) ElementType() reflect.Type

func (AccountCapacityOutput) ToAccountCapacityOutput

func (o AccountCapacityOutput) ToAccountCapacityOutput() AccountCapacityOutput

func (AccountCapacityOutput) ToAccountCapacityOutputWithContext

func (o AccountCapacityOutput) ToAccountCapacityOutputWithContext(ctx context.Context) AccountCapacityOutput

func (AccountCapacityOutput) ToAccountCapacityPtrOutput

func (o AccountCapacityOutput) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput

func (AccountCapacityOutput) ToAccountCapacityPtrOutputWithContext

func (o AccountCapacityOutput) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput

func (AccountCapacityOutput) TotalThroughputLimit

func (o AccountCapacityOutput) TotalThroughputLimit() pulumi.IntOutput

The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.

type AccountCapacityPtrInput

type AccountCapacityPtrInput interface {
	pulumi.Input

	ToAccountCapacityPtrOutput() AccountCapacityPtrOutput
	ToAccountCapacityPtrOutputWithContext(context.Context) AccountCapacityPtrOutput
}

AccountCapacityPtrInput is an input type that accepts AccountCapacityArgs, AccountCapacityPtr and AccountCapacityPtrOutput values. You can construct a concrete instance of `AccountCapacityPtrInput` via:

        AccountCapacityArgs{...}

or:

        nil

type AccountCapacityPtrOutput

type AccountCapacityPtrOutput struct{ *pulumi.OutputState }

func (AccountCapacityPtrOutput) Elem

func (AccountCapacityPtrOutput) ElementType

func (AccountCapacityPtrOutput) ElementType() reflect.Type

func (AccountCapacityPtrOutput) ToAccountCapacityPtrOutput

func (o AccountCapacityPtrOutput) ToAccountCapacityPtrOutput() AccountCapacityPtrOutput

func (AccountCapacityPtrOutput) ToAccountCapacityPtrOutputWithContext

func (o AccountCapacityPtrOutput) ToAccountCapacityPtrOutputWithContext(ctx context.Context) AccountCapacityPtrOutput

func (AccountCapacityPtrOutput) TotalThroughputLimit

func (o AccountCapacityPtrOutput) TotalThroughputLimit() pulumi.IntPtrOutput

The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.

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. The 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. The accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.
	//
	// > **Note:** `maxIntervalInSeconds` and `maxStalenessPrefix` can only be set to values other than default when the `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. The 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. The accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.
	//
	// > **Note:** `maxIntervalInSeconds` and `maxStalenessPrefix` can only be set to values other than default when the `consistencyLevel` is set to `BoundedStaleness`.
	MaxStalenessPrefix pulumi.IntPtrInput `pulumi:"maxStalenessPrefix"`
}

func (AccountConsistencyPolicyArgs) ElementType

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput

func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyOutputWithContext

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

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput

func (i AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput

func (AccountConsistencyPolicyArgs) ToAccountConsistencyPolicyPtrOutputWithContext

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

type AccountConsistencyPolicyInput

type AccountConsistencyPolicyInput interface {
	pulumi.Input

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

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

AccountConsistencyPolicyArgs{...}

type AccountConsistencyPolicyOutput

type AccountConsistencyPolicyOutput struct{ *pulumi.OutputState }

func (AccountConsistencyPolicyOutput) ConsistencyLevel

func (o AccountConsistencyPolicyOutput) ConsistencyLevel() pulumi.StringOutput

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

func (AccountConsistencyPolicyOutput) ElementType

func (AccountConsistencyPolicyOutput) MaxIntervalInSeconds

func (o AccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput

When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. The 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. The accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.

> **Note:** `maxIntervalInSeconds` and `maxStalenessPrefix` can only be set to values other than default when the `consistencyLevel` is set to `BoundedStaleness`.

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput

func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutput() AccountConsistencyPolicyOutput

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyOutputWithContext

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

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput

func (o AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput

func (AccountConsistencyPolicyOutput) ToAccountConsistencyPolicyPtrOutputWithContext

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

type AccountConsistencyPolicyPtrInput

type AccountConsistencyPolicyPtrInput interface {
	pulumi.Input

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

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

        AccountConsistencyPolicyArgs{...}

or:

        nil

type AccountConsistencyPolicyPtrOutput

type AccountConsistencyPolicyPtrOutput struct{ *pulumi.OutputState }

func (AccountConsistencyPolicyPtrOutput) ConsistencyLevel

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

func (AccountConsistencyPolicyPtrOutput) Elem

func (AccountConsistencyPolicyPtrOutput) ElementType

func (AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds

func (o AccountConsistencyPolicyPtrOutput) MaxIntervalInSeconds() pulumi.IntPtrOutput

When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. The 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. The accepted range for this value is `10` – `2147483647`. Defaults to `100`. Required when `consistencyLevel` is set to `BoundedStaleness`.

> **Note:** `maxIntervalInSeconds` and `maxStalenessPrefix` can only be set to values other than default when the `consistencyLevel` is set to `BoundedStaleness`.

func (AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput

func (o AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutput() AccountConsistencyPolicyPtrOutput

func (AccountConsistencyPolicyPtrOutput) ToAccountConsistencyPolicyPtrOutputWithContext

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

type AccountCorsRule

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

type AccountCorsRuleArgs

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

func (AccountCorsRuleArgs) ElementType

func (AccountCorsRuleArgs) ElementType() reflect.Type

func (AccountCorsRuleArgs) ToAccountCorsRuleOutput

func (i AccountCorsRuleArgs) ToAccountCorsRuleOutput() AccountCorsRuleOutput

func (AccountCorsRuleArgs) ToAccountCorsRuleOutputWithContext

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

func (AccountCorsRuleArgs) ToAccountCorsRulePtrOutput

func (i AccountCorsRuleArgs) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput

func (AccountCorsRuleArgs) ToAccountCorsRulePtrOutputWithContext

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

type AccountCorsRuleInput

type AccountCorsRuleInput interface {
	pulumi.Input

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

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

AccountCorsRuleArgs{...}

type AccountCorsRuleOutput

type AccountCorsRuleOutput struct{ *pulumi.OutputState }

func (AccountCorsRuleOutput) AllowedHeaders

func (o AccountCorsRuleOutput) AllowedHeaders() pulumi.StringArrayOutput

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

func (AccountCorsRuleOutput) AllowedMethods

func (o AccountCorsRuleOutput) AllowedMethods() pulumi.StringArrayOutput

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

func (AccountCorsRuleOutput) AllowedOrigins

func (o AccountCorsRuleOutput) AllowedOrigins() pulumi.StringArrayOutput

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

func (AccountCorsRuleOutput) ElementType

func (AccountCorsRuleOutput) ElementType() reflect.Type

func (AccountCorsRuleOutput) ExposedHeaders

func (o AccountCorsRuleOutput) ExposedHeaders() pulumi.StringArrayOutput

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

func (AccountCorsRuleOutput) MaxAgeInSeconds

func (o AccountCorsRuleOutput) MaxAgeInSeconds() pulumi.IntPtrOutput

The number of seconds the client should cache a preflight response. Possible values are between `1` and `2147483647`.

func (AccountCorsRuleOutput) ToAccountCorsRuleOutput

func (o AccountCorsRuleOutput) ToAccountCorsRuleOutput() AccountCorsRuleOutput

func (AccountCorsRuleOutput) ToAccountCorsRuleOutputWithContext

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

func (AccountCorsRuleOutput) ToAccountCorsRulePtrOutput

func (o AccountCorsRuleOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput

func (AccountCorsRuleOutput) ToAccountCorsRulePtrOutputWithContext

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

type AccountCorsRulePtrInput

type AccountCorsRulePtrInput interface {
	pulumi.Input

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

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

        AccountCorsRuleArgs{...}

or:

        nil

type AccountCorsRulePtrOutput

type AccountCorsRulePtrOutput struct{ *pulumi.OutputState }

func (AccountCorsRulePtrOutput) AllowedHeaders

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

func (AccountCorsRulePtrOutput) AllowedMethods

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

func (AccountCorsRulePtrOutput) AllowedOrigins

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

func (AccountCorsRulePtrOutput) Elem

func (AccountCorsRulePtrOutput) ElementType

func (AccountCorsRulePtrOutput) ElementType() reflect.Type

func (AccountCorsRulePtrOutput) ExposedHeaders

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

func (AccountCorsRulePtrOutput) MaxAgeInSeconds

func (o AccountCorsRulePtrOutput) MaxAgeInSeconds() pulumi.IntPtrOutput

The number of seconds the client should cache a preflight response. Possible values are between `1` and `2147483647`.

func (AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput

func (o AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutput() AccountCorsRulePtrOutput

func (AccountCorsRulePtrOutput) ToAccountCorsRulePtrOutputWithContext

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

type AccountGeoLocation

type AccountGeoLocation struct {
	// The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`.
	FailoverPriority int `pulumi:"failoverPriority"`
	// The CosmosDB Account ID.
	Id *string `pulumi:"id"`
	// The name of the Azure region to host replicated data.
	Location string `pulumi:"location"`
	// Should zone redundancy be enabled for this region? Defaults to `false`.
	ZoneRedundant *bool `pulumi:"zoneRedundant"`
}

type AccountGeoLocationArgs

type AccountGeoLocationArgs struct {
	// The failover priority of the region. A failover priority of `0` indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. Changing this causes the location to be re-provisioned and cannot be changed for the location with failover priority `0`.
	FailoverPriority pulumi.IntInput `pulumi:"failoverPriority"`
	// The CosmosDB Account ID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the Azure region to host replicated data.
	Location pulumi.StringInput `pulumi:"location"`
	// Should zone redundancy be enabled for this region? Defaults to `false`.
	ZoneRedundant pulumi.BoolPtrInput `pulumi:"zoneRedundant"`
}

func (AccountGeoLocationArgs) ElementType

func (AccountGeoLocationArgs) ElementType() reflect.Type

func (AccountGeoLocationArgs) ToAccountGeoLocationOutput

func (i AccountGeoLocationArgs) ToAccountGeoLocationOutput() AccountGeoLocationOutput

func (AccountGeoLocationArgs) ToAccountGeoLocationOutputWithContext

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

type AccountGeoLocationArray

type AccountGeoLocationArray []AccountGeoLocationInput

func (AccountGeoLocationArray) ElementType

func (AccountGeoLocationArray) ElementType() reflect.Type

func (AccountGeoLocationArray) ToAccountGeoLocationArrayOutput

func (i AccountGeoLocationArray) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput

func (AccountGeoLocationArray) ToAccountGeoLocationArrayOutputWithContext

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

type AccountGeoLocationArrayInput

type AccountGeoLocationArrayInput interface {
	pulumi.Input

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

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

AccountGeoLocationArray{ AccountGeoLocationArgs{...} }

type AccountGeoLocationArrayOutput

type AccountGeoLocationArrayOutput struct{ *pulumi.OutputState }

func (AccountGeoLocationArrayOutput) ElementType

func (AccountGeoLocationArrayOutput) Index

func (AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput

func (o AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutput() AccountGeoLocationArrayOutput

func (AccountGeoLocationArrayOutput) ToAccountGeoLocationArrayOutputWithContext

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

type AccountGeoLocationInput

type AccountGeoLocationInput interface {
	pulumi.Input

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

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

AccountGeoLocationArgs{...}

type AccountGeoLocationOutput

type AccountGeoLocationOutput struct{ *pulumi.OutputState }

func (AccountGeoLocationOutput) ElementType

func (AccountGeoLocationOutput) ElementType() reflect.Type

func (AccountGeoLocationOutput) FailoverPriority

func (o AccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput

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

func (AccountGeoLocationOutput) Id

The CosmosDB Account ID.

func (AccountGeoLocationOutput) Location

The name of the Azure region to host replicated data.

func (AccountGeoLocationOutput) ToAccountGeoLocationOutput

func (o AccountGeoLocationOutput) ToAccountGeoLocationOutput() AccountGeoLocationOutput

func (AccountGeoLocationOutput) ToAccountGeoLocationOutputWithContext

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

func (AccountGeoLocationOutput) ZoneRedundant

func (o AccountGeoLocationOutput) ZoneRedundant() pulumi.BoolPtrOutput

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

type AccountIdentity

type AccountIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// The Type of Managed Identity assigned to this Cosmos account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

type AccountIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Managed Identity assigned to this Cosmos account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

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

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

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

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

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

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

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) IdentityIds added in v5.21.0

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.

func (AccountIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

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

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

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

func (AccountIdentityOutput) Type

The Type of Managed Identity assigned to this Cosmos account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

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

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

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) IdentityIds added in v5.21.0

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Cosmos Account.

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

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

func (AccountIdentityPtrOutput) Type

The Type of Managed Identity assigned to this Cosmos account. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`.

type AccountInput

type AccountInput interface {
	pulumi.Input

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

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

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

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

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

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

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

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

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

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) AccessKeyMetadataWritesEnabled added in v5.5.0

func (o AccountOutput) AccessKeyMetadataWritesEnabled() pulumi.BoolPtrOutput

func (AccountOutput) AnalyticalStorage added in v5.5.0

func (o AccountOutput) AnalyticalStorage() AccountAnalyticalStorageOutput

An `analyticalStorage` block as defined below.

func (AccountOutput) AnalyticalStorageEnabled added in v5.5.0

func (o AccountOutput) AnalyticalStorageEnabled() pulumi.BoolPtrOutput

func (AccountOutput) AutomaticFailoverEnabled added in v5.72.0

func (o AccountOutput) AutomaticFailoverEnabled() pulumi.BoolOutput

func (AccountOutput) Backup added in v5.5.0

func (AccountOutput) Capabilities added in v5.5.0

func (AccountOutput) Capacity added in v5.5.0

func (o AccountOutput) Capacity() AccountCapacityOutput

A `capacity` block as defined below.

func (AccountOutput) ConnectionStrings deprecated added in v5.5.0

func (o AccountOutput) ConnectionStrings() pulumi.StringArrayOutput

Deprecated: This property has been superseded by the primary and secondary connection strings for sql, mongodb and readonly and will be removed in v4.0 of the AzureRM provider

func (AccountOutput) ConsistencyPolicy added in v5.5.0

func (o AccountOutput) ConsistencyPolicy() AccountConsistencyPolicyOutput

func (AccountOutput) CorsRule added in v5.5.0

func (AccountOutput) CreateMode added in v5.5.0

func (o AccountOutput) CreateMode() pulumi.StringOutput

The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created.

> **Note:** `createMode` can only be defined when the `backup.type` is set to `Continuous`.

func (AccountOutput) DefaultIdentityType added in v5.5.0

func (o AccountOutput) DefaultIdentityType() pulumi.StringPtrOutput

The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`.

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) EnableAutomaticFailover deprecated added in v5.5.0

func (o AccountOutput) EnableAutomaticFailover() pulumi.BoolOutput

Deprecated: This property has been superseded by `automaticFailoverEnabled` and will be removed in v4.0 of the AzureRM Provider

func (AccountOutput) EnableFreeTier deprecated added in v5.5.0

func (o AccountOutput) EnableFreeTier() pulumi.BoolOutput

Deprecated: This property has been superseded by `freeTierEnabled` and will be removed in v4.0 of the AzureRM Provider

func (AccountOutput) EnableMultipleWriteLocations deprecated added in v5.5.0

func (o AccountOutput) EnableMultipleWriteLocations() pulumi.BoolOutput

Deprecated: This property has been superseded by `multipleWriteLocationsEnabled` and will be removed in v4.0 of the AzureRM Provider

func (AccountOutput) Endpoint added in v5.5.0

func (o AccountOutput) Endpoint() pulumi.StringOutput

The endpoint used to connect to the CosmosDB account.

func (AccountOutput) FreeTierEnabled added in v5.72.0

func (o AccountOutput) FreeTierEnabled() pulumi.BoolOutput

func (AccountOutput) GeoLocations added in v5.5.0

func (AccountOutput) Identity added in v5.5.0

func (AccountOutput) IpRangeFilter added in v5.5.0

func (o AccountOutput) IpRangeFilter() pulumi.StringPtrOutput

func (AccountOutput) IsVirtualNetworkFilterEnabled added in v5.5.0

func (o AccountOutput) IsVirtualNetworkFilterEnabled() pulumi.BoolPtrOutput

func (AccountOutput) KeyVaultKeyId added in v5.5.0

func (o AccountOutput) KeyVaultKeyId() pulumi.StringPtrOutput

func (AccountOutput) Kind added in v5.5.0

func (AccountOutput) LocalAuthenticationDisabled added in v5.5.0

func (o AccountOutput) LocalAuthenticationDisabled() pulumi.BoolPtrOutput

func (AccountOutput) Location added in v5.5.0

func (o AccountOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AccountOutput) MinimalTlsVersion added in v5.68.0

func (o AccountOutput) MinimalTlsVersion() pulumi.StringOutput

Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.

func (AccountOutput) MongoServerVersion added in v5.5.0

func (o AccountOutput) MongoServerVersion() pulumi.StringOutput

func (AccountOutput) MultipleWriteLocationsEnabled added in v5.72.0

func (o AccountOutput) MultipleWriteLocationsEnabled() pulumi.BoolOutput

func (AccountOutput) Name added in v5.5.0

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

func (AccountOutput) NetworkAclBypassForAzureServices added in v5.5.0

func (o AccountOutput) NetworkAclBypassForAzureServices() pulumi.BoolPtrOutput

func (AccountOutput) NetworkAclBypassIds added in v5.5.0

func (o AccountOutput) NetworkAclBypassIds() pulumi.StringArrayOutput

func (AccountOutput) OfferType added in v5.5.0

func (o AccountOutput) OfferType() pulumi.StringOutput

Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`.

func (AccountOutput) PartitionMergeEnabled added in v5.65.0

func (o AccountOutput) PartitionMergeEnabled() pulumi.BoolPtrOutput

func (AccountOutput) PrimaryKey added in v5.5.0

func (o AccountOutput) PrimaryKey() pulumi.StringOutput

The Primary key for the CosmosDB Account.

func (AccountOutput) PrimaryMongodbConnectionString added in v5.52.0

func (o AccountOutput) PrimaryMongodbConnectionString() pulumi.StringOutput

Primary Mongodb connection string for the CosmosDB Account.

func (AccountOutput) PrimaryReadonlyKey added in v5.5.0

func (o AccountOutput) PrimaryReadonlyKey() pulumi.StringOutput

The Primary read-only Key for the CosmosDB Account.

func (AccountOutput) PrimaryReadonlyMongodbConnectionString added in v5.52.0

func (o AccountOutput) PrimaryReadonlyMongodbConnectionString() pulumi.StringOutput

Primary readonly Mongodb connection string for the CosmosDB Account.

func (AccountOutput) PrimaryReadonlySqlConnectionString added in v5.23.0

func (o AccountOutput) PrimaryReadonlySqlConnectionString() pulumi.StringOutput

Primary readonly SQL connection string for the CosmosDB Account.

func (AccountOutput) PrimarySqlConnectionString added in v5.23.0

func (o AccountOutput) PrimarySqlConnectionString() pulumi.StringOutput

Primary SQL connection string for the CosmosDB Account.

func (AccountOutput) PublicNetworkAccessEnabled added in v5.5.0

func (o AccountOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

func (AccountOutput) ReadEndpoints added in v5.5.0

func (o AccountOutput) ReadEndpoints() pulumi.StringArrayOutput

A list of read endpoints available for this CosmosDB account.

func (AccountOutput) ResourceGroupName added in v5.5.0

func (o AccountOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.

func (AccountOutput) Restore added in v5.5.0

func (AccountOutput) SecondaryKey added in v5.5.0

func (o AccountOutput) SecondaryKey() pulumi.StringOutput

The Secondary key for the CosmosDB Account.

func (AccountOutput) SecondaryMongodbConnectionString added in v5.52.0

func (o AccountOutput) SecondaryMongodbConnectionString() pulumi.StringOutput

Secondary Mongodb connection string for the CosmosDB Account.

func (AccountOutput) SecondaryReadonlyKey added in v5.5.0

func (o AccountOutput) SecondaryReadonlyKey() pulumi.StringOutput

The Secondary read-only key for the CosmosDB Account.

func (AccountOutput) SecondaryReadonlyMongodbConnectionString added in v5.52.0

func (o AccountOutput) SecondaryReadonlyMongodbConnectionString() pulumi.StringOutput

Secondary readonly Mongodb connection string for the CosmosDB Account.

func (AccountOutput) SecondaryReadonlySqlConnectionString added in v5.23.0

func (o AccountOutput) SecondaryReadonlySqlConnectionString() pulumi.StringOutput

Secondary readonly SQL connection string for the CosmosDB Account.

func (AccountOutput) SecondarySqlConnectionString added in v5.23.0

func (o AccountOutput) SecondarySqlConnectionString() pulumi.StringOutput

Secondary SQL connection string for the CosmosDB Account.

func (AccountOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

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

func (AccountOutput) VirtualNetworkRules added in v5.5.0

func (o AccountOutput) VirtualNetworkRules() AccountVirtualNetworkRuleArrayOutput

func (AccountOutput) WriteEndpoints added in v5.5.0

func (o AccountOutput) WriteEndpoints() pulumi.StringArrayOutput

A list of write endpoints available for this CosmosDB account.

type AccountRestore

type AccountRestore struct {
	// A `database` block as defined below. Changing this forces a new resource to be created.
	Databases []AccountRestoreDatabase `pulumi:"databases"`
	// One or more `gremlinDatabase` blocks as defined below. Changing this forces a new resource to be created.
	GremlinDatabases []AccountRestoreGremlinDatabase `pulumi:"gremlinDatabases"`
	// The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created.
	RestoreTimestampInUtc string `pulumi:"restoreTimestampInUtc"`
	// The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created.
	//
	// > **Note:** Any database account with `Continuous` type (live account or accounts deleted in last 30 days) is a restorable database account and there cannot be Create/Update/Delete operations on the restorable database accounts. They can only be read and retrieved by `cosmosdb.getRestorableDatabaseAccounts`.
	SourceCosmosdbAccountId string `pulumi:"sourceCosmosdbAccountId"`
	// A list of specific tables available for restore. Changing this forces a new resource to be created.
	TablesToRestores []string `pulumi:"tablesToRestores"`
}

type AccountRestoreArgs

type AccountRestoreArgs struct {
	// A `database` block as defined below. Changing this forces a new resource to be created.
	Databases AccountRestoreDatabaseArrayInput `pulumi:"databases"`
	// One or more `gremlinDatabase` blocks as defined below. Changing this forces a new resource to be created.
	GremlinDatabases AccountRestoreGremlinDatabaseArrayInput `pulumi:"gremlinDatabases"`
	// The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created.
	RestoreTimestampInUtc pulumi.StringInput `pulumi:"restoreTimestampInUtc"`
	// The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created.
	//
	// > **Note:** Any database account with `Continuous` type (live account or accounts deleted in last 30 days) is a restorable database account and there cannot be Create/Update/Delete operations on the restorable database accounts. They can only be read and retrieved by `cosmosdb.getRestorableDatabaseAccounts`.
	SourceCosmosdbAccountId pulumi.StringInput `pulumi:"sourceCosmosdbAccountId"`
	// A list of specific tables available for restore. Changing this forces a new resource to be created.
	TablesToRestores pulumi.StringArrayInput `pulumi:"tablesToRestores"`
}

func (AccountRestoreArgs) ElementType

func (AccountRestoreArgs) ElementType() reflect.Type

func (AccountRestoreArgs) ToAccountRestoreOutput

func (i AccountRestoreArgs) ToAccountRestoreOutput() AccountRestoreOutput

func (AccountRestoreArgs) ToAccountRestoreOutputWithContext

func (i AccountRestoreArgs) ToAccountRestoreOutputWithContext(ctx context.Context) AccountRestoreOutput

func (AccountRestoreArgs) ToAccountRestorePtrOutput

func (i AccountRestoreArgs) ToAccountRestorePtrOutput() AccountRestorePtrOutput

func (AccountRestoreArgs) ToAccountRestorePtrOutputWithContext

func (i AccountRestoreArgs) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput

type AccountRestoreDatabase

type AccountRestoreDatabase struct {
	// A list of the collection names for the restore request. Changing this forces a new resource to be created.
	CollectionNames []string `pulumi:"collectionNames"`
	// The database name for the restore request. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
}

type AccountRestoreDatabaseArgs

type AccountRestoreDatabaseArgs struct {
	// A list of the collection names for the restore request. Changing this forces a new resource to be created.
	CollectionNames pulumi.StringArrayInput `pulumi:"collectionNames"`
	// The database name for the restore request. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
}

func (AccountRestoreDatabaseArgs) ElementType

func (AccountRestoreDatabaseArgs) ElementType() reflect.Type

func (AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutput

func (i AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput

func (AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutputWithContext

func (i AccountRestoreDatabaseArgs) ToAccountRestoreDatabaseOutputWithContext(ctx context.Context) AccountRestoreDatabaseOutput

type AccountRestoreDatabaseArray

type AccountRestoreDatabaseArray []AccountRestoreDatabaseInput

func (AccountRestoreDatabaseArray) ElementType

func (AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutput

func (i AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput

func (AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutputWithContext

func (i AccountRestoreDatabaseArray) ToAccountRestoreDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreDatabaseArrayOutput

type AccountRestoreDatabaseArrayInput

type AccountRestoreDatabaseArrayInput interface {
	pulumi.Input

	ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput
	ToAccountRestoreDatabaseArrayOutputWithContext(context.Context) AccountRestoreDatabaseArrayOutput
}

AccountRestoreDatabaseArrayInput is an input type that accepts AccountRestoreDatabaseArray and AccountRestoreDatabaseArrayOutput values. You can construct a concrete instance of `AccountRestoreDatabaseArrayInput` via:

AccountRestoreDatabaseArray{ AccountRestoreDatabaseArgs{...} }

type AccountRestoreDatabaseArrayOutput

type AccountRestoreDatabaseArrayOutput struct{ *pulumi.OutputState }

func (AccountRestoreDatabaseArrayOutput) ElementType

func (AccountRestoreDatabaseArrayOutput) Index

func (AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutput

func (o AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutput() AccountRestoreDatabaseArrayOutput

func (AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutputWithContext

func (o AccountRestoreDatabaseArrayOutput) ToAccountRestoreDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreDatabaseArrayOutput

type AccountRestoreDatabaseInput

type AccountRestoreDatabaseInput interface {
	pulumi.Input

	ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput
	ToAccountRestoreDatabaseOutputWithContext(context.Context) AccountRestoreDatabaseOutput
}

AccountRestoreDatabaseInput is an input type that accepts AccountRestoreDatabaseArgs and AccountRestoreDatabaseOutput values. You can construct a concrete instance of `AccountRestoreDatabaseInput` via:

AccountRestoreDatabaseArgs{...}

type AccountRestoreDatabaseOutput

type AccountRestoreDatabaseOutput struct{ *pulumi.OutputState }

func (AccountRestoreDatabaseOutput) CollectionNames

A list of the collection names for the restore request. Changing this forces a new resource to be created.

func (AccountRestoreDatabaseOutput) ElementType

func (AccountRestoreDatabaseOutput) Name

The database name for the restore request. Changing this forces a new resource to be created.

func (AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutput

func (o AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutput() AccountRestoreDatabaseOutput

func (AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutputWithContext

func (o AccountRestoreDatabaseOutput) ToAccountRestoreDatabaseOutputWithContext(ctx context.Context) AccountRestoreDatabaseOutput

type AccountRestoreGremlinDatabase added in v5.65.0

type AccountRestoreGremlinDatabase struct {
	// A list of the Graph names for the restore request. Changing this forces a new resource to be created.
	GraphNames []string `pulumi:"graphNames"`
	// The Gremlin Database name for the restore request. Changing this forces a new resource to be created.
	Name string `pulumi:"name"`
}

type AccountRestoreGremlinDatabaseArgs added in v5.65.0

type AccountRestoreGremlinDatabaseArgs struct {
	// A list of the Graph names for the restore request. Changing this forces a new resource to be created.
	GraphNames pulumi.StringArrayInput `pulumi:"graphNames"`
	// The Gremlin Database name for the restore request. Changing this forces a new resource to be created.
	Name pulumi.StringInput `pulumi:"name"`
}

func (AccountRestoreGremlinDatabaseArgs) ElementType added in v5.65.0

func (AccountRestoreGremlinDatabaseArgs) ToAccountRestoreGremlinDatabaseOutput added in v5.65.0

func (i AccountRestoreGremlinDatabaseArgs) ToAccountRestoreGremlinDatabaseOutput() AccountRestoreGremlinDatabaseOutput

func (AccountRestoreGremlinDatabaseArgs) ToAccountRestoreGremlinDatabaseOutputWithContext added in v5.65.0

func (i AccountRestoreGremlinDatabaseArgs) ToAccountRestoreGremlinDatabaseOutputWithContext(ctx context.Context) AccountRestoreGremlinDatabaseOutput

type AccountRestoreGremlinDatabaseArray added in v5.65.0

type AccountRestoreGremlinDatabaseArray []AccountRestoreGremlinDatabaseInput

func (AccountRestoreGremlinDatabaseArray) ElementType added in v5.65.0

func (AccountRestoreGremlinDatabaseArray) ToAccountRestoreGremlinDatabaseArrayOutput added in v5.65.0

func (i AccountRestoreGremlinDatabaseArray) ToAccountRestoreGremlinDatabaseArrayOutput() AccountRestoreGremlinDatabaseArrayOutput

func (AccountRestoreGremlinDatabaseArray) ToAccountRestoreGremlinDatabaseArrayOutputWithContext added in v5.65.0

func (i AccountRestoreGremlinDatabaseArray) ToAccountRestoreGremlinDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreGremlinDatabaseArrayOutput

type AccountRestoreGremlinDatabaseArrayInput added in v5.65.0

type AccountRestoreGremlinDatabaseArrayInput interface {
	pulumi.Input

	ToAccountRestoreGremlinDatabaseArrayOutput() AccountRestoreGremlinDatabaseArrayOutput
	ToAccountRestoreGremlinDatabaseArrayOutputWithContext(context.Context) AccountRestoreGremlinDatabaseArrayOutput
}

AccountRestoreGremlinDatabaseArrayInput is an input type that accepts AccountRestoreGremlinDatabaseArray and AccountRestoreGremlinDatabaseArrayOutput values. You can construct a concrete instance of `AccountRestoreGremlinDatabaseArrayInput` via:

AccountRestoreGremlinDatabaseArray{ AccountRestoreGremlinDatabaseArgs{...} }

type AccountRestoreGremlinDatabaseArrayOutput added in v5.65.0

type AccountRestoreGremlinDatabaseArrayOutput struct{ *pulumi.OutputState }

func (AccountRestoreGremlinDatabaseArrayOutput) ElementType added in v5.65.0

func (AccountRestoreGremlinDatabaseArrayOutput) Index added in v5.65.0

func (AccountRestoreGremlinDatabaseArrayOutput) ToAccountRestoreGremlinDatabaseArrayOutput added in v5.65.0

func (o AccountRestoreGremlinDatabaseArrayOutput) ToAccountRestoreGremlinDatabaseArrayOutput() AccountRestoreGremlinDatabaseArrayOutput

func (AccountRestoreGremlinDatabaseArrayOutput) ToAccountRestoreGremlinDatabaseArrayOutputWithContext added in v5.65.0

func (o AccountRestoreGremlinDatabaseArrayOutput) ToAccountRestoreGremlinDatabaseArrayOutputWithContext(ctx context.Context) AccountRestoreGremlinDatabaseArrayOutput

type AccountRestoreGremlinDatabaseInput added in v5.65.0

type AccountRestoreGremlinDatabaseInput interface {
	pulumi.Input

	ToAccountRestoreGremlinDatabaseOutput() AccountRestoreGremlinDatabaseOutput
	ToAccountRestoreGremlinDatabaseOutputWithContext(context.Context) AccountRestoreGremlinDatabaseOutput
}

AccountRestoreGremlinDatabaseInput is an input type that accepts AccountRestoreGremlinDatabaseArgs and AccountRestoreGremlinDatabaseOutput values. You can construct a concrete instance of `AccountRestoreGremlinDatabaseInput` via:

AccountRestoreGremlinDatabaseArgs{...}

type AccountRestoreGremlinDatabaseOutput added in v5.65.0

type AccountRestoreGremlinDatabaseOutput struct{ *pulumi.OutputState }

func (AccountRestoreGremlinDatabaseOutput) ElementType added in v5.65.0

func (AccountRestoreGremlinDatabaseOutput) GraphNames added in v5.65.0

A list of the Graph names for the restore request. Changing this forces a new resource to be created.

func (AccountRestoreGremlinDatabaseOutput) Name added in v5.65.0

The Gremlin Database name for the restore request. Changing this forces a new resource to be created.

func (AccountRestoreGremlinDatabaseOutput) ToAccountRestoreGremlinDatabaseOutput added in v5.65.0

func (o AccountRestoreGremlinDatabaseOutput) ToAccountRestoreGremlinDatabaseOutput() AccountRestoreGremlinDatabaseOutput

func (AccountRestoreGremlinDatabaseOutput) ToAccountRestoreGremlinDatabaseOutputWithContext added in v5.65.0

func (o AccountRestoreGremlinDatabaseOutput) ToAccountRestoreGremlinDatabaseOutputWithContext(ctx context.Context) AccountRestoreGremlinDatabaseOutput

type AccountRestoreInput

type AccountRestoreInput interface {
	pulumi.Input

	ToAccountRestoreOutput() AccountRestoreOutput
	ToAccountRestoreOutputWithContext(context.Context) AccountRestoreOutput
}

AccountRestoreInput is an input type that accepts AccountRestoreArgs and AccountRestoreOutput values. You can construct a concrete instance of `AccountRestoreInput` via:

AccountRestoreArgs{...}

type AccountRestoreOutput

type AccountRestoreOutput struct{ *pulumi.OutputState }

func (AccountRestoreOutput) Databases

A `database` block as defined below. Changing this forces a new resource to be created.

func (AccountRestoreOutput) ElementType

func (AccountRestoreOutput) ElementType() reflect.Type

func (AccountRestoreOutput) GremlinDatabases added in v5.65.0

One or more `gremlinDatabase` blocks as defined below. Changing this forces a new resource to be created.

func (AccountRestoreOutput) RestoreTimestampInUtc

func (o AccountRestoreOutput) RestoreTimestampInUtc() pulumi.StringOutput

The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created.

func (AccountRestoreOutput) SourceCosmosdbAccountId

func (o AccountRestoreOutput) SourceCosmosdbAccountId() pulumi.StringOutput

The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created.

> **Note:** Any database account with `Continuous` type (live account or accounts deleted in last 30 days) is a restorable database account and there cannot be Create/Update/Delete operations on the restorable database accounts. They can only be read and retrieved by `cosmosdb.getRestorableDatabaseAccounts`.

func (AccountRestoreOutput) TablesToRestores added in v5.65.0

func (o AccountRestoreOutput) TablesToRestores() pulumi.StringArrayOutput

A list of specific tables available for restore. Changing this forces a new resource to be created.

func (AccountRestoreOutput) ToAccountRestoreOutput

func (o AccountRestoreOutput) ToAccountRestoreOutput() AccountRestoreOutput

func (AccountRestoreOutput) ToAccountRestoreOutputWithContext

func (o AccountRestoreOutput) ToAccountRestoreOutputWithContext(ctx context.Context) AccountRestoreOutput

func (AccountRestoreOutput) ToAccountRestorePtrOutput

func (o AccountRestoreOutput) ToAccountRestorePtrOutput() AccountRestorePtrOutput

func (AccountRestoreOutput) ToAccountRestorePtrOutputWithContext

func (o AccountRestoreOutput) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput

type AccountRestorePtrInput

type AccountRestorePtrInput interface {
	pulumi.Input

	ToAccountRestorePtrOutput() AccountRestorePtrOutput
	ToAccountRestorePtrOutputWithContext(context.Context) AccountRestorePtrOutput
}

AccountRestorePtrInput is an input type that accepts AccountRestoreArgs, AccountRestorePtr and AccountRestorePtrOutput values. You can construct a concrete instance of `AccountRestorePtrInput` via:

        AccountRestoreArgs{...}

or:

        nil

type AccountRestorePtrOutput

type AccountRestorePtrOutput struct{ *pulumi.OutputState }

func (AccountRestorePtrOutput) Databases

A `database` block as defined below. Changing this forces a new resource to be created.

func (AccountRestorePtrOutput) Elem

func (AccountRestorePtrOutput) ElementType

func (AccountRestorePtrOutput) ElementType() reflect.Type

func (AccountRestorePtrOutput) GremlinDatabases added in v5.65.0

One or more `gremlinDatabase` blocks as defined below. Changing this forces a new resource to be created.

func (AccountRestorePtrOutput) RestoreTimestampInUtc

func (o AccountRestorePtrOutput) RestoreTimestampInUtc() pulumi.StringPtrOutput

The creation time of the database or the collection (Datetime Format `RFC 3339`). Changing this forces a new resource to be created.

func (AccountRestorePtrOutput) SourceCosmosdbAccountId

func (o AccountRestorePtrOutput) SourceCosmosdbAccountId() pulumi.StringPtrOutput

The resource ID of the restorable database account from which the restore has to be initiated. The example is `/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}`. Changing this forces a new resource to be created.

> **Note:** Any database account with `Continuous` type (live account or accounts deleted in last 30 days) is a restorable database account and there cannot be Create/Update/Delete operations on the restorable database accounts. They can only be read and retrieved by `cosmosdb.getRestorableDatabaseAccounts`.

func (AccountRestorePtrOutput) TablesToRestores added in v5.65.0

func (o AccountRestorePtrOutput) TablesToRestores() pulumi.StringArrayOutput

A list of specific tables available for restore. Changing this forces a new resource to be created.

func (AccountRestorePtrOutput) ToAccountRestorePtrOutput

func (o AccountRestorePtrOutput) ToAccountRestorePtrOutput() AccountRestorePtrOutput

func (AccountRestorePtrOutput) ToAccountRestorePtrOutputWithContext

func (o AccountRestorePtrOutput) ToAccountRestorePtrOutputWithContext(ctx context.Context) AccountRestorePtrOutput

type AccountState

type AccountState struct {
	AccessKeyMetadataWritesEnabled pulumi.BoolPtrInput
	// An `analyticalStorage` block as defined below.
	AnalyticalStorage        AccountAnalyticalStoragePtrInput
	AnalyticalStorageEnabled pulumi.BoolPtrInput
	AutomaticFailoverEnabled pulumi.BoolPtrInput
	Backup                   AccountBackupPtrInput
	Capabilities             AccountCapabilityArrayInput
	// A `capacity` block as defined below.
	Capacity AccountCapacityPtrInput
	// Deprecated: This property has been superseded by the primary and secondary connection strings for sql, mongodb and readonly and will be removed in v4.0 of the AzureRM provider
	ConnectionStrings pulumi.StringArrayInput
	ConsistencyPolicy AccountConsistencyPolicyPtrInput
	CorsRule          AccountCorsRulePtrInput
	// The creation mode for the CosmosDB Account. Possible values are `Default` and `Restore`. Changing this forces a new resource to be created.
	//
	// > **Note:** `createMode` can only be defined when the `backup.type` is set to `Continuous`.
	CreateMode pulumi.StringPtrInput
	// The default identity for accessing Key Vault. Possible values are `FirstPartyIdentity`, `SystemAssignedIdentity` or `UserAssignedIdentity`. Defaults to `FirstPartyIdentity`.
	DefaultIdentityType pulumi.StringPtrInput
	// Deprecated: This property has been superseded by `automaticFailoverEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableAutomaticFailover pulumi.BoolPtrInput
	// Deprecated: This property has been superseded by `freeTierEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableFreeTier pulumi.BoolPtrInput
	// Deprecated: This property has been superseded by `multipleWriteLocationsEnabled` and will be removed in v4.0 of the AzureRM Provider
	EnableMultipleWriteLocations pulumi.BoolPtrInput
	// The endpoint used to connect to the CosmosDB account.
	Endpoint                      pulumi.StringPtrInput
	FreeTierEnabled               pulumi.BoolPtrInput
	GeoLocations                  AccountGeoLocationArrayInput
	Identity                      AccountIdentityPtrInput
	IpRangeFilter                 pulumi.StringPtrInput
	IsVirtualNetworkFilterEnabled pulumi.BoolPtrInput
	KeyVaultKeyId                 pulumi.StringPtrInput
	Kind                          pulumi.StringPtrInput
	LocalAuthenticationDisabled   pulumi.BoolPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the minimal TLS version for the CosmosDB account. Possible values are: `Tls`, `Tls11`, and `Tls12`. Defaults to `Tls12`.
	MinimalTlsVersion             pulumi.StringPtrInput
	MongoServerVersion            pulumi.StringPtrInput
	MultipleWriteLocationsEnabled pulumi.BoolPtrInput
	// Specifies the name of the CosmosDB Account. Changing this forces a new resource to be created.
	Name                             pulumi.StringPtrInput
	NetworkAclBypassForAzureServices pulumi.BoolPtrInput
	NetworkAclBypassIds              pulumi.StringArrayInput
	// Specifies the Offer Type to use for this CosmosDB Account; currently, this can only be set to `Standard`.
	OfferType             pulumi.StringPtrInput
	PartitionMergeEnabled pulumi.BoolPtrInput
	// The Primary key for the CosmosDB Account.
	PrimaryKey pulumi.StringPtrInput
	// Primary Mongodb connection string for the CosmosDB Account.
	PrimaryMongodbConnectionString pulumi.StringPtrInput
	// The Primary read-only Key for the CosmosDB Account.
	PrimaryReadonlyKey pulumi.StringPtrInput
	// Primary readonly Mongodb connection string for the CosmosDB Account.
	PrimaryReadonlyMongodbConnectionString pulumi.StringPtrInput
	// Primary readonly SQL connection string for the CosmosDB Account.
	PrimaryReadonlySqlConnectionString pulumi.StringPtrInput
	// Primary SQL connection string for the CosmosDB Account.
	PrimarySqlConnectionString pulumi.StringPtrInput
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints pulumi.StringArrayInput
	// The name of the resource group in which the CosmosDB Account is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	Restore           AccountRestorePtrInput
	// The Secondary key for the CosmosDB Account.
	SecondaryKey pulumi.StringPtrInput
	// Secondary Mongodb connection string for the CosmosDB Account.
	SecondaryMongodbConnectionString pulumi.StringPtrInput
	// The Secondary read-only key for the CosmosDB Account.
	SecondaryReadonlyKey pulumi.StringPtrInput
	// Secondary readonly Mongodb connection string for the CosmosDB Account.
	SecondaryReadonlyMongodbConnectionString pulumi.StringPtrInput
	// Secondary readonly SQL connection string for the CosmosDB Account.
	SecondaryReadonlySqlConnectionString pulumi.StringPtrInput
	// Secondary SQL connection string for the CosmosDB Account.
	SecondarySqlConnectionString pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags                pulumi.StringMapInput
	VirtualNetworkRules AccountVirtualNetworkRuleArrayInput
	// A list of write endpoints available for this CosmosDB account.
	WriteEndpoints pulumi.StringArrayInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type AccountVirtualNetworkRule

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

type AccountVirtualNetworkRuleArgs

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

func (AccountVirtualNetworkRuleArgs) ElementType

func (AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput

func (i AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput

func (AccountVirtualNetworkRuleArgs) ToAccountVirtualNetworkRuleOutputWithContext

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

type AccountVirtualNetworkRuleArray

type AccountVirtualNetworkRuleArray []AccountVirtualNetworkRuleInput

func (AccountVirtualNetworkRuleArray) ElementType

func (AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput

func (i AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput

func (AccountVirtualNetworkRuleArray) ToAccountVirtualNetworkRuleArrayOutputWithContext

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

type AccountVirtualNetworkRuleArrayInput

type AccountVirtualNetworkRuleArrayInput interface {
	pulumi.Input

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

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

AccountVirtualNetworkRuleArray{ AccountVirtualNetworkRuleArgs{...} }

type AccountVirtualNetworkRuleArrayOutput

type AccountVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (AccountVirtualNetworkRuleArrayOutput) ElementType

func (AccountVirtualNetworkRuleArrayOutput) Index

func (AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput

func (o AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutput() AccountVirtualNetworkRuleArrayOutput

func (AccountVirtualNetworkRuleArrayOutput) ToAccountVirtualNetworkRuleArrayOutputWithContext

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

type AccountVirtualNetworkRuleInput

type AccountVirtualNetworkRuleInput interface {
	pulumi.Input

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

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

AccountVirtualNetworkRuleArgs{...}

type AccountVirtualNetworkRuleOutput

type AccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (AccountVirtualNetworkRuleOutput) ElementType

func (AccountVirtualNetworkRuleOutput) Id

The ID of the virtual network subnet.

func (AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint

func (o AccountVirtualNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput

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

func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput

func (o AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutput() AccountVirtualNetworkRuleOutput

func (AccountVirtualNetworkRuleOutput) ToAccountVirtualNetworkRuleOutputWithContext

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

type CassandraCluster

type CassandraCluster struct {
	pulumi.CustomResourceState

	// The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`.
	AuthenticationMethod pulumi.StringPtrOutput `pulumi:"authenticationMethod"`
	// A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster.
	ClientCertificatePems pulumi.StringArrayOutput `pulumi:"clientCertificatePems"`
	// The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created.
	DefaultAdminPassword pulumi.StringOutput `pulumi:"defaultAdminPassword"`
	// The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	DelegatedManagementSubnetId pulumi.StringOutput `pulumi:"delegatedManagementSubnetId"`
	// A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center.
	ExternalGossipCertificatePems pulumi.StringArrayOutput `pulumi:"externalGossipCertificatePems"`
	// A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes.
	ExternalSeedNodeIpAddresses pulumi.StringArrayOutput `pulumi:"externalSeedNodeIpAddresses"`
	// The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`.
	//
	// > **Note:** To disable this feature, set this property to `0`.
	HoursBetweenBackups pulumi.IntPtrOutput `pulumi:"hoursBetweenBackups"`
	// An `identity` block as defined below.
	Identity CassandraClusterIdentityPtrOutput `pulumi:"identity"`
	// The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`.
	RepairEnabled pulumi.BoolPtrOutput `pulumi:"repairEnabled"`
	// The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The version of Cassandra what the Cluster converges to run. Possible values are `3.11` and `4.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created.
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

Manages a Cassandra Cluster.

> **NOTE:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant:

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("accexample-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.1.0/24"),
			},
		})
		if err != nil {
			return err
		}
		example, err := azuread.LookupServicePrincipal(ctx, &azuread.LookupServicePrincipalArgs{
			DisplayName: pulumi.StringRef("Azure Cosmos DB"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example", &authorization.AssignmentArgs{
			Scope:              exampleVirtualNetwork.ID(),
			RoleDefinitionName: pulumi.String("Network Contributor"),
			PrincipalId:        pulumi.String(example.ObjectId),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewCassandraCluster(ctx, "example", &cosmosdb.CassandraClusterArgs{
			Name:                        pulumi.String("example-cluster"),
			ResourceGroupName:           exampleResourceGroup.Name,
			Location:                    exampleResourceGroup.Location,
			DelegatedManagementSubnetId: exampleSubnet.ID(),
			DefaultAdminPassword:        pulumi.String("Password1234"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetCassandraCluster

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

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

func NewCassandraCluster

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

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

func (*CassandraCluster) ElementType

func (*CassandraCluster) ElementType() reflect.Type

func (*CassandraCluster) ToCassandraClusterOutput

func (i *CassandraCluster) ToCassandraClusterOutput() CassandraClusterOutput

func (*CassandraCluster) ToCassandraClusterOutputWithContext

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

type CassandraClusterArgs

type CassandraClusterArgs struct {
	// The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`.
	AuthenticationMethod pulumi.StringPtrInput
	// A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster.
	ClientCertificatePems pulumi.StringArrayInput
	// The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created.
	DefaultAdminPassword pulumi.StringInput
	// The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	DelegatedManagementSubnetId pulumi.StringInput
	// A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center.
	ExternalGossipCertificatePems pulumi.StringArrayInput
	// A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes.
	ExternalSeedNodeIpAddresses pulumi.StringArrayInput
	// The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`.
	//
	// > **Note:** To disable this feature, set this property to `0`.
	HoursBetweenBackups pulumi.IntPtrInput
	// An `identity` block as defined below.
	Identity CassandraClusterIdentityPtrInput
	// The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	Name pulumi.StringPtrInput
	// Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`.
	RepairEnabled pulumi.BoolPtrInput
	// The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapInput
	// The version of Cassandra what the Cluster converges to run. Possible values are `3.11` and `4.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a CassandraCluster resource.

func (CassandraClusterArgs) ElementType

func (CassandraClusterArgs) ElementType() reflect.Type

type CassandraClusterArray

type CassandraClusterArray []CassandraClusterInput

func (CassandraClusterArray) ElementType

func (CassandraClusterArray) ElementType() reflect.Type

func (CassandraClusterArray) ToCassandraClusterArrayOutput

func (i CassandraClusterArray) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput

func (CassandraClusterArray) ToCassandraClusterArrayOutputWithContext

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

type CassandraClusterArrayInput

type CassandraClusterArrayInput interface {
	pulumi.Input

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

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

CassandraClusterArray{ CassandraClusterArgs{...} }

type CassandraClusterArrayOutput

type CassandraClusterArrayOutput struct{ *pulumi.OutputState }

func (CassandraClusterArrayOutput) ElementType

func (CassandraClusterArrayOutput) Index

func (CassandraClusterArrayOutput) ToCassandraClusterArrayOutput

func (o CassandraClusterArrayOutput) ToCassandraClusterArrayOutput() CassandraClusterArrayOutput

func (CassandraClusterArrayOutput) ToCassandraClusterArrayOutputWithContext

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

type CassandraClusterIdentity added in v5.10.0

type CassandraClusterIdentity struct {
	PrincipalId *string `pulumi:"principalId"`
	TenantId    *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Cassandra Cluster. The only possible value is `SystemAssigned`.
	Type string `pulumi:"type"`
}

type CassandraClusterIdentityArgs added in v5.10.0

type CassandraClusterIdentityArgs struct {
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Cassandra Cluster. The only possible value is `SystemAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (CassandraClusterIdentityArgs) ElementType added in v5.10.0

func (CassandraClusterIdentityArgs) ToCassandraClusterIdentityOutput added in v5.10.0

func (i CassandraClusterIdentityArgs) ToCassandraClusterIdentityOutput() CassandraClusterIdentityOutput

func (CassandraClusterIdentityArgs) ToCassandraClusterIdentityOutputWithContext added in v5.10.0

func (i CassandraClusterIdentityArgs) ToCassandraClusterIdentityOutputWithContext(ctx context.Context) CassandraClusterIdentityOutput

func (CassandraClusterIdentityArgs) ToCassandraClusterIdentityPtrOutput added in v5.10.0

func (i CassandraClusterIdentityArgs) ToCassandraClusterIdentityPtrOutput() CassandraClusterIdentityPtrOutput

func (CassandraClusterIdentityArgs) ToCassandraClusterIdentityPtrOutputWithContext added in v5.10.0

func (i CassandraClusterIdentityArgs) ToCassandraClusterIdentityPtrOutputWithContext(ctx context.Context) CassandraClusterIdentityPtrOutput

type CassandraClusterIdentityInput added in v5.10.0

type CassandraClusterIdentityInput interface {
	pulumi.Input

	ToCassandraClusterIdentityOutput() CassandraClusterIdentityOutput
	ToCassandraClusterIdentityOutputWithContext(context.Context) CassandraClusterIdentityOutput
}

CassandraClusterIdentityInput is an input type that accepts CassandraClusterIdentityArgs and CassandraClusterIdentityOutput values. You can construct a concrete instance of `CassandraClusterIdentityInput` via:

CassandraClusterIdentityArgs{...}

type CassandraClusterIdentityOutput added in v5.10.0

type CassandraClusterIdentityOutput struct{ *pulumi.OutputState }

func (CassandraClusterIdentityOutput) ElementType added in v5.10.0

func (CassandraClusterIdentityOutput) PrincipalId added in v5.10.0

func (CassandraClusterIdentityOutput) TenantId added in v5.10.0

func (CassandraClusterIdentityOutput) ToCassandraClusterIdentityOutput added in v5.10.0

func (o CassandraClusterIdentityOutput) ToCassandraClusterIdentityOutput() CassandraClusterIdentityOutput

func (CassandraClusterIdentityOutput) ToCassandraClusterIdentityOutputWithContext added in v5.10.0

func (o CassandraClusterIdentityOutput) ToCassandraClusterIdentityOutputWithContext(ctx context.Context) CassandraClusterIdentityOutput

func (CassandraClusterIdentityOutput) ToCassandraClusterIdentityPtrOutput added in v5.10.0

func (o CassandraClusterIdentityOutput) ToCassandraClusterIdentityPtrOutput() CassandraClusterIdentityPtrOutput

func (CassandraClusterIdentityOutput) ToCassandraClusterIdentityPtrOutputWithContext added in v5.10.0

func (o CassandraClusterIdentityOutput) ToCassandraClusterIdentityPtrOutputWithContext(ctx context.Context) CassandraClusterIdentityPtrOutput

func (CassandraClusterIdentityOutput) Type added in v5.10.0

Specifies the type of Managed Service Identity that should be configured on this Cassandra Cluster. The only possible value is `SystemAssigned`.

type CassandraClusterIdentityPtrInput added in v5.10.0

type CassandraClusterIdentityPtrInput interface {
	pulumi.Input

	ToCassandraClusterIdentityPtrOutput() CassandraClusterIdentityPtrOutput
	ToCassandraClusterIdentityPtrOutputWithContext(context.Context) CassandraClusterIdentityPtrOutput
}

CassandraClusterIdentityPtrInput is an input type that accepts CassandraClusterIdentityArgs, CassandraClusterIdentityPtr and CassandraClusterIdentityPtrOutput values. You can construct a concrete instance of `CassandraClusterIdentityPtrInput` via:

        CassandraClusterIdentityArgs{...}

or:

        nil

func CassandraClusterIdentityPtr added in v5.10.0

func CassandraClusterIdentityPtr(v *CassandraClusterIdentityArgs) CassandraClusterIdentityPtrInput

type CassandraClusterIdentityPtrOutput added in v5.10.0

type CassandraClusterIdentityPtrOutput struct{ *pulumi.OutputState }

func (CassandraClusterIdentityPtrOutput) Elem added in v5.10.0

func (CassandraClusterIdentityPtrOutput) ElementType added in v5.10.0

func (CassandraClusterIdentityPtrOutput) PrincipalId added in v5.10.0

func (CassandraClusterIdentityPtrOutput) TenantId added in v5.10.0

func (CassandraClusterIdentityPtrOutput) ToCassandraClusterIdentityPtrOutput added in v5.10.0

func (o CassandraClusterIdentityPtrOutput) ToCassandraClusterIdentityPtrOutput() CassandraClusterIdentityPtrOutput

func (CassandraClusterIdentityPtrOutput) ToCassandraClusterIdentityPtrOutputWithContext added in v5.10.0

func (o CassandraClusterIdentityPtrOutput) ToCassandraClusterIdentityPtrOutputWithContext(ctx context.Context) CassandraClusterIdentityPtrOutput

func (CassandraClusterIdentityPtrOutput) Type added in v5.10.0

Specifies the type of Managed Service Identity that should be configured on this Cassandra Cluster. The only possible value is `SystemAssigned`.

type CassandraClusterInput

type CassandraClusterInput interface {
	pulumi.Input

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

type CassandraClusterMap

type CassandraClusterMap map[string]CassandraClusterInput

func (CassandraClusterMap) ElementType

func (CassandraClusterMap) ElementType() reflect.Type

func (CassandraClusterMap) ToCassandraClusterMapOutput

func (i CassandraClusterMap) ToCassandraClusterMapOutput() CassandraClusterMapOutput

func (CassandraClusterMap) ToCassandraClusterMapOutputWithContext

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

type CassandraClusterMapInput

type CassandraClusterMapInput interface {
	pulumi.Input

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

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

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

type CassandraClusterMapOutput

type CassandraClusterMapOutput struct{ *pulumi.OutputState }

func (CassandraClusterMapOutput) ElementType

func (CassandraClusterMapOutput) ElementType() reflect.Type

func (CassandraClusterMapOutput) MapIndex

func (CassandraClusterMapOutput) ToCassandraClusterMapOutput

func (o CassandraClusterMapOutput) ToCassandraClusterMapOutput() CassandraClusterMapOutput

func (CassandraClusterMapOutput) ToCassandraClusterMapOutputWithContext

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

type CassandraClusterOutput

type CassandraClusterOutput struct{ *pulumi.OutputState }

func (CassandraClusterOutput) AuthenticationMethod added in v5.10.0

func (o CassandraClusterOutput) AuthenticationMethod() pulumi.StringPtrOutput

The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`.

func (CassandraClusterOutput) ClientCertificatePems added in v5.10.0

func (o CassandraClusterOutput) ClientCertificatePems() pulumi.StringArrayOutput

A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster.

func (CassandraClusterOutput) DefaultAdminPassword added in v5.5.0

func (o CassandraClusterOutput) DefaultAdminPassword() pulumi.StringOutput

The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created.

func (CassandraClusterOutput) DelegatedManagementSubnetId added in v5.5.0

func (o CassandraClusterOutput) DelegatedManagementSubnetId() pulumi.StringOutput

The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.

func (CassandraClusterOutput) ElementType

func (CassandraClusterOutput) ElementType() reflect.Type

func (CassandraClusterOutput) ExternalGossipCertificatePems added in v5.10.0

func (o CassandraClusterOutput) ExternalGossipCertificatePems() pulumi.StringArrayOutput

A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center.

func (CassandraClusterOutput) ExternalSeedNodeIpAddresses added in v5.10.0

func (o CassandraClusterOutput) ExternalSeedNodeIpAddresses() pulumi.StringArrayOutput

A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes.

func (CassandraClusterOutput) HoursBetweenBackups added in v5.18.0

func (o CassandraClusterOutput) HoursBetweenBackups() pulumi.IntPtrOutput

The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`.

> **Note:** To disable this feature, set this property to `0`.

func (CassandraClusterOutput) Identity added in v5.10.0

An `identity` block as defined below.

func (CassandraClusterOutput) Location added in v5.5.0

The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.

func (CassandraClusterOutput) Name added in v5.5.0

The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.

func (CassandraClusterOutput) RepairEnabled added in v5.10.0

func (o CassandraClusterOutput) RepairEnabled() pulumi.BoolPtrOutput

Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`.

func (CassandraClusterOutput) ResourceGroupName added in v5.5.0

func (o CassandraClusterOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.

func (CassandraClusterOutput) Tags added in v5.6.0

A mapping of tags assigned to the resource.

func (CassandraClusterOutput) ToCassandraClusterOutput

func (o CassandraClusterOutput) ToCassandraClusterOutput() CassandraClusterOutput

func (CassandraClusterOutput) ToCassandraClusterOutputWithContext

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

func (CassandraClusterOutput) Version added in v5.10.0

The version of Cassandra what the Cluster converges to run. Possible values are `3.11` and `4.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created.

type CassandraClusterState

type CassandraClusterState struct {
	// The authentication method that is used to authenticate clients. Possible values are `None` and `Cassandra`. Defaults to `Cassandra`.
	AuthenticationMethod pulumi.StringPtrInput
	// A list of TLS certificates that is used to authorize client connecting to the Cassandra Cluster.
	ClientCertificatePems pulumi.StringArrayInput
	// The initial admin password for this Cassandra Cluster. Changing this forces a new resource to be created.
	DefaultAdminPassword pulumi.StringPtrInput
	// The ID of the delegated management subnet for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	DelegatedManagementSubnetId pulumi.StringPtrInput
	// A list of TLS certificates that is used to authorize gossip from unmanaged Cassandra Data Center.
	ExternalGossipCertificatePems pulumi.StringArrayInput
	// A list of IP Addresses of the seed nodes in unmanaged the Cassandra Data Center which will be added to the seed node lists of all managed nodes.
	ExternalSeedNodeIpAddresses pulumi.StringArrayInput
	// The number of hours to wait between taking a backup of the Cassandra Cluster. Defaults to `24`.
	//
	// > **Note:** To disable this feature, set this property to `0`.
	HoursBetweenBackups pulumi.IntPtrInput
	// An `identity` block as defined below.
	Identity CassandraClusterIdentityPtrInput
	// The Azure Region where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Cassandra Cluster. Changing this forces a new Cassandra Cluster to be created.
	Name pulumi.StringPtrInput
	// Is the automatic repair enabled on the Cassandra Cluster? Defaults to `true`.
	RepairEnabled pulumi.BoolPtrInput
	// The name of the Resource Group where the Cassandra Cluster should exist. Changing this forces a new Cassandra Cluster to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags assigned to the resource.
	Tags pulumi.StringMapInput
	// The version of Cassandra what the Cluster converges to run. Possible values are `3.11` and `4.0`. Defaults to `3.11`. Changing this forces a new Cassandra Cluster to be created.
	Version pulumi.StringPtrInput
}

func (CassandraClusterState) ElementType

func (CassandraClusterState) ElementType() reflect.Type

type CassandraDatacenter

type CassandraDatacenter struct {
	pulumi.CustomResourceState

	// Determines whether availability zones are enabled. Defaults to `true`.
	AvailabilityZonesEnabled pulumi.BoolPtrOutput `pulumi:"availabilityZonesEnabled"`
	// The key URI of the customer key to use for the encryption of the backup Storage Account.
	BackupStorageCustomerKeyUri pulumi.StringPtrOutput `pulumi:"backupStorageCustomerKeyUri"`
	// The fragment of the cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this Cassandra Datacenter. The fragment should be Base64 encoded and only a subset of keys is allowed.
	Base64EncodedYamlFragment pulumi.StringPtrOutput `pulumi:"base64EncodedYamlFragment"`
	// The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.
	CassandraClusterId pulumi.StringOutput `pulumi:"cassandraClusterId"`
	// The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	DelegatedManagementSubnetId pulumi.StringOutput `pulumi:"delegatedManagementSubnetId"`
	// Determines the number of p30 disks that are attached to each node.
	DiskCount pulumi.IntPtrOutput `pulumi:"diskCount"`
	// The Disk SKU that is used for this Cassandra Datacenter. Defaults to `P30`.
	DiskSku pulumi.StringPtrOutput `pulumi:"diskSku"`
	// The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The key URI of the customer key to use for the encryption of the Managed Disk.
	ManagedDiskCustomerKeyUri pulumi.StringPtrOutput `pulumi:"managedDiskCustomerKeyUri"`
	// The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`.
	NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"`
	// A list of IP Address for the seed nodes in this Cassandra Datacenter.
	SeedNodeIpAddresses pulumi.StringArrayOutput `pulumi:"seedNodeIpAddresses"`
	// Determines the selected sku.
	//
	// > **NOTE:** In v4.0 of the provider the `skuName` will have a default value of `Standard_E16s_v5`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
}

Manages a Cassandra Datacenter.

> **NOTE:** In order for the `Azure Managed Instances for Apache Cassandra` to work properly the product requires the `Azure Cosmos DB` Application ID to be present and working in your tenant. If the `Azure Cosmos DB` Application ID is missing in your environment you will need to have an administrator of your tenant run the following command to add the `Azure Cosmos DB` Application ID to your tenant:

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("accexample-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name:              pulumi.String("example-vnet"),
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.1.0/24"),
			},
		})
		if err != nil {
			return err
		}
		example, err := azuread.LookupServicePrincipal(ctx, &azuread.LookupServicePrincipalArgs{
			DisplayName: pulumi.StringRef("Azure Cosmos DB"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example", &authorization.AssignmentArgs{
			Scope:              exampleVirtualNetwork.ID(),
			RoleDefinitionName: pulumi.String("Network Contributor"),
			PrincipalId:        pulumi.String(example.ObjectId),
		})
		if err != nil {
			return err
		}
		exampleCassandraCluster, err := cosmosdb.NewCassandraCluster(ctx, "example", &cosmosdb.CassandraClusterArgs{
			Name:                        pulumi.String("example-cluster"),
			ResourceGroupName:           exampleResourceGroup.Name,
			Location:                    exampleResourceGroup.Location,
			DelegatedManagementSubnetId: exampleSubnet.ID(),
			DefaultAdminPassword:        pulumi.String("Password1234"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewCassandraDatacenter(ctx, "example", &cosmosdb.CassandraDatacenterArgs{
			Name:                        pulumi.String("example-datacenter"),
			Location:                    exampleCassandraCluster.Location,
			CassandraClusterId:          exampleCassandraCluster.ID(),
			DelegatedManagementSubnetId: exampleSubnet.ID(),
			NodeCount:                   pulumi.Int(3),
			DiskCount:                   pulumi.Int(4),
			SkuName:                     pulumi.String("Standard_DS14_v2"),
			AvailabilityZonesEnabled:    pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetCassandraDatacenter

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

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

func NewCassandraDatacenter

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

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

func (*CassandraDatacenter) ElementType

func (*CassandraDatacenter) ElementType() reflect.Type

func (*CassandraDatacenter) ToCassandraDatacenterOutput

func (i *CassandraDatacenter) ToCassandraDatacenterOutput() CassandraDatacenterOutput

func (*CassandraDatacenter) ToCassandraDatacenterOutputWithContext

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

type CassandraDatacenterArgs

type CassandraDatacenterArgs struct {
	// Determines whether availability zones are enabled. Defaults to `true`.
	AvailabilityZonesEnabled pulumi.BoolPtrInput
	// The key URI of the customer key to use for the encryption of the backup Storage Account.
	BackupStorageCustomerKeyUri pulumi.StringPtrInput
	// The fragment of the cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this Cassandra Datacenter. The fragment should be Base64 encoded and only a subset of keys is allowed.
	Base64EncodedYamlFragment pulumi.StringPtrInput
	// The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.
	CassandraClusterId pulumi.StringInput
	// The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	DelegatedManagementSubnetId pulumi.StringInput
	// Determines the number of p30 disks that are attached to each node.
	DiskCount pulumi.IntPtrInput
	// The Disk SKU that is used for this Cassandra Datacenter. Defaults to `P30`.
	DiskSku pulumi.StringPtrInput
	// The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.
	Location pulumi.StringPtrInput
	// The key URI of the customer key to use for the encryption of the Managed Disk.
	ManagedDiskCustomerKeyUri pulumi.StringPtrInput
	// The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	Name pulumi.StringPtrInput
	// The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`.
	NodeCount pulumi.IntPtrInput
	// Determines the selected sku.
	//
	// > **NOTE:** In v4.0 of the provider the `skuName` will have a default value of `Standard_E16s_v5`.
	SkuName pulumi.StringPtrInput
}

The set of arguments for constructing a CassandraDatacenter resource.

func (CassandraDatacenterArgs) ElementType

func (CassandraDatacenterArgs) ElementType() reflect.Type

type CassandraDatacenterArray

type CassandraDatacenterArray []CassandraDatacenterInput

func (CassandraDatacenterArray) ElementType

func (CassandraDatacenterArray) ElementType() reflect.Type

func (CassandraDatacenterArray) ToCassandraDatacenterArrayOutput

func (i CassandraDatacenterArray) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput

func (CassandraDatacenterArray) ToCassandraDatacenterArrayOutputWithContext

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

type CassandraDatacenterArrayInput

type CassandraDatacenterArrayInput interface {
	pulumi.Input

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

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

CassandraDatacenterArray{ CassandraDatacenterArgs{...} }

type CassandraDatacenterArrayOutput

type CassandraDatacenterArrayOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterArrayOutput) ElementType

func (CassandraDatacenterArrayOutput) Index

func (CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput

func (o CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutput() CassandraDatacenterArrayOutput

func (CassandraDatacenterArrayOutput) ToCassandraDatacenterArrayOutputWithContext

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

type CassandraDatacenterInput

type CassandraDatacenterInput interface {
	pulumi.Input

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

type CassandraDatacenterMap

type CassandraDatacenterMap map[string]CassandraDatacenterInput

func (CassandraDatacenterMap) ElementType

func (CassandraDatacenterMap) ElementType() reflect.Type

func (CassandraDatacenterMap) ToCassandraDatacenterMapOutput

func (i CassandraDatacenterMap) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput

func (CassandraDatacenterMap) ToCassandraDatacenterMapOutputWithContext

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

type CassandraDatacenterMapInput

type CassandraDatacenterMapInput interface {
	pulumi.Input

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

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

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

type CassandraDatacenterMapOutput

type CassandraDatacenterMapOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterMapOutput) ElementType

func (CassandraDatacenterMapOutput) MapIndex

func (CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput

func (o CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutput() CassandraDatacenterMapOutput

func (CassandraDatacenterMapOutput) ToCassandraDatacenterMapOutputWithContext

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

type CassandraDatacenterOutput

type CassandraDatacenterOutput struct{ *pulumi.OutputState }

func (CassandraDatacenterOutput) AvailabilityZonesEnabled added in v5.5.0

func (o CassandraDatacenterOutput) AvailabilityZonesEnabled() pulumi.BoolPtrOutput

Determines whether availability zones are enabled. Defaults to `true`.

func (CassandraDatacenterOutput) BackupStorageCustomerKeyUri added in v5.12.0

func (o CassandraDatacenterOutput) BackupStorageCustomerKeyUri() pulumi.StringPtrOutput

The key URI of the customer key to use for the encryption of the backup Storage Account.

func (CassandraDatacenterOutput) Base64EncodedYamlFragment added in v5.12.0

func (o CassandraDatacenterOutput) Base64EncodedYamlFragment() pulumi.StringPtrOutput

The fragment of the cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this Cassandra Datacenter. The fragment should be Base64 encoded and only a subset of keys is allowed.

func (CassandraDatacenterOutput) CassandraClusterId added in v5.5.0

func (o CassandraDatacenterOutput) CassandraClusterId() pulumi.StringOutput

The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.

func (CassandraDatacenterOutput) DelegatedManagementSubnetId added in v5.5.0

func (o CassandraDatacenterOutput) DelegatedManagementSubnetId() pulumi.StringOutput

The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.

func (CassandraDatacenterOutput) DiskCount added in v5.5.0

Determines the number of p30 disks that are attached to each node.

func (CassandraDatacenterOutput) DiskSku added in v5.12.0

The Disk SKU that is used for this Cassandra Datacenter. Defaults to `P30`.

func (CassandraDatacenterOutput) ElementType

func (CassandraDatacenterOutput) ElementType() reflect.Type

func (CassandraDatacenterOutput) Location added in v5.5.0

The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.

func (CassandraDatacenterOutput) ManagedDiskCustomerKeyUri added in v5.12.0

func (o CassandraDatacenterOutput) ManagedDiskCustomerKeyUri() pulumi.StringPtrOutput

The key URI of the customer key to use for the encryption of the Managed Disk.

func (CassandraDatacenterOutput) Name added in v5.5.0

The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.

func (CassandraDatacenterOutput) NodeCount added in v5.5.0

The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`.

func (CassandraDatacenterOutput) SeedNodeIpAddresses added in v5.59.0

func (o CassandraDatacenterOutput) SeedNodeIpAddresses() pulumi.StringArrayOutput

A list of IP Address for the seed nodes in this Cassandra Datacenter.

func (CassandraDatacenterOutput) SkuName added in v5.5.0

Determines the selected sku.

> **NOTE:** In v4.0 of the provider the `skuName` will have a default value of `Standard_E16s_v5`.

func (CassandraDatacenterOutput) ToCassandraDatacenterOutput

func (o CassandraDatacenterOutput) ToCassandraDatacenterOutput() CassandraDatacenterOutput

func (CassandraDatacenterOutput) ToCassandraDatacenterOutputWithContext

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

type CassandraDatacenterState

type CassandraDatacenterState struct {
	// Determines whether availability zones are enabled. Defaults to `true`.
	AvailabilityZonesEnabled pulumi.BoolPtrInput
	// The key URI of the customer key to use for the encryption of the backup Storage Account.
	BackupStorageCustomerKeyUri pulumi.StringPtrInput
	// The fragment of the cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this Cassandra Datacenter. The fragment should be Base64 encoded and only a subset of keys is allowed.
	Base64EncodedYamlFragment pulumi.StringPtrInput
	// The ID of the Cassandra Cluster. Changing this forces a new Cassandra Datacenter to be created.
	CassandraClusterId pulumi.StringPtrInput
	// The ID of the delegated management subnet for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	DelegatedManagementSubnetId pulumi.StringPtrInput
	// Determines the number of p30 disks that are attached to each node.
	DiskCount pulumi.IntPtrInput
	// The Disk SKU that is used for this Cassandra Datacenter. Defaults to `P30`.
	DiskSku pulumi.StringPtrInput
	// The Azure Region where the Cassandra Datacenter should exist. Changing this forces a new Cassandra Datacenter to be created.
	Location pulumi.StringPtrInput
	// The key URI of the customer key to use for the encryption of the Managed Disk.
	ManagedDiskCustomerKeyUri pulumi.StringPtrInput
	// The name which should be used for this Cassandra Datacenter. Changing this forces a new Cassandra Datacenter to be created.
	Name pulumi.StringPtrInput
	// The number of nodes the Cassandra Datacenter should have. The number should be equal or greater than `3`. Defaults to `3`.
	NodeCount pulumi.IntPtrInput
	// A list of IP Address for the seed nodes in this Cassandra Datacenter.
	SeedNodeIpAddresses pulumi.StringArrayInput
	// Determines the selected sku.
	//
	// > **NOTE:** In v4.0 of the provider the `skuName` will have a default value of `Standard_E16s_v5`.
	SkuName pulumi.StringPtrInput
}

func (CassandraDatacenterState) ElementType

func (CassandraDatacenterState) ElementType() reflect.Type

type CassandraKeyspace

type CassandraKeyspace struct {
	pulumi.CustomResourceState

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

Manages a Cassandra KeySpace within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetCassandraKeyspace

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

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

func NewCassandraKeyspace

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

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

func (*CassandraKeyspace) ElementType

func (*CassandraKeyspace) ElementType() reflect.Type

func (*CassandraKeyspace) ToCassandraKeyspaceOutput

func (i *CassandraKeyspace) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput

func (*CassandraKeyspace) ToCassandraKeyspaceOutputWithContext

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

type CassandraKeyspaceArgs

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

The set of arguments for constructing a CassandraKeyspace resource.

func (CassandraKeyspaceArgs) ElementType

func (CassandraKeyspaceArgs) ElementType() reflect.Type

type CassandraKeyspaceArray

type CassandraKeyspaceArray []CassandraKeyspaceInput

func (CassandraKeyspaceArray) ElementType

func (CassandraKeyspaceArray) ElementType() reflect.Type

func (CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutput

func (i CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput

func (CassandraKeyspaceArray) ToCassandraKeyspaceArrayOutputWithContext

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

type CassandraKeyspaceArrayInput

type CassandraKeyspaceArrayInput interface {
	pulumi.Input

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

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

CassandraKeyspaceArray{ CassandraKeyspaceArgs{...} }

type CassandraKeyspaceArrayOutput

type CassandraKeyspaceArrayOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceArrayOutput) ElementType

func (CassandraKeyspaceArrayOutput) Index

func (CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput

func (o CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutput() CassandraKeyspaceArrayOutput

func (CassandraKeyspaceArrayOutput) ToCassandraKeyspaceArrayOutputWithContext

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

type CassandraKeyspaceAutoscaleSettings

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

type CassandraKeyspaceAutoscaleSettingsArgs

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

func (CassandraKeyspaceAutoscaleSettingsArgs) ElementType

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput

func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext

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

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput

func (i CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput

func (CassandraKeyspaceAutoscaleSettingsArgs) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext

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

type CassandraKeyspaceAutoscaleSettingsInput

type CassandraKeyspaceAutoscaleSettingsInput interface {
	pulumi.Input

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

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

CassandraKeyspaceAutoscaleSettingsArgs{...}

type CassandraKeyspaceAutoscaleSettingsOutput

type CassandraKeyspaceAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceAutoscaleSettingsOutput) ElementType

func (CassandraKeyspaceAutoscaleSettingsOutput) MaxThroughput

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

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput

func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutput() CassandraKeyspaceAutoscaleSettingsOutput

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsOutputWithContext

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

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput

func (o CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput

func (CassandraKeyspaceAutoscaleSettingsOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext

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

type CassandraKeyspaceAutoscaleSettingsPtrInput

type CassandraKeyspaceAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        CassandraKeyspaceAutoscaleSettingsArgs{...}

or:

        nil

type CassandraKeyspaceAutoscaleSettingsPtrOutput

type CassandraKeyspaceAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) Elem

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ElementType

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) MaxThroughput

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

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput

func (o CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutput() CassandraKeyspaceAutoscaleSettingsPtrOutput

func (CassandraKeyspaceAutoscaleSettingsPtrOutput) ToCassandraKeyspaceAutoscaleSettingsPtrOutputWithContext

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

type CassandraKeyspaceInput

type CassandraKeyspaceInput interface {
	pulumi.Input

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

type CassandraKeyspaceMap

type CassandraKeyspaceMap map[string]CassandraKeyspaceInput

func (CassandraKeyspaceMap) ElementType

func (CassandraKeyspaceMap) ElementType() reflect.Type

func (CassandraKeyspaceMap) ToCassandraKeyspaceMapOutput

func (i CassandraKeyspaceMap) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput

func (CassandraKeyspaceMap) ToCassandraKeyspaceMapOutputWithContext

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

type CassandraKeyspaceMapInput

type CassandraKeyspaceMapInput interface {
	pulumi.Input

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

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

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

type CassandraKeyspaceMapOutput

type CassandraKeyspaceMapOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceMapOutput) ElementType

func (CassandraKeyspaceMapOutput) ElementType() reflect.Type

func (CassandraKeyspaceMapOutput) MapIndex

func (CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput

func (o CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutput() CassandraKeyspaceMapOutput

func (CassandraKeyspaceMapOutput) ToCassandraKeyspaceMapOutputWithContext

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

type CassandraKeyspaceOutput

type CassandraKeyspaceOutput struct{ *pulumi.OutputState }

func (CassandraKeyspaceOutput) AccountName added in v5.5.0

The name of the Cosmos DB Cassandra KeySpace to create the table within. Changing this forces a new resource to be created.

func (CassandraKeyspaceOutput) AutoscaleSettings added in v5.5.0

An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.

> **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.

func (CassandraKeyspaceOutput) ElementType

func (CassandraKeyspaceOutput) ElementType() reflect.Type

func (CassandraKeyspaceOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB Cassandra KeySpace. Changing this forces a new resource to be created.

func (CassandraKeyspaceOutput) ResourceGroupName added in v5.5.0

func (o CassandraKeyspaceOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB Cassandra KeySpace is created. Changing this forces a new resource to be created.

func (CassandraKeyspaceOutput) Throughput added in v5.5.0

func (o CassandraKeyspaceOutput) Throughput() pulumi.IntOutput

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.

func (CassandraKeyspaceOutput) ToCassandraKeyspaceOutput

func (o CassandraKeyspaceOutput) ToCassandraKeyspaceOutput() CassandraKeyspaceOutput

func (CassandraKeyspaceOutput) ToCassandraKeyspaceOutputWithContext

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

type CassandraKeyspaceState

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

func (CassandraKeyspaceState) ElementType

func (CassandraKeyspaceState) ElementType() reflect.Type

type CassandraTable

type CassandraTable struct {
	pulumi.CustomResourceState

	// Time to live of the Analytical Storage. Possible values are between `-1` and `2147483647` except `0`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	AnalyticalStorageTtl pulumi.IntPtrOutput                      `pulumi:"analyticalStorageTtl"`
	AutoscaleSettings    CassandraTableAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.
	CassandraKeyspaceId pulumi.StringOutput `pulumi:"cassandraKeyspaceId"`
	// Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
	DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"`
	// Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `schema` block as defined below.
	Schema     CassandraTableSchemaOutput `pulumi:"schema"`
	Throughput pulumi.IntOutput           `pulumi:"throughput"`
}

Manages a Cassandra Table within a Cosmos DB Cassandra Keyspace.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetCassandraTable

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

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

func NewCassandraTable

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

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

func (*CassandraTable) ElementType

func (*CassandraTable) ElementType() reflect.Type

func (*CassandraTable) ToCassandraTableOutput

func (i *CassandraTable) ToCassandraTableOutput() CassandraTableOutput

func (*CassandraTable) ToCassandraTableOutputWithContext

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

type CassandraTableArgs

type CassandraTableArgs struct {
	// Time to live of the Analytical Storage. Possible values are between `-1` and `2147483647` except `0`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    CassandraTableAutoscaleSettingsPtrInput
	// The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.
	CassandraKeyspaceId pulumi.StringInput
	// Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
	DefaultTtl pulumi.IntPtrInput
	// Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `schema` block as defined below.
	Schema     CassandraTableSchemaInput
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a CassandraTable resource.

func (CassandraTableArgs) ElementType

func (CassandraTableArgs) ElementType() reflect.Type

type CassandraTableArray

type CassandraTableArray []CassandraTableInput

func (CassandraTableArray) ElementType

func (CassandraTableArray) ElementType() reflect.Type

func (CassandraTableArray) ToCassandraTableArrayOutput

func (i CassandraTableArray) ToCassandraTableArrayOutput() CassandraTableArrayOutput

func (CassandraTableArray) ToCassandraTableArrayOutputWithContext

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

type CassandraTableArrayInput

type CassandraTableArrayInput interface {
	pulumi.Input

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

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

CassandraTableArray{ CassandraTableArgs{...} }

type CassandraTableArrayOutput

type CassandraTableArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableArrayOutput) ElementType

func (CassandraTableArrayOutput) ElementType() reflect.Type

func (CassandraTableArrayOutput) Index

func (CassandraTableArrayOutput) ToCassandraTableArrayOutput

func (o CassandraTableArrayOutput) ToCassandraTableArrayOutput() CassandraTableArrayOutput

func (CassandraTableArrayOutput) ToCassandraTableArrayOutputWithContext

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

type CassandraTableAutoscaleSettings

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

type CassandraTableAutoscaleSettingsArgs

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

func (CassandraTableAutoscaleSettingsArgs) ElementType

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput

func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsOutputWithContext

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

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput

func (i CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput

func (CassandraTableAutoscaleSettingsArgs) ToCassandraTableAutoscaleSettingsPtrOutputWithContext

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

type CassandraTableAutoscaleSettingsInput

type CassandraTableAutoscaleSettingsInput interface {
	pulumi.Input

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

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

CassandraTableAutoscaleSettingsArgs{...}

type CassandraTableAutoscaleSettingsOutput

type CassandraTableAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (CassandraTableAutoscaleSettingsOutput) ElementType

func (CassandraTableAutoscaleSettingsOutput) MaxThroughput

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

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput

func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutput() CassandraTableAutoscaleSettingsOutput

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsOutputWithContext

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

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput

func (o CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput

func (CassandraTableAutoscaleSettingsOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext

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

type CassandraTableAutoscaleSettingsPtrInput

type CassandraTableAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        CassandraTableAutoscaleSettingsArgs{...}

or:

        nil

type CassandraTableAutoscaleSettingsPtrOutput

type CassandraTableAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (CassandraTableAutoscaleSettingsPtrOutput) Elem

func (CassandraTableAutoscaleSettingsPtrOutput) ElementType

func (CassandraTableAutoscaleSettingsPtrOutput) MaxThroughput

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

func (CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput

func (o CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutput() CassandraTableAutoscaleSettingsPtrOutput

func (CassandraTableAutoscaleSettingsPtrOutput) ToCassandraTableAutoscaleSettingsPtrOutputWithContext

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

type CassandraTableInput

type CassandraTableInput interface {
	pulumi.Input

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

type CassandraTableMap

type CassandraTableMap map[string]CassandraTableInput

func (CassandraTableMap) ElementType

func (CassandraTableMap) ElementType() reflect.Type

func (CassandraTableMap) ToCassandraTableMapOutput

func (i CassandraTableMap) ToCassandraTableMapOutput() CassandraTableMapOutput

func (CassandraTableMap) ToCassandraTableMapOutputWithContext

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

type CassandraTableMapInput

type CassandraTableMapInput interface {
	pulumi.Input

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

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

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

type CassandraTableMapOutput

type CassandraTableMapOutput struct{ *pulumi.OutputState }

func (CassandraTableMapOutput) ElementType

func (CassandraTableMapOutput) ElementType() reflect.Type

func (CassandraTableMapOutput) MapIndex

func (CassandraTableMapOutput) ToCassandraTableMapOutput

func (o CassandraTableMapOutput) ToCassandraTableMapOutput() CassandraTableMapOutput

func (CassandraTableMapOutput) ToCassandraTableMapOutputWithContext

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

type CassandraTableOutput

type CassandraTableOutput struct{ *pulumi.OutputState }

func (CassandraTableOutput) AnalyticalStorageTtl added in v5.5.0

func (o CassandraTableOutput) AnalyticalStorageTtl() pulumi.IntPtrOutput

Time to live of the Analytical Storage. Possible values are between `-1` and `2147483647` except `0`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.

> **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support

func (CassandraTableOutput) AutoscaleSettings added in v5.5.0

func (CassandraTableOutput) CassandraKeyspaceId added in v5.5.0

func (o CassandraTableOutput) CassandraKeyspaceId() pulumi.StringOutput

The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.

func (CassandraTableOutput) DefaultTtl added in v5.5.0

func (o CassandraTableOutput) DefaultTtl() pulumi.IntOutput

Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.

func (CassandraTableOutput) ElementType

func (CassandraTableOutput) ElementType() reflect.Type

func (CassandraTableOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.

func (CassandraTableOutput) Schema added in v5.5.0

A `schema` block as defined below.

func (CassandraTableOutput) Throughput added in v5.5.0

func (o CassandraTableOutput) Throughput() pulumi.IntOutput

func (CassandraTableOutput) ToCassandraTableOutput

func (o CassandraTableOutput) ToCassandraTableOutput() CassandraTableOutput

func (CassandraTableOutput) ToCassandraTableOutputWithContext

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

type CassandraTableSchema

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

type CassandraTableSchemaArgs

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

func (CassandraTableSchemaArgs) ElementType

func (CassandraTableSchemaArgs) ElementType() reflect.Type

func (CassandraTableSchemaArgs) ToCassandraTableSchemaOutput

func (i CassandraTableSchemaArgs) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput

func (CassandraTableSchemaArgs) ToCassandraTableSchemaOutputWithContext

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

func (CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput

func (i CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput

func (CassandraTableSchemaArgs) ToCassandraTableSchemaPtrOutputWithContext

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

type CassandraTableSchemaClusterKey

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

type CassandraTableSchemaClusterKeyArgs

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

func (CassandraTableSchemaClusterKeyArgs) ElementType

func (CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput

func (i CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput

func (CassandraTableSchemaClusterKeyArgs) ToCassandraTableSchemaClusterKeyOutputWithContext

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

type CassandraTableSchemaClusterKeyArray

type CassandraTableSchemaClusterKeyArray []CassandraTableSchemaClusterKeyInput

func (CassandraTableSchemaClusterKeyArray) ElementType

func (CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput

func (i CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput

func (CassandraTableSchemaClusterKeyArray) ToCassandraTableSchemaClusterKeyArrayOutputWithContext

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

type CassandraTableSchemaClusterKeyArrayInput

type CassandraTableSchemaClusterKeyArrayInput interface {
	pulumi.Input

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

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

CassandraTableSchemaClusterKeyArray{ CassandraTableSchemaClusterKeyArgs{...} }

type CassandraTableSchemaClusterKeyArrayOutput

type CassandraTableSchemaClusterKeyArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaClusterKeyArrayOutput) ElementType

func (CassandraTableSchemaClusterKeyArrayOutput) Index

func (CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput

func (o CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutput() CassandraTableSchemaClusterKeyArrayOutput

func (CassandraTableSchemaClusterKeyArrayOutput) ToCassandraTableSchemaClusterKeyArrayOutputWithContext

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

type CassandraTableSchemaClusterKeyInput

type CassandraTableSchemaClusterKeyInput interface {
	pulumi.Input

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

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

CassandraTableSchemaClusterKeyArgs{...}

type CassandraTableSchemaClusterKeyOutput

type CassandraTableSchemaClusterKeyOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaClusterKeyOutput) ElementType

func (CassandraTableSchemaClusterKeyOutput) Name

Name of the cluster key to be created.

func (CassandraTableSchemaClusterKeyOutput) OrderBy

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

func (CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput

func (o CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutput() CassandraTableSchemaClusterKeyOutput

func (CassandraTableSchemaClusterKeyOutput) ToCassandraTableSchemaClusterKeyOutputWithContext

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

type CassandraTableSchemaColumn

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

type CassandraTableSchemaColumnArgs

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

func (CassandraTableSchemaColumnArgs) ElementType

func (CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput

func (i CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput

func (CassandraTableSchemaColumnArgs) ToCassandraTableSchemaColumnOutputWithContext

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

type CassandraTableSchemaColumnArray

type CassandraTableSchemaColumnArray []CassandraTableSchemaColumnInput

func (CassandraTableSchemaColumnArray) ElementType

func (CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput

func (i CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput

func (CassandraTableSchemaColumnArray) ToCassandraTableSchemaColumnArrayOutputWithContext

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

type CassandraTableSchemaColumnArrayInput

type CassandraTableSchemaColumnArrayInput interface {
	pulumi.Input

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

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

CassandraTableSchemaColumnArray{ CassandraTableSchemaColumnArgs{...} }

type CassandraTableSchemaColumnArrayOutput

type CassandraTableSchemaColumnArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaColumnArrayOutput) ElementType

func (CassandraTableSchemaColumnArrayOutput) Index

func (CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput

func (o CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutput() CassandraTableSchemaColumnArrayOutput

func (CassandraTableSchemaColumnArrayOutput) ToCassandraTableSchemaColumnArrayOutputWithContext

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

type CassandraTableSchemaColumnInput

type CassandraTableSchemaColumnInput interface {
	pulumi.Input

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

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

CassandraTableSchemaColumnArgs{...}

type CassandraTableSchemaColumnOutput

type CassandraTableSchemaColumnOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaColumnOutput) ElementType

func (CassandraTableSchemaColumnOutput) Name

Name of the column to be created.

func (CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput

func (o CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutput() CassandraTableSchemaColumnOutput

func (CassandraTableSchemaColumnOutput) ToCassandraTableSchemaColumnOutputWithContext

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

func (CassandraTableSchemaColumnOutput) Type

Type of the column to be created.

type CassandraTableSchemaInput

type CassandraTableSchemaInput interface {
	pulumi.Input

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

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

CassandraTableSchemaArgs{...}

type CassandraTableSchemaOutput

type CassandraTableSchemaOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaOutput) ClusterKeys

One or more `clusterKey` blocks as defined below.

func (CassandraTableSchemaOutput) Columns

One or more `column` blocks as defined below.

func (CassandraTableSchemaOutput) ElementType

func (CassandraTableSchemaOutput) ElementType() reflect.Type

func (CassandraTableSchemaOutput) PartitionKeys

One or more `partitionKey` blocks as defined below.

func (CassandraTableSchemaOutput) ToCassandraTableSchemaOutput

func (o CassandraTableSchemaOutput) ToCassandraTableSchemaOutput() CassandraTableSchemaOutput

func (CassandraTableSchemaOutput) ToCassandraTableSchemaOutputWithContext

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

func (CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput

func (o CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput

func (CassandraTableSchemaOutput) ToCassandraTableSchemaPtrOutputWithContext

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

type CassandraTableSchemaPartitionKey

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

type CassandraTableSchemaPartitionKeyArgs

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

func (CassandraTableSchemaPartitionKeyArgs) ElementType

func (CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput

func (i CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput

func (CassandraTableSchemaPartitionKeyArgs) ToCassandraTableSchemaPartitionKeyOutputWithContext

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

type CassandraTableSchemaPartitionKeyArray

type CassandraTableSchemaPartitionKeyArray []CassandraTableSchemaPartitionKeyInput

func (CassandraTableSchemaPartitionKeyArray) ElementType

func (CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput

func (i CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput

func (CassandraTableSchemaPartitionKeyArray) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext

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

type CassandraTableSchemaPartitionKeyArrayInput

type CassandraTableSchemaPartitionKeyArrayInput interface {
	pulumi.Input

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

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

CassandraTableSchemaPartitionKeyArray{ CassandraTableSchemaPartitionKeyArgs{...} }

type CassandraTableSchemaPartitionKeyArrayOutput

type CassandraTableSchemaPartitionKeyArrayOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaPartitionKeyArrayOutput) ElementType

func (CassandraTableSchemaPartitionKeyArrayOutput) Index

func (CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput

func (o CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutput() CassandraTableSchemaPartitionKeyArrayOutput

func (CassandraTableSchemaPartitionKeyArrayOutput) ToCassandraTableSchemaPartitionKeyArrayOutputWithContext

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

type CassandraTableSchemaPartitionKeyInput

type CassandraTableSchemaPartitionKeyInput interface {
	pulumi.Input

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

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

CassandraTableSchemaPartitionKeyArgs{...}

type CassandraTableSchemaPartitionKeyOutput

type CassandraTableSchemaPartitionKeyOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaPartitionKeyOutput) ElementType

func (CassandraTableSchemaPartitionKeyOutput) Name

Name of the column to partition by.

func (CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput

func (o CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutput() CassandraTableSchemaPartitionKeyOutput

func (CassandraTableSchemaPartitionKeyOutput) ToCassandraTableSchemaPartitionKeyOutputWithContext

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

type CassandraTableSchemaPtrInput

type CassandraTableSchemaPtrInput interface {
	pulumi.Input

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

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

        CassandraTableSchemaArgs{...}

or:

        nil

type CassandraTableSchemaPtrOutput

type CassandraTableSchemaPtrOutput struct{ *pulumi.OutputState }

func (CassandraTableSchemaPtrOutput) ClusterKeys

One or more `clusterKey` blocks as defined below.

func (CassandraTableSchemaPtrOutput) Columns

One or more `column` blocks as defined below.

func (CassandraTableSchemaPtrOutput) Elem

func (CassandraTableSchemaPtrOutput) ElementType

func (CassandraTableSchemaPtrOutput) PartitionKeys

One or more `partitionKey` blocks as defined below.

func (CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput

func (o CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutput() CassandraTableSchemaPtrOutput

func (CassandraTableSchemaPtrOutput) ToCassandraTableSchemaPtrOutputWithContext

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

type CassandraTableState

type CassandraTableState struct {
	// Time to live of the Analytical Storage. Possible values are between `-1` and `2147483647` except `0`. `-1` means the Analytical Storage never expires. Changing this forces a new resource to be created.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    CassandraTableAutoscaleSettingsPtrInput
	// The ID of the Cosmos DB Cassandra Keyspace to create the table within. Changing this forces a new resource to be created.
	CassandraKeyspaceId pulumi.StringPtrInput
	// Time to live of the Cosmos DB Cassandra table. Possible values are at least `-1`. `-1` means the Cassandra table never expires.
	DefaultTtl pulumi.IntPtrInput
	// Specifies the name of the Cosmos DB Cassandra Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A `schema` block as defined below.
	Schema     CassandraTableSchemaPtrInput
	Throughput pulumi.IntPtrInput
}

func (CassandraTableState) ElementType

func (CassandraTableState) ElementType() reflect.Type

type GetAccountCapability

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

type GetAccountCapabilityArgs

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

func (GetAccountCapabilityArgs) ElementType

func (GetAccountCapabilityArgs) ElementType() reflect.Type

func (GetAccountCapabilityArgs) ToGetAccountCapabilityOutput

func (i GetAccountCapabilityArgs) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput

func (GetAccountCapabilityArgs) ToGetAccountCapabilityOutputWithContext

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

type GetAccountCapabilityArray

type GetAccountCapabilityArray []GetAccountCapabilityInput

func (GetAccountCapabilityArray) ElementType

func (GetAccountCapabilityArray) ElementType() reflect.Type

func (GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutput

func (i GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput

func (GetAccountCapabilityArray) ToGetAccountCapabilityArrayOutputWithContext

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

type GetAccountCapabilityArrayInput

type GetAccountCapabilityArrayInput interface {
	pulumi.Input

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

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

GetAccountCapabilityArray{ GetAccountCapabilityArgs{...} }

type GetAccountCapabilityArrayOutput

type GetAccountCapabilityArrayOutput struct{ *pulumi.OutputState }

func (GetAccountCapabilityArrayOutput) ElementType

func (GetAccountCapabilityArrayOutput) Index

func (GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput

func (o GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutput() GetAccountCapabilityArrayOutput

func (GetAccountCapabilityArrayOutput) ToGetAccountCapabilityArrayOutputWithContext

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

type GetAccountCapabilityInput

type GetAccountCapabilityInput interface {
	pulumi.Input

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

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

GetAccountCapabilityArgs{...}

type GetAccountCapabilityOutput

type GetAccountCapabilityOutput struct{ *pulumi.OutputState }

func (GetAccountCapabilityOutput) ElementType

func (GetAccountCapabilityOutput) ElementType() reflect.Type

func (GetAccountCapabilityOutput) Name

Specifies the name of the CosmosDB Account.

func (GetAccountCapabilityOutput) ToGetAccountCapabilityOutput

func (o GetAccountCapabilityOutput) ToGetAccountCapabilityOutput() GetAccountCapabilityOutput

func (GetAccountCapabilityOutput) ToGetAccountCapabilityOutputWithContext

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

type GetAccountConsistencyPolicy

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

type GetAccountConsistencyPolicyArgs

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

func (GetAccountConsistencyPolicyArgs) ElementType

func (GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput

func (i GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput

func (GetAccountConsistencyPolicyArgs) ToGetAccountConsistencyPolicyOutputWithContext

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

type GetAccountConsistencyPolicyArray

type GetAccountConsistencyPolicyArray []GetAccountConsistencyPolicyInput

func (GetAccountConsistencyPolicyArray) ElementType

func (GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput

func (i GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput

func (GetAccountConsistencyPolicyArray) ToGetAccountConsistencyPolicyArrayOutputWithContext

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

type GetAccountConsistencyPolicyArrayInput

type GetAccountConsistencyPolicyArrayInput interface {
	pulumi.Input

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

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

GetAccountConsistencyPolicyArray{ GetAccountConsistencyPolicyArgs{...} }

type GetAccountConsistencyPolicyArrayOutput

type GetAccountConsistencyPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAccountConsistencyPolicyArrayOutput) ElementType

func (GetAccountConsistencyPolicyArrayOutput) Index

func (GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput

func (o GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutput() GetAccountConsistencyPolicyArrayOutput

func (GetAccountConsistencyPolicyArrayOutput) ToGetAccountConsistencyPolicyArrayOutputWithContext

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

type GetAccountConsistencyPolicyInput

type GetAccountConsistencyPolicyInput interface {
	pulumi.Input

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

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

GetAccountConsistencyPolicyArgs{...}

type GetAccountConsistencyPolicyOutput

type GetAccountConsistencyPolicyOutput struct{ *pulumi.OutputState }

func (GetAccountConsistencyPolicyOutput) ConsistencyLevel

The Consistency Level used by this CosmosDB Account.

func (GetAccountConsistencyPolicyOutput) ElementType

func (GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds

func (o GetAccountConsistencyPolicyOutput) MaxIntervalInSeconds() pulumi.IntOutput

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

func (GetAccountConsistencyPolicyOutput) MaxStalenessPrefix

func (o GetAccountConsistencyPolicyOutput) MaxStalenessPrefix() pulumi.IntOutput

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

func (GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput

func (o GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutput() GetAccountConsistencyPolicyOutput

func (GetAccountConsistencyPolicyOutput) ToGetAccountConsistencyPolicyOutputWithContext

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

type GetAccountGeoLocation

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

type GetAccountGeoLocationArgs

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

func (GetAccountGeoLocationArgs) ElementType

func (GetAccountGeoLocationArgs) ElementType() reflect.Type

func (GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutput

func (i GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput

func (GetAccountGeoLocationArgs) ToGetAccountGeoLocationOutputWithContext

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

type GetAccountGeoLocationArray

type GetAccountGeoLocationArray []GetAccountGeoLocationInput

func (GetAccountGeoLocationArray) ElementType

func (GetAccountGeoLocationArray) ElementType() reflect.Type

func (GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput

func (i GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput

func (GetAccountGeoLocationArray) ToGetAccountGeoLocationArrayOutputWithContext

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

type GetAccountGeoLocationArrayInput

type GetAccountGeoLocationArrayInput interface {
	pulumi.Input

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

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

GetAccountGeoLocationArray{ GetAccountGeoLocationArgs{...} }

type GetAccountGeoLocationArrayOutput

type GetAccountGeoLocationArrayOutput struct{ *pulumi.OutputState }

func (GetAccountGeoLocationArrayOutput) ElementType

func (GetAccountGeoLocationArrayOutput) Index

func (GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput

func (o GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutput() GetAccountGeoLocationArrayOutput

func (GetAccountGeoLocationArrayOutput) ToGetAccountGeoLocationArrayOutputWithContext

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

type GetAccountGeoLocationInput

type GetAccountGeoLocationInput interface {
	pulumi.Input

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

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

GetAccountGeoLocationArgs{...}

type GetAccountGeoLocationOutput

type GetAccountGeoLocationOutput struct{ *pulumi.OutputState }

func (GetAccountGeoLocationOutput) ElementType

func (GetAccountGeoLocationOutput) FailoverPriority

func (o GetAccountGeoLocationOutput) FailoverPriority() pulumi.IntOutput

func (GetAccountGeoLocationOutput) Id

The ID of the virtual network subnet.

func (GetAccountGeoLocationOutput) Location

The name of the Azure region hosting replicated data.

func (GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput

func (o GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutput() GetAccountGeoLocationOutput

func (GetAccountGeoLocationOutput) ToGetAccountGeoLocationOutputWithContext

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

type GetAccountVirtualNetworkRule

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

type GetAccountVirtualNetworkRuleArgs

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

func (GetAccountVirtualNetworkRuleArgs) ElementType

func (GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput

func (i GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput

func (GetAccountVirtualNetworkRuleArgs) ToGetAccountVirtualNetworkRuleOutputWithContext

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

type GetAccountVirtualNetworkRuleArray

type GetAccountVirtualNetworkRuleArray []GetAccountVirtualNetworkRuleInput

func (GetAccountVirtualNetworkRuleArray) ElementType

func (GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput

func (i GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput

func (GetAccountVirtualNetworkRuleArray) ToGetAccountVirtualNetworkRuleArrayOutputWithContext

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

type GetAccountVirtualNetworkRuleArrayInput

type GetAccountVirtualNetworkRuleArrayInput interface {
	pulumi.Input

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

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

GetAccountVirtualNetworkRuleArray{ GetAccountVirtualNetworkRuleArgs{...} }

type GetAccountVirtualNetworkRuleArrayOutput

type GetAccountVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (GetAccountVirtualNetworkRuleArrayOutput) ElementType

func (GetAccountVirtualNetworkRuleArrayOutput) Index

func (GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput

func (o GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutput() GetAccountVirtualNetworkRuleArrayOutput

func (GetAccountVirtualNetworkRuleArrayOutput) ToGetAccountVirtualNetworkRuleArrayOutputWithContext

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

type GetAccountVirtualNetworkRuleInput

type GetAccountVirtualNetworkRuleInput interface {
	pulumi.Input

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

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

GetAccountVirtualNetworkRuleArgs{...}

type GetAccountVirtualNetworkRuleOutput

type GetAccountVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (GetAccountVirtualNetworkRuleOutput) ElementType

func (GetAccountVirtualNetworkRuleOutput) Id

The ID of the virtual network subnet.

func (GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput

func (o GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutput() GetAccountVirtualNetworkRuleOutput

func (GetAccountVirtualNetworkRuleOutput) ToGetAccountVirtualNetworkRuleOutputWithContext

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

type GetRestorableDatabaseAccountsAccount

type GetRestorableDatabaseAccountsAccount struct {
	// The API type of the Cosmos DB Restorable Database Account.
	ApiType string `pulumi:"apiType"`
	// The creation time of the regional Cosmos DB Restorable Database Account.
	CreationTime string `pulumi:"creationTime"`
	// The deletion time of the regional Cosmos DB Restorable Database Account.
	DeletionTime string `pulumi:"deletionTime"`
	// The ID of the Cosmos DB Restorable Database Account.
	Id string `pulumi:"id"`
	// One or more `restorableLocations` blocks as defined below.
	RestorableLocations []GetRestorableDatabaseAccountsAccountRestorableLocation `pulumi:"restorableLocations"`
}

type GetRestorableDatabaseAccountsAccountArgs

type GetRestorableDatabaseAccountsAccountArgs struct {
	// The API type of the Cosmos DB Restorable Database Account.
	ApiType pulumi.StringInput `pulumi:"apiType"`
	// The creation time of the regional Cosmos DB Restorable Database Account.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The deletion time of the regional Cosmos DB Restorable Database Account.
	DeletionTime pulumi.StringInput `pulumi:"deletionTime"`
	// The ID of the Cosmos DB Restorable Database Account.
	Id pulumi.StringInput `pulumi:"id"`
	// One or more `restorableLocations` blocks as defined below.
	RestorableLocations GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput `pulumi:"restorableLocations"`
}

func (GetRestorableDatabaseAccountsAccountArgs) ElementType

func (GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutput

func (i GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput

func (GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutputWithContext

func (i GetRestorableDatabaseAccountsAccountArgs) ToGetRestorableDatabaseAccountsAccountOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountOutput

type GetRestorableDatabaseAccountsAccountArray

type GetRestorableDatabaseAccountsAccountArray []GetRestorableDatabaseAccountsAccountInput

func (GetRestorableDatabaseAccountsAccountArray) ElementType

func (GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutput

func (i GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput

func (GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext

func (i GetRestorableDatabaseAccountsAccountArray) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountArrayOutput

type GetRestorableDatabaseAccountsAccountArrayInput

type GetRestorableDatabaseAccountsAccountArrayInput interface {
	pulumi.Input

	ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput
	ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountArrayOutput
}

GetRestorableDatabaseAccountsAccountArrayInput is an input type that accepts GetRestorableDatabaseAccountsAccountArray and GetRestorableDatabaseAccountsAccountArrayOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountArrayInput` via:

GetRestorableDatabaseAccountsAccountArray{ GetRestorableDatabaseAccountsAccountArgs{...} }

type GetRestorableDatabaseAccountsAccountArrayOutput

type GetRestorableDatabaseAccountsAccountArrayOutput struct{ *pulumi.OutputState }

func (GetRestorableDatabaseAccountsAccountArrayOutput) ElementType

func (GetRestorableDatabaseAccountsAccountArrayOutput) Index

func (GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutput

func (o GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutput() GetRestorableDatabaseAccountsAccountArrayOutput

func (GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext

func (o GetRestorableDatabaseAccountsAccountArrayOutput) ToGetRestorableDatabaseAccountsAccountArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountArrayOutput

type GetRestorableDatabaseAccountsAccountInput

type GetRestorableDatabaseAccountsAccountInput interface {
	pulumi.Input

	ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput
	ToGetRestorableDatabaseAccountsAccountOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountOutput
}

GetRestorableDatabaseAccountsAccountInput is an input type that accepts GetRestorableDatabaseAccountsAccountArgs and GetRestorableDatabaseAccountsAccountOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountInput` via:

GetRestorableDatabaseAccountsAccountArgs{...}

type GetRestorableDatabaseAccountsAccountOutput

type GetRestorableDatabaseAccountsAccountOutput struct{ *pulumi.OutputState }

func (GetRestorableDatabaseAccountsAccountOutput) ApiType

The API type of the Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountOutput) CreationTime

The creation time of the regional Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountOutput) DeletionTime

The deletion time of the regional Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountOutput) ElementType

func (GetRestorableDatabaseAccountsAccountOutput) Id

The ID of the Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountOutput) RestorableLocations

One or more `restorableLocations` blocks as defined below.

func (GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutput

func (o GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutput() GetRestorableDatabaseAccountsAccountOutput

func (GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutputWithContext

func (o GetRestorableDatabaseAccountsAccountOutput) ToGetRestorableDatabaseAccountsAccountOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountOutput

type GetRestorableDatabaseAccountsAccountRestorableLocation

type GetRestorableDatabaseAccountsAccountRestorableLocation struct {
	// The creation time of the regional Cosmos DB Restorable Database Account.
	CreationTime string `pulumi:"creationTime"`
	// The deletion time of the regional Cosmos DB Restorable Database Account.
	DeletionTime string `pulumi:"deletionTime"`
	// The location where the Cosmos DB Database Account.
	Location string `pulumi:"location"`
	// The instance ID of the regional Cosmos DB Restorable Database Account.
	RegionalDatabaseAccountInstanceId string `pulumi:"regionalDatabaseAccountInstanceId"`
}

type GetRestorableDatabaseAccountsAccountRestorableLocationArgs

type GetRestorableDatabaseAccountsAccountRestorableLocationArgs struct {
	// The creation time of the regional Cosmos DB Restorable Database Account.
	CreationTime pulumi.StringInput `pulumi:"creationTime"`
	// The deletion time of the regional Cosmos DB Restorable Database Account.
	DeletionTime pulumi.StringInput `pulumi:"deletionTime"`
	// The location where the Cosmos DB Database Account.
	Location pulumi.StringInput `pulumi:"location"`
	// The instance ID of the regional Cosmos DB Restorable Database Account.
	RegionalDatabaseAccountInstanceId pulumi.StringInput `pulumi:"regionalDatabaseAccountInstanceId"`
}

func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ElementType

func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput

func (GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext

func (i GetRestorableDatabaseAccountsAccountRestorableLocationArgs) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput

type GetRestorableDatabaseAccountsAccountRestorableLocationArray

type GetRestorableDatabaseAccountsAccountRestorableLocationArray []GetRestorableDatabaseAccountsAccountRestorableLocationInput

func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ElementType

func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput

func (GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext

func (i GetRestorableDatabaseAccountsAccountRestorableLocationArray) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput

type GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput

type GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput interface {
	pulumi.Input

	ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput() GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
	ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput
}

GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput is an input type that accepts GetRestorableDatabaseAccountsAccountRestorableLocationArray and GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountRestorableLocationArrayInput` via:

GetRestorableDatabaseAccountsAccountRestorableLocationArray{ GetRestorableDatabaseAccountsAccountRestorableLocationArgs{...} }

type GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput

type GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput struct{ *pulumi.OutputState }

func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ElementType

func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) Index

func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput

func (GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext

func (o GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationArrayOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationArrayOutput

type GetRestorableDatabaseAccountsAccountRestorableLocationInput

type GetRestorableDatabaseAccountsAccountRestorableLocationInput interface {
	pulumi.Input

	ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput() GetRestorableDatabaseAccountsAccountRestorableLocationOutput
	ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput
}

GetRestorableDatabaseAccountsAccountRestorableLocationInput is an input type that accepts GetRestorableDatabaseAccountsAccountRestorableLocationArgs and GetRestorableDatabaseAccountsAccountRestorableLocationOutput values. You can construct a concrete instance of `GetRestorableDatabaseAccountsAccountRestorableLocationInput` via:

GetRestorableDatabaseAccountsAccountRestorableLocationArgs{...}

type GetRestorableDatabaseAccountsAccountRestorableLocationOutput

type GetRestorableDatabaseAccountsAccountRestorableLocationOutput struct{ *pulumi.OutputState }

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) CreationTime

The creation time of the regional Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) DeletionTime

The deletion time of the regional Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ElementType

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) Location

The location where the Cosmos DB Database Account.

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) RegionalDatabaseAccountInstanceId

The instance ID of the regional Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutput

func (GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext

func (o GetRestorableDatabaseAccountsAccountRestorableLocationOutput) ToGetRestorableDatabaseAccountsAccountRestorableLocationOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsAccountRestorableLocationOutput

type GetRestorableDatabaseAccountsArgs

type GetRestorableDatabaseAccountsArgs struct {
	// The location where the Cosmos DB Database Account.
	Location string `pulumi:"location"`
	// The name of this Cosmos DB Database Account.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getRestorableDatabaseAccounts.

type GetRestorableDatabaseAccountsOutputArgs

type GetRestorableDatabaseAccountsOutputArgs struct {
	// The location where the Cosmos DB Database Account.
	Location pulumi.StringInput `pulumi:"location"`
	// The name of this Cosmos DB Database Account.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getRestorableDatabaseAccounts.

func (GetRestorableDatabaseAccountsOutputArgs) ElementType

type GetRestorableDatabaseAccountsResult

type GetRestorableDatabaseAccountsResult struct {
	// One or more `accounts` blocks as defined below.
	Accounts []GetRestorableDatabaseAccountsAccount `pulumi:"accounts"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The location of the regional Cosmos DB Restorable Database Account.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
}

A collection of values returned by getRestorableDatabaseAccounts.

func GetRestorableDatabaseAccounts

Use this data source to access information about Cosmos DB Restorable Database Accounts.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.GetRestorableDatabaseAccounts(ctx, &cosmosdb.GetRestorableDatabaseAccountsArgs{
			Name:     "example-ca",
			Location: "West Europe",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type GetRestorableDatabaseAccountsResultOutput

type GetRestorableDatabaseAccountsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRestorableDatabaseAccounts.

func (GetRestorableDatabaseAccountsResultOutput) Accounts

One or more `accounts` blocks as defined below.

func (GetRestorableDatabaseAccountsResultOutput) ElementType

func (GetRestorableDatabaseAccountsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRestorableDatabaseAccountsResultOutput) Location

The location of the regional Cosmos DB Restorable Database Account.

func (GetRestorableDatabaseAccountsResultOutput) Name

func (GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutput

func (o GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutput() GetRestorableDatabaseAccountsResultOutput

func (GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutputWithContext

func (o GetRestorableDatabaseAccountsResultOutput) ToGetRestorableDatabaseAccountsResultOutputWithContext(ctx context.Context) GetRestorableDatabaseAccountsResultOutput

type GetSqlDatabaseAutoscaleSetting added in v5.22.0

type GetSqlDatabaseAutoscaleSetting struct {
	// The maximum throughput of the SQL database (RU/s).
	MaxThroughput int `pulumi:"maxThroughput"`
}

type GetSqlDatabaseAutoscaleSettingArgs added in v5.22.0

type GetSqlDatabaseAutoscaleSettingArgs struct {
	// The maximum throughput of the SQL database (RU/s).
	MaxThroughput pulumi.IntInput `pulumi:"maxThroughput"`
}

func (GetSqlDatabaseAutoscaleSettingArgs) ElementType added in v5.22.0

func (GetSqlDatabaseAutoscaleSettingArgs) ToGetSqlDatabaseAutoscaleSettingOutput added in v5.22.0

func (i GetSqlDatabaseAutoscaleSettingArgs) ToGetSqlDatabaseAutoscaleSettingOutput() GetSqlDatabaseAutoscaleSettingOutput

func (GetSqlDatabaseAutoscaleSettingArgs) ToGetSqlDatabaseAutoscaleSettingOutputWithContext added in v5.22.0

func (i GetSqlDatabaseAutoscaleSettingArgs) ToGetSqlDatabaseAutoscaleSettingOutputWithContext(ctx context.Context) GetSqlDatabaseAutoscaleSettingOutput

type GetSqlDatabaseAutoscaleSettingArray added in v5.22.0

type GetSqlDatabaseAutoscaleSettingArray []GetSqlDatabaseAutoscaleSettingInput

func (GetSqlDatabaseAutoscaleSettingArray) ElementType added in v5.22.0

func (GetSqlDatabaseAutoscaleSettingArray) ToGetSqlDatabaseAutoscaleSettingArrayOutput added in v5.22.0

func (i GetSqlDatabaseAutoscaleSettingArray) ToGetSqlDatabaseAutoscaleSettingArrayOutput() GetSqlDatabaseAutoscaleSettingArrayOutput

func (GetSqlDatabaseAutoscaleSettingArray) ToGetSqlDatabaseAutoscaleSettingArrayOutputWithContext added in v5.22.0

func (i GetSqlDatabaseAutoscaleSettingArray) ToGetSqlDatabaseAutoscaleSettingArrayOutputWithContext(ctx context.Context) GetSqlDatabaseAutoscaleSettingArrayOutput

type GetSqlDatabaseAutoscaleSettingArrayInput added in v5.22.0

type GetSqlDatabaseAutoscaleSettingArrayInput interface {
	pulumi.Input

	ToGetSqlDatabaseAutoscaleSettingArrayOutput() GetSqlDatabaseAutoscaleSettingArrayOutput
	ToGetSqlDatabaseAutoscaleSettingArrayOutputWithContext(context.Context) GetSqlDatabaseAutoscaleSettingArrayOutput
}

GetSqlDatabaseAutoscaleSettingArrayInput is an input type that accepts GetSqlDatabaseAutoscaleSettingArray and GetSqlDatabaseAutoscaleSettingArrayOutput values. You can construct a concrete instance of `GetSqlDatabaseAutoscaleSettingArrayInput` via:

GetSqlDatabaseAutoscaleSettingArray{ GetSqlDatabaseAutoscaleSettingArgs{...} }

type GetSqlDatabaseAutoscaleSettingArrayOutput added in v5.22.0

type GetSqlDatabaseAutoscaleSettingArrayOutput struct{ *pulumi.OutputState }

func (GetSqlDatabaseAutoscaleSettingArrayOutput) ElementType added in v5.22.0

func (GetSqlDatabaseAutoscaleSettingArrayOutput) Index added in v5.22.0

func (GetSqlDatabaseAutoscaleSettingArrayOutput) ToGetSqlDatabaseAutoscaleSettingArrayOutput added in v5.22.0

func (o GetSqlDatabaseAutoscaleSettingArrayOutput) ToGetSqlDatabaseAutoscaleSettingArrayOutput() GetSqlDatabaseAutoscaleSettingArrayOutput

func (GetSqlDatabaseAutoscaleSettingArrayOutput) ToGetSqlDatabaseAutoscaleSettingArrayOutputWithContext added in v5.22.0

func (o GetSqlDatabaseAutoscaleSettingArrayOutput) ToGetSqlDatabaseAutoscaleSettingArrayOutputWithContext(ctx context.Context) GetSqlDatabaseAutoscaleSettingArrayOutput

type GetSqlDatabaseAutoscaleSettingInput added in v5.22.0

type GetSqlDatabaseAutoscaleSettingInput interface {
	pulumi.Input

	ToGetSqlDatabaseAutoscaleSettingOutput() GetSqlDatabaseAutoscaleSettingOutput
	ToGetSqlDatabaseAutoscaleSettingOutputWithContext(context.Context) GetSqlDatabaseAutoscaleSettingOutput
}

GetSqlDatabaseAutoscaleSettingInput is an input type that accepts GetSqlDatabaseAutoscaleSettingArgs and GetSqlDatabaseAutoscaleSettingOutput values. You can construct a concrete instance of `GetSqlDatabaseAutoscaleSettingInput` via:

GetSqlDatabaseAutoscaleSettingArgs{...}

type GetSqlDatabaseAutoscaleSettingOutput added in v5.22.0

type GetSqlDatabaseAutoscaleSettingOutput struct{ *pulumi.OutputState }

func (GetSqlDatabaseAutoscaleSettingOutput) ElementType added in v5.22.0

func (GetSqlDatabaseAutoscaleSettingOutput) MaxThroughput added in v5.22.0

The maximum throughput of the SQL database (RU/s).

func (GetSqlDatabaseAutoscaleSettingOutput) ToGetSqlDatabaseAutoscaleSettingOutput added in v5.22.0

func (o GetSqlDatabaseAutoscaleSettingOutput) ToGetSqlDatabaseAutoscaleSettingOutput() GetSqlDatabaseAutoscaleSettingOutput

func (GetSqlDatabaseAutoscaleSettingOutput) ToGetSqlDatabaseAutoscaleSettingOutputWithContext added in v5.22.0

func (o GetSqlDatabaseAutoscaleSettingOutput) ToGetSqlDatabaseAutoscaleSettingOutputWithContext(ctx context.Context) GetSqlDatabaseAutoscaleSettingOutput

type GetSqlRoleDefinitionPermission added in v5.22.0

type GetSqlRoleDefinitionPermission struct {
	// A list of data actions that are allowed for the Cosmos DB SQL Role Definition.
	DataActions []string `pulumi:"dataActions"`
}

type GetSqlRoleDefinitionPermissionArgs added in v5.22.0

type GetSqlRoleDefinitionPermissionArgs struct {
	// A list of data actions that are allowed for the Cosmos DB SQL Role Definition.
	DataActions pulumi.StringArrayInput `pulumi:"dataActions"`
}

func (GetSqlRoleDefinitionPermissionArgs) ElementType added in v5.22.0

func (GetSqlRoleDefinitionPermissionArgs) ToGetSqlRoleDefinitionPermissionOutput added in v5.22.0

func (i GetSqlRoleDefinitionPermissionArgs) ToGetSqlRoleDefinitionPermissionOutput() GetSqlRoleDefinitionPermissionOutput

func (GetSqlRoleDefinitionPermissionArgs) ToGetSqlRoleDefinitionPermissionOutputWithContext added in v5.22.0

func (i GetSqlRoleDefinitionPermissionArgs) ToGetSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) GetSqlRoleDefinitionPermissionOutput

type GetSqlRoleDefinitionPermissionArray added in v5.22.0

type GetSqlRoleDefinitionPermissionArray []GetSqlRoleDefinitionPermissionInput

func (GetSqlRoleDefinitionPermissionArray) ElementType added in v5.22.0

func (GetSqlRoleDefinitionPermissionArray) ToGetSqlRoleDefinitionPermissionArrayOutput added in v5.22.0

func (i GetSqlRoleDefinitionPermissionArray) ToGetSqlRoleDefinitionPermissionArrayOutput() GetSqlRoleDefinitionPermissionArrayOutput

func (GetSqlRoleDefinitionPermissionArray) ToGetSqlRoleDefinitionPermissionArrayOutputWithContext added in v5.22.0

func (i GetSqlRoleDefinitionPermissionArray) ToGetSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) GetSqlRoleDefinitionPermissionArrayOutput

type GetSqlRoleDefinitionPermissionArrayInput added in v5.22.0

type GetSqlRoleDefinitionPermissionArrayInput interface {
	pulumi.Input

	ToGetSqlRoleDefinitionPermissionArrayOutput() GetSqlRoleDefinitionPermissionArrayOutput
	ToGetSqlRoleDefinitionPermissionArrayOutputWithContext(context.Context) GetSqlRoleDefinitionPermissionArrayOutput
}

GetSqlRoleDefinitionPermissionArrayInput is an input type that accepts GetSqlRoleDefinitionPermissionArray and GetSqlRoleDefinitionPermissionArrayOutput values. You can construct a concrete instance of `GetSqlRoleDefinitionPermissionArrayInput` via:

GetSqlRoleDefinitionPermissionArray{ GetSqlRoleDefinitionPermissionArgs{...} }

type GetSqlRoleDefinitionPermissionArrayOutput added in v5.22.0

type GetSqlRoleDefinitionPermissionArrayOutput struct{ *pulumi.OutputState }

func (GetSqlRoleDefinitionPermissionArrayOutput) ElementType added in v5.22.0

func (GetSqlRoleDefinitionPermissionArrayOutput) Index added in v5.22.0

func (GetSqlRoleDefinitionPermissionArrayOutput) ToGetSqlRoleDefinitionPermissionArrayOutput added in v5.22.0

func (o GetSqlRoleDefinitionPermissionArrayOutput) ToGetSqlRoleDefinitionPermissionArrayOutput() GetSqlRoleDefinitionPermissionArrayOutput

func (GetSqlRoleDefinitionPermissionArrayOutput) ToGetSqlRoleDefinitionPermissionArrayOutputWithContext added in v5.22.0

func (o GetSqlRoleDefinitionPermissionArrayOutput) ToGetSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) GetSqlRoleDefinitionPermissionArrayOutput

type GetSqlRoleDefinitionPermissionInput added in v5.22.0

type GetSqlRoleDefinitionPermissionInput interface {
	pulumi.Input

	ToGetSqlRoleDefinitionPermissionOutput() GetSqlRoleDefinitionPermissionOutput
	ToGetSqlRoleDefinitionPermissionOutputWithContext(context.Context) GetSqlRoleDefinitionPermissionOutput
}

GetSqlRoleDefinitionPermissionInput is an input type that accepts GetSqlRoleDefinitionPermissionArgs and GetSqlRoleDefinitionPermissionOutput values. You can construct a concrete instance of `GetSqlRoleDefinitionPermissionInput` via:

GetSqlRoleDefinitionPermissionArgs{...}

type GetSqlRoleDefinitionPermissionOutput added in v5.22.0

type GetSqlRoleDefinitionPermissionOutput struct{ *pulumi.OutputState }

func (GetSqlRoleDefinitionPermissionOutput) DataActions added in v5.22.0

A list of data actions that are allowed for the Cosmos DB SQL Role Definition.

func (GetSqlRoleDefinitionPermissionOutput) ElementType added in v5.22.0

func (GetSqlRoleDefinitionPermissionOutput) ToGetSqlRoleDefinitionPermissionOutput added in v5.22.0

func (o GetSqlRoleDefinitionPermissionOutput) ToGetSqlRoleDefinitionPermissionOutput() GetSqlRoleDefinitionPermissionOutput

func (GetSqlRoleDefinitionPermissionOutput) ToGetSqlRoleDefinitionPermissionOutputWithContext added in v5.22.0

func (o GetSqlRoleDefinitionPermissionOutput) ToGetSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) GetSqlRoleDefinitionPermissionOutput

type GremlinDatabase

type GremlinDatabase struct {
	pulumi.CustomResourceState

	// The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Gremlin Database within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetGremlinDatabase

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

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

func NewGremlinDatabase

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

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

func (*GremlinDatabase) ElementType

func (*GremlinDatabase) ElementType() reflect.Type

func (*GremlinDatabase) ToGremlinDatabaseOutput

func (i *GremlinDatabase) ToGremlinDatabaseOutput() GremlinDatabaseOutput

func (*GremlinDatabase) ToGremlinDatabaseOutputWithContext

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

type GremlinDatabaseArgs

type GremlinDatabaseArgs struct {
	// The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a GremlinDatabase resource.

func (GremlinDatabaseArgs) ElementType

func (GremlinDatabaseArgs) ElementType() reflect.Type

type GremlinDatabaseArray

type GremlinDatabaseArray []GremlinDatabaseInput

func (GremlinDatabaseArray) ElementType

func (GremlinDatabaseArray) ElementType() reflect.Type

func (GremlinDatabaseArray) ToGremlinDatabaseArrayOutput

func (i GremlinDatabaseArray) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput

func (GremlinDatabaseArray) ToGremlinDatabaseArrayOutputWithContext

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

type GremlinDatabaseArrayInput

type GremlinDatabaseArrayInput interface {
	pulumi.Input

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

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

GremlinDatabaseArray{ GremlinDatabaseArgs{...} }

type GremlinDatabaseArrayOutput

type GremlinDatabaseArrayOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseArrayOutput) ElementType

func (GremlinDatabaseArrayOutput) ElementType() reflect.Type

func (GremlinDatabaseArrayOutput) Index

func (GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput

func (o GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutput() GremlinDatabaseArrayOutput

func (GremlinDatabaseArrayOutput) ToGremlinDatabaseArrayOutputWithContext

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

type GremlinDatabaseAutoscaleSettings

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

type GremlinDatabaseAutoscaleSettingsArgs

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

func (GremlinDatabaseAutoscaleSettingsArgs) ElementType

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput

func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsOutputWithContext

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

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput

func (i GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput

func (GremlinDatabaseAutoscaleSettingsArgs) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext

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

type GremlinDatabaseAutoscaleSettingsInput

type GremlinDatabaseAutoscaleSettingsInput interface {
	pulumi.Input

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

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

GremlinDatabaseAutoscaleSettingsArgs{...}

type GremlinDatabaseAutoscaleSettingsOutput

type GremlinDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseAutoscaleSettingsOutput) ElementType

func (GremlinDatabaseAutoscaleSettingsOutput) MaxThroughput

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

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput

func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutput() GremlinDatabaseAutoscaleSettingsOutput

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsOutputWithContext

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

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput

func (o GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput

func (GremlinDatabaseAutoscaleSettingsOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext

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

type GremlinDatabaseAutoscaleSettingsPtrInput

type GremlinDatabaseAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        GremlinDatabaseAutoscaleSettingsArgs{...}

or:

        nil

type GremlinDatabaseAutoscaleSettingsPtrOutput

type GremlinDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseAutoscaleSettingsPtrOutput) Elem

func (GremlinDatabaseAutoscaleSettingsPtrOutput) ElementType

func (GremlinDatabaseAutoscaleSettingsPtrOutput) MaxThroughput

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

func (GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput

func (o GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutput() GremlinDatabaseAutoscaleSettingsPtrOutput

func (GremlinDatabaseAutoscaleSettingsPtrOutput) ToGremlinDatabaseAutoscaleSettingsPtrOutputWithContext

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

type GremlinDatabaseInput

type GremlinDatabaseInput interface {
	pulumi.Input

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

type GremlinDatabaseMap

type GremlinDatabaseMap map[string]GremlinDatabaseInput

func (GremlinDatabaseMap) ElementType

func (GremlinDatabaseMap) ElementType() reflect.Type

func (GremlinDatabaseMap) ToGremlinDatabaseMapOutput

func (i GremlinDatabaseMap) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput

func (GremlinDatabaseMap) ToGremlinDatabaseMapOutputWithContext

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

type GremlinDatabaseMapInput

type GremlinDatabaseMapInput interface {
	pulumi.Input

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

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

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

type GremlinDatabaseMapOutput

type GremlinDatabaseMapOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseMapOutput) ElementType

func (GremlinDatabaseMapOutput) ElementType() reflect.Type

func (GremlinDatabaseMapOutput) MapIndex

func (GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput

func (o GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutput() GremlinDatabaseMapOutput

func (GremlinDatabaseMapOutput) ToGremlinDatabaseMapOutputWithContext

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

type GremlinDatabaseOutput

type GremlinDatabaseOutput struct{ *pulumi.OutputState }

func (GremlinDatabaseOutput) AccountName added in v5.5.0

func (o GremlinDatabaseOutput) AccountName() pulumi.StringOutput

The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.

func (GremlinDatabaseOutput) AutoscaleSettings added in v5.5.0

An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.

> **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.

func (GremlinDatabaseOutput) ElementType

func (GremlinDatabaseOutput) ElementType() reflect.Type

func (GremlinDatabaseOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.

func (GremlinDatabaseOutput) ResourceGroupName added in v5.5.0

func (o GremlinDatabaseOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.

func (GremlinDatabaseOutput) Throughput added in v5.5.0

func (o GremlinDatabaseOutput) Throughput() pulumi.IntOutput

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.

> **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support

func (GremlinDatabaseOutput) ToGremlinDatabaseOutput

func (o GremlinDatabaseOutput) ToGremlinDatabaseOutput() GremlinDatabaseOutput

func (GremlinDatabaseOutput) ToGremlinDatabaseOutputWithContext

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

type GremlinDatabaseState

type GremlinDatabaseState struct {
	// The name of the CosmosDB Account to create the Gremlin Database within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings GremlinDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Gremlin Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of the Gremlin database (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	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 time to live of Analytical Storage for this Cosmos DB Gremlin Graph. Possible values are between `-1` to `2147483647` not including `0`. If present and the value is set to `-1`, it means never expire.
	//
	// > **Note:** Disabling `analyticalStorageTtl` will force a new resource to be created since it can't be disabled once it's enabled.
	AnalyticalStorageTtl pulumi.IntPtrOutput                    `pulumi:"analyticalStorageTtl"`
	AutoscaleSettings    GremlinGraphAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// A `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.
	ConflictResolutionPolicy GremlinGraphConflictResolutionPolicyOutput `pulumi:"conflictResolutionPolicy"`
	// The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
	DefaultTtl pulumi.IntOutput `pulumi:"defaultTtl"`
	// The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below.
	IndexPolicy GremlinGraphIndexPolicyOutput `pulumi:"indexPolicy"`
	// Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringOutput `pulumi:"partitionKeyPath"`
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrOutput `pulumi:"partitionKeyVersion"`
	// The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys GremlinGraphUniqueKeyArrayOutput `pulumi:"uniqueKeys"`
}

Manages a Gremlin Graph within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleGremlinDatabase, err := cosmosdb.NewGremlinDatabase(ctx, "example", &cosmosdb.GremlinDatabaseArgs{
			Name:              pulumi.String("tfex-cosmos-gremlin-db"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewGremlinGraph(ctx, "example", &cosmosdb.GremlinGraphArgs{
			Name:              pulumi.String("tfex-cosmos-gremlin-graph"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			DatabaseName:      exampleGremlinDatabase.Name,
			PartitionKeyPath:  pulumi.String("/Example"),
			Throughput:        pulumi.Int(400),
			IndexPolicy: &cosmosdb.GremlinGraphIndexPolicyArgs{
				Automatic:    pulumi.Bool(true),
				IndexingMode: pulumi.String("consistent"),
				IncludedPaths: pulumi.StringArray{
					pulumi.String("/*"),
				},
				ExcludedPaths: pulumi.StringArray{
					pulumi.String("/\"_etag\"/?"),
				},
			},
			ConflictResolutionPolicy: &cosmosdb.GremlinGraphConflictResolutionPolicyArgs{
				Mode:                   pulumi.String("LastWriterWins"),
				ConflictResolutionPath: pulumi.String("/_ts"),
			},
			UniqueKeys: cosmosdb.GremlinGraphUniqueKeyArray{
				&cosmosdb.GremlinGraphUniqueKeyArgs{
					Paths: pulumi.StringArray{
						pulumi.String("/definition/id1"),
						pulumi.String("/definition/id2"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

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

## Import

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

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

func GetGremlinGraph

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

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

func NewGremlinGraph

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

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

func (*GremlinGraph) ElementType

func (*GremlinGraph) ElementType() reflect.Type

func (*GremlinGraph) ToGremlinGraphOutput

func (i *GremlinGraph) ToGremlinGraphOutput() GremlinGraphOutput

func (*GremlinGraph) ToGremlinGraphOutputWithContext

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

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 time to live of Analytical Storage for this Cosmos DB Gremlin Graph. Possible values are between `-1` to `2147483647` not including `0`. If present and the value is set to `-1`, it means never expire.
	//
	// > **Note:** Disabling `analyticalStorageTtl` will force a new resource to be created since it can't be disabled once it's enabled.
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    GremlinGraphAutoscaleSettingsPtrInput
	// A `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.
	ConflictResolutionPolicy GremlinGraphConflictResolutionPolicyPtrInput
	// The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
	DefaultTtl pulumi.IntPtrInput
	// The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below.
	IndexPolicy GremlinGraphIndexPolicyPtrInput
	// Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringInput
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	Throughput pulumi.IntPtrInput
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys GremlinGraphUniqueKeyArrayInput
}

The set of arguments for constructing a GremlinGraph resource.

func (GremlinGraphArgs) ElementType

func (GremlinGraphArgs) ElementType() reflect.Type

type GremlinGraphArray

type GremlinGraphArray []GremlinGraphInput

func (GremlinGraphArray) ElementType

func (GremlinGraphArray) ElementType() reflect.Type

func (GremlinGraphArray) ToGremlinGraphArrayOutput

func (i GremlinGraphArray) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput

func (GremlinGraphArray) ToGremlinGraphArrayOutputWithContext

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

type GremlinGraphArrayInput

type GremlinGraphArrayInput interface {
	pulumi.Input

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

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

GremlinGraphArray{ GremlinGraphArgs{...} }

type GremlinGraphArrayOutput

type GremlinGraphArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphArrayOutput) ElementType

func (GremlinGraphArrayOutput) ElementType() reflect.Type

func (GremlinGraphArrayOutput) Index

func (GremlinGraphArrayOutput) ToGremlinGraphArrayOutput

func (o GremlinGraphArrayOutput) ToGremlinGraphArrayOutput() GremlinGraphArrayOutput

func (GremlinGraphArrayOutput) ToGremlinGraphArrayOutputWithContext

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

type GremlinGraphAutoscaleSettings

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

type GremlinGraphAutoscaleSettingsArgs

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

func (GremlinGraphAutoscaleSettingsArgs) ElementType

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput

func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsOutputWithContext

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

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput

func (i GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput

func (GremlinGraphAutoscaleSettingsArgs) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext

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

type GremlinGraphAutoscaleSettingsInput

type GremlinGraphAutoscaleSettingsInput interface {
	pulumi.Input

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

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

GremlinGraphAutoscaleSettingsArgs{...}

type GremlinGraphAutoscaleSettingsOutput

type GremlinGraphAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (GremlinGraphAutoscaleSettingsOutput) ElementType

func (GremlinGraphAutoscaleSettingsOutput) MaxThroughput

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

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput

func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutput() GremlinGraphAutoscaleSettingsOutput

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsOutputWithContext

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

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput

func (o GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput

func (GremlinGraphAutoscaleSettingsOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext

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

type GremlinGraphAutoscaleSettingsPtrInput

type GremlinGraphAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        GremlinGraphAutoscaleSettingsArgs{...}

or:

        nil

type GremlinGraphAutoscaleSettingsPtrOutput

type GremlinGraphAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (GremlinGraphAutoscaleSettingsPtrOutput) Elem

func (GremlinGraphAutoscaleSettingsPtrOutput) ElementType

func (GremlinGraphAutoscaleSettingsPtrOutput) MaxThroughput

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

func (GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput

func (o GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutput() GremlinGraphAutoscaleSettingsPtrOutput

func (GremlinGraphAutoscaleSettingsPtrOutput) ToGremlinGraphAutoscaleSettingsPtrOutputWithContext

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

type GremlinGraphConflictResolutionPolicy

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

type GremlinGraphConflictResolutionPolicyArgs

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

func (GremlinGraphConflictResolutionPolicyArgs) ElementType

func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput

func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput

func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyOutputWithContext

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

func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyPtrOutput

func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyPtrOutput() GremlinGraphConflictResolutionPolicyPtrOutput

func (GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext

func (i GremlinGraphConflictResolutionPolicyArgs) ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyPtrOutput

type GremlinGraphConflictResolutionPolicyInput

type GremlinGraphConflictResolutionPolicyInput interface {
	pulumi.Input

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

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

GremlinGraphConflictResolutionPolicyArgs{...}

type GremlinGraphConflictResolutionPolicyOutput

type GremlinGraphConflictResolutionPolicyOutput struct{ *pulumi.OutputState }

func (GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionPath

The conflict resolution path in the case of LastWriterWins mode.

func (GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure

func (o GremlinGraphConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput

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

func (GremlinGraphConflictResolutionPolicyOutput) ElementType

func (GremlinGraphConflictResolutionPolicyOutput) Mode

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

func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput

func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutput() GremlinGraphConflictResolutionPolicyOutput

func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyOutputWithContext

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

func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyPtrOutput

func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyPtrOutput() GremlinGraphConflictResolutionPolicyPtrOutput

func (GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext

func (o GremlinGraphConflictResolutionPolicyOutput) ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyPtrOutput

type GremlinGraphConflictResolutionPolicyPtrInput

type GremlinGraphConflictResolutionPolicyPtrInput interface {
	pulumi.Input

	ToGremlinGraphConflictResolutionPolicyPtrOutput() GremlinGraphConflictResolutionPolicyPtrOutput
	ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext(context.Context) GremlinGraphConflictResolutionPolicyPtrOutput
}

GremlinGraphConflictResolutionPolicyPtrInput is an input type that accepts GremlinGraphConflictResolutionPolicyArgs, GremlinGraphConflictResolutionPolicyPtr and GremlinGraphConflictResolutionPolicyPtrOutput values. You can construct a concrete instance of `GremlinGraphConflictResolutionPolicyPtrInput` via:

        GremlinGraphConflictResolutionPolicyArgs{...}

or:

        nil

type GremlinGraphConflictResolutionPolicyPtrOutput

type GremlinGraphConflictResolutionPolicyPtrOutput struct{ *pulumi.OutputState }

func (GremlinGraphConflictResolutionPolicyPtrOutput) ConflictResolutionPath

The conflict resolution path in the case of LastWriterWins mode.

func (GremlinGraphConflictResolutionPolicyPtrOutput) ConflictResolutionProcedure

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

func (GremlinGraphConflictResolutionPolicyPtrOutput) Elem

func (GremlinGraphConflictResolutionPolicyPtrOutput) ElementType

func (GremlinGraphConflictResolutionPolicyPtrOutput) Mode

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

func (GremlinGraphConflictResolutionPolicyPtrOutput) ToGremlinGraphConflictResolutionPolicyPtrOutput

func (o GremlinGraphConflictResolutionPolicyPtrOutput) ToGremlinGraphConflictResolutionPolicyPtrOutput() GremlinGraphConflictResolutionPolicyPtrOutput

func (GremlinGraphConflictResolutionPolicyPtrOutput) ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext

func (o GremlinGraphConflictResolutionPolicyPtrOutput) ToGremlinGraphConflictResolutionPolicyPtrOutputWithContext(ctx context.Context) GremlinGraphConflictResolutionPolicyPtrOutput

type GremlinGraphIndexPolicy

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

type GremlinGraphIndexPolicyArgs

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

func (GremlinGraphIndexPolicyArgs) ElementType

func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutput

func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput

func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyOutputWithContext

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

func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyPtrOutput

func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyPtrOutput() GremlinGraphIndexPolicyPtrOutput

func (GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyPtrOutputWithContext

func (i GremlinGraphIndexPolicyArgs) ToGremlinGraphIndexPolicyPtrOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyPtrOutput

type GremlinGraphIndexPolicyCompositeIndex

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

type GremlinGraphIndexPolicyCompositeIndexArgs

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

func (GremlinGraphIndexPolicyCompositeIndexArgs) ElementType

func (GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput

func (i GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexArray

type GremlinGraphIndexPolicyCompositeIndexArray []GremlinGraphIndexPolicyCompositeIndexInput

func (GremlinGraphIndexPolicyCompositeIndexArray) ElementType

func (GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput

func (i GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexArray) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexArrayInput

type GremlinGraphIndexPolicyCompositeIndexArrayInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicyCompositeIndexArray{ GremlinGraphIndexPolicyCompositeIndexArgs{...} }

type GremlinGraphIndexPolicyCompositeIndexArrayOutput

type GremlinGraphIndexPolicyCompositeIndexArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ElementType

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) Index

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput

func (o GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexArrayOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexIndex

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

type GremlinGraphIndexPolicyCompositeIndexIndexArgs

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

func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ElementType

func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput

func (i GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexArgs) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexIndexArray

type GremlinGraphIndexPolicyCompositeIndexIndexArray []GremlinGraphIndexPolicyCompositeIndexIndexInput

func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ElementType

func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

func (i GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput() GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexArray) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput

type GremlinGraphIndexPolicyCompositeIndexIndexArrayInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicyCompositeIndexIndexArray{ GremlinGraphIndexPolicyCompositeIndexIndexArgs{...} }

type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

type GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ElementType

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) Index

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexArrayOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexArrayOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexIndexInput

type GremlinGraphIndexPolicyCompositeIndexIndexInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicyCompositeIndexIndexArgs{...}

type GremlinGraphIndexPolicyCompositeIndexIndexOutput

type GremlinGraphIndexPolicyCompositeIndexIndexOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ElementType

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) Order

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

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) Path

Path for which the indexing behaviour applies to.

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput

func (o GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutput() GremlinGraphIndexPolicyCompositeIndexIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexIndexOutputWithContext

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

type GremlinGraphIndexPolicyCompositeIndexInput

type GremlinGraphIndexPolicyCompositeIndexInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicyCompositeIndexArgs{...}

type GremlinGraphIndexPolicyCompositeIndexOutput

type GremlinGraphIndexPolicyCompositeIndexOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyCompositeIndexOutput) ElementType

func (GremlinGraphIndexPolicyCompositeIndexOutput) Indices

One or more `index` blocks as defined below.

func (GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput

func (o GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutput() GremlinGraphIndexPolicyCompositeIndexOutput

func (GremlinGraphIndexPolicyCompositeIndexOutput) ToGremlinGraphIndexPolicyCompositeIndexOutputWithContext

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

type GremlinGraphIndexPolicyInput

type GremlinGraphIndexPolicyInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicyArgs{...}

type GremlinGraphIndexPolicyOutput

type GremlinGraphIndexPolicyOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyOutput) Automatic

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

func (GremlinGraphIndexPolicyOutput) CompositeIndices

One or more `compositeIndex` blocks as defined below.

func (GremlinGraphIndexPolicyOutput) ElementType

func (GremlinGraphIndexPolicyOutput) ExcludedPaths

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

func (GremlinGraphIndexPolicyOutput) IncludedPaths

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

func (GremlinGraphIndexPolicyOutput) IndexingMode

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

func (GremlinGraphIndexPolicyOutput) SpatialIndices

One or more `spatialIndex` blocks as defined below.

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput

func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutput() GremlinGraphIndexPolicyOutput

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyOutputWithContext

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

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyPtrOutput

func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyPtrOutput() GremlinGraphIndexPolicyPtrOutput

func (GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyPtrOutputWithContext

func (o GremlinGraphIndexPolicyOutput) ToGremlinGraphIndexPolicyPtrOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyPtrOutput

type GremlinGraphIndexPolicyPtrInput

type GremlinGraphIndexPolicyPtrInput interface {
	pulumi.Input

	ToGremlinGraphIndexPolicyPtrOutput() GremlinGraphIndexPolicyPtrOutput
	ToGremlinGraphIndexPolicyPtrOutputWithContext(context.Context) GremlinGraphIndexPolicyPtrOutput
}

GremlinGraphIndexPolicyPtrInput is an input type that accepts GremlinGraphIndexPolicyArgs, GremlinGraphIndexPolicyPtr and GremlinGraphIndexPolicyPtrOutput values. You can construct a concrete instance of `GremlinGraphIndexPolicyPtrInput` via:

        GremlinGraphIndexPolicyArgs{...}

or:

        nil

type GremlinGraphIndexPolicyPtrOutput

type GremlinGraphIndexPolicyPtrOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicyPtrOutput) Automatic

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

func (GremlinGraphIndexPolicyPtrOutput) CompositeIndices

One or more `compositeIndex` blocks as defined below.

func (GremlinGraphIndexPolicyPtrOutput) Elem

func (GremlinGraphIndexPolicyPtrOutput) ElementType

func (GremlinGraphIndexPolicyPtrOutput) ExcludedPaths

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

func (GremlinGraphIndexPolicyPtrOutput) IncludedPaths

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

func (GremlinGraphIndexPolicyPtrOutput) IndexingMode

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

func (GremlinGraphIndexPolicyPtrOutput) SpatialIndices

One or more `spatialIndex` blocks as defined below.

func (GremlinGraphIndexPolicyPtrOutput) ToGremlinGraphIndexPolicyPtrOutput

func (o GremlinGraphIndexPolicyPtrOutput) ToGremlinGraphIndexPolicyPtrOutput() GremlinGraphIndexPolicyPtrOutput

func (GremlinGraphIndexPolicyPtrOutput) ToGremlinGraphIndexPolicyPtrOutputWithContext

func (o GremlinGraphIndexPolicyPtrOutput) ToGremlinGraphIndexPolicyPtrOutputWithContext(ctx context.Context) GremlinGraphIndexPolicyPtrOutput

type GremlinGraphIndexPolicySpatialIndex

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

type GremlinGraphIndexPolicySpatialIndexArgs

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

func (GremlinGraphIndexPolicySpatialIndexArgs) ElementType

func (GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput

func (i GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput

func (GremlinGraphIndexPolicySpatialIndexArgs) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext

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

type GremlinGraphIndexPolicySpatialIndexArray

type GremlinGraphIndexPolicySpatialIndexArray []GremlinGraphIndexPolicySpatialIndexInput

func (GremlinGraphIndexPolicySpatialIndexArray) ElementType

func (GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput

func (i GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput

func (GremlinGraphIndexPolicySpatialIndexArray) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext

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

type GremlinGraphIndexPolicySpatialIndexArrayInput

type GremlinGraphIndexPolicySpatialIndexArrayInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicySpatialIndexArray{ GremlinGraphIndexPolicySpatialIndexArgs{...} }

type GremlinGraphIndexPolicySpatialIndexArrayOutput

type GremlinGraphIndexPolicySpatialIndexArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ElementType

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) Index

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput

func (o GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutput() GremlinGraphIndexPolicySpatialIndexArrayOutput

func (GremlinGraphIndexPolicySpatialIndexArrayOutput) ToGremlinGraphIndexPolicySpatialIndexArrayOutputWithContext

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

type GremlinGraphIndexPolicySpatialIndexInput

type GremlinGraphIndexPolicySpatialIndexInput interface {
	pulumi.Input

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

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

GremlinGraphIndexPolicySpatialIndexArgs{...}

type GremlinGraphIndexPolicySpatialIndexOutput

type GremlinGraphIndexPolicySpatialIndexOutput struct{ *pulumi.OutputState }

func (GremlinGraphIndexPolicySpatialIndexOutput) ElementType

func (GremlinGraphIndexPolicySpatialIndexOutput) Path

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

func (GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput

func (o GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutput() GremlinGraphIndexPolicySpatialIndexOutput

func (GremlinGraphIndexPolicySpatialIndexOutput) ToGremlinGraphIndexPolicySpatialIndexOutputWithContext

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

func (GremlinGraphIndexPolicySpatialIndexOutput) Types

type GremlinGraphInput

type GremlinGraphInput interface {
	pulumi.Input

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

type GremlinGraphMap

type GremlinGraphMap map[string]GremlinGraphInput

func (GremlinGraphMap) ElementType

func (GremlinGraphMap) ElementType() reflect.Type

func (GremlinGraphMap) ToGremlinGraphMapOutput

func (i GremlinGraphMap) ToGremlinGraphMapOutput() GremlinGraphMapOutput

func (GremlinGraphMap) ToGremlinGraphMapOutputWithContext

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

type GremlinGraphMapInput

type GremlinGraphMapInput interface {
	pulumi.Input

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

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

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

type GremlinGraphMapOutput

type GremlinGraphMapOutput struct{ *pulumi.OutputState }

func (GremlinGraphMapOutput) ElementType

func (GremlinGraphMapOutput) ElementType() reflect.Type

func (GremlinGraphMapOutput) MapIndex

func (GremlinGraphMapOutput) ToGremlinGraphMapOutput

func (o GremlinGraphMapOutput) ToGremlinGraphMapOutput() GremlinGraphMapOutput

func (GremlinGraphMapOutput) ToGremlinGraphMapOutputWithContext

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

type GremlinGraphOutput

type GremlinGraphOutput struct{ *pulumi.OutputState }

func (GremlinGraphOutput) AccountName added in v5.5.0

func (o GremlinGraphOutput) AccountName() pulumi.StringOutput

The name of the CosmosDB Account to create the Gremlin Graph within. Changing this forces a new resource to be created.

func (GremlinGraphOutput) AnalyticalStorageTtl added in v5.45.0

func (o GremlinGraphOutput) AnalyticalStorageTtl() pulumi.IntPtrOutput

The time to live of Analytical Storage for this Cosmos DB Gremlin Graph. Possible values are between `-1` to `2147483647` not including `0`. If present and the value is set to `-1`, it means never expire.

> **Note:** Disabling `analyticalStorageTtl` will force a new resource to be created since it can't be disabled once it's enabled.

func (GremlinGraphOutput) AutoscaleSettings added in v5.5.0

func (GremlinGraphOutput) ConflictResolutionPolicy added in v5.5.0

A `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.

func (GremlinGraphOutput) DatabaseName added in v5.5.0

func (o GremlinGraphOutput) DatabaseName() pulumi.StringOutput

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.

func (GremlinGraphOutput) DefaultTtl added in v5.5.0

func (o GremlinGraphOutput) DefaultTtl() pulumi.IntOutput

The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.

func (GremlinGraphOutput) ElementType

func (GremlinGraphOutput) ElementType() reflect.Type

func (GremlinGraphOutput) IndexPolicy added in v5.5.0

The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below.

func (GremlinGraphOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.

func (GremlinGraphOutput) PartitionKeyPath added in v5.5.0

func (o GremlinGraphOutput) PartitionKeyPath() pulumi.StringOutput

Define a partition key. Changing this forces a new resource to be created.

func (GremlinGraphOutput) PartitionKeyVersion added in v5.5.0

func (o GremlinGraphOutput) PartitionKeyVersion() pulumi.IntPtrOutput

Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.

func (GremlinGraphOutput) ResourceGroupName added in v5.5.0

func (o GremlinGraphOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.

func (GremlinGraphOutput) Throughput added in v5.5.0

func (o GremlinGraphOutput) Throughput() pulumi.IntOutput

The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.

func (GremlinGraphOutput) ToGremlinGraphOutput

func (o GremlinGraphOutput) ToGremlinGraphOutput() GremlinGraphOutput

func (GremlinGraphOutput) ToGremlinGraphOutputWithContext

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

func (GremlinGraphOutput) UniqueKeys added in v5.5.0

One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.

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 time to live of Analytical Storage for this Cosmos DB Gremlin Graph. Possible values are between `-1` to `2147483647` not including `0`. If present and the value is set to `-1`, it means never expire.
	//
	// > **Note:** Disabling `analyticalStorageTtl` will force a new resource to be created since it can't be disabled once it's enabled.
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    GremlinGraphAutoscaleSettingsPtrInput
	// A `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.
	ConflictResolutionPolicy GremlinGraphConflictResolutionPolicyPtrInput
	// The name of the Cosmos DB Graph Database in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// The default time to live (TTL) of the Gremlin graph. If the value is missing or set to "-1", items don’t expire.
	DefaultTtl pulumi.IntPtrInput
	// The configuration of the indexing policy. One or more `indexPolicy` blocks as defined below.
	IndexPolicy GremlinGraphIndexPolicyPtrInput
	// Specifies the name of the Cosmos DB Gremlin Graph. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Define a partition key. Changing this forces a new resource to be created.
	PartitionKeyPath pulumi.StringPtrInput
	// Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.
	PartitionKeyVersion pulumi.IntPtrInput
	// The name of the resource group in which the Cosmos DB Gremlin Graph is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of the Gremlin graph (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	Throughput pulumi.IntPtrInput
	// One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.
	UniqueKeys GremlinGraphUniqueKeyArrayInput
}

func (GremlinGraphState) ElementType

func (GremlinGraphState) ElementType() reflect.Type

type GremlinGraphUniqueKey

type GremlinGraphUniqueKey struct {
	// A list of paths to use for this unique key. Changing this forces a new resource to be created.
	Paths []string `pulumi:"paths"`
}

type GremlinGraphUniqueKeyArgs

type GremlinGraphUniqueKeyArgs struct {
	// A list of paths to use for this unique key. Changing this forces a new resource to be created.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
}

func (GremlinGraphUniqueKeyArgs) ElementType

func (GremlinGraphUniqueKeyArgs) ElementType() reflect.Type

func (GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutput

func (i GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput

func (GremlinGraphUniqueKeyArgs) ToGremlinGraphUniqueKeyOutputWithContext

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

type GremlinGraphUniqueKeyArray

type GremlinGraphUniqueKeyArray []GremlinGraphUniqueKeyInput

func (GremlinGraphUniqueKeyArray) ElementType

func (GremlinGraphUniqueKeyArray) ElementType() reflect.Type

func (GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput

func (i GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput

func (GremlinGraphUniqueKeyArray) ToGremlinGraphUniqueKeyArrayOutputWithContext

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

type GremlinGraphUniqueKeyArrayInput

type GremlinGraphUniqueKeyArrayInput interface {
	pulumi.Input

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

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

GremlinGraphUniqueKeyArray{ GremlinGraphUniqueKeyArgs{...} }

type GremlinGraphUniqueKeyArrayOutput

type GremlinGraphUniqueKeyArrayOutput struct{ *pulumi.OutputState }

func (GremlinGraphUniqueKeyArrayOutput) ElementType

func (GremlinGraphUniqueKeyArrayOutput) Index

func (GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput

func (o GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutput() GremlinGraphUniqueKeyArrayOutput

func (GremlinGraphUniqueKeyArrayOutput) ToGremlinGraphUniqueKeyArrayOutputWithContext

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

type GremlinGraphUniqueKeyInput

type GremlinGraphUniqueKeyInput interface {
	pulumi.Input

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

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

GremlinGraphUniqueKeyArgs{...}

type GremlinGraphUniqueKeyOutput

type GremlinGraphUniqueKeyOutput struct{ *pulumi.OutputState }

func (GremlinGraphUniqueKeyOutput) ElementType

func (GremlinGraphUniqueKeyOutput) Paths

A list of paths to use for this unique key. Changing this forces a new resource to be created.

func (GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput

func (o GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutput() GremlinGraphUniqueKeyOutput

func (GremlinGraphUniqueKeyOutput) ToGremlinGraphUniqueKeyOutputWithContext

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

type LookupAccountArgs

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

A collection of arguments for invoking getAccount.

type LookupAccountOutputArgs

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

A collection of arguments for invoking getAccount.

func (LookupAccountOutputArgs) ElementType

func (LookupAccountOutputArgs) ElementType() reflect.Type

type LookupAccountResult

type LookupAccountResult struct {
	// If automatic failover is enabled for this CosmosDB Account.
	AutomaticFailoverEnabled bool `pulumi:"automaticFailoverEnabled"`
	// Capabilities enabled on this Cosmos DB account.
	Capabilities []GetAccountCapability `pulumi:"capabilities"`
	// Deprecated: This property has been superseded by the primary and secondary connection strings for sql, mongodb and readonly and will be removed in v4.0 of the AzureRM provider
	ConnectionStrings   []string                      `pulumi:"connectionStrings"`
	ConsistencyPolicies []GetAccountConsistencyPolicy `pulumi:"consistencyPolicies"`
	// Deprecated: This property has been renamed to `automaticFailoverEnabled` and will be removed in v4.0 of the AzureRM provider
	EnableAutomaticFailover bool `pulumi:"enableAutomaticFailover"`
	// Deprecated: This property has been renamed to `freeTierEnabled` and will be removed in v4.0 of the AzureRM provider
	EnableFreeTier bool `pulumi:"enableFreeTier"`
	// Deprecated: This property has been renamed to `multipleWriteLocationsEnabled` and will be removed in v4.0 of the AzureRM provider
	EnableMultipleWriteLocations bool `pulumi:"enableMultipleWriteLocations"`
	// The endpoint used to connect to the CosmosDB account.
	Endpoint string `pulumi:"endpoint"`
	// If Free Tier pricing option is enabled for this CosmosDB Account. You can have up to one free tier Azure Cosmos DB account per Azure subscription.
	FreeTierEnabled bool                    `pulumi:"freeTierEnabled"`
	GeoLocations    []GetAccountGeoLocation `pulumi:"geoLocations"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current IP Filter for this CosmosDB account
	IpRangeFilter string `pulumi:"ipRangeFilter"`
	// If virtual network filtering is enabled for this Cosmos DB account.
	IsVirtualNetworkFilterEnabled bool `pulumi:"isVirtualNetworkFilterEnabled"`
	// The Key Vault key URI for CMK encryption.
	KeyVaultKeyId string `pulumi:"keyVaultKeyId"`
	// The Kind of the CosmosDB account.
	Kind string `pulumi:"kind"`
	// The name of the Azure region hosting replicated data.
	Location string `pulumi:"location"`
	// If multiple write locations are enabled for this Cosmos DB account.
	MultipleWriteLocationsEnabled bool   `pulumi:"multipleWriteLocationsEnabled"`
	Name                          string `pulumi:"name"`
	// The Offer Type to used by this CosmosDB Account.
	OfferType string `pulumi:"offerType"`
	// The primary key for the CosmosDB account.
	PrimaryKey string `pulumi:"primaryKey"`
	// The primary Mongodb connection string for the CosmosDB account.
	PrimaryMongodbConnectionString string `pulumi:"primaryMongodbConnectionString"`
	// The primary read-only Key for the CosmosDB account.
	PrimaryReadonlyKey string `pulumi:"primaryReadonlyKey"`
	// The primary readonly Mongodb connection string for the CosmosDB account.
	PrimaryReadonlyMongodbConnectionString string `pulumi:"primaryReadonlyMongodbConnectionString"`
	// The primary read-only SQL connection string for the CosmosDB account.
	PrimaryReadonlySqlConnectionString string `pulumi:"primaryReadonlySqlConnectionString"`
	// The primary SQL connection string for the CosmosDB Account.
	PrimarySqlConnectionString string `pulumi:"primarySqlConnectionString"`
	// A list of read endpoints available for this CosmosDB account.
	ReadEndpoints     []string `pulumi:"readEndpoints"`
	ResourceGroupName string   `pulumi:"resourceGroupName"`
	// The secondary key for the CosmosDB account.
	SecondaryKey string `pulumi:"secondaryKey"`
	// The secondary Mongodb connection string for the CosmosDB account.
	SecondaryMongodbConnectionString string `pulumi:"secondaryMongodbConnectionString"`
	// The secondary read-only key for the CosmosDB account.
	SecondaryReadonlyKey string `pulumi:"secondaryReadonlyKey"`
	// The secondary readonly Mongodb connection string for the CosmosDB account.
	SecondaryReadonlyMongodbConnectionString string `pulumi:"secondaryReadonlyMongodbConnectionString"`
	// The secondary read-only SQL connection string for the CosmosDB account.
	SecondaryReadonlySqlConnectionString string `pulumi:"secondaryReadonlySqlConnectionString"`
	// The secondary SQL connection string for the CosmosDB Account.
	SecondarySqlConnectionString string `pulumi:"secondarySqlConnectionString"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// Subnets that are allowed to access this CosmosDB account.
	VirtualNetworkRules []GetAccountVirtualNetworkRule `pulumi:"virtualNetworkRules"`
	// A list of write endpoints available for this CosmosDB account.
	WriteEndpoints []string `pulumi:"writeEndpoints"`
}

A collection of values returned by getAccount.

func LookupAccount

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

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

## Example Usage

```go package main

import (

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

)

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

```

type LookupAccountResultOutput

type LookupAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func (LookupAccountResultOutput) AutomaticFailoverEnabled added in v5.72.0

func (o LookupAccountResultOutput) AutomaticFailoverEnabled() pulumi.BoolOutput

If automatic failover is enabled for this CosmosDB Account.

func (LookupAccountResultOutput) Capabilities

Capabilities enabled on this Cosmos DB account.

func (LookupAccountResultOutput) ConnectionStrings deprecated added in v5.59.0

func (o LookupAccountResultOutput) ConnectionStrings() pulumi.StringArrayOutput

Deprecated: This property has been superseded by the primary and secondary connection strings for sql, mongodb and readonly and will be removed in v4.0 of the AzureRM provider

func (LookupAccountResultOutput) ConsistencyPolicies

func (LookupAccountResultOutput) ElementType

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) EnableAutomaticFailover deprecated

func (o LookupAccountResultOutput) EnableAutomaticFailover() pulumi.BoolOutput

Deprecated: This property has been renamed to `automaticFailoverEnabled` and will be removed in v4.0 of the AzureRM provider

func (LookupAccountResultOutput) EnableFreeTier deprecated

func (o LookupAccountResultOutput) EnableFreeTier() pulumi.BoolOutput

Deprecated: This property has been renamed to `freeTierEnabled` and will be removed in v4.0 of the AzureRM provider

func (LookupAccountResultOutput) EnableMultipleWriteLocations deprecated

func (o LookupAccountResultOutput) EnableMultipleWriteLocations() pulumi.BoolOutput

Deprecated: This property has been renamed to `multipleWriteLocationsEnabled` and will be removed in v4.0 of the AzureRM provider

func (LookupAccountResultOutput) Endpoint

The endpoint used to connect to the CosmosDB account.

func (LookupAccountResultOutput) FreeTierEnabled added in v5.72.0

func (o LookupAccountResultOutput) FreeTierEnabled() pulumi.BoolOutput

If Free Tier pricing option is enabled for this CosmosDB Account. You can have up to one free tier Azure Cosmos DB account per Azure subscription.

func (LookupAccountResultOutput) GeoLocations

func (LookupAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAccountResultOutput) IpRangeFilter

func (o LookupAccountResultOutput) IpRangeFilter() pulumi.StringOutput

The current IP Filter for this CosmosDB account

func (LookupAccountResultOutput) IsVirtualNetworkFilterEnabled

func (o LookupAccountResultOutput) IsVirtualNetworkFilterEnabled() pulumi.BoolOutput

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

func (LookupAccountResultOutput) KeyVaultKeyId

func (o LookupAccountResultOutput) KeyVaultKeyId() pulumi.StringOutput

The Key Vault key URI for CMK encryption.

func (LookupAccountResultOutput) Kind

The Kind of the CosmosDB account.

func (LookupAccountResultOutput) Location

The name of the Azure region hosting replicated data.

func (LookupAccountResultOutput) MultipleWriteLocationsEnabled added in v5.72.0

func (o LookupAccountResultOutput) MultipleWriteLocationsEnabled() pulumi.BoolOutput

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

func (LookupAccountResultOutput) Name

func (LookupAccountResultOutput) OfferType

The Offer Type to used by this CosmosDB Account.

func (LookupAccountResultOutput) PrimaryKey

The primary key for the CosmosDB account.

func (LookupAccountResultOutput) PrimaryMongodbConnectionString added in v5.59.0

func (o LookupAccountResultOutput) PrimaryMongodbConnectionString() pulumi.StringOutput

The primary Mongodb connection string for the CosmosDB account.

func (LookupAccountResultOutput) PrimaryReadonlyKey

func (o LookupAccountResultOutput) PrimaryReadonlyKey() pulumi.StringOutput

The primary read-only Key for the CosmosDB account.

func (LookupAccountResultOutput) PrimaryReadonlyMongodbConnectionString added in v5.59.0

func (o LookupAccountResultOutput) PrimaryReadonlyMongodbConnectionString() pulumi.StringOutput

The primary readonly Mongodb connection string for the CosmosDB account.

func (LookupAccountResultOutput) PrimaryReadonlySqlConnectionString added in v5.59.0

func (o LookupAccountResultOutput) PrimaryReadonlySqlConnectionString() pulumi.StringOutput

The primary read-only SQL connection string for the CosmosDB account.

func (LookupAccountResultOutput) PrimarySqlConnectionString added in v5.59.0

func (o LookupAccountResultOutput) PrimarySqlConnectionString() pulumi.StringOutput

The primary SQL connection string for the CosmosDB Account.

func (LookupAccountResultOutput) ReadEndpoints

A list of read endpoints available for this CosmosDB account.

func (LookupAccountResultOutput) ResourceGroupName

func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAccountResultOutput) SecondaryKey

The secondary key for the CosmosDB account.

func (LookupAccountResultOutput) SecondaryMongodbConnectionString added in v5.59.0

func (o LookupAccountResultOutput) SecondaryMongodbConnectionString() pulumi.StringOutput

The secondary Mongodb connection string for the CosmosDB account.

func (LookupAccountResultOutput) SecondaryReadonlyKey

func (o LookupAccountResultOutput) SecondaryReadonlyKey() pulumi.StringOutput

The secondary read-only key for the CosmosDB account.

func (LookupAccountResultOutput) SecondaryReadonlyMongodbConnectionString added in v5.59.0

func (o LookupAccountResultOutput) SecondaryReadonlyMongodbConnectionString() pulumi.StringOutput

The secondary readonly Mongodb connection string for the CosmosDB account.

func (LookupAccountResultOutput) SecondaryReadonlySqlConnectionString added in v5.59.0

func (o LookupAccountResultOutput) SecondaryReadonlySqlConnectionString() pulumi.StringOutput

The secondary read-only SQL connection string for the CosmosDB account.

func (LookupAccountResultOutput) SecondarySqlConnectionString added in v5.59.0

func (o LookupAccountResultOutput) SecondarySqlConnectionString() pulumi.StringOutput

The secondary SQL connection string for the CosmosDB Account.

func (LookupAccountResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupAccountResultOutput) ToLookupAccountResultOutput

func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput

func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext

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

func (LookupAccountResultOutput) VirtualNetworkRules

Subnets that are allowed to access this CosmosDB account.

func (LookupAccountResultOutput) WriteEndpoints

A list of write endpoints available for this CosmosDB account.

type LookupMongoDatabaseArgs

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

A collection of arguments for invoking getMongoDatabase.

type LookupMongoDatabaseOutputArgs

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

A collection of arguments for invoking getMongoDatabase.

func (LookupMongoDatabaseOutputArgs) ElementType

type LookupMongoDatabaseResult

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

A collection of values returned by getMongoDatabase.

func LookupMongoDatabase

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

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

## Example Usage

```go package main

import (

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

)

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

```

type LookupMongoDatabaseResultOutput

type LookupMongoDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMongoDatabase.

func (LookupMongoDatabaseResultOutput) AccountName

func (LookupMongoDatabaseResultOutput) ElementType

func (LookupMongoDatabaseResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMongoDatabaseResultOutput) Name

func (LookupMongoDatabaseResultOutput) ResourceGroupName

func (o LookupMongoDatabaseResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupMongoDatabaseResultOutput) Tags

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

func (LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput

func (o LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutput() LookupMongoDatabaseResultOutput

func (LookupMongoDatabaseResultOutput) ToLookupMongoDatabaseResultOutputWithContext

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

type LookupSqlDatabaseArgs added in v5.22.0

type LookupSqlDatabaseArgs struct {
	// The name of the Cosmos DB SQL Database to create the table within.
	AccountName string `pulumi:"accountName"`
	// Specifies the name of the Cosmos DB SQL Database.
	Name string `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB SQL Database is created.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getSqlDatabase.

type LookupSqlDatabaseOutputArgs added in v5.22.0

type LookupSqlDatabaseOutputArgs struct {
	// The name of the Cosmos DB SQL Database to create the table within.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// Specifies the name of the Cosmos DB SQL Database.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB SQL Database is created.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getSqlDatabase.

func (LookupSqlDatabaseOutputArgs) ElementType added in v5.22.0

type LookupSqlDatabaseResult added in v5.22.0

type LookupSqlDatabaseResult struct {
	AccountName string `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below.
	AutoscaleSettings []GetSqlDatabaseAutoscaleSetting `pulumi:"autoscaleSettings"`
	// The provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The throughput of SQL database (RU/s).
	Throughput int `pulumi:"throughput"`
}

A collection of values returned by getSqlDatabase.

func LookupSqlDatabase added in v5.22.0

func LookupSqlDatabase(ctx *pulumi.Context, args *LookupSqlDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupSqlDatabaseResult, error)

Use this data source to access information about an existing CosmosDB SQL Database.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cosmosdb.LookupSqlDatabase(ctx, &cosmosdb.LookupSqlDatabaseArgs{
			Name:              "tfex-cosmosdb-sql-database",
			ResourceGroupName: "tfex-cosmosdb-sql-database-rg",
			AccountName:       "tfex-cosmosdb-sql-database-account-name",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSqlDatabaseResultOutput added in v5.22.0

type LookupSqlDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSqlDatabase.

func LookupSqlDatabaseOutput added in v5.22.0

func (LookupSqlDatabaseResultOutput) AccountName added in v5.22.0

func (LookupSqlDatabaseResultOutput) AutoscaleSettings added in v5.22.0

An `autoscaleSettings` block as defined below.

func (LookupSqlDatabaseResultOutput) ElementType added in v5.22.0

func (LookupSqlDatabaseResultOutput) Id added in v5.22.0

The provider-assigned unique ID for this managed resource.

func (LookupSqlDatabaseResultOutput) Name added in v5.22.0

func (LookupSqlDatabaseResultOutput) ResourceGroupName added in v5.22.0

func (o LookupSqlDatabaseResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupSqlDatabaseResultOutput) Throughput added in v5.22.0

The throughput of SQL database (RU/s).

func (LookupSqlDatabaseResultOutput) ToLookupSqlDatabaseResultOutput added in v5.22.0

func (o LookupSqlDatabaseResultOutput) ToLookupSqlDatabaseResultOutput() LookupSqlDatabaseResultOutput

func (LookupSqlDatabaseResultOutput) ToLookupSqlDatabaseResultOutputWithContext added in v5.22.0

func (o LookupSqlDatabaseResultOutput) ToLookupSqlDatabaseResultOutputWithContext(ctx context.Context) LookupSqlDatabaseResultOutput

type LookupSqlRoleDefinitionArgs added in v5.22.0

type LookupSqlRoleDefinitionArgs struct {
	// The name of the Cosmos DB Account.
	AccountName string `pulumi:"accountName"`
	// The name of the Resource Group in which the Cosmos DB SQL Role Definition is created.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The GUID as the name of the Cosmos DB SQL Role Definition.
	RoleDefinitionId string `pulumi:"roleDefinitionId"`
}

A collection of arguments for invoking getSqlRoleDefinition.

type LookupSqlRoleDefinitionOutputArgs added in v5.22.0

type LookupSqlRoleDefinitionOutputArgs struct {
	// The name of the Cosmos DB Account.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// The name of the Resource Group in which the Cosmos DB SQL Role Definition is created.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// The GUID as the name of the Cosmos DB SQL Role Definition.
	RoleDefinitionId pulumi.StringInput `pulumi:"roleDefinitionId"`
}

A collection of arguments for invoking getSqlRoleDefinition.

func (LookupSqlRoleDefinitionOutputArgs) ElementType added in v5.22.0

type LookupSqlRoleDefinitionResult added in v5.22.0

type LookupSqlRoleDefinitionResult struct {
	AccountName string `pulumi:"accountName"`
	// A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition.
	AssignableScopes []string `pulumi:"assignableScopes"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The role name of the Cosmos DB SQL Role Definition.
	Name string `pulumi:"name"`
	// A `permissions` block as defined below.
	Permissions       []GetSqlRoleDefinitionPermission `pulumi:"permissions"`
	ResourceGroupName string                           `pulumi:"resourceGroupName"`
	RoleDefinitionId  string                           `pulumi:"roleDefinitionId"`
	// The type of the Cosmos DB SQL Role Definition.
	Type string `pulumi:"type"`
}

A collection of values returned by getSqlRoleDefinition.

func LookupSqlRoleDefinition added in v5.22.0

func LookupSqlRoleDefinition(ctx *pulumi.Context, args *LookupSqlRoleDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupSqlRoleDefinitionResult, error)

Use this data source to access information about an existing Cosmos DB SQL Role Definition.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cosmosdb.LookupSqlRoleDefinition(ctx, &cosmosdb.LookupSqlRoleDefinitionArgs{
			ResourceGroupName: "tfex-cosmosdb-sql-role-definition-rg",
			AccountName:       "tfex-cosmosdb-sql-role-definition-account-name",
			RoleDefinitionId:  "00000000-0000-0000-0000-000000000000",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSqlRoleDefinitionResultOutput added in v5.22.0

type LookupSqlRoleDefinitionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSqlRoleDefinition.

func LookupSqlRoleDefinitionOutput added in v5.22.0

func (LookupSqlRoleDefinitionResultOutput) AccountName added in v5.22.0

func (LookupSqlRoleDefinitionResultOutput) AssignableScopes added in v5.22.0

A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition.

func (LookupSqlRoleDefinitionResultOutput) ElementType added in v5.22.0

func (LookupSqlRoleDefinitionResultOutput) Id added in v5.22.0

The provider-assigned unique ID for this managed resource.

func (LookupSqlRoleDefinitionResultOutput) Name added in v5.22.0

The role name of the Cosmos DB SQL Role Definition.

func (LookupSqlRoleDefinitionResultOutput) Permissions added in v5.22.0

A `permissions` block as defined below.

func (LookupSqlRoleDefinitionResultOutput) ResourceGroupName added in v5.22.0

func (LookupSqlRoleDefinitionResultOutput) RoleDefinitionId added in v5.22.0

func (LookupSqlRoleDefinitionResultOutput) ToLookupSqlRoleDefinitionResultOutput added in v5.22.0

func (o LookupSqlRoleDefinitionResultOutput) ToLookupSqlRoleDefinitionResultOutput() LookupSqlRoleDefinitionResultOutput

func (LookupSqlRoleDefinitionResultOutput) ToLookupSqlRoleDefinitionResultOutputWithContext added in v5.22.0

func (o LookupSqlRoleDefinitionResultOutput) ToLookupSqlRoleDefinitionResultOutputWithContext(ctx context.Context) LookupSqlRoleDefinitionResultOutput

func (LookupSqlRoleDefinitionResultOutput) Type added in v5.22.0

The type of the Cosmos DB SQL Role Definition.

type MongoCollection

type MongoCollection struct {
	pulumi.CustomResourceState

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

Manages a Mongo Collection within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleMongoDatabase, err := cosmosdb.NewMongoDatabase(ctx, "example", &cosmosdb.MongoDatabaseArgs{
			Name:              pulumi.String("tfex-cosmos-mongo-db"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewMongoCollection(ctx, "example", &cosmosdb.MongoCollectionArgs{
			Name:              pulumi.String("tfex-cosmos-mongo-db"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			DatabaseName:      exampleMongoDatabase.Name,
			DefaultTtlSeconds: pulumi.Int(777),
			ShardKey:          pulumi.String("uniqueKey"),
			Throughput:        pulumi.Int(400),
			Indices: cosmosdb.MongoCollectionIndexArray{
				&cosmosdb.MongoCollectionIndexArgs{
					Keys: pulumi.StringArray{
						pulumi.String("_id"),
					},
					Unique: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetMongoCollection

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

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

func NewMongoCollection

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

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

func (*MongoCollection) ElementType

func (*MongoCollection) ElementType() reflect.Type

func (*MongoCollection) ToMongoCollectionOutput

func (i *MongoCollection) ToMongoCollectionOutput() MongoCollectionOutput

func (*MongoCollection) ToMongoCollectionOutputWithContext

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

type MongoCollectionArgs

type MongoCollectionArgs struct {
	// The name of the Cosmos DB Account in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    MongoCollectionAutoscaleSettingsPtrInput
	// The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// The default Time To Live in seconds. If the value is `-1`, items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrInput
	// One or more `index` blocks as defined below.
	Indices MongoCollectionIndexArrayInput
	// Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The name of the key to partition on for sharding. There must not be any other unique index keys. Changing this forces a new resource to be created.
	ShardKey   pulumi.StringPtrInput
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a MongoCollection resource.

func (MongoCollectionArgs) ElementType

func (MongoCollectionArgs) ElementType() reflect.Type

type MongoCollectionArray

type MongoCollectionArray []MongoCollectionInput

func (MongoCollectionArray) ElementType

func (MongoCollectionArray) ElementType() reflect.Type

func (MongoCollectionArray) ToMongoCollectionArrayOutput

func (i MongoCollectionArray) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput

func (MongoCollectionArray) ToMongoCollectionArrayOutputWithContext

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

type MongoCollectionArrayInput

type MongoCollectionArrayInput interface {
	pulumi.Input

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

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

MongoCollectionArray{ MongoCollectionArgs{...} }

type MongoCollectionArrayOutput

type MongoCollectionArrayOutput struct{ *pulumi.OutputState }

func (MongoCollectionArrayOutput) ElementType

func (MongoCollectionArrayOutput) ElementType() reflect.Type

func (MongoCollectionArrayOutput) Index

func (MongoCollectionArrayOutput) ToMongoCollectionArrayOutput

func (o MongoCollectionArrayOutput) ToMongoCollectionArrayOutput() MongoCollectionArrayOutput

func (MongoCollectionArrayOutput) ToMongoCollectionArrayOutputWithContext

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

type MongoCollectionAutoscaleSettings

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

type MongoCollectionAutoscaleSettingsArgs

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

func (MongoCollectionAutoscaleSettingsArgs) ElementType

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput

func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsOutputWithContext

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

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput

func (i MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput

func (MongoCollectionAutoscaleSettingsArgs) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext

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

type MongoCollectionAutoscaleSettingsInput

type MongoCollectionAutoscaleSettingsInput interface {
	pulumi.Input

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

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

MongoCollectionAutoscaleSettingsArgs{...}

type MongoCollectionAutoscaleSettingsOutput

type MongoCollectionAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (MongoCollectionAutoscaleSettingsOutput) ElementType

func (MongoCollectionAutoscaleSettingsOutput) MaxThroughput

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

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput

func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutput() MongoCollectionAutoscaleSettingsOutput

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsOutputWithContext

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

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput

func (o MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput

func (MongoCollectionAutoscaleSettingsOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext

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

type MongoCollectionAutoscaleSettingsPtrInput

type MongoCollectionAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        MongoCollectionAutoscaleSettingsArgs{...}

or:

        nil

type MongoCollectionAutoscaleSettingsPtrOutput

type MongoCollectionAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (MongoCollectionAutoscaleSettingsPtrOutput) Elem

func (MongoCollectionAutoscaleSettingsPtrOutput) ElementType

func (MongoCollectionAutoscaleSettingsPtrOutput) MaxThroughput

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

func (MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput

func (o MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutput() MongoCollectionAutoscaleSettingsPtrOutput

func (MongoCollectionAutoscaleSettingsPtrOutput) ToMongoCollectionAutoscaleSettingsPtrOutputWithContext

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

type MongoCollectionIndex

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

type MongoCollectionIndexArgs

type MongoCollectionIndexArgs struct {
	// Specifies the list of user settable keys for each Cosmos DB Mongo Collection.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Is the index unique or not? Defaults to `false`.
	//
	// > **Note:** An index with an "_id" key must be specified.
	Unique pulumi.BoolPtrInput `pulumi:"unique"`
}

func (MongoCollectionIndexArgs) ElementType

func (MongoCollectionIndexArgs) ElementType() reflect.Type

func (MongoCollectionIndexArgs) ToMongoCollectionIndexOutput

func (i MongoCollectionIndexArgs) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput

func (MongoCollectionIndexArgs) ToMongoCollectionIndexOutputWithContext

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

type MongoCollectionIndexArray

type MongoCollectionIndexArray []MongoCollectionIndexInput

func (MongoCollectionIndexArray) ElementType

func (MongoCollectionIndexArray) ElementType() reflect.Type

func (MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutput

func (i MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput

func (MongoCollectionIndexArray) ToMongoCollectionIndexArrayOutputWithContext

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

type MongoCollectionIndexArrayInput

type MongoCollectionIndexArrayInput interface {
	pulumi.Input

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

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

MongoCollectionIndexArray{ MongoCollectionIndexArgs{...} }

type MongoCollectionIndexArrayOutput

type MongoCollectionIndexArrayOutput struct{ *pulumi.OutputState }

func (MongoCollectionIndexArrayOutput) ElementType

func (MongoCollectionIndexArrayOutput) Index

func (MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput

func (o MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutput() MongoCollectionIndexArrayOutput

func (MongoCollectionIndexArrayOutput) ToMongoCollectionIndexArrayOutputWithContext

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

type MongoCollectionIndexInput

type MongoCollectionIndexInput interface {
	pulumi.Input

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

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

MongoCollectionIndexArgs{...}

type MongoCollectionIndexOutput

type MongoCollectionIndexOutput struct{ *pulumi.OutputState }

func (MongoCollectionIndexOutput) ElementType

func (MongoCollectionIndexOutput) ElementType() reflect.Type

func (MongoCollectionIndexOutput) Keys

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

func (MongoCollectionIndexOutput) ToMongoCollectionIndexOutput

func (o MongoCollectionIndexOutput) ToMongoCollectionIndexOutput() MongoCollectionIndexOutput

func (MongoCollectionIndexOutput) ToMongoCollectionIndexOutputWithContext

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

func (MongoCollectionIndexOutput) Unique

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

> **Note:** An index with an "_id" key must be specified.

type MongoCollectionInput

type MongoCollectionInput interface {
	pulumi.Input

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

type MongoCollectionMap

type MongoCollectionMap map[string]MongoCollectionInput

func (MongoCollectionMap) ElementType

func (MongoCollectionMap) ElementType() reflect.Type

func (MongoCollectionMap) ToMongoCollectionMapOutput

func (i MongoCollectionMap) ToMongoCollectionMapOutput() MongoCollectionMapOutput

func (MongoCollectionMap) ToMongoCollectionMapOutputWithContext

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

type MongoCollectionMapInput

type MongoCollectionMapInput interface {
	pulumi.Input

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

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

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

type MongoCollectionMapOutput

type MongoCollectionMapOutput struct{ *pulumi.OutputState }

func (MongoCollectionMapOutput) ElementType

func (MongoCollectionMapOutput) ElementType() reflect.Type

func (MongoCollectionMapOutput) MapIndex

func (MongoCollectionMapOutput) ToMongoCollectionMapOutput

func (o MongoCollectionMapOutput) ToMongoCollectionMapOutput() MongoCollectionMapOutput

func (MongoCollectionMapOutput) ToMongoCollectionMapOutputWithContext

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

type MongoCollectionOutput

type MongoCollectionOutput struct{ *pulumi.OutputState }

func (MongoCollectionOutput) AccountName added in v5.5.0

func (o MongoCollectionOutput) AccountName() pulumi.StringOutput

The name of the Cosmos DB Account in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.

func (MongoCollectionOutput) AnalyticalStorageTtl added in v5.5.0

func (o MongoCollectionOutput) AnalyticalStorageTtl() pulumi.IntPtrOutput

The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.

func (MongoCollectionOutput) AutoscaleSettings added in v5.5.0

func (MongoCollectionOutput) DatabaseName added in v5.5.0

func (o MongoCollectionOutput) DatabaseName() pulumi.StringOutput

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.

func (MongoCollectionOutput) DefaultTtlSeconds added in v5.5.0

func (o MongoCollectionOutput) DefaultTtlSeconds() pulumi.IntPtrOutput

The default Time To Live in seconds. If the value is `-1`, items are not automatically expired.

func (MongoCollectionOutput) ElementType

func (MongoCollectionOutput) ElementType() reflect.Type

func (MongoCollectionOutput) Indices added in v5.5.0

One or more `index` blocks as defined below.

func (MongoCollectionOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created.

func (MongoCollectionOutput) ResourceGroupName added in v5.5.0

func (o MongoCollectionOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.

func (MongoCollectionOutput) ShardKey added in v5.5.0

The name of the key to partition on for sharding. There must not be any other unique index keys. Changing this forces a new resource to be created.

func (MongoCollectionOutput) SystemIndexes added in v5.5.0

One or more `systemIndexes` blocks as defined below.

func (MongoCollectionOutput) Throughput added in v5.5.0

func (o MongoCollectionOutput) Throughput() pulumi.IntOutput

func (MongoCollectionOutput) ToMongoCollectionOutput

func (o MongoCollectionOutput) ToMongoCollectionOutput() MongoCollectionOutput

func (MongoCollectionOutput) ToMongoCollectionOutputWithContext

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

type MongoCollectionState

type MongoCollectionState struct {
	// The name of the Cosmos DB Account in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The default time to live of Analytical Storage for this Mongo Collection. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.
	AnalyticalStorageTtl pulumi.IntPtrInput
	AutoscaleSettings    MongoCollectionAutoscaleSettingsPtrInput
	// The name of the Cosmos DB Mongo Database in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// The default Time To Live in seconds. If the value is `-1`, items are not automatically expired.
	DefaultTtlSeconds pulumi.IntPtrInput
	// One or more `index` blocks as defined below.
	Indices MongoCollectionIndexArrayInput
	// Specifies the name of the Cosmos DB Mongo Collection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Collection is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The name of the key to partition on for sharding. There must not be any other unique index keys. Changing this forces a new resource to be created.
	ShardKey pulumi.StringPtrInput
	// One or more `systemIndexes` blocks as defined below.
	SystemIndexes MongoCollectionSystemIndexArrayInput
	Throughput    pulumi.IntPtrInput
}

func (MongoCollectionState) ElementType

func (MongoCollectionState) ElementType() reflect.Type

type MongoCollectionSystemIndex

type MongoCollectionSystemIndex struct {
	// The list of system keys which are not settable for each Cosmos DB Mongo Collection.
	Keys []string `pulumi:"keys"`
	// Identifies whether the table contains no duplicate values.
	Unique *bool `pulumi:"unique"`
}

type MongoCollectionSystemIndexArgs

type MongoCollectionSystemIndexArgs struct {
	// The list of system keys which are not settable for each Cosmos DB Mongo Collection.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Identifies whether the table contains no duplicate values.
	Unique pulumi.BoolPtrInput `pulumi:"unique"`
}

func (MongoCollectionSystemIndexArgs) ElementType

func (MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput

func (i MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput

func (MongoCollectionSystemIndexArgs) ToMongoCollectionSystemIndexOutputWithContext

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

type MongoCollectionSystemIndexArray

type MongoCollectionSystemIndexArray []MongoCollectionSystemIndexInput

func (MongoCollectionSystemIndexArray) ElementType

func (MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput

func (i MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput

func (MongoCollectionSystemIndexArray) ToMongoCollectionSystemIndexArrayOutputWithContext

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

type MongoCollectionSystemIndexArrayInput

type MongoCollectionSystemIndexArrayInput interface {
	pulumi.Input

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

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

MongoCollectionSystemIndexArray{ MongoCollectionSystemIndexArgs{...} }

type MongoCollectionSystemIndexArrayOutput

type MongoCollectionSystemIndexArrayOutput struct{ *pulumi.OutputState }

func (MongoCollectionSystemIndexArrayOutput) ElementType

func (MongoCollectionSystemIndexArrayOutput) Index

func (MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput

func (o MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutput() MongoCollectionSystemIndexArrayOutput

func (MongoCollectionSystemIndexArrayOutput) ToMongoCollectionSystemIndexArrayOutputWithContext

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

type MongoCollectionSystemIndexInput

type MongoCollectionSystemIndexInput interface {
	pulumi.Input

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

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

MongoCollectionSystemIndexArgs{...}

type MongoCollectionSystemIndexOutput

type MongoCollectionSystemIndexOutput struct{ *pulumi.OutputState }

func (MongoCollectionSystemIndexOutput) ElementType

func (MongoCollectionSystemIndexOutput) Keys

The list of system keys which are not settable for each Cosmos DB Mongo Collection.

func (MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput

func (o MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutput() MongoCollectionSystemIndexOutput

func (MongoCollectionSystemIndexOutput) ToMongoCollectionSystemIndexOutputWithContext

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

func (MongoCollectionSystemIndexOutput) Unique

Identifies whether the table contains no duplicate values.

type MongoDatabase

type MongoDatabase struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support.
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Mongo Database within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetMongoDatabase

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

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

func NewMongoDatabase

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

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

func (*MongoDatabase) ElementType

func (*MongoDatabase) ElementType() reflect.Type

func (*MongoDatabase) ToMongoDatabaseOutput

func (i *MongoDatabase) ToMongoDatabaseOutput() MongoDatabaseOutput

func (*MongoDatabase) ToMongoDatabaseOutputWithContext

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

type MongoDatabaseArgs

type MongoDatabaseArgs struct {
	// The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support.
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a MongoDatabase resource.

func (MongoDatabaseArgs) ElementType

func (MongoDatabaseArgs) ElementType() reflect.Type

type MongoDatabaseArray

type MongoDatabaseArray []MongoDatabaseInput

func (MongoDatabaseArray) ElementType

func (MongoDatabaseArray) ElementType() reflect.Type

func (MongoDatabaseArray) ToMongoDatabaseArrayOutput

func (i MongoDatabaseArray) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput

func (MongoDatabaseArray) ToMongoDatabaseArrayOutputWithContext

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

type MongoDatabaseArrayInput

type MongoDatabaseArrayInput interface {
	pulumi.Input

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

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

MongoDatabaseArray{ MongoDatabaseArgs{...} }

type MongoDatabaseArrayOutput

type MongoDatabaseArrayOutput struct{ *pulumi.OutputState }

func (MongoDatabaseArrayOutput) ElementType

func (MongoDatabaseArrayOutput) ElementType() reflect.Type

func (MongoDatabaseArrayOutput) Index

func (MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput

func (o MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutput() MongoDatabaseArrayOutput

func (MongoDatabaseArrayOutput) ToMongoDatabaseArrayOutputWithContext

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

type MongoDatabaseAutoscaleSettings

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

type MongoDatabaseAutoscaleSettingsArgs

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

func (MongoDatabaseAutoscaleSettingsArgs) ElementType

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput

func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsOutputWithContext

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

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput

func (i MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput

func (MongoDatabaseAutoscaleSettingsArgs) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext

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

type MongoDatabaseAutoscaleSettingsInput

type MongoDatabaseAutoscaleSettingsInput interface {
	pulumi.Input

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

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

MongoDatabaseAutoscaleSettingsArgs{...}

type MongoDatabaseAutoscaleSettingsOutput

type MongoDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (MongoDatabaseAutoscaleSettingsOutput) ElementType

func (MongoDatabaseAutoscaleSettingsOutput) MaxThroughput

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

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput

func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutput() MongoDatabaseAutoscaleSettingsOutput

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsOutputWithContext

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

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput

func (o MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput

func (MongoDatabaseAutoscaleSettingsOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext

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

type MongoDatabaseAutoscaleSettingsPtrInput

type MongoDatabaseAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        MongoDatabaseAutoscaleSettingsArgs{...}

or:

        nil

type MongoDatabaseAutoscaleSettingsPtrOutput

type MongoDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (MongoDatabaseAutoscaleSettingsPtrOutput) Elem

func (MongoDatabaseAutoscaleSettingsPtrOutput) ElementType

func (MongoDatabaseAutoscaleSettingsPtrOutput) MaxThroughput

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

func (MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput

func (o MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutput() MongoDatabaseAutoscaleSettingsPtrOutput

func (MongoDatabaseAutoscaleSettingsPtrOutput) ToMongoDatabaseAutoscaleSettingsPtrOutputWithContext

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

type MongoDatabaseInput

type MongoDatabaseInput interface {
	pulumi.Input

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

type MongoDatabaseMap

type MongoDatabaseMap map[string]MongoDatabaseInput

func (MongoDatabaseMap) ElementType

func (MongoDatabaseMap) ElementType() reflect.Type

func (MongoDatabaseMap) ToMongoDatabaseMapOutput

func (i MongoDatabaseMap) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput

func (MongoDatabaseMap) ToMongoDatabaseMapOutputWithContext

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

type MongoDatabaseMapInput

type MongoDatabaseMapInput interface {
	pulumi.Input

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

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

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

type MongoDatabaseMapOutput

type MongoDatabaseMapOutput struct{ *pulumi.OutputState }

func (MongoDatabaseMapOutput) ElementType

func (MongoDatabaseMapOutput) ElementType() reflect.Type

func (MongoDatabaseMapOutput) MapIndex

func (MongoDatabaseMapOutput) ToMongoDatabaseMapOutput

func (o MongoDatabaseMapOutput) ToMongoDatabaseMapOutput() MongoDatabaseMapOutput

func (MongoDatabaseMapOutput) ToMongoDatabaseMapOutputWithContext

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

type MongoDatabaseOutput

type MongoDatabaseOutput struct{ *pulumi.OutputState }

func (MongoDatabaseOutput) AccountName added in v5.5.0

func (o MongoDatabaseOutput) AccountName() pulumi.StringOutput

The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.

func (MongoDatabaseOutput) AutoscaleSettings added in v5.5.0

An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.

> **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.

func (MongoDatabaseOutput) ElementType

func (MongoDatabaseOutput) ElementType() reflect.Type

func (MongoDatabaseOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.

func (MongoDatabaseOutput) ResourceGroupName added in v5.5.0

func (o MongoDatabaseOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.

func (MongoDatabaseOutput) Throughput added in v5.5.0

func (o MongoDatabaseOutput) Throughput() pulumi.IntOutput

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.

> **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support.

func (MongoDatabaseOutput) ToMongoDatabaseOutput

func (o MongoDatabaseOutput) ToMongoDatabaseOutput() MongoDatabaseOutput

func (MongoDatabaseOutput) ToMongoDatabaseOutputWithContext

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

type MongoDatabaseState

type MongoDatabaseState struct {
	// The name of the Cosmos DB Mongo Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings MongoDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Mongo Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Mongo Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of the MongoDB collection (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support.
	Throughput pulumi.IntPtrInput
}

func (MongoDatabaseState) ElementType

func (MongoDatabaseState) ElementType() reflect.Type

type MongoRoleDefinition added in v5.44.0

type MongoRoleDefinition struct {
	pulumi.CustomResourceState

	// The resource ID of the Mongo DB. Changing this forces a new resource to be created.
	CosmosMongoDatabaseId pulumi.StringOutput `pulumi:"cosmosMongoDatabaseId"`
	// A list of Mongo Roles which are inherited to the Mongo Role Definition.
	//
	// > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
	InheritedRoleNames pulumi.StringArrayOutput `pulumi:"inheritedRoleNames"`
	// A `privilege` block as defined below.
	Privileges MongoRoleDefinitionPrivilegeArrayOutput `pulumi:"privileges"`
	// The user-friendly name for the Mongo Role Definition. It must be unique for the database account. Changing this forces a new resource to be created.
	RoleName pulumi.StringOutput `pulumi:"roleName"`
}

Manages a Cosmos DB Mongo Role Definition.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("example-ca"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("MongoDB"),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongo"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongoRoleBasedAccessControl"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         example.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleMongoDatabase, err := cosmosdb.NewMongoDatabase(ctx, "example", &cosmosdb.MongoDatabaseArgs{
			Name:              pulumi.String("example-mongodb"),
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewMongoRoleDefinition(ctx, "example", &cosmosdb.MongoRoleDefinitionArgs{
			CosmosMongoDatabaseId: exampleMongoDatabase.ID(),
			RoleName:              pulumi.String("example-roledefinition"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos DB Mongo Role Definitions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/mongoRoleDefinition:MongoRoleDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbRoleDefinitions/dbname1.rolename1 ```

func GetMongoRoleDefinition added in v5.44.0

func GetMongoRoleDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoRoleDefinitionState, opts ...pulumi.ResourceOption) (*MongoRoleDefinition, error)

GetMongoRoleDefinition gets an existing MongoRoleDefinition 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 NewMongoRoleDefinition added in v5.44.0

func NewMongoRoleDefinition(ctx *pulumi.Context,
	name string, args *MongoRoleDefinitionArgs, opts ...pulumi.ResourceOption) (*MongoRoleDefinition, error)

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

func (*MongoRoleDefinition) ElementType added in v5.44.0

func (*MongoRoleDefinition) ElementType() reflect.Type

func (*MongoRoleDefinition) ToMongoRoleDefinitionOutput added in v5.44.0

func (i *MongoRoleDefinition) ToMongoRoleDefinitionOutput() MongoRoleDefinitionOutput

func (*MongoRoleDefinition) ToMongoRoleDefinitionOutputWithContext added in v5.44.0

func (i *MongoRoleDefinition) ToMongoRoleDefinitionOutputWithContext(ctx context.Context) MongoRoleDefinitionOutput

type MongoRoleDefinitionArgs added in v5.44.0

type MongoRoleDefinitionArgs struct {
	// The resource ID of the Mongo DB. Changing this forces a new resource to be created.
	CosmosMongoDatabaseId pulumi.StringInput
	// A list of Mongo Roles which are inherited to the Mongo Role Definition.
	//
	// > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
	InheritedRoleNames pulumi.StringArrayInput
	// A `privilege` block as defined below.
	Privileges MongoRoleDefinitionPrivilegeArrayInput
	// The user-friendly name for the Mongo Role Definition. It must be unique for the database account. Changing this forces a new resource to be created.
	RoleName pulumi.StringInput
}

The set of arguments for constructing a MongoRoleDefinition resource.

func (MongoRoleDefinitionArgs) ElementType added in v5.44.0

func (MongoRoleDefinitionArgs) ElementType() reflect.Type

type MongoRoleDefinitionArray added in v5.44.0

type MongoRoleDefinitionArray []MongoRoleDefinitionInput

func (MongoRoleDefinitionArray) ElementType added in v5.44.0

func (MongoRoleDefinitionArray) ElementType() reflect.Type

func (MongoRoleDefinitionArray) ToMongoRoleDefinitionArrayOutput added in v5.44.0

func (i MongoRoleDefinitionArray) ToMongoRoleDefinitionArrayOutput() MongoRoleDefinitionArrayOutput

func (MongoRoleDefinitionArray) ToMongoRoleDefinitionArrayOutputWithContext added in v5.44.0

func (i MongoRoleDefinitionArray) ToMongoRoleDefinitionArrayOutputWithContext(ctx context.Context) MongoRoleDefinitionArrayOutput

type MongoRoleDefinitionArrayInput added in v5.44.0

type MongoRoleDefinitionArrayInput interface {
	pulumi.Input

	ToMongoRoleDefinitionArrayOutput() MongoRoleDefinitionArrayOutput
	ToMongoRoleDefinitionArrayOutputWithContext(context.Context) MongoRoleDefinitionArrayOutput
}

MongoRoleDefinitionArrayInput is an input type that accepts MongoRoleDefinitionArray and MongoRoleDefinitionArrayOutput values. You can construct a concrete instance of `MongoRoleDefinitionArrayInput` via:

MongoRoleDefinitionArray{ MongoRoleDefinitionArgs{...} }

type MongoRoleDefinitionArrayOutput added in v5.44.0

type MongoRoleDefinitionArrayOutput struct{ *pulumi.OutputState }

func (MongoRoleDefinitionArrayOutput) ElementType added in v5.44.0

func (MongoRoleDefinitionArrayOutput) Index added in v5.44.0

func (MongoRoleDefinitionArrayOutput) ToMongoRoleDefinitionArrayOutput added in v5.44.0

func (o MongoRoleDefinitionArrayOutput) ToMongoRoleDefinitionArrayOutput() MongoRoleDefinitionArrayOutput

func (MongoRoleDefinitionArrayOutput) ToMongoRoleDefinitionArrayOutputWithContext added in v5.44.0

func (o MongoRoleDefinitionArrayOutput) ToMongoRoleDefinitionArrayOutputWithContext(ctx context.Context) MongoRoleDefinitionArrayOutput

type MongoRoleDefinitionInput added in v5.44.0

type MongoRoleDefinitionInput interface {
	pulumi.Input

	ToMongoRoleDefinitionOutput() MongoRoleDefinitionOutput
	ToMongoRoleDefinitionOutputWithContext(ctx context.Context) MongoRoleDefinitionOutput
}

type MongoRoleDefinitionMap added in v5.44.0

type MongoRoleDefinitionMap map[string]MongoRoleDefinitionInput

func (MongoRoleDefinitionMap) ElementType added in v5.44.0

func (MongoRoleDefinitionMap) ElementType() reflect.Type

func (MongoRoleDefinitionMap) ToMongoRoleDefinitionMapOutput added in v5.44.0

func (i MongoRoleDefinitionMap) ToMongoRoleDefinitionMapOutput() MongoRoleDefinitionMapOutput

func (MongoRoleDefinitionMap) ToMongoRoleDefinitionMapOutputWithContext added in v5.44.0

func (i MongoRoleDefinitionMap) ToMongoRoleDefinitionMapOutputWithContext(ctx context.Context) MongoRoleDefinitionMapOutput

type MongoRoleDefinitionMapInput added in v5.44.0

type MongoRoleDefinitionMapInput interface {
	pulumi.Input

	ToMongoRoleDefinitionMapOutput() MongoRoleDefinitionMapOutput
	ToMongoRoleDefinitionMapOutputWithContext(context.Context) MongoRoleDefinitionMapOutput
}

MongoRoleDefinitionMapInput is an input type that accepts MongoRoleDefinitionMap and MongoRoleDefinitionMapOutput values. You can construct a concrete instance of `MongoRoleDefinitionMapInput` via:

MongoRoleDefinitionMap{ "key": MongoRoleDefinitionArgs{...} }

type MongoRoleDefinitionMapOutput added in v5.44.0

type MongoRoleDefinitionMapOutput struct{ *pulumi.OutputState }

func (MongoRoleDefinitionMapOutput) ElementType added in v5.44.0

func (MongoRoleDefinitionMapOutput) MapIndex added in v5.44.0

func (MongoRoleDefinitionMapOutput) ToMongoRoleDefinitionMapOutput added in v5.44.0

func (o MongoRoleDefinitionMapOutput) ToMongoRoleDefinitionMapOutput() MongoRoleDefinitionMapOutput

func (MongoRoleDefinitionMapOutput) ToMongoRoleDefinitionMapOutputWithContext added in v5.44.0

func (o MongoRoleDefinitionMapOutput) ToMongoRoleDefinitionMapOutputWithContext(ctx context.Context) MongoRoleDefinitionMapOutput

type MongoRoleDefinitionOutput added in v5.44.0

type MongoRoleDefinitionOutput struct{ *pulumi.OutputState }

func (MongoRoleDefinitionOutput) CosmosMongoDatabaseId added in v5.44.0

func (o MongoRoleDefinitionOutput) CosmosMongoDatabaseId() pulumi.StringOutput

The resource ID of the Mongo DB. Changing this forces a new resource to be created.

func (MongoRoleDefinitionOutput) ElementType added in v5.44.0

func (MongoRoleDefinitionOutput) ElementType() reflect.Type

func (MongoRoleDefinitionOutput) InheritedRoleNames added in v5.44.0

func (o MongoRoleDefinitionOutput) InheritedRoleNames() pulumi.StringArrayOutput

A list of Mongo Roles which are inherited to the Mongo Role Definition.

> **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.

func (MongoRoleDefinitionOutput) Privileges added in v5.44.0

A `privilege` block as defined below.

func (MongoRoleDefinitionOutput) RoleName added in v5.44.0

The user-friendly name for the Mongo Role Definition. It must be unique for the database account. Changing this forces a new resource to be created.

func (MongoRoleDefinitionOutput) ToMongoRoleDefinitionOutput added in v5.44.0

func (o MongoRoleDefinitionOutput) ToMongoRoleDefinitionOutput() MongoRoleDefinitionOutput

func (MongoRoleDefinitionOutput) ToMongoRoleDefinitionOutputWithContext added in v5.44.0

func (o MongoRoleDefinitionOutput) ToMongoRoleDefinitionOutputWithContext(ctx context.Context) MongoRoleDefinitionOutput

type MongoRoleDefinitionPrivilege added in v5.44.0

type MongoRoleDefinitionPrivilege struct {
	// A list of actions that are allowed.
	Actions []string `pulumi:"actions"`
	// A `resource` block as defined below.
	Resource MongoRoleDefinitionPrivilegeResource `pulumi:"resource"`
}

type MongoRoleDefinitionPrivilegeArgs added in v5.44.0

type MongoRoleDefinitionPrivilegeArgs struct {
	// A list of actions that are allowed.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// A `resource` block as defined below.
	Resource MongoRoleDefinitionPrivilegeResourceInput `pulumi:"resource"`
}

func (MongoRoleDefinitionPrivilegeArgs) ElementType added in v5.44.0

func (MongoRoleDefinitionPrivilegeArgs) ToMongoRoleDefinitionPrivilegeOutput added in v5.44.0

func (i MongoRoleDefinitionPrivilegeArgs) ToMongoRoleDefinitionPrivilegeOutput() MongoRoleDefinitionPrivilegeOutput

func (MongoRoleDefinitionPrivilegeArgs) ToMongoRoleDefinitionPrivilegeOutputWithContext added in v5.44.0

func (i MongoRoleDefinitionPrivilegeArgs) ToMongoRoleDefinitionPrivilegeOutputWithContext(ctx context.Context) MongoRoleDefinitionPrivilegeOutput

type MongoRoleDefinitionPrivilegeArray added in v5.44.0

type MongoRoleDefinitionPrivilegeArray []MongoRoleDefinitionPrivilegeInput

func (MongoRoleDefinitionPrivilegeArray) ElementType added in v5.44.0

func (MongoRoleDefinitionPrivilegeArray) ToMongoRoleDefinitionPrivilegeArrayOutput added in v5.44.0

func (i MongoRoleDefinitionPrivilegeArray) ToMongoRoleDefinitionPrivilegeArrayOutput() MongoRoleDefinitionPrivilegeArrayOutput

func (MongoRoleDefinitionPrivilegeArray) ToMongoRoleDefinitionPrivilegeArrayOutputWithContext added in v5.44.0

func (i MongoRoleDefinitionPrivilegeArray) ToMongoRoleDefinitionPrivilegeArrayOutputWithContext(ctx context.Context) MongoRoleDefinitionPrivilegeArrayOutput

type MongoRoleDefinitionPrivilegeArrayInput added in v5.44.0

type MongoRoleDefinitionPrivilegeArrayInput interface {
	pulumi.Input

	ToMongoRoleDefinitionPrivilegeArrayOutput() MongoRoleDefinitionPrivilegeArrayOutput
	ToMongoRoleDefinitionPrivilegeArrayOutputWithContext(context.Context) MongoRoleDefinitionPrivilegeArrayOutput
}

MongoRoleDefinitionPrivilegeArrayInput is an input type that accepts MongoRoleDefinitionPrivilegeArray and MongoRoleDefinitionPrivilegeArrayOutput values. You can construct a concrete instance of `MongoRoleDefinitionPrivilegeArrayInput` via:

MongoRoleDefinitionPrivilegeArray{ MongoRoleDefinitionPrivilegeArgs{...} }

type MongoRoleDefinitionPrivilegeArrayOutput added in v5.44.0

type MongoRoleDefinitionPrivilegeArrayOutput struct{ *pulumi.OutputState }

func (MongoRoleDefinitionPrivilegeArrayOutput) ElementType added in v5.44.0

func (MongoRoleDefinitionPrivilegeArrayOutput) Index added in v5.44.0

func (MongoRoleDefinitionPrivilegeArrayOutput) ToMongoRoleDefinitionPrivilegeArrayOutput added in v5.44.0

func (o MongoRoleDefinitionPrivilegeArrayOutput) ToMongoRoleDefinitionPrivilegeArrayOutput() MongoRoleDefinitionPrivilegeArrayOutput

func (MongoRoleDefinitionPrivilegeArrayOutput) ToMongoRoleDefinitionPrivilegeArrayOutputWithContext added in v5.44.0

func (o MongoRoleDefinitionPrivilegeArrayOutput) ToMongoRoleDefinitionPrivilegeArrayOutputWithContext(ctx context.Context) MongoRoleDefinitionPrivilegeArrayOutput

type MongoRoleDefinitionPrivilegeInput added in v5.44.0

type MongoRoleDefinitionPrivilegeInput interface {
	pulumi.Input

	ToMongoRoleDefinitionPrivilegeOutput() MongoRoleDefinitionPrivilegeOutput
	ToMongoRoleDefinitionPrivilegeOutputWithContext(context.Context) MongoRoleDefinitionPrivilegeOutput
}

MongoRoleDefinitionPrivilegeInput is an input type that accepts MongoRoleDefinitionPrivilegeArgs and MongoRoleDefinitionPrivilegeOutput values. You can construct a concrete instance of `MongoRoleDefinitionPrivilegeInput` via:

MongoRoleDefinitionPrivilegeArgs{...}

type MongoRoleDefinitionPrivilegeOutput added in v5.44.0

type MongoRoleDefinitionPrivilegeOutput struct{ *pulumi.OutputState }

func (MongoRoleDefinitionPrivilegeOutput) Actions added in v5.44.0

A list of actions that are allowed.

func (MongoRoleDefinitionPrivilegeOutput) ElementType added in v5.44.0

func (MongoRoleDefinitionPrivilegeOutput) Resource added in v5.44.0

A `resource` block as defined below.

func (MongoRoleDefinitionPrivilegeOutput) ToMongoRoleDefinitionPrivilegeOutput added in v5.44.0

func (o MongoRoleDefinitionPrivilegeOutput) ToMongoRoleDefinitionPrivilegeOutput() MongoRoleDefinitionPrivilegeOutput

func (MongoRoleDefinitionPrivilegeOutput) ToMongoRoleDefinitionPrivilegeOutputWithContext added in v5.44.0

func (o MongoRoleDefinitionPrivilegeOutput) ToMongoRoleDefinitionPrivilegeOutputWithContext(ctx context.Context) MongoRoleDefinitionPrivilegeOutput

type MongoRoleDefinitionPrivilegeResource added in v5.44.0

type MongoRoleDefinitionPrivilegeResource struct {
	// The name of the Mongo DB Collection that the Role Definition is applied.
	CollectionName *string `pulumi:"collectionName"`
	// The name of the Mongo DB that the Role Definition is applied.
	DbName *string `pulumi:"dbName"`
}

type MongoRoleDefinitionPrivilegeResourceArgs added in v5.44.0

type MongoRoleDefinitionPrivilegeResourceArgs struct {
	// The name of the Mongo DB Collection that the Role Definition is applied.
	CollectionName pulumi.StringPtrInput `pulumi:"collectionName"`
	// The name of the Mongo DB that the Role Definition is applied.
	DbName pulumi.StringPtrInput `pulumi:"dbName"`
}

func (MongoRoleDefinitionPrivilegeResourceArgs) ElementType added in v5.44.0

func (MongoRoleDefinitionPrivilegeResourceArgs) ToMongoRoleDefinitionPrivilegeResourceOutput added in v5.44.0

func (i MongoRoleDefinitionPrivilegeResourceArgs) ToMongoRoleDefinitionPrivilegeResourceOutput() MongoRoleDefinitionPrivilegeResourceOutput

func (MongoRoleDefinitionPrivilegeResourceArgs) ToMongoRoleDefinitionPrivilegeResourceOutputWithContext added in v5.44.0

func (i MongoRoleDefinitionPrivilegeResourceArgs) ToMongoRoleDefinitionPrivilegeResourceOutputWithContext(ctx context.Context) MongoRoleDefinitionPrivilegeResourceOutput

type MongoRoleDefinitionPrivilegeResourceInput added in v5.44.0

type MongoRoleDefinitionPrivilegeResourceInput interface {
	pulumi.Input

	ToMongoRoleDefinitionPrivilegeResourceOutput() MongoRoleDefinitionPrivilegeResourceOutput
	ToMongoRoleDefinitionPrivilegeResourceOutputWithContext(context.Context) MongoRoleDefinitionPrivilegeResourceOutput
}

MongoRoleDefinitionPrivilegeResourceInput is an input type that accepts MongoRoleDefinitionPrivilegeResourceArgs and MongoRoleDefinitionPrivilegeResourceOutput values. You can construct a concrete instance of `MongoRoleDefinitionPrivilegeResourceInput` via:

MongoRoleDefinitionPrivilegeResourceArgs{...}

type MongoRoleDefinitionPrivilegeResourceOutput added in v5.44.0

type MongoRoleDefinitionPrivilegeResourceOutput struct{ *pulumi.OutputState }

func (MongoRoleDefinitionPrivilegeResourceOutput) CollectionName added in v5.44.0

The name of the Mongo DB Collection that the Role Definition is applied.

func (MongoRoleDefinitionPrivilegeResourceOutput) DbName added in v5.44.0

The name of the Mongo DB that the Role Definition is applied.

func (MongoRoleDefinitionPrivilegeResourceOutput) ElementType added in v5.44.0

func (MongoRoleDefinitionPrivilegeResourceOutput) ToMongoRoleDefinitionPrivilegeResourceOutput added in v5.44.0

func (o MongoRoleDefinitionPrivilegeResourceOutput) ToMongoRoleDefinitionPrivilegeResourceOutput() MongoRoleDefinitionPrivilegeResourceOutput

func (MongoRoleDefinitionPrivilegeResourceOutput) ToMongoRoleDefinitionPrivilegeResourceOutputWithContext added in v5.44.0

func (o MongoRoleDefinitionPrivilegeResourceOutput) ToMongoRoleDefinitionPrivilegeResourceOutputWithContext(ctx context.Context) MongoRoleDefinitionPrivilegeResourceOutput

type MongoRoleDefinitionState added in v5.44.0

type MongoRoleDefinitionState struct {
	// The resource ID of the Mongo DB. Changing this forces a new resource to be created.
	CosmosMongoDatabaseId pulumi.StringPtrInput
	// A list of Mongo Roles which are inherited to the Mongo Role Definition.
	//
	// > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
	InheritedRoleNames pulumi.StringArrayInput
	// A `privilege` block as defined below.
	Privileges MongoRoleDefinitionPrivilegeArrayInput
	// The user-friendly name for the Mongo Role Definition. It must be unique for the database account. Changing this forces a new resource to be created.
	RoleName pulumi.StringPtrInput
}

func (MongoRoleDefinitionState) ElementType added in v5.44.0

func (MongoRoleDefinitionState) ElementType() reflect.Type

type MongoUserDefinition added in v5.44.0

type MongoUserDefinition struct {
	pulumi.CustomResourceState

	// The resource ID of the Mongo DB. Changing this forces a new resource to be created.
	CosmosMongoDatabaseId pulumi.StringOutput `pulumi:"cosmosMongoDatabaseId"`
	// A list of Mongo Roles that are inherited to the Mongo User Definition.
	//
	// > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
	InheritedRoleNames pulumi.StringArrayOutput `pulumi:"inheritedRoleNames"`
	// The password for the Mongo User Definition.
	Password pulumi.StringOutput `pulumi:"password"`
	// The username for the Mongo User Definition. Changing this forces a new resource to be created.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a Cosmos DB Mongo User Definition.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("example-ca"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("MongoDB"),
			Capabilities: cosmosdb.AccountCapabilityArray{
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongo"),
				},
				&cosmosdb.AccountCapabilityArgs{
					Name: pulumi.String("EnableMongoRoleBasedAccessControl"),
				},
			},
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         example.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleMongoDatabase, err := cosmosdb.NewMongoDatabase(ctx, "example", &cosmosdb.MongoDatabaseArgs{
			Name:              pulumi.String("example-mongodb"),
			ResourceGroupName: exampleAccount.ResourceGroupName,
			AccountName:       exampleAccount.Name,
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewMongoUserDefinition(ctx, "example", &cosmosdb.MongoUserDefinitionArgs{
			CosmosMongoDatabaseId: exampleMongoDatabase.ID(),
			Username:              pulumi.String("myUserName"),
			Password:              pulumi.String("myPassword"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos DB Mongo User Definitions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/mongoUserDefinition:MongoUserDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbUserDefinitions/dbname1.username1 ```

func GetMongoUserDefinition added in v5.44.0

func GetMongoUserDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoUserDefinitionState, opts ...pulumi.ResourceOption) (*MongoUserDefinition, error)

GetMongoUserDefinition gets an existing MongoUserDefinition 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 NewMongoUserDefinition added in v5.44.0

func NewMongoUserDefinition(ctx *pulumi.Context,
	name string, args *MongoUserDefinitionArgs, opts ...pulumi.ResourceOption) (*MongoUserDefinition, error)

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

func (*MongoUserDefinition) ElementType added in v5.44.0

func (*MongoUserDefinition) ElementType() reflect.Type

func (*MongoUserDefinition) ToMongoUserDefinitionOutput added in v5.44.0

func (i *MongoUserDefinition) ToMongoUserDefinitionOutput() MongoUserDefinitionOutput

func (*MongoUserDefinition) ToMongoUserDefinitionOutputWithContext added in v5.44.0

func (i *MongoUserDefinition) ToMongoUserDefinitionOutputWithContext(ctx context.Context) MongoUserDefinitionOutput

type MongoUserDefinitionArgs added in v5.44.0

type MongoUserDefinitionArgs struct {
	// The resource ID of the Mongo DB. Changing this forces a new resource to be created.
	CosmosMongoDatabaseId pulumi.StringInput
	// A list of Mongo Roles that are inherited to the Mongo User Definition.
	//
	// > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
	InheritedRoleNames pulumi.StringArrayInput
	// The password for the Mongo User Definition.
	Password pulumi.StringInput
	// The username for the Mongo User Definition. Changing this forces a new resource to be created.
	Username pulumi.StringInput
}

The set of arguments for constructing a MongoUserDefinition resource.

func (MongoUserDefinitionArgs) ElementType added in v5.44.0

func (MongoUserDefinitionArgs) ElementType() reflect.Type

type MongoUserDefinitionArray added in v5.44.0

type MongoUserDefinitionArray []MongoUserDefinitionInput

func (MongoUserDefinitionArray) ElementType added in v5.44.0

func (MongoUserDefinitionArray) ElementType() reflect.Type

func (MongoUserDefinitionArray) ToMongoUserDefinitionArrayOutput added in v5.44.0

func (i MongoUserDefinitionArray) ToMongoUserDefinitionArrayOutput() MongoUserDefinitionArrayOutput

func (MongoUserDefinitionArray) ToMongoUserDefinitionArrayOutputWithContext added in v5.44.0

func (i MongoUserDefinitionArray) ToMongoUserDefinitionArrayOutputWithContext(ctx context.Context) MongoUserDefinitionArrayOutput

type MongoUserDefinitionArrayInput added in v5.44.0

type MongoUserDefinitionArrayInput interface {
	pulumi.Input

	ToMongoUserDefinitionArrayOutput() MongoUserDefinitionArrayOutput
	ToMongoUserDefinitionArrayOutputWithContext(context.Context) MongoUserDefinitionArrayOutput
}

MongoUserDefinitionArrayInput is an input type that accepts MongoUserDefinitionArray and MongoUserDefinitionArrayOutput values. You can construct a concrete instance of `MongoUserDefinitionArrayInput` via:

MongoUserDefinitionArray{ MongoUserDefinitionArgs{...} }

type MongoUserDefinitionArrayOutput added in v5.44.0

type MongoUserDefinitionArrayOutput struct{ *pulumi.OutputState }

func (MongoUserDefinitionArrayOutput) ElementType added in v5.44.0

func (MongoUserDefinitionArrayOutput) Index added in v5.44.0

func (MongoUserDefinitionArrayOutput) ToMongoUserDefinitionArrayOutput added in v5.44.0

func (o MongoUserDefinitionArrayOutput) ToMongoUserDefinitionArrayOutput() MongoUserDefinitionArrayOutput

func (MongoUserDefinitionArrayOutput) ToMongoUserDefinitionArrayOutputWithContext added in v5.44.0

func (o MongoUserDefinitionArrayOutput) ToMongoUserDefinitionArrayOutputWithContext(ctx context.Context) MongoUserDefinitionArrayOutput

type MongoUserDefinitionInput added in v5.44.0

type MongoUserDefinitionInput interface {
	pulumi.Input

	ToMongoUserDefinitionOutput() MongoUserDefinitionOutput
	ToMongoUserDefinitionOutputWithContext(ctx context.Context) MongoUserDefinitionOutput
}

type MongoUserDefinitionMap added in v5.44.0

type MongoUserDefinitionMap map[string]MongoUserDefinitionInput

func (MongoUserDefinitionMap) ElementType added in v5.44.0

func (MongoUserDefinitionMap) ElementType() reflect.Type

func (MongoUserDefinitionMap) ToMongoUserDefinitionMapOutput added in v5.44.0

func (i MongoUserDefinitionMap) ToMongoUserDefinitionMapOutput() MongoUserDefinitionMapOutput

func (MongoUserDefinitionMap) ToMongoUserDefinitionMapOutputWithContext added in v5.44.0

func (i MongoUserDefinitionMap) ToMongoUserDefinitionMapOutputWithContext(ctx context.Context) MongoUserDefinitionMapOutput

type MongoUserDefinitionMapInput added in v5.44.0

type MongoUserDefinitionMapInput interface {
	pulumi.Input

	ToMongoUserDefinitionMapOutput() MongoUserDefinitionMapOutput
	ToMongoUserDefinitionMapOutputWithContext(context.Context) MongoUserDefinitionMapOutput
}

MongoUserDefinitionMapInput is an input type that accepts MongoUserDefinitionMap and MongoUserDefinitionMapOutput values. You can construct a concrete instance of `MongoUserDefinitionMapInput` via:

MongoUserDefinitionMap{ "key": MongoUserDefinitionArgs{...} }

type MongoUserDefinitionMapOutput added in v5.44.0

type MongoUserDefinitionMapOutput struct{ *pulumi.OutputState }

func (MongoUserDefinitionMapOutput) ElementType added in v5.44.0

func (MongoUserDefinitionMapOutput) MapIndex added in v5.44.0

func (MongoUserDefinitionMapOutput) ToMongoUserDefinitionMapOutput added in v5.44.0

func (o MongoUserDefinitionMapOutput) ToMongoUserDefinitionMapOutput() MongoUserDefinitionMapOutput

func (MongoUserDefinitionMapOutput) ToMongoUserDefinitionMapOutputWithContext added in v5.44.0

func (o MongoUserDefinitionMapOutput) ToMongoUserDefinitionMapOutputWithContext(ctx context.Context) MongoUserDefinitionMapOutput

type MongoUserDefinitionOutput added in v5.44.0

type MongoUserDefinitionOutput struct{ *pulumi.OutputState }

func (MongoUserDefinitionOutput) CosmosMongoDatabaseId added in v5.44.0

func (o MongoUserDefinitionOutput) CosmosMongoDatabaseId() pulumi.StringOutput

The resource ID of the Mongo DB. Changing this forces a new resource to be created.

func (MongoUserDefinitionOutput) ElementType added in v5.44.0

func (MongoUserDefinitionOutput) ElementType() reflect.Type

func (MongoUserDefinitionOutput) InheritedRoleNames added in v5.44.0

func (o MongoUserDefinitionOutput) InheritedRoleNames() pulumi.StringArrayOutput

A list of Mongo Roles that are inherited to the Mongo User Definition.

> **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.

func (MongoUserDefinitionOutput) Password added in v5.44.0

The password for the Mongo User Definition.

func (MongoUserDefinitionOutput) ToMongoUserDefinitionOutput added in v5.44.0

func (o MongoUserDefinitionOutput) ToMongoUserDefinitionOutput() MongoUserDefinitionOutput

func (MongoUserDefinitionOutput) ToMongoUserDefinitionOutputWithContext added in v5.44.0

func (o MongoUserDefinitionOutput) ToMongoUserDefinitionOutputWithContext(ctx context.Context) MongoUserDefinitionOutput

func (MongoUserDefinitionOutput) Username added in v5.44.0

The username for the Mongo User Definition. Changing this forces a new resource to be created.

type MongoUserDefinitionState added in v5.44.0

type MongoUserDefinitionState struct {
	// The resource ID of the Mongo DB. Changing this forces a new resource to be created.
	CosmosMongoDatabaseId pulumi.StringPtrInput
	// A list of Mongo Roles that are inherited to the Mongo User Definition.
	//
	// > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
	InheritedRoleNames pulumi.StringArrayInput
	// The password for the Mongo User Definition.
	Password pulumi.StringPtrInput
	// The username for the Mongo User Definition. Changing this forces a new resource to be created.
	Username pulumi.StringPtrInput
}

func (MongoUserDefinitionState) ElementType added in v5.44.0

func (MongoUserDefinitionState) ElementType() reflect.Type

type NotebookWorkspace

type NotebookWorkspace struct {
	pulumi.CustomResourceState

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

Manages an SQL Notebook Workspace.

!> **Note:** CosmosDb Notebook Workspace is now Deprecated - as such the `cosmosdb.NotebookWorkspace` resource is deprecated and will be removed in v4.0 of the AzureRM Provider.

> **NOTE:** CosmosDb Notebook (the feature itself) is not deprecated and will return: <https://learn.microsoft.com/en-us/azure/cosmos-db/notebooks-faq>.

> **NOTE:** However, CosmosDb Notebook feature no longer uses the permanent notebook workspace being referred to the public surface in the RP (have since moved to temporary notebooks workspaces which are short-lived <1 hour).

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetNotebookWorkspace

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

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

func NewNotebookWorkspace

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

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

func (*NotebookWorkspace) ElementType

func (*NotebookWorkspace) ElementType() reflect.Type

func (*NotebookWorkspace) ToNotebookWorkspaceOutput

func (i *NotebookWorkspace) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput

func (*NotebookWorkspace) ToNotebookWorkspaceOutputWithContext

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

type NotebookWorkspaceArgs

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

The set of arguments for constructing a NotebookWorkspace resource.

func (NotebookWorkspaceArgs) ElementType

func (NotebookWorkspaceArgs) ElementType() reflect.Type

type NotebookWorkspaceArray

type NotebookWorkspaceArray []NotebookWorkspaceInput

func (NotebookWorkspaceArray) ElementType

func (NotebookWorkspaceArray) ElementType() reflect.Type

func (NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutput

func (i NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput

func (NotebookWorkspaceArray) ToNotebookWorkspaceArrayOutputWithContext

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

type NotebookWorkspaceArrayInput

type NotebookWorkspaceArrayInput interface {
	pulumi.Input

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

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

NotebookWorkspaceArray{ NotebookWorkspaceArgs{...} }

type NotebookWorkspaceArrayOutput

type NotebookWorkspaceArrayOutput struct{ *pulumi.OutputState }

func (NotebookWorkspaceArrayOutput) ElementType

func (NotebookWorkspaceArrayOutput) Index

func (NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput

func (o NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutput() NotebookWorkspaceArrayOutput

func (NotebookWorkspaceArrayOutput) ToNotebookWorkspaceArrayOutputWithContext

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

type NotebookWorkspaceInput

type NotebookWorkspaceInput interface {
	pulumi.Input

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

type NotebookWorkspaceMap

type NotebookWorkspaceMap map[string]NotebookWorkspaceInput

func (NotebookWorkspaceMap) ElementType

func (NotebookWorkspaceMap) ElementType() reflect.Type

func (NotebookWorkspaceMap) ToNotebookWorkspaceMapOutput

func (i NotebookWorkspaceMap) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput

func (NotebookWorkspaceMap) ToNotebookWorkspaceMapOutputWithContext

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

type NotebookWorkspaceMapInput

type NotebookWorkspaceMapInput interface {
	pulumi.Input

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

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

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

type NotebookWorkspaceMapOutput

type NotebookWorkspaceMapOutput struct{ *pulumi.OutputState }

func (NotebookWorkspaceMapOutput) ElementType

func (NotebookWorkspaceMapOutput) ElementType() reflect.Type

func (NotebookWorkspaceMapOutput) MapIndex

func (NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput

func (o NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutput() NotebookWorkspaceMapOutput

func (NotebookWorkspaceMapOutput) ToNotebookWorkspaceMapOutputWithContext

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

type NotebookWorkspaceOutput

type NotebookWorkspaceOutput struct{ *pulumi.OutputState }

func (NotebookWorkspaceOutput) AccountName added in v5.5.0

The name of the Cosmos DB Account to create the SQL Notebook Workspace within. Changing this forces a new SQL Notebook Workspace to be created.

func (NotebookWorkspaceOutput) ElementType

func (NotebookWorkspaceOutput) ElementType() reflect.Type

func (NotebookWorkspaceOutput) Name added in v5.5.0

The name which should be used for this SQL Notebook Workspace. Possible value is `default`. Changing this forces a new SQL Notebook Workspace to be created.

func (NotebookWorkspaceOutput) ResourceGroupName added in v5.5.0

func (o NotebookWorkspaceOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the SQL Notebook Workspace should exist. Changing this forces a new SQL Notebook Workspace to be created.

func (NotebookWorkspaceOutput) ServerEndpoint added in v5.5.0

func (o NotebookWorkspaceOutput) ServerEndpoint() pulumi.StringOutput

Specifies the endpoint of Notebook server.

func (NotebookWorkspaceOutput) ToNotebookWorkspaceOutput

func (o NotebookWorkspaceOutput) ToNotebookWorkspaceOutput() NotebookWorkspaceOutput

func (NotebookWorkspaceOutput) ToNotebookWorkspaceOutputWithContext

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

type NotebookWorkspaceState

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

func (NotebookWorkspaceState) ElementType

func (NotebookWorkspaceState) ElementType() reflect.Type

type PostgresqlCluster added in v5.43.0

type PostgresqlCluster struct {
	pulumi.CustomResourceState

	// The password of the administrator login. This is required when `sourceResourceId` is not set.
	AdministratorLoginPassword pulumi.StringPtrOutput `pulumi:"administratorLoginPassword"`
	// The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `8.3`, `9.0`, `9.1`, `9.2`, `9.3`, `9.4`, `9.5`, `10.0`, `10.1`, `10.2`, `11.0`, `11.1`, `11.2`, `11.3` and `12.1`.
	CitusVersion pulumi.StringOutput `pulumi:"citusVersion"`
	// Is public access enabled on coordinator? Defaults to `true`.
	CoordinatorPublicIpAccessEnabled pulumi.BoolPtrOutput `pulumi:"coordinatorPublicIpAccessEnabled"`
	// The edition of the coordinator server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `GeneralPurpose`.
	CoordinatorServerEdition pulumi.StringPtrOutput `pulumi:"coordinatorServerEdition"`
	// The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608`, `16777216`, and `33554432`.
	//
	// > **NOTE:** More information on [the types of compute resources available for CosmosDB can be found in the product documentation](https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute)
	CoordinatorStorageQuotaInMb pulumi.IntPtrOutput `pulumi:"coordinatorStorageQuotaInMb"`
	// The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64` and `96`.
	CoordinatorVcoreCount pulumi.IntPtrOutput `pulumi:"coordinatorVcoreCount"`
	// The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
	EarliestRestoreTime pulumi.StringOutput `pulumi:"earliestRestoreTime"`
	// Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to `false`.
	HaEnabled pulumi.BoolPtrOutput `pulumi:"haEnabled"`
	// The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `maintenanceWindow` block as defined below.
	MaintenanceWindow PostgresqlClusterMaintenanceWindowPtrOutput `pulumi:"maintenanceWindow"`
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between `0` and `20` except `1`.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// Is public access enabled on worker nodes. Defaults to `false`.
	NodePublicIpAccessEnabled pulumi.BoolPtrOutput `pulumi:"nodePublicIpAccessEnabled"`
	// The edition of the node server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `MemoryOptimized`.
	NodeServerEdition pulumi.StringPtrOutput `pulumi:"nodeServerEdition"`
	// The storage quota in MB on each worker node. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608` and `16777216`.
	NodeStorageQuotaInMb pulumi.IntOutput `pulumi:"nodeStorageQuotaInMb"`
	// The vCores count on each worker node. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `96` and `104`.
	NodeVcores pulumi.IntOutput `pulumi:"nodeVcores"`
	// The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
	PointInTimeInUtc pulumi.StringPtrOutput `pulumi:"pointInTimeInUtc"`
	// The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
	PreferredPrimaryZone pulumi.StringPtrOutput `pulumi:"preferredPrimaryZone"`
	// The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `servers` block as defined below.
	Servers PostgresqlClusterServerArrayOutput `pulumi:"servers"`
	// Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
	ShardsOnCoordinatorEnabled pulumi.BoolOutput `pulumi:"shardsOnCoordinatorEnabled"`
	// The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
	SourceLocation pulumi.StringPtrOutput `pulumi:"sourceLocation"`
	// The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
	SourceResourceId pulumi.StringPtrOutput `pulumi:"sourceResourceId"`
	// The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are `11`, `12`, `13`, `14`, `15` and `16`.
	SqlVersion pulumi.StringOutput `pulumi:"sqlVersion"`
	// A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Azure Cosmos DB for PostgreSQL Cluster.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewPostgresqlCluster(ctx, "example", &cosmosdb.PostgresqlClusterArgs{
			Name:                        pulumi.String("example-cluster"),
			ResourceGroupName:           example.Name,
			Location:                    example.Location,
			AdministratorLoginPassword:  pulumi.String("H@Sh1CoR3!"),
			CoordinatorStorageQuotaInMb: pulumi.Int(131072),
			CoordinatorVcoreCount:       pulumi.Int(2),
			NodeCount:                   pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Cosmos DB for PostgreSQL Clusters can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/postgresqlCluster:PostgresqlCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1 ```

func GetPostgresqlCluster added in v5.43.0

func GetPostgresqlCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PostgresqlClusterState, opts ...pulumi.ResourceOption) (*PostgresqlCluster, error)

GetPostgresqlCluster gets an existing PostgresqlCluster 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 NewPostgresqlCluster added in v5.43.0

func NewPostgresqlCluster(ctx *pulumi.Context,
	name string, args *PostgresqlClusterArgs, opts ...pulumi.ResourceOption) (*PostgresqlCluster, error)

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

func (*PostgresqlCluster) ElementType added in v5.43.0

func (*PostgresqlCluster) ElementType() reflect.Type

func (*PostgresqlCluster) ToPostgresqlClusterOutput added in v5.43.0

func (i *PostgresqlCluster) ToPostgresqlClusterOutput() PostgresqlClusterOutput

func (*PostgresqlCluster) ToPostgresqlClusterOutputWithContext added in v5.43.0

func (i *PostgresqlCluster) ToPostgresqlClusterOutputWithContext(ctx context.Context) PostgresqlClusterOutput

type PostgresqlClusterArgs added in v5.43.0

type PostgresqlClusterArgs struct {
	// The password of the administrator login. This is required when `sourceResourceId` is not set.
	AdministratorLoginPassword pulumi.StringPtrInput
	// The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `8.3`, `9.0`, `9.1`, `9.2`, `9.3`, `9.4`, `9.5`, `10.0`, `10.1`, `10.2`, `11.0`, `11.1`, `11.2`, `11.3` and `12.1`.
	CitusVersion pulumi.StringPtrInput
	// Is public access enabled on coordinator? Defaults to `true`.
	CoordinatorPublicIpAccessEnabled pulumi.BoolPtrInput
	// The edition of the coordinator server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `GeneralPurpose`.
	CoordinatorServerEdition pulumi.StringPtrInput
	// The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608`, `16777216`, and `33554432`.
	//
	// > **NOTE:** More information on [the types of compute resources available for CosmosDB can be found in the product documentation](https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute)
	CoordinatorStorageQuotaInMb pulumi.IntPtrInput
	// The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64` and `96`.
	CoordinatorVcoreCount pulumi.IntPtrInput
	// Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to `false`.
	HaEnabled pulumi.BoolPtrInput
	// The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `maintenanceWindow` block as defined below.
	MaintenanceWindow PostgresqlClusterMaintenanceWindowPtrInput
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between `0` and `20` except `1`.
	NodeCount pulumi.IntInput
	// Is public access enabled on worker nodes. Defaults to `false`.
	NodePublicIpAccessEnabled pulumi.BoolPtrInput
	// The edition of the node server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `MemoryOptimized`.
	NodeServerEdition pulumi.StringPtrInput
	// The storage quota in MB on each worker node. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608` and `16777216`.
	NodeStorageQuotaInMb pulumi.IntPtrInput
	// The vCores count on each worker node. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `96` and `104`.
	NodeVcores pulumi.IntPtrInput
	// The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
	PointInTimeInUtc pulumi.StringPtrInput
	// The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
	PreferredPrimaryZone pulumi.StringPtrInput
	// The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
	ShardsOnCoordinatorEnabled pulumi.BoolPtrInput
	// The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
	SourceLocation pulumi.StringPtrInput
	// The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
	SourceResourceId pulumi.StringPtrInput
	// The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are `11`, `12`, `13`, `14`, `15` and `16`.
	SqlVersion pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a PostgresqlCluster resource.

func (PostgresqlClusterArgs) ElementType added in v5.43.0

func (PostgresqlClusterArgs) ElementType() reflect.Type

type PostgresqlClusterArray added in v5.43.0

type PostgresqlClusterArray []PostgresqlClusterInput

func (PostgresqlClusterArray) ElementType added in v5.43.0

func (PostgresqlClusterArray) ElementType() reflect.Type

func (PostgresqlClusterArray) ToPostgresqlClusterArrayOutput added in v5.43.0

func (i PostgresqlClusterArray) ToPostgresqlClusterArrayOutput() PostgresqlClusterArrayOutput

func (PostgresqlClusterArray) ToPostgresqlClusterArrayOutputWithContext added in v5.43.0

func (i PostgresqlClusterArray) ToPostgresqlClusterArrayOutputWithContext(ctx context.Context) PostgresqlClusterArrayOutput

type PostgresqlClusterArrayInput added in v5.43.0

type PostgresqlClusterArrayInput interface {
	pulumi.Input

	ToPostgresqlClusterArrayOutput() PostgresqlClusterArrayOutput
	ToPostgresqlClusterArrayOutputWithContext(context.Context) PostgresqlClusterArrayOutput
}

PostgresqlClusterArrayInput is an input type that accepts PostgresqlClusterArray and PostgresqlClusterArrayOutput values. You can construct a concrete instance of `PostgresqlClusterArrayInput` via:

PostgresqlClusterArray{ PostgresqlClusterArgs{...} }

type PostgresqlClusterArrayOutput added in v5.43.0

type PostgresqlClusterArrayOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterArrayOutput) ElementType added in v5.43.0

func (PostgresqlClusterArrayOutput) Index added in v5.43.0

func (PostgresqlClusterArrayOutput) ToPostgresqlClusterArrayOutput added in v5.43.0

func (o PostgresqlClusterArrayOutput) ToPostgresqlClusterArrayOutput() PostgresqlClusterArrayOutput

func (PostgresqlClusterArrayOutput) ToPostgresqlClusterArrayOutputWithContext added in v5.43.0

func (o PostgresqlClusterArrayOutput) ToPostgresqlClusterArrayOutputWithContext(ctx context.Context) PostgresqlClusterArrayOutput

type PostgresqlClusterInput added in v5.43.0

type PostgresqlClusterInput interface {
	pulumi.Input

	ToPostgresqlClusterOutput() PostgresqlClusterOutput
	ToPostgresqlClusterOutputWithContext(ctx context.Context) PostgresqlClusterOutput
}

type PostgresqlClusterMaintenanceWindow added in v5.43.0

type PostgresqlClusterMaintenanceWindow struct {
	// The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = `0`, Monday = `1`. Defaults to `0`.
	DayOfWeek *int `pulumi:"dayOfWeek"`
	// The start hour for maintenance window. Defaults to `0`.
	StartHour *int `pulumi:"startHour"`
	// The start minute for maintenance window. Defaults to `0`.
	StartMinute *int `pulumi:"startMinute"`
}

type PostgresqlClusterMaintenanceWindowArgs added in v5.43.0

type PostgresqlClusterMaintenanceWindowArgs struct {
	// The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = `0`, Monday = `1`. Defaults to `0`.
	DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"`
	// The start hour for maintenance window. Defaults to `0`.
	StartHour pulumi.IntPtrInput `pulumi:"startHour"`
	// The start minute for maintenance window. Defaults to `0`.
	StartMinute pulumi.IntPtrInput `pulumi:"startMinute"`
}

func (PostgresqlClusterMaintenanceWindowArgs) ElementType added in v5.43.0

func (PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowOutput added in v5.43.0

func (i PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowOutput() PostgresqlClusterMaintenanceWindowOutput

func (PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowOutputWithContext added in v5.43.0

func (i PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowOutputWithContext(ctx context.Context) PostgresqlClusterMaintenanceWindowOutput

func (PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowPtrOutput added in v5.43.0

func (i PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowPtrOutput() PostgresqlClusterMaintenanceWindowPtrOutput

func (PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext added in v5.43.0

func (i PostgresqlClusterMaintenanceWindowArgs) ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) PostgresqlClusterMaintenanceWindowPtrOutput

type PostgresqlClusterMaintenanceWindowInput added in v5.43.0

type PostgresqlClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToPostgresqlClusterMaintenanceWindowOutput() PostgresqlClusterMaintenanceWindowOutput
	ToPostgresqlClusterMaintenanceWindowOutputWithContext(context.Context) PostgresqlClusterMaintenanceWindowOutput
}

PostgresqlClusterMaintenanceWindowInput is an input type that accepts PostgresqlClusterMaintenanceWindowArgs and PostgresqlClusterMaintenanceWindowOutput values. You can construct a concrete instance of `PostgresqlClusterMaintenanceWindowInput` via:

PostgresqlClusterMaintenanceWindowArgs{...}

type PostgresqlClusterMaintenanceWindowOutput added in v5.43.0

type PostgresqlClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterMaintenanceWindowOutput) DayOfWeek added in v5.43.0

The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = `0`, Monday = `1`. Defaults to `0`.

func (PostgresqlClusterMaintenanceWindowOutput) ElementType added in v5.43.0

func (PostgresqlClusterMaintenanceWindowOutput) StartHour added in v5.43.0

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

func (PostgresqlClusterMaintenanceWindowOutput) StartMinute added in v5.43.0

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

func (PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowOutput added in v5.43.0

func (o PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowOutput() PostgresqlClusterMaintenanceWindowOutput

func (PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowOutputWithContext added in v5.43.0

func (o PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowOutputWithContext(ctx context.Context) PostgresqlClusterMaintenanceWindowOutput

func (PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowPtrOutput added in v5.43.0

func (o PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowPtrOutput() PostgresqlClusterMaintenanceWindowPtrOutput

func (PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext added in v5.43.0

func (o PostgresqlClusterMaintenanceWindowOutput) ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) PostgresqlClusterMaintenanceWindowPtrOutput

type PostgresqlClusterMaintenanceWindowPtrInput added in v5.43.0

type PostgresqlClusterMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToPostgresqlClusterMaintenanceWindowPtrOutput() PostgresqlClusterMaintenanceWindowPtrOutput
	ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext(context.Context) PostgresqlClusterMaintenanceWindowPtrOutput
}

PostgresqlClusterMaintenanceWindowPtrInput is an input type that accepts PostgresqlClusterMaintenanceWindowArgs, PostgresqlClusterMaintenanceWindowPtr and PostgresqlClusterMaintenanceWindowPtrOutput values. You can construct a concrete instance of `PostgresqlClusterMaintenanceWindowPtrInput` via:

        PostgresqlClusterMaintenanceWindowArgs{...}

or:

        nil

type PostgresqlClusterMaintenanceWindowPtrOutput added in v5.43.0

type PostgresqlClusterMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterMaintenanceWindowPtrOutput) DayOfWeek added in v5.43.0

The day of week for maintenance window, where the week starts on a Sunday, i.e. Sunday = `0`, Monday = `1`. Defaults to `0`.

func (PostgresqlClusterMaintenanceWindowPtrOutput) Elem added in v5.43.0

func (PostgresqlClusterMaintenanceWindowPtrOutput) ElementType added in v5.43.0

func (PostgresqlClusterMaintenanceWindowPtrOutput) StartHour added in v5.43.0

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

func (PostgresqlClusterMaintenanceWindowPtrOutput) StartMinute added in v5.43.0

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

func (PostgresqlClusterMaintenanceWindowPtrOutput) ToPostgresqlClusterMaintenanceWindowPtrOutput added in v5.43.0

func (o PostgresqlClusterMaintenanceWindowPtrOutput) ToPostgresqlClusterMaintenanceWindowPtrOutput() PostgresqlClusterMaintenanceWindowPtrOutput

func (PostgresqlClusterMaintenanceWindowPtrOutput) ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext added in v5.43.0

func (o PostgresqlClusterMaintenanceWindowPtrOutput) ToPostgresqlClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) PostgresqlClusterMaintenanceWindowPtrOutput

type PostgresqlClusterMap added in v5.43.0

type PostgresqlClusterMap map[string]PostgresqlClusterInput

func (PostgresqlClusterMap) ElementType added in v5.43.0

func (PostgresqlClusterMap) ElementType() reflect.Type

func (PostgresqlClusterMap) ToPostgresqlClusterMapOutput added in v5.43.0

func (i PostgresqlClusterMap) ToPostgresqlClusterMapOutput() PostgresqlClusterMapOutput

func (PostgresqlClusterMap) ToPostgresqlClusterMapOutputWithContext added in v5.43.0

func (i PostgresqlClusterMap) ToPostgresqlClusterMapOutputWithContext(ctx context.Context) PostgresqlClusterMapOutput

type PostgresqlClusterMapInput added in v5.43.0

type PostgresqlClusterMapInput interface {
	pulumi.Input

	ToPostgresqlClusterMapOutput() PostgresqlClusterMapOutput
	ToPostgresqlClusterMapOutputWithContext(context.Context) PostgresqlClusterMapOutput
}

PostgresqlClusterMapInput is an input type that accepts PostgresqlClusterMap and PostgresqlClusterMapOutput values. You can construct a concrete instance of `PostgresqlClusterMapInput` via:

PostgresqlClusterMap{ "key": PostgresqlClusterArgs{...} }

type PostgresqlClusterMapOutput added in v5.43.0

type PostgresqlClusterMapOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterMapOutput) ElementType added in v5.43.0

func (PostgresqlClusterMapOutput) ElementType() reflect.Type

func (PostgresqlClusterMapOutput) MapIndex added in v5.43.0

func (PostgresqlClusterMapOutput) ToPostgresqlClusterMapOutput added in v5.43.0

func (o PostgresqlClusterMapOutput) ToPostgresqlClusterMapOutput() PostgresqlClusterMapOutput

func (PostgresqlClusterMapOutput) ToPostgresqlClusterMapOutputWithContext added in v5.43.0

func (o PostgresqlClusterMapOutput) ToPostgresqlClusterMapOutputWithContext(ctx context.Context) PostgresqlClusterMapOutput

type PostgresqlClusterOutput added in v5.43.0

type PostgresqlClusterOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterOutput) AdministratorLoginPassword added in v5.43.0

func (o PostgresqlClusterOutput) AdministratorLoginPassword() pulumi.StringPtrOutput

The password of the administrator login. This is required when `sourceResourceId` is not set.

func (PostgresqlClusterOutput) CitusVersion added in v5.43.0

func (o PostgresqlClusterOutput) CitusVersion() pulumi.StringOutput

The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `8.3`, `9.0`, `9.1`, `9.2`, `9.3`, `9.4`, `9.5`, `10.0`, `10.1`, `10.2`, `11.0`, `11.1`, `11.2`, `11.3` and `12.1`.

func (PostgresqlClusterOutput) CoordinatorPublicIpAccessEnabled added in v5.43.0

func (o PostgresqlClusterOutput) CoordinatorPublicIpAccessEnabled() pulumi.BoolPtrOutput

Is public access enabled on coordinator? Defaults to `true`.

func (PostgresqlClusterOutput) CoordinatorServerEdition added in v5.43.0

func (o PostgresqlClusterOutput) CoordinatorServerEdition() pulumi.StringPtrOutput

The edition of the coordinator server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `GeneralPurpose`.

func (PostgresqlClusterOutput) CoordinatorStorageQuotaInMb added in v5.43.0

func (o PostgresqlClusterOutput) CoordinatorStorageQuotaInMb() pulumi.IntPtrOutput

The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608`, `16777216`, and `33554432`.

> **NOTE:** More information on [the types of compute resources available for CosmosDB can be found in the product documentation](https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute)

func (PostgresqlClusterOutput) CoordinatorVcoreCount added in v5.43.0

func (o PostgresqlClusterOutput) CoordinatorVcoreCount() pulumi.IntPtrOutput

The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64` and `96`.

func (PostgresqlClusterOutput) EarliestRestoreTime added in v5.43.0

func (o PostgresqlClusterOutput) EarliestRestoreTime() pulumi.StringOutput

The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.

func (PostgresqlClusterOutput) ElementType added in v5.43.0

func (PostgresqlClusterOutput) ElementType() reflect.Type

func (PostgresqlClusterOutput) HaEnabled added in v5.43.0

Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to `false`.

func (PostgresqlClusterOutput) Location added in v5.43.0

The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.

func (PostgresqlClusterOutput) MaintenanceWindow added in v5.43.0

A `maintenanceWindow` block as defined below.

func (PostgresqlClusterOutput) Name added in v5.43.0

The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.

func (PostgresqlClusterOutput) NodeCount added in v5.43.0

The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between `0` and `20` except `1`.

func (PostgresqlClusterOutput) NodePublicIpAccessEnabled added in v5.43.0

func (o PostgresqlClusterOutput) NodePublicIpAccessEnabled() pulumi.BoolPtrOutput

Is public access enabled on worker nodes. Defaults to `false`.

func (PostgresqlClusterOutput) NodeServerEdition added in v5.43.0

func (o PostgresqlClusterOutput) NodeServerEdition() pulumi.StringPtrOutput

The edition of the node server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `MemoryOptimized`.

func (PostgresqlClusterOutput) NodeStorageQuotaInMb added in v5.43.0

func (o PostgresqlClusterOutput) NodeStorageQuotaInMb() pulumi.IntOutput

The storage quota in MB on each worker node. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608` and `16777216`.

func (PostgresqlClusterOutput) NodeVcores added in v5.43.0

func (o PostgresqlClusterOutput) NodeVcores() pulumi.IntOutput

The vCores count on each worker node. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `96` and `104`.

func (PostgresqlClusterOutput) PointInTimeInUtc added in v5.43.0

func (o PostgresqlClusterOutput) PointInTimeInUtc() pulumi.StringPtrOutput

The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.

func (PostgresqlClusterOutput) PreferredPrimaryZone added in v5.43.0

func (o PostgresqlClusterOutput) PreferredPrimaryZone() pulumi.StringPtrOutput

The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.

func (PostgresqlClusterOutput) ResourceGroupName added in v5.43.0

func (o PostgresqlClusterOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.

func (PostgresqlClusterOutput) Servers added in v5.70.0

A `servers` block as defined below.

func (PostgresqlClusterOutput) ShardsOnCoordinatorEnabled added in v5.43.0

func (o PostgresqlClusterOutput) ShardsOnCoordinatorEnabled() pulumi.BoolOutput

Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.

func (PostgresqlClusterOutput) SourceLocation added in v5.43.0

func (o PostgresqlClusterOutput) SourceLocation() pulumi.StringPtrOutput

The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.

func (PostgresqlClusterOutput) SourceResourceId added in v5.43.0

func (o PostgresqlClusterOutput) SourceResourceId() pulumi.StringPtrOutput

The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.

func (PostgresqlClusterOutput) SqlVersion added in v5.43.0

The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are `11`, `12`, `13`, `14`, `15` and `16`.

func (PostgresqlClusterOutput) Tags added in v5.43.0

A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.

func (PostgresqlClusterOutput) ToPostgresqlClusterOutput added in v5.43.0

func (o PostgresqlClusterOutput) ToPostgresqlClusterOutput() PostgresqlClusterOutput

func (PostgresqlClusterOutput) ToPostgresqlClusterOutputWithContext added in v5.43.0

func (o PostgresqlClusterOutput) ToPostgresqlClusterOutputWithContext(ctx context.Context) PostgresqlClusterOutput

type PostgresqlClusterServer added in v5.70.0

type PostgresqlClusterServer struct {
	// The Fully Qualified Domain Name of the server.
	Fqdn *string `pulumi:"fqdn"`
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name *string `pulumi:"name"`
}

type PostgresqlClusterServerArgs added in v5.70.0

type PostgresqlClusterServerArgs struct {
	// The Fully Qualified Domain Name of the server.
	Fqdn pulumi.StringPtrInput `pulumi:"fqdn"`
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (PostgresqlClusterServerArgs) ElementType added in v5.70.0

func (PostgresqlClusterServerArgs) ToPostgresqlClusterServerOutput added in v5.70.0

func (i PostgresqlClusterServerArgs) ToPostgresqlClusterServerOutput() PostgresqlClusterServerOutput

func (PostgresqlClusterServerArgs) ToPostgresqlClusterServerOutputWithContext added in v5.70.0

func (i PostgresqlClusterServerArgs) ToPostgresqlClusterServerOutputWithContext(ctx context.Context) PostgresqlClusterServerOutput

type PostgresqlClusterServerArray added in v5.70.0

type PostgresqlClusterServerArray []PostgresqlClusterServerInput

func (PostgresqlClusterServerArray) ElementType added in v5.70.0

func (PostgresqlClusterServerArray) ToPostgresqlClusterServerArrayOutput added in v5.70.0

func (i PostgresqlClusterServerArray) ToPostgresqlClusterServerArrayOutput() PostgresqlClusterServerArrayOutput

func (PostgresqlClusterServerArray) ToPostgresqlClusterServerArrayOutputWithContext added in v5.70.0

func (i PostgresqlClusterServerArray) ToPostgresqlClusterServerArrayOutputWithContext(ctx context.Context) PostgresqlClusterServerArrayOutput

type PostgresqlClusterServerArrayInput added in v5.70.0

type PostgresqlClusterServerArrayInput interface {
	pulumi.Input

	ToPostgresqlClusterServerArrayOutput() PostgresqlClusterServerArrayOutput
	ToPostgresqlClusterServerArrayOutputWithContext(context.Context) PostgresqlClusterServerArrayOutput
}

PostgresqlClusterServerArrayInput is an input type that accepts PostgresqlClusterServerArray and PostgresqlClusterServerArrayOutput values. You can construct a concrete instance of `PostgresqlClusterServerArrayInput` via:

PostgresqlClusterServerArray{ PostgresqlClusterServerArgs{...} }

type PostgresqlClusterServerArrayOutput added in v5.70.0

type PostgresqlClusterServerArrayOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterServerArrayOutput) ElementType added in v5.70.0

func (PostgresqlClusterServerArrayOutput) Index added in v5.70.0

func (PostgresqlClusterServerArrayOutput) ToPostgresqlClusterServerArrayOutput added in v5.70.0

func (o PostgresqlClusterServerArrayOutput) ToPostgresqlClusterServerArrayOutput() PostgresqlClusterServerArrayOutput

func (PostgresqlClusterServerArrayOutput) ToPostgresqlClusterServerArrayOutputWithContext added in v5.70.0

func (o PostgresqlClusterServerArrayOutput) ToPostgresqlClusterServerArrayOutputWithContext(ctx context.Context) PostgresqlClusterServerArrayOutput

type PostgresqlClusterServerInput added in v5.70.0

type PostgresqlClusterServerInput interface {
	pulumi.Input

	ToPostgresqlClusterServerOutput() PostgresqlClusterServerOutput
	ToPostgresqlClusterServerOutputWithContext(context.Context) PostgresqlClusterServerOutput
}

PostgresqlClusterServerInput is an input type that accepts PostgresqlClusterServerArgs and PostgresqlClusterServerOutput values. You can construct a concrete instance of `PostgresqlClusterServerInput` via:

PostgresqlClusterServerArgs{...}

type PostgresqlClusterServerOutput added in v5.70.0

type PostgresqlClusterServerOutput struct{ *pulumi.OutputState }

func (PostgresqlClusterServerOutput) ElementType added in v5.70.0

func (PostgresqlClusterServerOutput) Fqdn added in v5.70.0

The Fully Qualified Domain Name of the server.

func (PostgresqlClusterServerOutput) Name added in v5.70.0

The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.

func (PostgresqlClusterServerOutput) ToPostgresqlClusterServerOutput added in v5.70.0

func (o PostgresqlClusterServerOutput) ToPostgresqlClusterServerOutput() PostgresqlClusterServerOutput

func (PostgresqlClusterServerOutput) ToPostgresqlClusterServerOutputWithContext added in v5.70.0

func (o PostgresqlClusterServerOutput) ToPostgresqlClusterServerOutputWithContext(ctx context.Context) PostgresqlClusterServerOutput

type PostgresqlClusterState added in v5.43.0

type PostgresqlClusterState struct {
	// The password of the administrator login. This is required when `sourceResourceId` is not set.
	AdministratorLoginPassword pulumi.StringPtrInput
	// The citus extension version on the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `8.3`, `9.0`, `9.1`, `9.2`, `9.3`, `9.4`, `9.5`, `10.0`, `10.1`, `10.2`, `11.0`, `11.1`, `11.2`, `11.3` and `12.1`.
	CitusVersion pulumi.StringPtrInput
	// Is public access enabled on coordinator? Defaults to `true`.
	CoordinatorPublicIpAccessEnabled pulumi.BoolPtrInput
	// The edition of the coordinator server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `GeneralPurpose`.
	CoordinatorServerEdition pulumi.StringPtrInput
	// The coordinator storage allowed for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608`, `16777216`, and `33554432`.
	//
	// > **NOTE:** More information on [the types of compute resources available for CosmosDB can be found in the product documentation](https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute)
	CoordinatorStorageQuotaInMb pulumi.IntPtrInput
	// The coordinator vCore count for the Azure Cosmos DB for PostgreSQL Cluster. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64` and `96`.
	CoordinatorVcoreCount pulumi.IntPtrInput
	// The earliest restore point time (ISO8601 format) for the Azure Cosmos DB for PostgreSQL Cluster.
	EarliestRestoreTime pulumi.StringPtrInput
	// Is high availability enabled for the Azure Cosmos DB for PostgreSQL cluster? Defaults to `false`.
	HaEnabled pulumi.BoolPtrInput
	// The Azure Region where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `maintenanceWindow` block as defined below.
	MaintenanceWindow PostgresqlClusterMaintenanceWindowPtrInput
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The worker node count of the Azure Cosmos DB for PostgreSQL Cluster. Possible value is between `0` and `20` except `1`.
	NodeCount pulumi.IntPtrInput
	// Is public access enabled on worker nodes. Defaults to `false`.
	NodePublicIpAccessEnabled pulumi.BoolPtrInput
	// The edition of the node server. Possible values are `BurstableGeneralPurpose`, `BurstableMemoryOptimized`, `GeneralPurpose` and `MemoryOptimized`. Defaults to `MemoryOptimized`.
	NodeServerEdition pulumi.StringPtrInput
	// The storage quota in MB on each worker node. Possible values are `32768`, `65536`, `131072`, `262144`, `524288`, `1048576`, `2097152`, `4194304`, `8388608` and `16777216`.
	NodeStorageQuotaInMb pulumi.IntPtrInput
	// The vCores count on each worker node. Possible values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `96` and `104`.
	NodeVcores pulumi.IntPtrInput
	// The date and time in UTC (ISO8601 format) for the Azure Cosmos DB for PostgreSQL cluster restore. Changing this forces a new resource to be created.
	PointInTimeInUtc pulumi.StringPtrInput
	// The preferred primary availability zone for the Azure Cosmos DB for PostgreSQL cluster.
	PreferredPrimaryZone pulumi.StringPtrInput
	// The name of the Resource Group where the Azure Cosmos DB for PostgreSQL Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `servers` block as defined below.
	Servers PostgresqlClusterServerArrayInput
	// Is shards on coordinator enabled for the Azure Cosmos DB for PostgreSQL cluster.
	ShardsOnCoordinatorEnabled pulumi.BoolPtrInput
	// The Azure region of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
	SourceLocation pulumi.StringPtrInput
	// The resource ID of the source Azure Cosmos DB for PostgreSQL cluster for read replica clusters. Changing this forces a new resource to be created.
	SourceResourceId pulumi.StringPtrInput
	// The major PostgreSQL version on the Azure Cosmos DB for PostgreSQL cluster. Possible values are `11`, `12`, `13`, `14`, `15` and `16`.
	SqlVersion pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Azure Cosmos DB for PostgreSQL Cluster.
	Tags pulumi.StringMapInput
}

func (PostgresqlClusterState) ElementType added in v5.43.0

func (PostgresqlClusterState) ElementType() reflect.Type

type PostgresqlCoordinatorConfiguration added in v5.44.0

type PostgresqlCoordinatorConfiguration struct {
	pulumi.CustomResourceState

	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The value of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster.
	Value pulumi.StringOutput `pulumi:"value"`
}

Sets a Coordinator Configuration value on Azure Cosmos DB for PostgreSQL Cluster.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.NewResourceGroup(ctx, "test", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		example, err := cosmosdb.NewPostgresqlCluster(ctx, "example", &cosmosdb.PostgresqlClusterArgs{
			Name:                        pulumi.String("examplecluster"),
			ResourceGroupName:           pulumi.Any(exampleAzurermResourceGroup.Name),
			Location:                    pulumi.Any(exampleAzurermResourceGroup.Location),
			AdministratorLoginPassword:  pulumi.String("H@Sh1CoR3!"),
			CoordinatorStorageQuotaInMb: pulumi.Int(131072),
			CoordinatorVcoreCount:       pulumi.Int(2),
			NodeCount:                   pulumi.Int(2),
			NodeStorageQuotaInMb:        pulumi.Int(131072),
			NodeVcores:                  pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewPostgresqlCoordinatorConfiguration(ctx, "example", &cosmosdb.PostgresqlCoordinatorConfigurationArgs{
			Name:      pulumi.String("array_nulls"),
			ClusterId: example.ID(),
			Value:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Coordinator Configurations on Azure Cosmos DB for PostgreSQL Clusters can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/postgresqlCoordinatorConfiguration:PostgresqlCoordinatorConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/coordinatorConfigurations/array_nulls ```

func GetPostgresqlCoordinatorConfiguration added in v5.44.0

func GetPostgresqlCoordinatorConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PostgresqlCoordinatorConfigurationState, opts ...pulumi.ResourceOption) (*PostgresqlCoordinatorConfiguration, error)

GetPostgresqlCoordinatorConfiguration gets an existing PostgresqlCoordinatorConfiguration 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 NewPostgresqlCoordinatorConfiguration added in v5.44.0

func NewPostgresqlCoordinatorConfiguration(ctx *pulumi.Context,
	name string, args *PostgresqlCoordinatorConfigurationArgs, opts ...pulumi.ResourceOption) (*PostgresqlCoordinatorConfiguration, error)

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

func (*PostgresqlCoordinatorConfiguration) ElementType added in v5.44.0

func (*PostgresqlCoordinatorConfiguration) ToPostgresqlCoordinatorConfigurationOutput added in v5.44.0

func (i *PostgresqlCoordinatorConfiguration) ToPostgresqlCoordinatorConfigurationOutput() PostgresqlCoordinatorConfigurationOutput

func (*PostgresqlCoordinatorConfiguration) ToPostgresqlCoordinatorConfigurationOutputWithContext added in v5.44.0

func (i *PostgresqlCoordinatorConfiguration) ToPostgresqlCoordinatorConfigurationOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationOutput

type PostgresqlCoordinatorConfigurationArgs added in v5.44.0

type PostgresqlCoordinatorConfigurationArgs struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.
	ClusterId pulumi.StringInput
	// The name of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The value of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster.
	Value pulumi.StringInput
}

The set of arguments for constructing a PostgresqlCoordinatorConfiguration resource.

func (PostgresqlCoordinatorConfigurationArgs) ElementType added in v5.44.0

type PostgresqlCoordinatorConfigurationArray added in v5.44.0

type PostgresqlCoordinatorConfigurationArray []PostgresqlCoordinatorConfigurationInput

func (PostgresqlCoordinatorConfigurationArray) ElementType added in v5.44.0

func (PostgresqlCoordinatorConfigurationArray) ToPostgresqlCoordinatorConfigurationArrayOutput added in v5.44.0

func (i PostgresqlCoordinatorConfigurationArray) ToPostgresqlCoordinatorConfigurationArrayOutput() PostgresqlCoordinatorConfigurationArrayOutput

func (PostgresqlCoordinatorConfigurationArray) ToPostgresqlCoordinatorConfigurationArrayOutputWithContext added in v5.44.0

func (i PostgresqlCoordinatorConfigurationArray) ToPostgresqlCoordinatorConfigurationArrayOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationArrayOutput

type PostgresqlCoordinatorConfigurationArrayInput added in v5.44.0

type PostgresqlCoordinatorConfigurationArrayInput interface {
	pulumi.Input

	ToPostgresqlCoordinatorConfigurationArrayOutput() PostgresqlCoordinatorConfigurationArrayOutput
	ToPostgresqlCoordinatorConfigurationArrayOutputWithContext(context.Context) PostgresqlCoordinatorConfigurationArrayOutput
}

PostgresqlCoordinatorConfigurationArrayInput is an input type that accepts PostgresqlCoordinatorConfigurationArray and PostgresqlCoordinatorConfigurationArrayOutput values. You can construct a concrete instance of `PostgresqlCoordinatorConfigurationArrayInput` via:

PostgresqlCoordinatorConfigurationArray{ PostgresqlCoordinatorConfigurationArgs{...} }

type PostgresqlCoordinatorConfigurationArrayOutput added in v5.44.0

type PostgresqlCoordinatorConfigurationArrayOutput struct{ *pulumi.OutputState }

func (PostgresqlCoordinatorConfigurationArrayOutput) ElementType added in v5.44.0

func (PostgresqlCoordinatorConfigurationArrayOutput) Index added in v5.44.0

func (PostgresqlCoordinatorConfigurationArrayOutput) ToPostgresqlCoordinatorConfigurationArrayOutput added in v5.44.0

func (o PostgresqlCoordinatorConfigurationArrayOutput) ToPostgresqlCoordinatorConfigurationArrayOutput() PostgresqlCoordinatorConfigurationArrayOutput

func (PostgresqlCoordinatorConfigurationArrayOutput) ToPostgresqlCoordinatorConfigurationArrayOutputWithContext added in v5.44.0

func (o PostgresqlCoordinatorConfigurationArrayOutput) ToPostgresqlCoordinatorConfigurationArrayOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationArrayOutput

type PostgresqlCoordinatorConfigurationInput added in v5.44.0

type PostgresqlCoordinatorConfigurationInput interface {
	pulumi.Input

	ToPostgresqlCoordinatorConfigurationOutput() PostgresqlCoordinatorConfigurationOutput
	ToPostgresqlCoordinatorConfigurationOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationOutput
}

type PostgresqlCoordinatorConfigurationMap added in v5.44.0

type PostgresqlCoordinatorConfigurationMap map[string]PostgresqlCoordinatorConfigurationInput

func (PostgresqlCoordinatorConfigurationMap) ElementType added in v5.44.0

func (PostgresqlCoordinatorConfigurationMap) ToPostgresqlCoordinatorConfigurationMapOutput added in v5.44.0

func (i PostgresqlCoordinatorConfigurationMap) ToPostgresqlCoordinatorConfigurationMapOutput() PostgresqlCoordinatorConfigurationMapOutput

func (PostgresqlCoordinatorConfigurationMap) ToPostgresqlCoordinatorConfigurationMapOutputWithContext added in v5.44.0

func (i PostgresqlCoordinatorConfigurationMap) ToPostgresqlCoordinatorConfigurationMapOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationMapOutput

type PostgresqlCoordinatorConfigurationMapInput added in v5.44.0

type PostgresqlCoordinatorConfigurationMapInput interface {
	pulumi.Input

	ToPostgresqlCoordinatorConfigurationMapOutput() PostgresqlCoordinatorConfigurationMapOutput
	ToPostgresqlCoordinatorConfigurationMapOutputWithContext(context.Context) PostgresqlCoordinatorConfigurationMapOutput
}

PostgresqlCoordinatorConfigurationMapInput is an input type that accepts PostgresqlCoordinatorConfigurationMap and PostgresqlCoordinatorConfigurationMapOutput values. You can construct a concrete instance of `PostgresqlCoordinatorConfigurationMapInput` via:

PostgresqlCoordinatorConfigurationMap{ "key": PostgresqlCoordinatorConfigurationArgs{...} }

type PostgresqlCoordinatorConfigurationMapOutput added in v5.44.0

type PostgresqlCoordinatorConfigurationMapOutput struct{ *pulumi.OutputState }

func (PostgresqlCoordinatorConfigurationMapOutput) ElementType added in v5.44.0

func (PostgresqlCoordinatorConfigurationMapOutput) MapIndex added in v5.44.0

func (PostgresqlCoordinatorConfigurationMapOutput) ToPostgresqlCoordinatorConfigurationMapOutput added in v5.44.0

func (o PostgresqlCoordinatorConfigurationMapOutput) ToPostgresqlCoordinatorConfigurationMapOutput() PostgresqlCoordinatorConfigurationMapOutput

func (PostgresqlCoordinatorConfigurationMapOutput) ToPostgresqlCoordinatorConfigurationMapOutputWithContext added in v5.44.0

func (o PostgresqlCoordinatorConfigurationMapOutput) ToPostgresqlCoordinatorConfigurationMapOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationMapOutput

type PostgresqlCoordinatorConfigurationOutput added in v5.44.0

type PostgresqlCoordinatorConfigurationOutput struct{ *pulumi.OutputState }

func (PostgresqlCoordinatorConfigurationOutput) ClusterId added in v5.44.0

The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.

func (PostgresqlCoordinatorConfigurationOutput) ElementType added in v5.44.0

func (PostgresqlCoordinatorConfigurationOutput) Name added in v5.44.0

The name of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.

func (PostgresqlCoordinatorConfigurationOutput) ToPostgresqlCoordinatorConfigurationOutput added in v5.44.0

func (o PostgresqlCoordinatorConfigurationOutput) ToPostgresqlCoordinatorConfigurationOutput() PostgresqlCoordinatorConfigurationOutput

func (PostgresqlCoordinatorConfigurationOutput) ToPostgresqlCoordinatorConfigurationOutputWithContext added in v5.44.0

func (o PostgresqlCoordinatorConfigurationOutput) ToPostgresqlCoordinatorConfigurationOutputWithContext(ctx context.Context) PostgresqlCoordinatorConfigurationOutput

func (PostgresqlCoordinatorConfigurationOutput) Value added in v5.44.0

The value of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster.

type PostgresqlCoordinatorConfigurationState added in v5.44.0

type PostgresqlCoordinatorConfigurationState struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.
	ClusterId pulumi.StringPtrInput
	// The name of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The value of the Coordinator Configuration on Azure Cosmos DB for PostgreSQL Cluster.
	Value pulumi.StringPtrInput
}

func (PostgresqlCoordinatorConfigurationState) ElementType added in v5.44.0

type PostgresqlFirewallRule added in v5.43.0

type PostgresqlFirewallRule struct {
	pulumi.CustomResourceState

	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The end IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// The name which should be used for the Azure Cosmos DB for PostgreSQL Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The start IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
}

Manages an Azure Cosmos DB for PostgreSQL Firewall Rule.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		examplePostgresqlCluster, err := cosmosdb.NewPostgresqlCluster(ctx, "example", &cosmosdb.PostgresqlClusterArgs{
			Name:                        pulumi.String("examplecluster"),
			ResourceGroupName:           example.Name,
			Location:                    example.Location,
			AdministratorLoginPassword:  pulumi.String("H@Sh1CoR3!"),
			CoordinatorStorageQuotaInMb: pulumi.Int(131072),
			CoordinatorVcoreCount:       pulumi.Int(2),
			NodeCount:                   pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewPostgresqlFirewallRule(ctx, "example", &cosmosdb.PostgresqlFirewallRuleArgs{
			Name:           pulumi.String("example-firewallrule"),
			ClusterId:      examplePostgresqlCluster.ID(),
			StartIpAddress: pulumi.String("10.0.17.62"),
			EndIpAddress:   pulumi.String("10.0.17.64"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Cosmos DB for PostgreSQL Firewall Rules can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/postgresqlFirewallRule:PostgresqlFirewallRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/firewallRules/firewallRule1 ```

func GetPostgresqlFirewallRule added in v5.43.0

func GetPostgresqlFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PostgresqlFirewallRuleState, opts ...pulumi.ResourceOption) (*PostgresqlFirewallRule, error)

GetPostgresqlFirewallRule gets an existing PostgresqlFirewallRule 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 NewPostgresqlFirewallRule added in v5.43.0

func NewPostgresqlFirewallRule(ctx *pulumi.Context,
	name string, args *PostgresqlFirewallRuleArgs, opts ...pulumi.ResourceOption) (*PostgresqlFirewallRule, error)

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

func (*PostgresqlFirewallRule) ElementType added in v5.43.0

func (*PostgresqlFirewallRule) ElementType() reflect.Type

func (*PostgresqlFirewallRule) ToPostgresqlFirewallRuleOutput added in v5.43.0

func (i *PostgresqlFirewallRule) ToPostgresqlFirewallRuleOutput() PostgresqlFirewallRuleOutput

func (*PostgresqlFirewallRule) ToPostgresqlFirewallRuleOutputWithContext added in v5.43.0

func (i *PostgresqlFirewallRule) ToPostgresqlFirewallRuleOutputWithContext(ctx context.Context) PostgresqlFirewallRuleOutput

type PostgresqlFirewallRuleArgs added in v5.43.0

type PostgresqlFirewallRuleArgs struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	ClusterId pulumi.StringInput
	// The end IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.
	EndIpAddress pulumi.StringInput
	// The name which should be used for the Azure Cosmos DB for PostgreSQL Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The start IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a PostgresqlFirewallRule resource.

func (PostgresqlFirewallRuleArgs) ElementType added in v5.43.0

func (PostgresqlFirewallRuleArgs) ElementType() reflect.Type

type PostgresqlFirewallRuleArray added in v5.43.0

type PostgresqlFirewallRuleArray []PostgresqlFirewallRuleInput

func (PostgresqlFirewallRuleArray) ElementType added in v5.43.0

func (PostgresqlFirewallRuleArray) ToPostgresqlFirewallRuleArrayOutput added in v5.43.0

func (i PostgresqlFirewallRuleArray) ToPostgresqlFirewallRuleArrayOutput() PostgresqlFirewallRuleArrayOutput

func (PostgresqlFirewallRuleArray) ToPostgresqlFirewallRuleArrayOutputWithContext added in v5.43.0

func (i PostgresqlFirewallRuleArray) ToPostgresqlFirewallRuleArrayOutputWithContext(ctx context.Context) PostgresqlFirewallRuleArrayOutput

type PostgresqlFirewallRuleArrayInput added in v5.43.0

type PostgresqlFirewallRuleArrayInput interface {
	pulumi.Input

	ToPostgresqlFirewallRuleArrayOutput() PostgresqlFirewallRuleArrayOutput
	ToPostgresqlFirewallRuleArrayOutputWithContext(context.Context) PostgresqlFirewallRuleArrayOutput
}

PostgresqlFirewallRuleArrayInput is an input type that accepts PostgresqlFirewallRuleArray and PostgresqlFirewallRuleArrayOutput values. You can construct a concrete instance of `PostgresqlFirewallRuleArrayInput` via:

PostgresqlFirewallRuleArray{ PostgresqlFirewallRuleArgs{...} }

type PostgresqlFirewallRuleArrayOutput added in v5.43.0

type PostgresqlFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (PostgresqlFirewallRuleArrayOutput) ElementType added in v5.43.0

func (PostgresqlFirewallRuleArrayOutput) Index added in v5.43.0

func (PostgresqlFirewallRuleArrayOutput) ToPostgresqlFirewallRuleArrayOutput added in v5.43.0

func (o PostgresqlFirewallRuleArrayOutput) ToPostgresqlFirewallRuleArrayOutput() PostgresqlFirewallRuleArrayOutput

func (PostgresqlFirewallRuleArrayOutput) ToPostgresqlFirewallRuleArrayOutputWithContext added in v5.43.0

func (o PostgresqlFirewallRuleArrayOutput) ToPostgresqlFirewallRuleArrayOutputWithContext(ctx context.Context) PostgresqlFirewallRuleArrayOutput

type PostgresqlFirewallRuleInput added in v5.43.0

type PostgresqlFirewallRuleInput interface {
	pulumi.Input

	ToPostgresqlFirewallRuleOutput() PostgresqlFirewallRuleOutput
	ToPostgresqlFirewallRuleOutputWithContext(ctx context.Context) PostgresqlFirewallRuleOutput
}

type PostgresqlFirewallRuleMap added in v5.43.0

type PostgresqlFirewallRuleMap map[string]PostgresqlFirewallRuleInput

func (PostgresqlFirewallRuleMap) ElementType added in v5.43.0

func (PostgresqlFirewallRuleMap) ElementType() reflect.Type

func (PostgresqlFirewallRuleMap) ToPostgresqlFirewallRuleMapOutput added in v5.43.0

func (i PostgresqlFirewallRuleMap) ToPostgresqlFirewallRuleMapOutput() PostgresqlFirewallRuleMapOutput

func (PostgresqlFirewallRuleMap) ToPostgresqlFirewallRuleMapOutputWithContext added in v5.43.0

func (i PostgresqlFirewallRuleMap) ToPostgresqlFirewallRuleMapOutputWithContext(ctx context.Context) PostgresqlFirewallRuleMapOutput

type PostgresqlFirewallRuleMapInput added in v5.43.0

type PostgresqlFirewallRuleMapInput interface {
	pulumi.Input

	ToPostgresqlFirewallRuleMapOutput() PostgresqlFirewallRuleMapOutput
	ToPostgresqlFirewallRuleMapOutputWithContext(context.Context) PostgresqlFirewallRuleMapOutput
}

PostgresqlFirewallRuleMapInput is an input type that accepts PostgresqlFirewallRuleMap and PostgresqlFirewallRuleMapOutput values. You can construct a concrete instance of `PostgresqlFirewallRuleMapInput` via:

PostgresqlFirewallRuleMap{ "key": PostgresqlFirewallRuleArgs{...} }

type PostgresqlFirewallRuleMapOutput added in v5.43.0

type PostgresqlFirewallRuleMapOutput struct{ *pulumi.OutputState }

func (PostgresqlFirewallRuleMapOutput) ElementType added in v5.43.0

func (PostgresqlFirewallRuleMapOutput) MapIndex added in v5.43.0

func (PostgresqlFirewallRuleMapOutput) ToPostgresqlFirewallRuleMapOutput added in v5.43.0

func (o PostgresqlFirewallRuleMapOutput) ToPostgresqlFirewallRuleMapOutput() PostgresqlFirewallRuleMapOutput

func (PostgresqlFirewallRuleMapOutput) ToPostgresqlFirewallRuleMapOutputWithContext added in v5.43.0

func (o PostgresqlFirewallRuleMapOutput) ToPostgresqlFirewallRuleMapOutputWithContext(ctx context.Context) PostgresqlFirewallRuleMapOutput

type PostgresqlFirewallRuleOutput added in v5.43.0

type PostgresqlFirewallRuleOutput struct{ *pulumi.OutputState }

func (PostgresqlFirewallRuleOutput) ClusterId added in v5.43.0

The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.

func (PostgresqlFirewallRuleOutput) ElementType added in v5.43.0

func (PostgresqlFirewallRuleOutput) EndIpAddress added in v5.43.0

The end IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.

func (PostgresqlFirewallRuleOutput) Name added in v5.43.0

The name which should be used for the Azure Cosmos DB for PostgreSQL Firewall Rule. Changing this forces a new resource to be created.

func (PostgresqlFirewallRuleOutput) StartIpAddress added in v5.43.0

The start IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.

func (PostgresqlFirewallRuleOutput) ToPostgresqlFirewallRuleOutput added in v5.43.0

func (o PostgresqlFirewallRuleOutput) ToPostgresqlFirewallRuleOutput() PostgresqlFirewallRuleOutput

func (PostgresqlFirewallRuleOutput) ToPostgresqlFirewallRuleOutputWithContext added in v5.43.0

func (o PostgresqlFirewallRuleOutput) ToPostgresqlFirewallRuleOutputWithContext(ctx context.Context) PostgresqlFirewallRuleOutput

type PostgresqlFirewallRuleState added in v5.43.0

type PostgresqlFirewallRuleState struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	ClusterId pulumi.StringPtrInput
	// The end IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.
	EndIpAddress pulumi.StringPtrInput
	// The name which should be used for the Azure Cosmos DB for PostgreSQL Firewall Rule. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The start IP address of the Azure Cosmos DB for PostgreSQL Firewall Rule.
	StartIpAddress pulumi.StringPtrInput
}

func (PostgresqlFirewallRuleState) ElementType added in v5.43.0

type PostgresqlNodeConfiguration added in v5.44.0

type PostgresqlNodeConfiguration struct {
	pulumi.CustomResourceState

	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster.
	Value pulumi.StringOutput `pulumi:"value"`
}

Sets a Node Configuration value on Azure Cosmos DB for PostgreSQL Cluster.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		examplePostgresqlCluster, err := cosmosdb.NewPostgresqlCluster(ctx, "example", &cosmosdb.PostgresqlClusterArgs{
			Name:                        pulumi.String("examplecluster"),
			ResourceGroupName:           example.Name,
			Location:                    example.Location,
			AdministratorLoginPassword:  pulumi.String("H@Sh1CoR3!"),
			CoordinatorStorageQuotaInMb: pulumi.Int(131072),
			CoordinatorVcoreCount:       pulumi.Int(2),
			NodeCount:                   pulumi.Int(2),
			NodeStorageQuotaInMb:        pulumi.Int(131072),
			NodeVcores:                  pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewPostgresqlNodeConfiguration(ctx, "example", &cosmosdb.PostgresqlNodeConfigurationArgs{
			Name:      pulumi.String("array_nulls"),
			ClusterId: examplePostgresqlCluster.ID(),
			Value:     pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Node Configurations on Azure Cosmos DB for PostgreSQL Clusters can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/postgresqlNodeConfiguration:PostgresqlNodeConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/nodeConfigurations/array_nulls ```

func GetPostgresqlNodeConfiguration added in v5.44.0

func GetPostgresqlNodeConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PostgresqlNodeConfigurationState, opts ...pulumi.ResourceOption) (*PostgresqlNodeConfiguration, error)

GetPostgresqlNodeConfiguration gets an existing PostgresqlNodeConfiguration 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 NewPostgresqlNodeConfiguration added in v5.44.0

func NewPostgresqlNodeConfiguration(ctx *pulumi.Context,
	name string, args *PostgresqlNodeConfigurationArgs, opts ...pulumi.ResourceOption) (*PostgresqlNodeConfiguration, error)

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

func (*PostgresqlNodeConfiguration) ElementType added in v5.44.0

func (*PostgresqlNodeConfiguration) ElementType() reflect.Type

func (*PostgresqlNodeConfiguration) ToPostgresqlNodeConfigurationOutput added in v5.44.0

func (i *PostgresqlNodeConfiguration) ToPostgresqlNodeConfigurationOutput() PostgresqlNodeConfigurationOutput

func (*PostgresqlNodeConfiguration) ToPostgresqlNodeConfigurationOutputWithContext added in v5.44.0

func (i *PostgresqlNodeConfiguration) ToPostgresqlNodeConfigurationOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationOutput

type PostgresqlNodeConfigurationArgs added in v5.44.0

type PostgresqlNodeConfigurationArgs struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.
	ClusterId pulumi.StringInput
	// The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster.
	Value pulumi.StringInput
}

The set of arguments for constructing a PostgresqlNodeConfiguration resource.

func (PostgresqlNodeConfigurationArgs) ElementType added in v5.44.0

type PostgresqlNodeConfigurationArray added in v5.44.0

type PostgresqlNodeConfigurationArray []PostgresqlNodeConfigurationInput

func (PostgresqlNodeConfigurationArray) ElementType added in v5.44.0

func (PostgresqlNodeConfigurationArray) ToPostgresqlNodeConfigurationArrayOutput added in v5.44.0

func (i PostgresqlNodeConfigurationArray) ToPostgresqlNodeConfigurationArrayOutput() PostgresqlNodeConfigurationArrayOutput

func (PostgresqlNodeConfigurationArray) ToPostgresqlNodeConfigurationArrayOutputWithContext added in v5.44.0

func (i PostgresqlNodeConfigurationArray) ToPostgresqlNodeConfigurationArrayOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationArrayOutput

type PostgresqlNodeConfigurationArrayInput added in v5.44.0

type PostgresqlNodeConfigurationArrayInput interface {
	pulumi.Input

	ToPostgresqlNodeConfigurationArrayOutput() PostgresqlNodeConfigurationArrayOutput
	ToPostgresqlNodeConfigurationArrayOutputWithContext(context.Context) PostgresqlNodeConfigurationArrayOutput
}

PostgresqlNodeConfigurationArrayInput is an input type that accepts PostgresqlNodeConfigurationArray and PostgresqlNodeConfigurationArrayOutput values. You can construct a concrete instance of `PostgresqlNodeConfigurationArrayInput` via:

PostgresqlNodeConfigurationArray{ PostgresqlNodeConfigurationArgs{...} }

type PostgresqlNodeConfigurationArrayOutput added in v5.44.0

type PostgresqlNodeConfigurationArrayOutput struct{ *pulumi.OutputState }

func (PostgresqlNodeConfigurationArrayOutput) ElementType added in v5.44.0

func (PostgresqlNodeConfigurationArrayOutput) Index added in v5.44.0

func (PostgresqlNodeConfigurationArrayOutput) ToPostgresqlNodeConfigurationArrayOutput added in v5.44.0

func (o PostgresqlNodeConfigurationArrayOutput) ToPostgresqlNodeConfigurationArrayOutput() PostgresqlNodeConfigurationArrayOutput

func (PostgresqlNodeConfigurationArrayOutput) ToPostgresqlNodeConfigurationArrayOutputWithContext added in v5.44.0

func (o PostgresqlNodeConfigurationArrayOutput) ToPostgresqlNodeConfigurationArrayOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationArrayOutput

type PostgresqlNodeConfigurationInput added in v5.44.0

type PostgresqlNodeConfigurationInput interface {
	pulumi.Input

	ToPostgresqlNodeConfigurationOutput() PostgresqlNodeConfigurationOutput
	ToPostgresqlNodeConfigurationOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationOutput
}

type PostgresqlNodeConfigurationMap added in v5.44.0

type PostgresqlNodeConfigurationMap map[string]PostgresqlNodeConfigurationInput

func (PostgresqlNodeConfigurationMap) ElementType added in v5.44.0

func (PostgresqlNodeConfigurationMap) ToPostgresqlNodeConfigurationMapOutput added in v5.44.0

func (i PostgresqlNodeConfigurationMap) ToPostgresqlNodeConfigurationMapOutput() PostgresqlNodeConfigurationMapOutput

func (PostgresqlNodeConfigurationMap) ToPostgresqlNodeConfigurationMapOutputWithContext added in v5.44.0

func (i PostgresqlNodeConfigurationMap) ToPostgresqlNodeConfigurationMapOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationMapOutput

type PostgresqlNodeConfigurationMapInput added in v5.44.0

type PostgresqlNodeConfigurationMapInput interface {
	pulumi.Input

	ToPostgresqlNodeConfigurationMapOutput() PostgresqlNodeConfigurationMapOutput
	ToPostgresqlNodeConfigurationMapOutputWithContext(context.Context) PostgresqlNodeConfigurationMapOutput
}

PostgresqlNodeConfigurationMapInput is an input type that accepts PostgresqlNodeConfigurationMap and PostgresqlNodeConfigurationMapOutput values. You can construct a concrete instance of `PostgresqlNodeConfigurationMapInput` via:

PostgresqlNodeConfigurationMap{ "key": PostgresqlNodeConfigurationArgs{...} }

type PostgresqlNodeConfigurationMapOutput added in v5.44.0

type PostgresqlNodeConfigurationMapOutput struct{ *pulumi.OutputState }

func (PostgresqlNodeConfigurationMapOutput) ElementType added in v5.44.0

func (PostgresqlNodeConfigurationMapOutput) MapIndex added in v5.44.0

func (PostgresqlNodeConfigurationMapOutput) ToPostgresqlNodeConfigurationMapOutput added in v5.44.0

func (o PostgresqlNodeConfigurationMapOutput) ToPostgresqlNodeConfigurationMapOutput() PostgresqlNodeConfigurationMapOutput

func (PostgresqlNodeConfigurationMapOutput) ToPostgresqlNodeConfigurationMapOutputWithContext added in v5.44.0

func (o PostgresqlNodeConfigurationMapOutput) ToPostgresqlNodeConfigurationMapOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationMapOutput

type PostgresqlNodeConfigurationOutput added in v5.44.0

type PostgresqlNodeConfigurationOutput struct{ *pulumi.OutputState }

func (PostgresqlNodeConfigurationOutput) ClusterId added in v5.44.0

The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.

func (PostgresqlNodeConfigurationOutput) ElementType added in v5.44.0

func (PostgresqlNodeConfigurationOutput) Name added in v5.44.0

The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.

func (PostgresqlNodeConfigurationOutput) ToPostgresqlNodeConfigurationOutput added in v5.44.0

func (o PostgresqlNodeConfigurationOutput) ToPostgresqlNodeConfigurationOutput() PostgresqlNodeConfigurationOutput

func (PostgresqlNodeConfigurationOutput) ToPostgresqlNodeConfigurationOutputWithContext added in v5.44.0

func (o PostgresqlNodeConfigurationOutput) ToPostgresqlNodeConfigurationOutputWithContext(ctx context.Context) PostgresqlNodeConfigurationOutput

func (PostgresqlNodeConfigurationOutput) Value added in v5.44.0

The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster.

type PostgresqlNodeConfigurationState added in v5.44.0

type PostgresqlNodeConfigurationState struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster where we want to change configuration. Changing this forces a new resource to be created.
	ClusterId pulumi.StringPtrInput
	// The name of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The value of the Node Configuration on Azure Cosmos DB for PostgreSQL Cluster.
	Value pulumi.StringPtrInput
}

func (PostgresqlNodeConfigurationState) ElementType added in v5.44.0

type PostgresqlRole added in v5.44.0

type PostgresqlRole struct {
	pulumi.CustomResourceState

	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
	Password pulumi.StringOutput `pulumi:"password"`
}

Manages an Azure Cosmos DB for PostgreSQL Role.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		examplePostgresqlCluster, err := cosmosdb.NewPostgresqlCluster(ctx, "example", &cosmosdb.PostgresqlClusterArgs{
			Name:                        pulumi.String("examplecluster"),
			ResourceGroupName:           example.Name,
			Location:                    example.Location,
			AdministratorLoginPassword:  pulumi.String("H@Sh1CoR3!"),
			CoordinatorStorageQuotaInMb: pulumi.Int(131072),
			CoordinatorVcoreCount:       pulumi.Int(2),
			NodeCount:                   pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewPostgresqlRole(ctx, "example", &cosmosdb.PostgresqlRoleArgs{
			Name:      pulumi.String("examplerole"),
			ClusterId: examplePostgresqlCluster.ID(),
			Password:  pulumi.String("H@Sh1CoR3!"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Cosmos DB for PostgreSQL Roles can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/postgresqlRole:PostgresqlRole example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/roles/role1 ```

func GetPostgresqlRole added in v5.44.0

func GetPostgresqlRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PostgresqlRoleState, opts ...pulumi.ResourceOption) (*PostgresqlRole, error)

GetPostgresqlRole gets an existing PostgresqlRole 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 NewPostgresqlRole added in v5.44.0

func NewPostgresqlRole(ctx *pulumi.Context,
	name string, args *PostgresqlRoleArgs, opts ...pulumi.ResourceOption) (*PostgresqlRole, error)

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

func (*PostgresqlRole) ElementType added in v5.44.0

func (*PostgresqlRole) ElementType() reflect.Type

func (*PostgresqlRole) ToPostgresqlRoleOutput added in v5.44.0

func (i *PostgresqlRole) ToPostgresqlRoleOutput() PostgresqlRoleOutput

func (*PostgresqlRole) ToPostgresqlRoleOutputWithContext added in v5.44.0

func (i *PostgresqlRole) ToPostgresqlRoleOutputWithContext(ctx context.Context) PostgresqlRoleOutput

type PostgresqlRoleArgs added in v5.44.0

type PostgresqlRoleArgs struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	ClusterId pulumi.StringInput
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
	Password pulumi.StringInput
}

The set of arguments for constructing a PostgresqlRole resource.

func (PostgresqlRoleArgs) ElementType added in v5.44.0

func (PostgresqlRoleArgs) ElementType() reflect.Type

type PostgresqlRoleArray added in v5.44.0

type PostgresqlRoleArray []PostgresqlRoleInput

func (PostgresqlRoleArray) ElementType added in v5.44.0

func (PostgresqlRoleArray) ElementType() reflect.Type

func (PostgresqlRoleArray) ToPostgresqlRoleArrayOutput added in v5.44.0

func (i PostgresqlRoleArray) ToPostgresqlRoleArrayOutput() PostgresqlRoleArrayOutput

func (PostgresqlRoleArray) ToPostgresqlRoleArrayOutputWithContext added in v5.44.0

func (i PostgresqlRoleArray) ToPostgresqlRoleArrayOutputWithContext(ctx context.Context) PostgresqlRoleArrayOutput

type PostgresqlRoleArrayInput added in v5.44.0

type PostgresqlRoleArrayInput interface {
	pulumi.Input

	ToPostgresqlRoleArrayOutput() PostgresqlRoleArrayOutput
	ToPostgresqlRoleArrayOutputWithContext(context.Context) PostgresqlRoleArrayOutput
}

PostgresqlRoleArrayInput is an input type that accepts PostgresqlRoleArray and PostgresqlRoleArrayOutput values. You can construct a concrete instance of `PostgresqlRoleArrayInput` via:

PostgresqlRoleArray{ PostgresqlRoleArgs{...} }

type PostgresqlRoleArrayOutput added in v5.44.0

type PostgresqlRoleArrayOutput struct{ *pulumi.OutputState }

func (PostgresqlRoleArrayOutput) ElementType added in v5.44.0

func (PostgresqlRoleArrayOutput) ElementType() reflect.Type

func (PostgresqlRoleArrayOutput) Index added in v5.44.0

func (PostgresqlRoleArrayOutput) ToPostgresqlRoleArrayOutput added in v5.44.0

func (o PostgresqlRoleArrayOutput) ToPostgresqlRoleArrayOutput() PostgresqlRoleArrayOutput

func (PostgresqlRoleArrayOutput) ToPostgresqlRoleArrayOutputWithContext added in v5.44.0

func (o PostgresqlRoleArrayOutput) ToPostgresqlRoleArrayOutputWithContext(ctx context.Context) PostgresqlRoleArrayOutput

type PostgresqlRoleInput added in v5.44.0

type PostgresqlRoleInput interface {
	pulumi.Input

	ToPostgresqlRoleOutput() PostgresqlRoleOutput
	ToPostgresqlRoleOutputWithContext(ctx context.Context) PostgresqlRoleOutput
}

type PostgresqlRoleMap added in v5.44.0

type PostgresqlRoleMap map[string]PostgresqlRoleInput

func (PostgresqlRoleMap) ElementType added in v5.44.0

func (PostgresqlRoleMap) ElementType() reflect.Type

func (PostgresqlRoleMap) ToPostgresqlRoleMapOutput added in v5.44.0

func (i PostgresqlRoleMap) ToPostgresqlRoleMapOutput() PostgresqlRoleMapOutput

func (PostgresqlRoleMap) ToPostgresqlRoleMapOutputWithContext added in v5.44.0

func (i PostgresqlRoleMap) ToPostgresqlRoleMapOutputWithContext(ctx context.Context) PostgresqlRoleMapOutput

type PostgresqlRoleMapInput added in v5.44.0

type PostgresqlRoleMapInput interface {
	pulumi.Input

	ToPostgresqlRoleMapOutput() PostgresqlRoleMapOutput
	ToPostgresqlRoleMapOutputWithContext(context.Context) PostgresqlRoleMapOutput
}

PostgresqlRoleMapInput is an input type that accepts PostgresqlRoleMap and PostgresqlRoleMapOutput values. You can construct a concrete instance of `PostgresqlRoleMapInput` via:

PostgresqlRoleMap{ "key": PostgresqlRoleArgs{...} }

type PostgresqlRoleMapOutput added in v5.44.0

type PostgresqlRoleMapOutput struct{ *pulumi.OutputState }

func (PostgresqlRoleMapOutput) ElementType added in v5.44.0

func (PostgresqlRoleMapOutput) ElementType() reflect.Type

func (PostgresqlRoleMapOutput) MapIndex added in v5.44.0

func (PostgresqlRoleMapOutput) ToPostgresqlRoleMapOutput added in v5.44.0

func (o PostgresqlRoleMapOutput) ToPostgresqlRoleMapOutput() PostgresqlRoleMapOutput

func (PostgresqlRoleMapOutput) ToPostgresqlRoleMapOutputWithContext added in v5.44.0

func (o PostgresqlRoleMapOutput) ToPostgresqlRoleMapOutputWithContext(ctx context.Context) PostgresqlRoleMapOutput

type PostgresqlRoleOutput added in v5.44.0

type PostgresqlRoleOutput struct{ *pulumi.OutputState }

func (PostgresqlRoleOutput) ClusterId added in v5.44.0

The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.

func (PostgresqlRoleOutput) ElementType added in v5.44.0

func (PostgresqlRoleOutput) ElementType() reflect.Type

func (PostgresqlRoleOutput) Name added in v5.44.0

The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.

func (PostgresqlRoleOutput) Password added in v5.44.0

The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.

func (PostgresqlRoleOutput) ToPostgresqlRoleOutput added in v5.44.0

func (o PostgresqlRoleOutput) ToPostgresqlRoleOutput() PostgresqlRoleOutput

func (PostgresqlRoleOutput) ToPostgresqlRoleOutputWithContext added in v5.44.0

func (o PostgresqlRoleOutput) ToPostgresqlRoleOutputWithContext(ctx context.Context) PostgresqlRoleOutput

type PostgresqlRoleState added in v5.44.0

type PostgresqlRoleState struct {
	// The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
	ClusterId pulumi.StringPtrInput
	// The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
	Password pulumi.StringPtrInput
}

func (PostgresqlRoleState) ElementType added in v5.44.0

func (PostgresqlRoleState) ElementType() reflect.Type

type SqlContainer

type SqlContainer struct {
	pulumi.CustomResourceState

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

Manages a SQL Container within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "example", &cosmosdb.SqlDatabaseArgs{
			Name:              pulumi.String("example-acsd"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{
			Name:                pulumi.String("example-container"),
			ResourceGroupName:   pulumi.String(example.ResourceGroupName),
			AccountName:         pulumi.String(example.Name),
			DatabaseName:        exampleSqlDatabase.Name,
			PartitionKeyPath:    pulumi.String("/definition/id"),
			PartitionKeyVersion: pulumi.Int(1),
			Throughput:          pulumi.Int(400),
			IndexingPolicy: &cosmosdb.SqlContainerIndexingPolicyArgs{
				IndexingMode: pulumi.String("consistent"),
				IncludedPaths: cosmosdb.SqlContainerIndexingPolicyIncludedPathArray{
					&cosmosdb.SqlContainerIndexingPolicyIncludedPathArgs{
						Path: pulumi.String("/*"),
					},
					&cosmosdb.SqlContainerIndexingPolicyIncludedPathArgs{
						Path: pulumi.String("/included/?"),
					},
				},
				ExcludedPaths: cosmosdb.SqlContainerIndexingPolicyExcludedPathArray{
					&cosmosdb.SqlContainerIndexingPolicyExcludedPathArgs{
						Path: pulumi.String("/excluded/?"),
					},
				},
			},
			UniqueKeys: cosmosdb.SqlContainerUniqueKeyArray{
				&cosmosdb.SqlContainerUniqueKeyArgs{
					Paths: pulumi.StringArray{
						pulumi.String("/definition/idlong"),
						pulumi.String("/definition/idshort"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

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

func GetSqlContainer

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

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

func NewSqlContainer

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

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

func (*SqlContainer) ElementType

func (*SqlContainer) ElementType() reflect.Type

func (*SqlContainer) ToSqlContainerOutput

func (i *SqlContainer) ToSqlContainerOutput() SqlContainerOutput

func (*SqlContainer) ToSqlContainerOutputWithContext

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

type SqlContainerArgs

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

The set of arguments for constructing a SqlContainer resource.

func (SqlContainerArgs) ElementType

func (SqlContainerArgs) ElementType() reflect.Type

type SqlContainerArray

type SqlContainerArray []SqlContainerInput

func (SqlContainerArray) ElementType

func (SqlContainerArray) ElementType() reflect.Type

func (SqlContainerArray) ToSqlContainerArrayOutput

func (i SqlContainerArray) ToSqlContainerArrayOutput() SqlContainerArrayOutput

func (SqlContainerArray) ToSqlContainerArrayOutputWithContext

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

type SqlContainerArrayInput

type SqlContainerArrayInput interface {
	pulumi.Input

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

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

SqlContainerArray{ SqlContainerArgs{...} }

type SqlContainerArrayOutput

type SqlContainerArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerArrayOutput) ElementType

func (SqlContainerArrayOutput) ElementType() reflect.Type

func (SqlContainerArrayOutput) Index

func (SqlContainerArrayOutput) ToSqlContainerArrayOutput

func (o SqlContainerArrayOutput) ToSqlContainerArrayOutput() SqlContainerArrayOutput

func (SqlContainerArrayOutput) ToSqlContainerArrayOutputWithContext

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

type SqlContainerAutoscaleSettings

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

type SqlContainerAutoscaleSettingsArgs

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

func (SqlContainerAutoscaleSettingsArgs) ElementType

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput

func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsOutputWithContext

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

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput

func (i SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput

func (SqlContainerAutoscaleSettingsArgs) ToSqlContainerAutoscaleSettingsPtrOutputWithContext

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

type SqlContainerAutoscaleSettingsInput

type SqlContainerAutoscaleSettingsInput interface {
	pulumi.Input

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

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

SqlContainerAutoscaleSettingsArgs{...}

type SqlContainerAutoscaleSettingsOutput

type SqlContainerAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (SqlContainerAutoscaleSettingsOutput) ElementType

func (SqlContainerAutoscaleSettingsOutput) MaxThroughput

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

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput

func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutput() SqlContainerAutoscaleSettingsOutput

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsOutputWithContext

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

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput

func (o SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput

func (SqlContainerAutoscaleSettingsOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext

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

type SqlContainerAutoscaleSettingsPtrInput

type SqlContainerAutoscaleSettingsPtrInput interface {
	pulumi.Input

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

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

        SqlContainerAutoscaleSettingsArgs{...}

or:

        nil

type SqlContainerAutoscaleSettingsPtrOutput

type SqlContainerAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerAutoscaleSettingsPtrOutput) Elem

func (SqlContainerAutoscaleSettingsPtrOutput) ElementType

func (SqlContainerAutoscaleSettingsPtrOutput) MaxThroughput

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

func (SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput

func (o SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutput() SqlContainerAutoscaleSettingsPtrOutput

func (SqlContainerAutoscaleSettingsPtrOutput) ToSqlContainerAutoscaleSettingsPtrOutputWithContext

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

type SqlContainerConflictResolutionPolicy

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

type SqlContainerConflictResolutionPolicyArgs

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

func (SqlContainerConflictResolutionPolicyArgs) ElementType

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput

func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyOutputWithContext

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

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput

func (i SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput

func (SqlContainerConflictResolutionPolicyArgs) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext

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

type SqlContainerConflictResolutionPolicyInput

type SqlContainerConflictResolutionPolicyInput interface {
	pulumi.Input

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

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

SqlContainerConflictResolutionPolicyArgs{...}

type SqlContainerConflictResolutionPolicyOutput

type SqlContainerConflictResolutionPolicyOutput struct{ *pulumi.OutputState }

func (SqlContainerConflictResolutionPolicyOutput) ConflictResolutionPath

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

func (SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure

func (o SqlContainerConflictResolutionPolicyOutput) ConflictResolutionProcedure() pulumi.StringPtrOutput

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

func (SqlContainerConflictResolutionPolicyOutput) ElementType

func (SqlContainerConflictResolutionPolicyOutput) Mode

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

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput

func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutput() SqlContainerConflictResolutionPolicyOutput

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyOutputWithContext

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

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput

func (o SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput

func (SqlContainerConflictResolutionPolicyOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext

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

type SqlContainerConflictResolutionPolicyPtrInput

type SqlContainerConflictResolutionPolicyPtrInput interface {
	pulumi.Input

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

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

        SqlContainerConflictResolutionPolicyArgs{...}

or:

        nil

type SqlContainerConflictResolutionPolicyPtrOutput

type SqlContainerConflictResolutionPolicyPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionPath

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

func (SqlContainerConflictResolutionPolicyPtrOutput) ConflictResolutionProcedure

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

func (SqlContainerConflictResolutionPolicyPtrOutput) Elem

func (SqlContainerConflictResolutionPolicyPtrOutput) ElementType

func (SqlContainerConflictResolutionPolicyPtrOutput) Mode

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

func (SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput

func (o SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutput() SqlContainerConflictResolutionPolicyPtrOutput

func (SqlContainerConflictResolutionPolicyPtrOutput) ToSqlContainerConflictResolutionPolicyPtrOutputWithContext

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

type SqlContainerIndexingPolicy

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

type SqlContainerIndexingPolicyArgs

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

func (SqlContainerIndexingPolicyArgs) ElementType

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput

func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyOutputWithContext

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

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput

func (i SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput

func (SqlContainerIndexingPolicyArgs) ToSqlContainerIndexingPolicyPtrOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndex

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

type SqlContainerIndexingPolicyCompositeIndexArgs

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

func (SqlContainerIndexingPolicyCompositeIndexArgs) ElementType

func (SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput

func (i SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexArray

type SqlContainerIndexingPolicyCompositeIndexArray []SqlContainerIndexingPolicyCompositeIndexInput

func (SqlContainerIndexingPolicyCompositeIndexArray) ElementType

func (SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput

func (i SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexArray) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexArrayInput

type SqlContainerIndexingPolicyCompositeIndexArrayInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyCompositeIndexArray{ SqlContainerIndexingPolicyCompositeIndexArgs{...} }

type SqlContainerIndexingPolicyCompositeIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) Index

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput

func (o SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexArrayOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexIndex

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

type SqlContainerIndexingPolicyCompositeIndexIndexArgs

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

func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput

func (i SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexArgs) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexIndexArray

type SqlContainerIndexingPolicyCompositeIndexIndexArray []SqlContainerIndexingPolicyCompositeIndexIndexInput

func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

func (i SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput() SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexArray) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput

type SqlContainerIndexingPolicyCompositeIndexIndexArrayInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyCompositeIndexIndexArray{ SqlContainerIndexingPolicyCompositeIndexIndexArgs{...} }

type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

type SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) Index

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexArrayOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexArrayOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexIndexInput

type SqlContainerIndexingPolicyCompositeIndexIndexInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyCompositeIndexIndexArgs{...}

type SqlContainerIndexingPolicyCompositeIndexIndexOutput

type SqlContainerIndexingPolicyCompositeIndexIndexOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) Order

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

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) Path

Path for which the indexing behaviour applies to.

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput

func (o SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutput() SqlContainerIndexingPolicyCompositeIndexIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexIndexOutputWithContext

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

type SqlContainerIndexingPolicyCompositeIndexInput

type SqlContainerIndexingPolicyCompositeIndexInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyCompositeIndexArgs{...}

type SqlContainerIndexingPolicyCompositeIndexOutput

type SqlContainerIndexingPolicyCompositeIndexOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyCompositeIndexOutput) ElementType

func (SqlContainerIndexingPolicyCompositeIndexOutput) Indices

One or more `index` blocks as defined below.

func (SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput

func (o SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutput() SqlContainerIndexingPolicyCompositeIndexOutput

func (SqlContainerIndexingPolicyCompositeIndexOutput) ToSqlContainerIndexingPolicyCompositeIndexOutputWithContext

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

type SqlContainerIndexingPolicyExcludedPath

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

type SqlContainerIndexingPolicyExcludedPathArgs

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

func (SqlContainerIndexingPolicyExcludedPathArgs) ElementType

func (SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput

func (i SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput

func (SqlContainerIndexingPolicyExcludedPathArgs) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext

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

type SqlContainerIndexingPolicyExcludedPathArray

type SqlContainerIndexingPolicyExcludedPathArray []SqlContainerIndexingPolicyExcludedPathInput

func (SqlContainerIndexingPolicyExcludedPathArray) ElementType

func (SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput

func (i SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput

func (SqlContainerIndexingPolicyExcludedPathArray) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext

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

type SqlContainerIndexingPolicyExcludedPathArrayInput

type SqlContainerIndexingPolicyExcludedPathArrayInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyExcludedPathArray{ SqlContainerIndexingPolicyExcludedPathArgs{...} }

type SqlContainerIndexingPolicyExcludedPathArrayOutput

type SqlContainerIndexingPolicyExcludedPathArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ElementType

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) Index

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput

func (o SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutput() SqlContainerIndexingPolicyExcludedPathArrayOutput

func (SqlContainerIndexingPolicyExcludedPathArrayOutput) ToSqlContainerIndexingPolicyExcludedPathArrayOutputWithContext

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

type SqlContainerIndexingPolicyExcludedPathInput

type SqlContainerIndexingPolicyExcludedPathInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyExcludedPathArgs{...}

type SqlContainerIndexingPolicyExcludedPathOutput

type SqlContainerIndexingPolicyExcludedPathOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyExcludedPathOutput) ElementType

func (SqlContainerIndexingPolicyExcludedPathOutput) Path

Path that is excluded from indexing.

func (SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput

func (o SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutput() SqlContainerIndexingPolicyExcludedPathOutput

func (SqlContainerIndexingPolicyExcludedPathOutput) ToSqlContainerIndexingPolicyExcludedPathOutputWithContext

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

type SqlContainerIndexingPolicyIncludedPath

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

type SqlContainerIndexingPolicyIncludedPathArgs

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

func (SqlContainerIndexingPolicyIncludedPathArgs) ElementType

func (SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput

func (i SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput

func (SqlContainerIndexingPolicyIncludedPathArgs) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext

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

type SqlContainerIndexingPolicyIncludedPathArray

type SqlContainerIndexingPolicyIncludedPathArray []SqlContainerIndexingPolicyIncludedPathInput

func (SqlContainerIndexingPolicyIncludedPathArray) ElementType

func (SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput

func (i SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput

func (SqlContainerIndexingPolicyIncludedPathArray) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext

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

type SqlContainerIndexingPolicyIncludedPathArrayInput

type SqlContainerIndexingPolicyIncludedPathArrayInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyIncludedPathArray{ SqlContainerIndexingPolicyIncludedPathArgs{...} }

type SqlContainerIndexingPolicyIncludedPathArrayOutput

type SqlContainerIndexingPolicyIncludedPathArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ElementType

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) Index

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput

func (o SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutput() SqlContainerIndexingPolicyIncludedPathArrayOutput

func (SqlContainerIndexingPolicyIncludedPathArrayOutput) ToSqlContainerIndexingPolicyIncludedPathArrayOutputWithContext

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

type SqlContainerIndexingPolicyIncludedPathInput

type SqlContainerIndexingPolicyIncludedPathInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyIncludedPathArgs{...}

type SqlContainerIndexingPolicyIncludedPathOutput

type SqlContainerIndexingPolicyIncludedPathOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyIncludedPathOutput) ElementType

func (SqlContainerIndexingPolicyIncludedPathOutput) Path

Path for which the indexing behaviour applies to.

func (SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput

func (o SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutput() SqlContainerIndexingPolicyIncludedPathOutput

func (SqlContainerIndexingPolicyIncludedPathOutput) ToSqlContainerIndexingPolicyIncludedPathOutputWithContext

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

type SqlContainerIndexingPolicyInput

type SqlContainerIndexingPolicyInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicyArgs{...}

type SqlContainerIndexingPolicyOutput

type SqlContainerIndexingPolicyOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyOutput) CompositeIndices

One or more `compositeIndex` blocks as defined below.

func (SqlContainerIndexingPolicyOutput) ElementType

func (SqlContainerIndexingPolicyOutput) ExcludedPaths

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

func (SqlContainerIndexingPolicyOutput) IncludedPaths

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

func (SqlContainerIndexingPolicyOutput) IndexingMode

Indicates the indexing mode. Possible values include: `consistent` and `none`. Defaults to `consistent`.

func (SqlContainerIndexingPolicyOutput) SpatialIndices

One or more `spatialIndex` blocks as defined below.

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput

func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutput() SqlContainerIndexingPolicyOutput

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyOutputWithContext

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

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput

func (o SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput

func (SqlContainerIndexingPolicyOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext

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

type SqlContainerIndexingPolicyPtrInput

type SqlContainerIndexingPolicyPtrInput interface {
	pulumi.Input

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

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

        SqlContainerIndexingPolicyArgs{...}

or:

        nil

type SqlContainerIndexingPolicyPtrOutput

type SqlContainerIndexingPolicyPtrOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicyPtrOutput) CompositeIndices

One or more `compositeIndex` blocks as defined below.

func (SqlContainerIndexingPolicyPtrOutput) Elem

func (SqlContainerIndexingPolicyPtrOutput) ElementType

func (SqlContainerIndexingPolicyPtrOutput) ExcludedPaths

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

func (SqlContainerIndexingPolicyPtrOutput) IncludedPaths

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

func (SqlContainerIndexingPolicyPtrOutput) IndexingMode

Indicates the indexing mode. Possible values include: `consistent` and `none`. Defaults to `consistent`.

func (SqlContainerIndexingPolicyPtrOutput) SpatialIndices

One or more `spatialIndex` blocks as defined below.

func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput

func (o SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutput() SqlContainerIndexingPolicyPtrOutput

func (SqlContainerIndexingPolicyPtrOutput) ToSqlContainerIndexingPolicyPtrOutputWithContext

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

type SqlContainerIndexingPolicySpatialIndex

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

type SqlContainerIndexingPolicySpatialIndexArgs

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

func (SqlContainerIndexingPolicySpatialIndexArgs) ElementType

func (SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput

func (i SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput

func (SqlContainerIndexingPolicySpatialIndexArgs) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext

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

type SqlContainerIndexingPolicySpatialIndexArray

type SqlContainerIndexingPolicySpatialIndexArray []SqlContainerIndexingPolicySpatialIndexInput

func (SqlContainerIndexingPolicySpatialIndexArray) ElementType

func (SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput

func (i SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput

func (SqlContainerIndexingPolicySpatialIndexArray) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext

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

type SqlContainerIndexingPolicySpatialIndexArrayInput

type SqlContainerIndexingPolicySpatialIndexArrayInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicySpatialIndexArray{ SqlContainerIndexingPolicySpatialIndexArgs{...} }

type SqlContainerIndexingPolicySpatialIndexArrayOutput

type SqlContainerIndexingPolicySpatialIndexArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ElementType

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) Index

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput

func (o SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutput() SqlContainerIndexingPolicySpatialIndexArrayOutput

func (SqlContainerIndexingPolicySpatialIndexArrayOutput) ToSqlContainerIndexingPolicySpatialIndexArrayOutputWithContext

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

type SqlContainerIndexingPolicySpatialIndexInput

type SqlContainerIndexingPolicySpatialIndexInput interface {
	pulumi.Input

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

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

SqlContainerIndexingPolicySpatialIndexArgs{...}

type SqlContainerIndexingPolicySpatialIndexOutput

type SqlContainerIndexingPolicySpatialIndexOutput struct{ *pulumi.OutputState }

func (SqlContainerIndexingPolicySpatialIndexOutput) ElementType

func (SqlContainerIndexingPolicySpatialIndexOutput) Path

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

func (SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput

func (o SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutput() SqlContainerIndexingPolicySpatialIndexOutput

func (SqlContainerIndexingPolicySpatialIndexOutput) ToSqlContainerIndexingPolicySpatialIndexOutputWithContext

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

func (SqlContainerIndexingPolicySpatialIndexOutput) Types

A set of spatial types of the path.

type SqlContainerInput

type SqlContainerInput interface {
	pulumi.Input

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

type SqlContainerMap

type SqlContainerMap map[string]SqlContainerInput

func (SqlContainerMap) ElementType

func (SqlContainerMap) ElementType() reflect.Type

func (SqlContainerMap) ToSqlContainerMapOutput

func (i SqlContainerMap) ToSqlContainerMapOutput() SqlContainerMapOutput

func (SqlContainerMap) ToSqlContainerMapOutputWithContext

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

type SqlContainerMapInput

type SqlContainerMapInput interface {
	pulumi.Input

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

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

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

type SqlContainerMapOutput

type SqlContainerMapOutput struct{ *pulumi.OutputState }

func (SqlContainerMapOutput) ElementType

func (SqlContainerMapOutput) ElementType() reflect.Type

func (SqlContainerMapOutput) MapIndex

func (SqlContainerMapOutput) ToSqlContainerMapOutput

func (o SqlContainerMapOutput) ToSqlContainerMapOutput() SqlContainerMapOutput

func (SqlContainerMapOutput) ToSqlContainerMapOutputWithContext

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

type SqlContainerOutput

type SqlContainerOutput struct{ *pulumi.OutputState }

func (SqlContainerOutput) AccountName added in v5.5.0

func (o SqlContainerOutput) AccountName() pulumi.StringOutput

The name of the Cosmos DB Account to create the container within. Changing this forces a new resource to be created.

func (SqlContainerOutput) AnalyticalStorageTtl added in v5.5.0

func (o SqlContainerOutput) AnalyticalStorageTtl() pulumi.IntPtrOutput

The default time to live of Analytical Storage for this SQL container. If present and the value is set to `-1`, it is equal to infinity, and items don’t expire by default. If present and the value is set to some number `n` – items will expire `n` seconds after their last modified time.

func (SqlContainerOutput) AutoscaleSettings added in v5.5.0

An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply. Requires `partitionKeyPath` to be set.

> **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.

func (SqlContainerOutput) ConflictResolutionPolicy added in v5.5.0

A `conflictResolutionPolicy` blocks as defined below. Changing this forces a new resource to be created.

func (SqlContainerOutput) DatabaseName added in v5.5.0

func (o SqlContainerOutput) DatabaseName() pulumi.StringOutput

The name of the Cosmos DB SQL Database to create the container within. Changing this forces a new resource to be created.

func (SqlContainerOutput) DefaultTtl added in v5.5.0

func (o SqlContainerOutput) DefaultTtl() pulumi.IntOutput

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.

func (SqlContainerOutput) ElementType

func (SqlContainerOutput) ElementType() reflect.Type

func (SqlContainerOutput) IndexingPolicy added in v5.5.0

An `indexingPolicy` block as defined below.

func (SqlContainerOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB SQL Container. Changing this forces a new resource to be created.

func (SqlContainerOutput) PartitionKeyPath added in v5.5.0

func (o SqlContainerOutput) PartitionKeyPath() pulumi.StringOutput

Define a partition key. Changing this forces a new resource to be created.

func (SqlContainerOutput) PartitionKeyVersion added in v5.5.0

func (o SqlContainerOutput) PartitionKeyVersion() pulumi.IntPtrOutput

Define a partition key version. Changing this forces a new resource to be created. Possible values are `1`and `2`. This should be set to `2` in order to use large partition keys.

func (SqlContainerOutput) ResourceGroupName added in v5.5.0

func (o SqlContainerOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB SQL Container is created. Changing this forces a new resource to be created.

func (SqlContainerOutput) Throughput added in v5.5.0

func (o SqlContainerOutput) Throughput() pulumi.IntOutput

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.

func (SqlContainerOutput) ToSqlContainerOutput

func (o SqlContainerOutput) ToSqlContainerOutput() SqlContainerOutput

func (SqlContainerOutput) ToSqlContainerOutputWithContext

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

func (SqlContainerOutput) UniqueKeys added in v5.5.0

One or more `uniqueKey` blocks as defined below. Changing this forces a new resource to be created.

type SqlContainerState

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

func (SqlContainerState) ElementType

func (SqlContainerState) ElementType() reflect.Type

type SqlContainerUniqueKey

type SqlContainerUniqueKey struct {
	// A list of paths to use for this unique key. Changing this forces a new resource to be created.
	Paths []string `pulumi:"paths"`
}

type SqlContainerUniqueKeyArgs

type SqlContainerUniqueKeyArgs struct {
	// A list of paths to use for this unique key. Changing this forces a new resource to be created.
	Paths pulumi.StringArrayInput `pulumi:"paths"`
}

func (SqlContainerUniqueKeyArgs) ElementType

func (SqlContainerUniqueKeyArgs) ElementType() reflect.Type

func (SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutput

func (i SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput

func (SqlContainerUniqueKeyArgs) ToSqlContainerUniqueKeyOutputWithContext

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

type SqlContainerUniqueKeyArray

type SqlContainerUniqueKeyArray []SqlContainerUniqueKeyInput

func (SqlContainerUniqueKeyArray) ElementType

func (SqlContainerUniqueKeyArray) ElementType() reflect.Type

func (SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput

func (i SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput

func (SqlContainerUniqueKeyArray) ToSqlContainerUniqueKeyArrayOutputWithContext

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

type SqlContainerUniqueKeyArrayInput

type SqlContainerUniqueKeyArrayInput interface {
	pulumi.Input

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

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

SqlContainerUniqueKeyArray{ SqlContainerUniqueKeyArgs{...} }

type SqlContainerUniqueKeyArrayOutput

type SqlContainerUniqueKeyArrayOutput struct{ *pulumi.OutputState }

func (SqlContainerUniqueKeyArrayOutput) ElementType

func (SqlContainerUniqueKeyArrayOutput) Index

func (SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput

func (o SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutput() SqlContainerUniqueKeyArrayOutput

func (SqlContainerUniqueKeyArrayOutput) ToSqlContainerUniqueKeyArrayOutputWithContext

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

type SqlContainerUniqueKeyInput

type SqlContainerUniqueKeyInput interface {
	pulumi.Input

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

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

SqlContainerUniqueKeyArgs{...}

type SqlContainerUniqueKeyOutput

type SqlContainerUniqueKeyOutput struct{ *pulumi.OutputState }

func (SqlContainerUniqueKeyOutput) ElementType

func (SqlContainerUniqueKeyOutput) Paths

A list of paths to use for this unique key. Changing this forces a new resource to be created.

func (SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput

func (o SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutput() SqlContainerUniqueKeyOutput

func (SqlContainerUniqueKeyOutput) ToSqlContainerUniqueKeyOutputWithContext

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

type SqlDatabase

type SqlDatabase struct {
	pulumi.CustomResourceState

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

Manages a SQL Database within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

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

func GetSqlDatabase

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

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

func NewSqlDatabase

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

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

func (*SqlDatabase) ElementType

func (*SqlDatabase) ElementType() reflect.Type

func (*SqlDatabase) ToSqlDatabaseOutput

func (i *SqlDatabase) ToSqlDatabaseOutput() SqlDatabaseOutput

func (*SqlDatabase) ToSqlDatabaseOutputWithContext

func (i *SqlDatabase) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput

type SqlDatabaseArgs

type SqlDatabaseArgs struct {
	// The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	Throughput        pulumi.IntPtrInput
}

The set of arguments for constructing a SqlDatabase resource.

func (SqlDatabaseArgs) ElementType

func (SqlDatabaseArgs) ElementType() reflect.Type

type SqlDatabaseArray

type SqlDatabaseArray []SqlDatabaseInput

func (SqlDatabaseArray) ElementType

func (SqlDatabaseArray) ElementType() reflect.Type

func (SqlDatabaseArray) ToSqlDatabaseArrayOutput

func (i SqlDatabaseArray) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput

func (SqlDatabaseArray) ToSqlDatabaseArrayOutputWithContext

func (i SqlDatabaseArray) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput

type SqlDatabaseArrayInput

type SqlDatabaseArrayInput interface {
	pulumi.Input

	ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput
	ToSqlDatabaseArrayOutputWithContext(context.Context) SqlDatabaseArrayOutput
}

SqlDatabaseArrayInput is an input type that accepts SqlDatabaseArray and SqlDatabaseArrayOutput values. You can construct a concrete instance of `SqlDatabaseArrayInput` via:

SqlDatabaseArray{ SqlDatabaseArgs{...} }

type SqlDatabaseArrayOutput

type SqlDatabaseArrayOutput struct{ *pulumi.OutputState }

func (SqlDatabaseArrayOutput) ElementType

func (SqlDatabaseArrayOutput) ElementType() reflect.Type

func (SqlDatabaseArrayOutput) Index

func (SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput

func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutput() SqlDatabaseArrayOutput

func (SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext

func (o SqlDatabaseArrayOutput) ToSqlDatabaseArrayOutputWithContext(ctx context.Context) SqlDatabaseArrayOutput

type SqlDatabaseAutoscaleSettings

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

type SqlDatabaseAutoscaleSettingsArgs

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

func (SqlDatabaseAutoscaleSettingsArgs) ElementType

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput

func (SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext

func (i SqlDatabaseAutoscaleSettingsArgs) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseAutoscaleSettingsInput

type SqlDatabaseAutoscaleSettingsInput interface {
	pulumi.Input

	ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput
	ToSqlDatabaseAutoscaleSettingsOutputWithContext(context.Context) SqlDatabaseAutoscaleSettingsOutput
}

SqlDatabaseAutoscaleSettingsInput is an input type that accepts SqlDatabaseAutoscaleSettingsArgs and SqlDatabaseAutoscaleSettingsOutput values. You can construct a concrete instance of `SqlDatabaseAutoscaleSettingsInput` via:

SqlDatabaseAutoscaleSettingsArgs{...}

type SqlDatabaseAutoscaleSettingsOutput

type SqlDatabaseAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (SqlDatabaseAutoscaleSettingsOutput) ElementType

func (SqlDatabaseAutoscaleSettingsOutput) MaxThroughput

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

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutput() SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsOutput

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput

func (SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext

func (o SqlDatabaseAutoscaleSettingsOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseAutoscaleSettingsPtrInput

type SqlDatabaseAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput
	ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(context.Context) SqlDatabaseAutoscaleSettingsPtrOutput
}

SqlDatabaseAutoscaleSettingsPtrInput is an input type that accepts SqlDatabaseAutoscaleSettingsArgs, SqlDatabaseAutoscaleSettingsPtr and SqlDatabaseAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `SqlDatabaseAutoscaleSettingsPtrInput` via:

        SqlDatabaseAutoscaleSettingsArgs{...}

or:

        nil

type SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (SqlDatabaseAutoscaleSettingsPtrOutput) Elem

func (SqlDatabaseAutoscaleSettingsPtrOutput) ElementType

func (SqlDatabaseAutoscaleSettingsPtrOutput) MaxThroughput

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

func (SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput

func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutput() SqlDatabaseAutoscaleSettingsPtrOutput

func (SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext

func (o SqlDatabaseAutoscaleSettingsPtrOutput) ToSqlDatabaseAutoscaleSettingsPtrOutputWithContext(ctx context.Context) SqlDatabaseAutoscaleSettingsPtrOutput

type SqlDatabaseInput

type SqlDatabaseInput interface {
	pulumi.Input

	ToSqlDatabaseOutput() SqlDatabaseOutput
	ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput
}

type SqlDatabaseMap

type SqlDatabaseMap map[string]SqlDatabaseInput

func (SqlDatabaseMap) ElementType

func (SqlDatabaseMap) ElementType() reflect.Type

func (SqlDatabaseMap) ToSqlDatabaseMapOutput

func (i SqlDatabaseMap) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput

func (SqlDatabaseMap) ToSqlDatabaseMapOutputWithContext

func (i SqlDatabaseMap) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput

type SqlDatabaseMapInput

type SqlDatabaseMapInput interface {
	pulumi.Input

	ToSqlDatabaseMapOutput() SqlDatabaseMapOutput
	ToSqlDatabaseMapOutputWithContext(context.Context) SqlDatabaseMapOutput
}

SqlDatabaseMapInput is an input type that accepts SqlDatabaseMap and SqlDatabaseMapOutput values. You can construct a concrete instance of `SqlDatabaseMapInput` via:

SqlDatabaseMap{ "key": SqlDatabaseArgs{...} }

type SqlDatabaseMapOutput

type SqlDatabaseMapOutput struct{ *pulumi.OutputState }

func (SqlDatabaseMapOutput) ElementType

func (SqlDatabaseMapOutput) ElementType() reflect.Type

func (SqlDatabaseMapOutput) MapIndex

func (SqlDatabaseMapOutput) ToSqlDatabaseMapOutput

func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutput() SqlDatabaseMapOutput

func (SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext

func (o SqlDatabaseMapOutput) ToSqlDatabaseMapOutputWithContext(ctx context.Context) SqlDatabaseMapOutput

type SqlDatabaseOutput

type SqlDatabaseOutput struct{ *pulumi.OutputState }

func (SqlDatabaseOutput) AccountName added in v5.5.0

func (o SqlDatabaseOutput) AccountName() pulumi.StringOutput

The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created.

func (SqlDatabaseOutput) AutoscaleSettings added in v5.5.0

An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.

> **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.

func (SqlDatabaseOutput) ElementType

func (SqlDatabaseOutput) ElementType() reflect.Type

func (SqlDatabaseOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.

func (SqlDatabaseOutput) ResourceGroupName added in v5.5.0

func (o SqlDatabaseOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.

func (SqlDatabaseOutput) Throughput added in v5.5.0

func (o SqlDatabaseOutput) Throughput() pulumi.IntOutput

func (SqlDatabaseOutput) ToSqlDatabaseOutput

func (o SqlDatabaseOutput) ToSqlDatabaseOutput() SqlDatabaseOutput

func (SqlDatabaseOutput) ToSqlDatabaseOutputWithContext

func (o SqlDatabaseOutput) ToSqlDatabaseOutputWithContext(ctx context.Context) SqlDatabaseOutput

type SqlDatabaseState

type SqlDatabaseState struct {
	// The name of the Cosmos DB SQL Database to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings SqlDatabaseAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB SQL Database. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	Throughput        pulumi.IntPtrInput
}

func (SqlDatabaseState) ElementType

func (SqlDatabaseState) ElementType() reflect.Type

type SqlDedicatedGateway added in v5.18.0

type SqlDedicatedGateway struct {
	pulumi.CustomResourceState

	// The resource ID of the CosmosDB Account. Changing this forces a new resource to be created.
	CosmosdbAccountId pulumi.StringOutput `pulumi:"cosmosdbAccountId"`
	// The instance count for the CosmosDB SQL Dedicated Gateway. Possible value is between `1` and `5`.
	InstanceCount pulumi.IntOutput `pulumi:"instanceCount"`
	// The instance size for the CosmosDB SQL Dedicated Gateway. Changing this forces a new resource to be created. Possible values are `Cosmos.D4s`, `Cosmos.D8s` and `Cosmos.D16s`.
	InstanceSize pulumi.StringOutput `pulumi:"instanceSize"`
}

Manages a SQL Dedicated Gateway within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resource-group"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("example-ca"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("GlobalDocumentDB"),
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("BoundedStaleness"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         example.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlDedicatedGateway(ctx, "example", &cosmosdb.SqlDedicatedGatewayArgs{
			CosmosdbAccountId: exampleAccount.ID(),
			InstanceCount:     pulumi.Int(1),
			InstanceSize:      pulumi.String("Cosmos.D4s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB SQL Dedicated Gateways can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/sqlDedicatedGateway:SqlDedicatedGateway example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DocumentDB/databaseAccounts/account1/services/SqlDedicatedGateway ```

func GetSqlDedicatedGateway added in v5.18.0

func GetSqlDedicatedGateway(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlDedicatedGatewayState, opts ...pulumi.ResourceOption) (*SqlDedicatedGateway, error)

GetSqlDedicatedGateway gets an existing SqlDedicatedGateway 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 NewSqlDedicatedGateway added in v5.18.0

func NewSqlDedicatedGateway(ctx *pulumi.Context,
	name string, args *SqlDedicatedGatewayArgs, opts ...pulumi.ResourceOption) (*SqlDedicatedGateway, error)

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

func (*SqlDedicatedGateway) ElementType added in v5.18.0

func (*SqlDedicatedGateway) ElementType() reflect.Type

func (*SqlDedicatedGateway) ToSqlDedicatedGatewayOutput added in v5.18.0

func (i *SqlDedicatedGateway) ToSqlDedicatedGatewayOutput() SqlDedicatedGatewayOutput

func (*SqlDedicatedGateway) ToSqlDedicatedGatewayOutputWithContext added in v5.18.0

func (i *SqlDedicatedGateway) ToSqlDedicatedGatewayOutputWithContext(ctx context.Context) SqlDedicatedGatewayOutput

type SqlDedicatedGatewayArgs added in v5.18.0

type SqlDedicatedGatewayArgs struct {
	// The resource ID of the CosmosDB Account. Changing this forces a new resource to be created.
	CosmosdbAccountId pulumi.StringInput
	// The instance count for the CosmosDB SQL Dedicated Gateway. Possible value is between `1` and `5`.
	InstanceCount pulumi.IntInput
	// The instance size for the CosmosDB SQL Dedicated Gateway. Changing this forces a new resource to be created. Possible values are `Cosmos.D4s`, `Cosmos.D8s` and `Cosmos.D16s`.
	InstanceSize pulumi.StringInput
}

The set of arguments for constructing a SqlDedicatedGateway resource.

func (SqlDedicatedGatewayArgs) ElementType added in v5.18.0

func (SqlDedicatedGatewayArgs) ElementType() reflect.Type

type SqlDedicatedGatewayArray added in v5.18.0

type SqlDedicatedGatewayArray []SqlDedicatedGatewayInput

func (SqlDedicatedGatewayArray) ElementType added in v5.18.0

func (SqlDedicatedGatewayArray) ElementType() reflect.Type

func (SqlDedicatedGatewayArray) ToSqlDedicatedGatewayArrayOutput added in v5.18.0

func (i SqlDedicatedGatewayArray) ToSqlDedicatedGatewayArrayOutput() SqlDedicatedGatewayArrayOutput

func (SqlDedicatedGatewayArray) ToSqlDedicatedGatewayArrayOutputWithContext added in v5.18.0

func (i SqlDedicatedGatewayArray) ToSqlDedicatedGatewayArrayOutputWithContext(ctx context.Context) SqlDedicatedGatewayArrayOutput

type SqlDedicatedGatewayArrayInput added in v5.18.0

type SqlDedicatedGatewayArrayInput interface {
	pulumi.Input

	ToSqlDedicatedGatewayArrayOutput() SqlDedicatedGatewayArrayOutput
	ToSqlDedicatedGatewayArrayOutputWithContext(context.Context) SqlDedicatedGatewayArrayOutput
}

SqlDedicatedGatewayArrayInput is an input type that accepts SqlDedicatedGatewayArray and SqlDedicatedGatewayArrayOutput values. You can construct a concrete instance of `SqlDedicatedGatewayArrayInput` via:

SqlDedicatedGatewayArray{ SqlDedicatedGatewayArgs{...} }

type SqlDedicatedGatewayArrayOutput added in v5.18.0

type SqlDedicatedGatewayArrayOutput struct{ *pulumi.OutputState }

func (SqlDedicatedGatewayArrayOutput) ElementType added in v5.18.0

func (SqlDedicatedGatewayArrayOutput) Index added in v5.18.0

func (SqlDedicatedGatewayArrayOutput) ToSqlDedicatedGatewayArrayOutput added in v5.18.0

func (o SqlDedicatedGatewayArrayOutput) ToSqlDedicatedGatewayArrayOutput() SqlDedicatedGatewayArrayOutput

func (SqlDedicatedGatewayArrayOutput) ToSqlDedicatedGatewayArrayOutputWithContext added in v5.18.0

func (o SqlDedicatedGatewayArrayOutput) ToSqlDedicatedGatewayArrayOutputWithContext(ctx context.Context) SqlDedicatedGatewayArrayOutput

type SqlDedicatedGatewayInput added in v5.18.0

type SqlDedicatedGatewayInput interface {
	pulumi.Input

	ToSqlDedicatedGatewayOutput() SqlDedicatedGatewayOutput
	ToSqlDedicatedGatewayOutputWithContext(ctx context.Context) SqlDedicatedGatewayOutput
}

type SqlDedicatedGatewayMap added in v5.18.0

type SqlDedicatedGatewayMap map[string]SqlDedicatedGatewayInput

func (SqlDedicatedGatewayMap) ElementType added in v5.18.0

func (SqlDedicatedGatewayMap) ElementType() reflect.Type

func (SqlDedicatedGatewayMap) ToSqlDedicatedGatewayMapOutput added in v5.18.0

func (i SqlDedicatedGatewayMap) ToSqlDedicatedGatewayMapOutput() SqlDedicatedGatewayMapOutput

func (SqlDedicatedGatewayMap) ToSqlDedicatedGatewayMapOutputWithContext added in v5.18.0

func (i SqlDedicatedGatewayMap) ToSqlDedicatedGatewayMapOutputWithContext(ctx context.Context) SqlDedicatedGatewayMapOutput

type SqlDedicatedGatewayMapInput added in v5.18.0

type SqlDedicatedGatewayMapInput interface {
	pulumi.Input

	ToSqlDedicatedGatewayMapOutput() SqlDedicatedGatewayMapOutput
	ToSqlDedicatedGatewayMapOutputWithContext(context.Context) SqlDedicatedGatewayMapOutput
}

SqlDedicatedGatewayMapInput is an input type that accepts SqlDedicatedGatewayMap and SqlDedicatedGatewayMapOutput values. You can construct a concrete instance of `SqlDedicatedGatewayMapInput` via:

SqlDedicatedGatewayMap{ "key": SqlDedicatedGatewayArgs{...} }

type SqlDedicatedGatewayMapOutput added in v5.18.0

type SqlDedicatedGatewayMapOutput struct{ *pulumi.OutputState }

func (SqlDedicatedGatewayMapOutput) ElementType added in v5.18.0

func (SqlDedicatedGatewayMapOutput) MapIndex added in v5.18.0

func (SqlDedicatedGatewayMapOutput) ToSqlDedicatedGatewayMapOutput added in v5.18.0

func (o SqlDedicatedGatewayMapOutput) ToSqlDedicatedGatewayMapOutput() SqlDedicatedGatewayMapOutput

func (SqlDedicatedGatewayMapOutput) ToSqlDedicatedGatewayMapOutputWithContext added in v5.18.0

func (o SqlDedicatedGatewayMapOutput) ToSqlDedicatedGatewayMapOutputWithContext(ctx context.Context) SqlDedicatedGatewayMapOutput

type SqlDedicatedGatewayOutput added in v5.18.0

type SqlDedicatedGatewayOutput struct{ *pulumi.OutputState }

func (SqlDedicatedGatewayOutput) CosmosdbAccountId added in v5.18.0

func (o SqlDedicatedGatewayOutput) CosmosdbAccountId() pulumi.StringOutput

The resource ID of the CosmosDB Account. Changing this forces a new resource to be created.

func (SqlDedicatedGatewayOutput) ElementType added in v5.18.0

func (SqlDedicatedGatewayOutput) ElementType() reflect.Type

func (SqlDedicatedGatewayOutput) InstanceCount added in v5.18.0

func (o SqlDedicatedGatewayOutput) InstanceCount() pulumi.IntOutput

The instance count for the CosmosDB SQL Dedicated Gateway. Possible value is between `1` and `5`.

func (SqlDedicatedGatewayOutput) InstanceSize added in v5.18.0

The instance size for the CosmosDB SQL Dedicated Gateway. Changing this forces a new resource to be created. Possible values are `Cosmos.D4s`, `Cosmos.D8s` and `Cosmos.D16s`.

func (SqlDedicatedGatewayOutput) ToSqlDedicatedGatewayOutput added in v5.18.0

func (o SqlDedicatedGatewayOutput) ToSqlDedicatedGatewayOutput() SqlDedicatedGatewayOutput

func (SqlDedicatedGatewayOutput) ToSqlDedicatedGatewayOutputWithContext added in v5.18.0

func (o SqlDedicatedGatewayOutput) ToSqlDedicatedGatewayOutputWithContext(ctx context.Context) SqlDedicatedGatewayOutput

type SqlDedicatedGatewayState added in v5.18.0

type SqlDedicatedGatewayState struct {
	// The resource ID of the CosmosDB Account. Changing this forces a new resource to be created.
	CosmosdbAccountId pulumi.StringPtrInput
	// The instance count for the CosmosDB SQL Dedicated Gateway. Possible value is between `1` and `5`.
	InstanceCount pulumi.IntPtrInput
	// The instance size for the CosmosDB SQL Dedicated Gateway. Changing this forces a new resource to be created. Possible values are `Cosmos.D4s`, `Cosmos.D8s` and `Cosmos.D16s`.
	InstanceSize pulumi.StringPtrInput
}

func (SqlDedicatedGatewayState) ElementType added in v5.18.0

func (SqlDedicatedGatewayState) ElementType() reflect.Type

type SqlFunction

type SqlFunction struct {
	pulumi.CustomResourceState

	// Body of the User Defined Function.
	Body pulumi.StringOutput `pulumi:"body"`
	// The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages an SQL User Defined Function.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "example", &cosmosdb.SqlDatabaseArgs{
			Name:              pulumi.String("tfex-cosmos-db"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{
			Name:              pulumi.String("example-container"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("/id"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlFunction(ctx, "example", &cosmosdb.SqlFunctionArgs{
			Name:        pulumi.String("test-function"),
			ContainerId: exampleSqlContainer.ID(),
			Body:        pulumi.String("function trigger(){}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SQL User Defined Functions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/sqlFunction:SqlFunction example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1/userDefinedFunctions/userDefinedFunction1 ```

func GetSqlFunction

func GetSqlFunction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlFunctionState, opts ...pulumi.ResourceOption) (*SqlFunction, error)

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

func NewSqlFunction

func NewSqlFunction(ctx *pulumi.Context,
	name string, args *SqlFunctionArgs, opts ...pulumi.ResourceOption) (*SqlFunction, error)

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

func (*SqlFunction) ElementType

func (*SqlFunction) ElementType() reflect.Type

func (*SqlFunction) ToSqlFunctionOutput

func (i *SqlFunction) ToSqlFunctionOutput() SqlFunctionOutput

func (*SqlFunction) ToSqlFunctionOutputWithContext

func (i *SqlFunction) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput

type SqlFunctionArgs

type SqlFunctionArgs struct {
	// Body of the User Defined Function.
	Body pulumi.StringInput
	// The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.
	ContainerId pulumi.StringInput
	// The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a SqlFunction resource.

func (SqlFunctionArgs) ElementType

func (SqlFunctionArgs) ElementType() reflect.Type

type SqlFunctionArray

type SqlFunctionArray []SqlFunctionInput

func (SqlFunctionArray) ElementType

func (SqlFunctionArray) ElementType() reflect.Type

func (SqlFunctionArray) ToSqlFunctionArrayOutput

func (i SqlFunctionArray) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput

func (SqlFunctionArray) ToSqlFunctionArrayOutputWithContext

func (i SqlFunctionArray) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput

type SqlFunctionArrayInput

type SqlFunctionArrayInput interface {
	pulumi.Input

	ToSqlFunctionArrayOutput() SqlFunctionArrayOutput
	ToSqlFunctionArrayOutputWithContext(context.Context) SqlFunctionArrayOutput
}

SqlFunctionArrayInput is an input type that accepts SqlFunctionArray and SqlFunctionArrayOutput values. You can construct a concrete instance of `SqlFunctionArrayInput` via:

SqlFunctionArray{ SqlFunctionArgs{...} }

type SqlFunctionArrayOutput

type SqlFunctionArrayOutput struct{ *pulumi.OutputState }

func (SqlFunctionArrayOutput) ElementType

func (SqlFunctionArrayOutput) ElementType() reflect.Type

func (SqlFunctionArrayOutput) Index

func (SqlFunctionArrayOutput) ToSqlFunctionArrayOutput

func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutput() SqlFunctionArrayOutput

func (SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext

func (o SqlFunctionArrayOutput) ToSqlFunctionArrayOutputWithContext(ctx context.Context) SqlFunctionArrayOutput

type SqlFunctionInput

type SqlFunctionInput interface {
	pulumi.Input

	ToSqlFunctionOutput() SqlFunctionOutput
	ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput
}

type SqlFunctionMap

type SqlFunctionMap map[string]SqlFunctionInput

func (SqlFunctionMap) ElementType

func (SqlFunctionMap) ElementType() reflect.Type

func (SqlFunctionMap) ToSqlFunctionMapOutput

func (i SqlFunctionMap) ToSqlFunctionMapOutput() SqlFunctionMapOutput

func (SqlFunctionMap) ToSqlFunctionMapOutputWithContext

func (i SqlFunctionMap) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput

type SqlFunctionMapInput

type SqlFunctionMapInput interface {
	pulumi.Input

	ToSqlFunctionMapOutput() SqlFunctionMapOutput
	ToSqlFunctionMapOutputWithContext(context.Context) SqlFunctionMapOutput
}

SqlFunctionMapInput is an input type that accepts SqlFunctionMap and SqlFunctionMapOutput values. You can construct a concrete instance of `SqlFunctionMapInput` via:

SqlFunctionMap{ "key": SqlFunctionArgs{...} }

type SqlFunctionMapOutput

type SqlFunctionMapOutput struct{ *pulumi.OutputState }

func (SqlFunctionMapOutput) ElementType

func (SqlFunctionMapOutput) ElementType() reflect.Type

func (SqlFunctionMapOutput) MapIndex

func (SqlFunctionMapOutput) ToSqlFunctionMapOutput

func (o SqlFunctionMapOutput) ToSqlFunctionMapOutput() SqlFunctionMapOutput

func (SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext

func (o SqlFunctionMapOutput) ToSqlFunctionMapOutputWithContext(ctx context.Context) SqlFunctionMapOutput

type SqlFunctionOutput

type SqlFunctionOutput struct{ *pulumi.OutputState }

func (SqlFunctionOutput) Body added in v5.5.0

Body of the User Defined Function.

func (SqlFunctionOutput) ContainerId added in v5.5.0

func (o SqlFunctionOutput) ContainerId() pulumi.StringOutput

The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.

func (SqlFunctionOutput) ElementType

func (SqlFunctionOutput) ElementType() reflect.Type

func (SqlFunctionOutput) Name added in v5.5.0

The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.

func (SqlFunctionOutput) ToSqlFunctionOutput

func (o SqlFunctionOutput) ToSqlFunctionOutput() SqlFunctionOutput

func (SqlFunctionOutput) ToSqlFunctionOutputWithContext

func (o SqlFunctionOutput) ToSqlFunctionOutputWithContext(ctx context.Context) SqlFunctionOutput

type SqlFunctionState

type SqlFunctionState struct {
	// Body of the User Defined Function.
	Body pulumi.StringPtrInput
	// The id of the Cosmos DB SQL Container to create the SQL User Defined Function within. Changing this forces a new SQL User Defined Function to be created.
	ContainerId pulumi.StringPtrInput
	// The name which should be used for this SQL User Defined Function. Changing this forces a new SQL User Defined Function to be created.
	Name pulumi.StringPtrInput
}

func (SqlFunctionState) ElementType

func (SqlFunctionState) ElementType() reflect.Type

type SqlRoleAssignment

type SqlRoleAssignment struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Account. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created.
	PrincipalId pulumi.StringOutput `pulumi:"principalId"`
	// The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The resource ID of the Cosmos DB SQL Role Definition.
	RoleDefinitionId pulumi.StringOutput `pulumi:"roleDefinitionId"`
	// The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created.
	Scope pulumi.StringOutput `pulumi:"scope"`
}

Manages a Cosmos DB SQL Role Assignment.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("example-cosmosdb"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("GlobalDocumentDB"),
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         example.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleSqlRoleDefinition, err := cosmosdb.NewSqlRoleDefinition(ctx, "example", &cosmosdb.SqlRoleDefinitionArgs{
			Name:              pulumi.String("examplesqlroledef"),
			ResourceGroupName: example.Name,
			AccountName:       exampleAccount.Name,
			Type:              pulumi.String("CustomRole"),
			AssignableScopes: pulumi.StringArray{
				exampleAccount.ID(),
			},
			Permissions: cosmosdb.SqlRoleDefinitionPermissionArray{
				&cosmosdb.SqlRoleDefinitionPermissionArgs{
					DataActions: pulumi.StringArray{
						pulumi.String("Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlRoleAssignment(ctx, "example", &cosmosdb.SqlRoleAssignmentArgs{
			Name:              pulumi.String("736180af-7fbc-4c7f-9004-22735173c1c3"),
			ResourceGroupName: example.Name,
			AccountName:       exampleAccount.Name,
			RoleDefinitionId:  exampleSqlRoleDefinition.ID(),
			PrincipalId:       pulumi.String(current.ObjectId),
			Scope:             exampleAccount.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos DB SQL Role Assignments can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/sqlRoleAssignment:SqlRoleAssignment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlRoleAssignments/9e007587-dbcd-4190-84cb-fcab5a09ca39 ```

func GetSqlRoleAssignment

func GetSqlRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlRoleAssignmentState, opts ...pulumi.ResourceOption) (*SqlRoleAssignment, error)

GetSqlRoleAssignment gets an existing SqlRoleAssignment 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 NewSqlRoleAssignment

func NewSqlRoleAssignment(ctx *pulumi.Context,
	name string, args *SqlRoleAssignmentArgs, opts ...pulumi.ResourceOption) (*SqlRoleAssignment, error)

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

func (*SqlRoleAssignment) ElementType

func (*SqlRoleAssignment) ElementType() reflect.Type

func (*SqlRoleAssignment) ToSqlRoleAssignmentOutput

func (i *SqlRoleAssignment) ToSqlRoleAssignmentOutput() SqlRoleAssignmentOutput

func (*SqlRoleAssignment) ToSqlRoleAssignmentOutputWithContext

func (i *SqlRoleAssignment) ToSqlRoleAssignmentOutputWithContext(ctx context.Context) SqlRoleAssignmentOutput

type SqlRoleAssignmentArgs

type SqlRoleAssignmentArgs struct {
	// The name of the Cosmos DB Account. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created.
	PrincipalId pulumi.StringInput
	// The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The resource ID of the Cosmos DB SQL Role Definition.
	RoleDefinitionId pulumi.StringInput
	// The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created.
	Scope pulumi.StringInput
}

The set of arguments for constructing a SqlRoleAssignment resource.

func (SqlRoleAssignmentArgs) ElementType

func (SqlRoleAssignmentArgs) ElementType() reflect.Type

type SqlRoleAssignmentArray

type SqlRoleAssignmentArray []SqlRoleAssignmentInput

func (SqlRoleAssignmentArray) ElementType

func (SqlRoleAssignmentArray) ElementType() reflect.Type

func (SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutput

func (i SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput

func (SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutputWithContext

func (i SqlRoleAssignmentArray) ToSqlRoleAssignmentArrayOutputWithContext(ctx context.Context) SqlRoleAssignmentArrayOutput

type SqlRoleAssignmentArrayInput

type SqlRoleAssignmentArrayInput interface {
	pulumi.Input

	ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput
	ToSqlRoleAssignmentArrayOutputWithContext(context.Context) SqlRoleAssignmentArrayOutput
}

SqlRoleAssignmentArrayInput is an input type that accepts SqlRoleAssignmentArray and SqlRoleAssignmentArrayOutput values. You can construct a concrete instance of `SqlRoleAssignmentArrayInput` via:

SqlRoleAssignmentArray{ SqlRoleAssignmentArgs{...} }

type SqlRoleAssignmentArrayOutput

type SqlRoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (SqlRoleAssignmentArrayOutput) ElementType

func (SqlRoleAssignmentArrayOutput) Index

func (SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutput

func (o SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutput() SqlRoleAssignmentArrayOutput

func (SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutputWithContext

func (o SqlRoleAssignmentArrayOutput) ToSqlRoleAssignmentArrayOutputWithContext(ctx context.Context) SqlRoleAssignmentArrayOutput

type SqlRoleAssignmentInput

type SqlRoleAssignmentInput interface {
	pulumi.Input

	ToSqlRoleAssignmentOutput() SqlRoleAssignmentOutput
	ToSqlRoleAssignmentOutputWithContext(ctx context.Context) SqlRoleAssignmentOutput
}

type SqlRoleAssignmentMap

type SqlRoleAssignmentMap map[string]SqlRoleAssignmentInput

func (SqlRoleAssignmentMap) ElementType

func (SqlRoleAssignmentMap) ElementType() reflect.Type

func (SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutput

func (i SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput

func (SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutputWithContext

func (i SqlRoleAssignmentMap) ToSqlRoleAssignmentMapOutputWithContext(ctx context.Context) SqlRoleAssignmentMapOutput

type SqlRoleAssignmentMapInput

type SqlRoleAssignmentMapInput interface {
	pulumi.Input

	ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput
	ToSqlRoleAssignmentMapOutputWithContext(context.Context) SqlRoleAssignmentMapOutput
}

SqlRoleAssignmentMapInput is an input type that accepts SqlRoleAssignmentMap and SqlRoleAssignmentMapOutput values. You can construct a concrete instance of `SqlRoleAssignmentMapInput` via:

SqlRoleAssignmentMap{ "key": SqlRoleAssignmentArgs{...} }

type SqlRoleAssignmentMapOutput

type SqlRoleAssignmentMapOutput struct{ *pulumi.OutputState }

func (SqlRoleAssignmentMapOutput) ElementType

func (SqlRoleAssignmentMapOutput) ElementType() reflect.Type

func (SqlRoleAssignmentMapOutput) MapIndex

func (SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutput

func (o SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutput() SqlRoleAssignmentMapOutput

func (SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutputWithContext

func (o SqlRoleAssignmentMapOutput) ToSqlRoleAssignmentMapOutputWithContext(ctx context.Context) SqlRoleAssignmentMapOutput

type SqlRoleAssignmentOutput

type SqlRoleAssignmentOutput struct{ *pulumi.OutputState }

func (SqlRoleAssignmentOutput) AccountName added in v5.5.0

The name of the Cosmos DB Account. Changing this forces a new resource to be created.

func (SqlRoleAssignmentOutput) ElementType

func (SqlRoleAssignmentOutput) ElementType() reflect.Type

func (SqlRoleAssignmentOutput) Name added in v5.5.0

The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.

func (SqlRoleAssignmentOutput) PrincipalId added in v5.5.0

The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created.

func (SqlRoleAssignmentOutput) ResourceGroupName added in v5.5.0

func (o SqlRoleAssignmentOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created.

func (SqlRoleAssignmentOutput) RoleDefinitionId added in v5.5.0

func (o SqlRoleAssignmentOutput) RoleDefinitionId() pulumi.StringOutput

The resource ID of the Cosmos DB SQL Role Definition.

func (SqlRoleAssignmentOutput) Scope added in v5.5.0

The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created.

func (SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutput

func (o SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutput() SqlRoleAssignmentOutput

func (SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutputWithContext

func (o SqlRoleAssignmentOutput) ToSqlRoleAssignmentOutputWithContext(ctx context.Context) SqlRoleAssignmentOutput

type SqlRoleAssignmentState

type SqlRoleAssignmentState struct {
	// The name of the Cosmos DB Account. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The GUID as the name of the Cosmos DB SQL Role Assignment - one will be generated if not specified. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The ID of the Principal (Client) in Azure Active Directory. Changing this forces a new resource to be created.
	PrincipalId pulumi.StringPtrInput
	// The name of the Resource Group in which the Cosmos DB SQL Role Assignment is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The resource ID of the Cosmos DB SQL Role Definition.
	RoleDefinitionId pulumi.StringPtrInput
	// The data plane resource path for which access is being granted through this Cosmos DB SQL Role Assignment. Changing this forces a new resource to be created.
	Scope pulumi.StringPtrInput
}

func (SqlRoleAssignmentState) ElementType

func (SqlRoleAssignmentState) ElementType() reflect.Type

type SqlRoleDefinition

type SqlRoleDefinition struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Account. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes.
	//
	// > **NOTE:** The resources referenced in assignable scopes need not exist.
	AssignableScopes pulumi.StringArrayOutput `pulumi:"assignableScopes"`
	// An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `permissions` block as defined below.
	Permissions SqlRoleDefinitionPermissionArrayOutput `pulumi:"permissions"`
	// The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created.
	RoleDefinitionId pulumi.StringOutput `pulumi:"roleDefinitionId"`
	// The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created.
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Manages a Cosmos DB SQL Role Definition.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := cosmosdb.NewAccount(ctx, "example", &cosmosdb.AccountArgs{
			Name:              pulumi.String("example-cosmosdb"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			OfferType:         pulumi.String("Standard"),
			Kind:              pulumi.String("GlobalDocumentDB"),
			ConsistencyPolicy: &cosmosdb.AccountConsistencyPolicyArgs{
				ConsistencyLevel: pulumi.String("Strong"),
			},
			GeoLocations: cosmosdb.AccountGeoLocationArray{
				&cosmosdb.AccountGeoLocationArgs{
					Location:         example.Location,
					FailoverPriority: pulumi.Int(0),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlRoleDefinition(ctx, "example", &cosmosdb.SqlRoleDefinitionArgs{
			RoleDefinitionId:  pulumi.String("84cf3a8b-4122-4448-bce2-fa423cfe0a15"),
			ResourceGroupName: example.Name,
			AccountName:       exampleAccount.Name,
			Name:              pulumi.String("acctestsqlrole"),
			AssignableScopes: pulumi.StringArray{
				exampleAccount.ID().ApplyT(func(id string) (string, error) {
					return fmt.Sprintf("%v/dbs/sales", id), nil
				}).(pulumi.StringOutput),
			},
			Permissions: cosmosdb.SqlRoleDefinitionPermissionArray{
				&cosmosdb.SqlRoleDefinitionPermissionArgs{
					DataActions: pulumi.StringArray{
						pulumi.String("Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cosmos DB SQL Role Definitions can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/sqlRoleDefinition:SqlRoleDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlRoleDefinitions/28b3c337-f436-482b-a167-c2618dc52033 ```

func GetSqlRoleDefinition

func GetSqlRoleDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlRoleDefinitionState, opts ...pulumi.ResourceOption) (*SqlRoleDefinition, error)

GetSqlRoleDefinition gets an existing SqlRoleDefinition 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 NewSqlRoleDefinition

func NewSqlRoleDefinition(ctx *pulumi.Context,
	name string, args *SqlRoleDefinitionArgs, opts ...pulumi.ResourceOption) (*SqlRoleDefinition, error)

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

func (*SqlRoleDefinition) ElementType

func (*SqlRoleDefinition) ElementType() reflect.Type

func (*SqlRoleDefinition) ToSqlRoleDefinitionOutput

func (i *SqlRoleDefinition) ToSqlRoleDefinitionOutput() SqlRoleDefinitionOutput

func (*SqlRoleDefinition) ToSqlRoleDefinitionOutputWithContext

func (i *SqlRoleDefinition) ToSqlRoleDefinitionOutputWithContext(ctx context.Context) SqlRoleDefinitionOutput

type SqlRoleDefinitionArgs

type SqlRoleDefinitionArgs struct {
	// The name of the Cosmos DB Account. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes.
	//
	// > **NOTE:** The resources referenced in assignable scopes need not exist.
	AssignableScopes pulumi.StringArrayInput
	// An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account.
	Name pulumi.StringPtrInput
	// A `permissions` block as defined below.
	Permissions SqlRoleDefinitionPermissionArrayInput
	// The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created.
	RoleDefinitionId pulumi.StringPtrInput
	// The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a SqlRoleDefinition resource.

func (SqlRoleDefinitionArgs) ElementType

func (SqlRoleDefinitionArgs) ElementType() reflect.Type

type SqlRoleDefinitionArray

type SqlRoleDefinitionArray []SqlRoleDefinitionInput

func (SqlRoleDefinitionArray) ElementType

func (SqlRoleDefinitionArray) ElementType() reflect.Type

func (SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutput

func (i SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput

func (SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutputWithContext

func (i SqlRoleDefinitionArray) ToSqlRoleDefinitionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionArrayOutput

type SqlRoleDefinitionArrayInput

type SqlRoleDefinitionArrayInput interface {
	pulumi.Input

	ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput
	ToSqlRoleDefinitionArrayOutputWithContext(context.Context) SqlRoleDefinitionArrayOutput
}

SqlRoleDefinitionArrayInput is an input type that accepts SqlRoleDefinitionArray and SqlRoleDefinitionArrayOutput values. You can construct a concrete instance of `SqlRoleDefinitionArrayInput` via:

SqlRoleDefinitionArray{ SqlRoleDefinitionArgs{...} }

type SqlRoleDefinitionArrayOutput

type SqlRoleDefinitionArrayOutput struct{ *pulumi.OutputState }

func (SqlRoleDefinitionArrayOutput) ElementType

func (SqlRoleDefinitionArrayOutput) Index

func (SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutput

func (o SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutput() SqlRoleDefinitionArrayOutput

func (SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutputWithContext

func (o SqlRoleDefinitionArrayOutput) ToSqlRoleDefinitionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionArrayOutput

type SqlRoleDefinitionInput

type SqlRoleDefinitionInput interface {
	pulumi.Input

	ToSqlRoleDefinitionOutput() SqlRoleDefinitionOutput
	ToSqlRoleDefinitionOutputWithContext(ctx context.Context) SqlRoleDefinitionOutput
}

type SqlRoleDefinitionMap

type SqlRoleDefinitionMap map[string]SqlRoleDefinitionInput

func (SqlRoleDefinitionMap) ElementType

func (SqlRoleDefinitionMap) ElementType() reflect.Type

func (SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutput

func (i SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput

func (SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutputWithContext

func (i SqlRoleDefinitionMap) ToSqlRoleDefinitionMapOutputWithContext(ctx context.Context) SqlRoleDefinitionMapOutput

type SqlRoleDefinitionMapInput

type SqlRoleDefinitionMapInput interface {
	pulumi.Input

	ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput
	ToSqlRoleDefinitionMapOutputWithContext(context.Context) SqlRoleDefinitionMapOutput
}

SqlRoleDefinitionMapInput is an input type that accepts SqlRoleDefinitionMap and SqlRoleDefinitionMapOutput values. You can construct a concrete instance of `SqlRoleDefinitionMapInput` via:

SqlRoleDefinitionMap{ "key": SqlRoleDefinitionArgs{...} }

type SqlRoleDefinitionMapOutput

type SqlRoleDefinitionMapOutput struct{ *pulumi.OutputState }

func (SqlRoleDefinitionMapOutput) ElementType

func (SqlRoleDefinitionMapOutput) ElementType() reflect.Type

func (SqlRoleDefinitionMapOutput) MapIndex

func (SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutput

func (o SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutput() SqlRoleDefinitionMapOutput

func (SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutputWithContext

func (o SqlRoleDefinitionMapOutput) ToSqlRoleDefinitionMapOutputWithContext(ctx context.Context) SqlRoleDefinitionMapOutput

type SqlRoleDefinitionOutput

type SqlRoleDefinitionOutput struct{ *pulumi.OutputState }

func (SqlRoleDefinitionOutput) AccountName added in v5.5.0

The name of the Cosmos DB Account. Changing this forces a new resource to be created.

func (SqlRoleDefinitionOutput) AssignableScopes added in v5.5.0

func (o SqlRoleDefinitionOutput) AssignableScopes() pulumi.StringArrayOutput

A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes.

> **NOTE:** The resources referenced in assignable scopes need not exist.

func (SqlRoleDefinitionOutput) ElementType

func (SqlRoleDefinitionOutput) ElementType() reflect.Type

func (SqlRoleDefinitionOutput) Name added in v5.5.0

An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account.

func (SqlRoleDefinitionOutput) Permissions added in v5.5.0

A `permissions` block as defined below.

func (SqlRoleDefinitionOutput) ResourceGroupName added in v5.5.0

func (o SqlRoleDefinitionOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created.

func (SqlRoleDefinitionOutput) RoleDefinitionId added in v5.5.0

func (o SqlRoleDefinitionOutput) RoleDefinitionId() pulumi.StringOutput

The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created.

func (SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutput

func (o SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutput() SqlRoleDefinitionOutput

func (SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutputWithContext

func (o SqlRoleDefinitionOutput) ToSqlRoleDefinitionOutputWithContext(ctx context.Context) SqlRoleDefinitionOutput

func (SqlRoleDefinitionOutput) Type added in v5.5.0

The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created.

type SqlRoleDefinitionPermission

type SqlRoleDefinitionPermission struct {
	// A list of data actions that are allowed for the Cosmos DB SQL Role Definition.
	DataActions []string `pulumi:"dataActions"`
}

type SqlRoleDefinitionPermissionArgs

type SqlRoleDefinitionPermissionArgs struct {
	// A list of data actions that are allowed for the Cosmos DB SQL Role Definition.
	DataActions pulumi.StringArrayInput `pulumi:"dataActions"`
}

func (SqlRoleDefinitionPermissionArgs) ElementType

func (SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutput

func (i SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput

func (SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutputWithContext

func (i SqlRoleDefinitionPermissionArgs) ToSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionOutput

type SqlRoleDefinitionPermissionArray

type SqlRoleDefinitionPermissionArray []SqlRoleDefinitionPermissionInput

func (SqlRoleDefinitionPermissionArray) ElementType

func (SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutput

func (i SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput

func (SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutputWithContext

func (i SqlRoleDefinitionPermissionArray) ToSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionArrayOutput

type SqlRoleDefinitionPermissionArrayInput

type SqlRoleDefinitionPermissionArrayInput interface {
	pulumi.Input

	ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput
	ToSqlRoleDefinitionPermissionArrayOutputWithContext(context.Context) SqlRoleDefinitionPermissionArrayOutput
}

SqlRoleDefinitionPermissionArrayInput is an input type that accepts SqlRoleDefinitionPermissionArray and SqlRoleDefinitionPermissionArrayOutput values. You can construct a concrete instance of `SqlRoleDefinitionPermissionArrayInput` via:

SqlRoleDefinitionPermissionArray{ SqlRoleDefinitionPermissionArgs{...} }

type SqlRoleDefinitionPermissionArrayOutput

type SqlRoleDefinitionPermissionArrayOutput struct{ *pulumi.OutputState }

func (SqlRoleDefinitionPermissionArrayOutput) ElementType

func (SqlRoleDefinitionPermissionArrayOutput) Index

func (SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutput

func (o SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutput() SqlRoleDefinitionPermissionArrayOutput

func (SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutputWithContext

func (o SqlRoleDefinitionPermissionArrayOutput) ToSqlRoleDefinitionPermissionArrayOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionArrayOutput

type SqlRoleDefinitionPermissionInput

type SqlRoleDefinitionPermissionInput interface {
	pulumi.Input

	ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput
	ToSqlRoleDefinitionPermissionOutputWithContext(context.Context) SqlRoleDefinitionPermissionOutput
}

SqlRoleDefinitionPermissionInput is an input type that accepts SqlRoleDefinitionPermissionArgs and SqlRoleDefinitionPermissionOutput values. You can construct a concrete instance of `SqlRoleDefinitionPermissionInput` via:

SqlRoleDefinitionPermissionArgs{...}

type SqlRoleDefinitionPermissionOutput

type SqlRoleDefinitionPermissionOutput struct{ *pulumi.OutputState }

func (SqlRoleDefinitionPermissionOutput) DataActions

A list of data actions that are allowed for the Cosmos DB SQL Role Definition.

func (SqlRoleDefinitionPermissionOutput) ElementType

func (SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutput

func (o SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutput() SqlRoleDefinitionPermissionOutput

func (SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutputWithContext

func (o SqlRoleDefinitionPermissionOutput) ToSqlRoleDefinitionPermissionOutputWithContext(ctx context.Context) SqlRoleDefinitionPermissionOutput

type SqlRoleDefinitionState

type SqlRoleDefinitionState struct {
	// The name of the Cosmos DB Account. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// A list of fully qualified scopes at or below which Role Assignments may be created using this Cosmos DB SQL Role Definition. It will allow application of this Cosmos DB SQL Role Definition on the entire Database Account or any underlying Database/Collection. Scopes higher than Database Account are not enforceable as assignable scopes.
	//
	// > **NOTE:** The resources referenced in assignable scopes need not exist.
	AssignableScopes pulumi.StringArrayInput
	// An user-friendly name for the Cosmos DB SQL Role Definition which must be unique for the Database Account.
	Name pulumi.StringPtrInput
	// A `permissions` block as defined below.
	Permissions SqlRoleDefinitionPermissionArrayInput
	// The name of the Resource Group in which the Cosmos DB SQL Role Definition is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The GUID as the name of the Cosmos DB SQL Role Definition - one will be generated if not specified. Changing this forces a new resource to be created.
	RoleDefinitionId pulumi.StringPtrInput
	// The type of the Cosmos DB SQL Role Definition. Possible values are `BuiltInRole` and `CustomRole`. Defaults to `CustomRole`. Changing this forces a new resource to be created.
	Type pulumi.StringPtrInput
}

func (SqlRoleDefinitionState) ElementType

func (SqlRoleDefinitionState) ElementType() reflect.Type

type SqlStoredProcedure

type SqlStoredProcedure struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The body of the stored procedure.
	Body pulumi.StringOutput `pulumi:"body"`
	// The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.
	ContainerName pulumi.StringOutput `pulumi:"containerName"`
	// The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
}

Manages a SQL Stored Procedure within a Cosmos DB Account SQL Database.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "example", &cosmosdb.SqlDatabaseArgs{
			Name:              pulumi.String("tfex-cosmos-db"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{
			Name:              pulumi.String("example-container"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("/id"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlStoredProcedure(ctx, "example", &cosmosdb.SqlStoredProcedureArgs{
			Name:              pulumi.String("test-stored-proc"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			ContainerName:     exampleSqlContainer.Name,
			Body:              pulumi.String("   function () { var context = getContext(); var response = context.getResponse(); response.setBody('Hello, World'); }\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CosmosDB SQL Stored Procedures can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:cosmosdb/sqlStoredProcedure:SqlStoredProcedure db1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/db1/containers/c1/storedProcedures/sp1 ```

func GetSqlStoredProcedure

func GetSqlStoredProcedure(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlStoredProcedureState, opts ...pulumi.ResourceOption) (*SqlStoredProcedure, error)

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

func NewSqlStoredProcedure

func NewSqlStoredProcedure(ctx *pulumi.Context,
	name string, args *SqlStoredProcedureArgs, opts ...pulumi.ResourceOption) (*SqlStoredProcedure, error)

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

func (*SqlStoredProcedure) ElementType

func (*SqlStoredProcedure) ElementType() reflect.Type

func (*SqlStoredProcedure) ToSqlStoredProcedureOutput

func (i *SqlStoredProcedure) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput

func (*SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext

func (i *SqlStoredProcedure) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput

type SqlStoredProcedureArgs

type SqlStoredProcedureArgs struct {
	// The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The body of the stored procedure.
	Body pulumi.StringInput
	// The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.
	ContainerName pulumi.StringInput
	// The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringInput
	// Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a SqlStoredProcedure resource.

func (SqlStoredProcedureArgs) ElementType

func (SqlStoredProcedureArgs) ElementType() reflect.Type

type SqlStoredProcedureArray

type SqlStoredProcedureArray []SqlStoredProcedureInput

func (SqlStoredProcedureArray) ElementType

func (SqlStoredProcedureArray) ElementType() reflect.Type

func (SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutput

func (i SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput

func (SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutputWithContext

func (i SqlStoredProcedureArray) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput

type SqlStoredProcedureArrayInput

type SqlStoredProcedureArrayInput interface {
	pulumi.Input

	ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput
	ToSqlStoredProcedureArrayOutputWithContext(context.Context) SqlStoredProcedureArrayOutput
}

SqlStoredProcedureArrayInput is an input type that accepts SqlStoredProcedureArray and SqlStoredProcedureArrayOutput values. You can construct a concrete instance of `SqlStoredProcedureArrayInput` via:

SqlStoredProcedureArray{ SqlStoredProcedureArgs{...} }

type SqlStoredProcedureArrayOutput

type SqlStoredProcedureArrayOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedureArrayOutput) ElementType

func (SqlStoredProcedureArrayOutput) Index

func (SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput

func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutput() SqlStoredProcedureArrayOutput

func (SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext

func (o SqlStoredProcedureArrayOutput) ToSqlStoredProcedureArrayOutputWithContext(ctx context.Context) SqlStoredProcedureArrayOutput

type SqlStoredProcedureInput

type SqlStoredProcedureInput interface {
	pulumi.Input

	ToSqlStoredProcedureOutput() SqlStoredProcedureOutput
	ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput
}

type SqlStoredProcedureMap

type SqlStoredProcedureMap map[string]SqlStoredProcedureInput

func (SqlStoredProcedureMap) ElementType

func (SqlStoredProcedureMap) ElementType() reflect.Type

func (SqlStoredProcedureMap) ToSqlStoredProcedureMapOutput

func (i SqlStoredProcedureMap) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput

func (SqlStoredProcedureMap) ToSqlStoredProcedureMapOutputWithContext

func (i SqlStoredProcedureMap) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput

type SqlStoredProcedureMapInput

type SqlStoredProcedureMapInput interface {
	pulumi.Input

	ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput
	ToSqlStoredProcedureMapOutputWithContext(context.Context) SqlStoredProcedureMapOutput
}

SqlStoredProcedureMapInput is an input type that accepts SqlStoredProcedureMap and SqlStoredProcedureMapOutput values. You can construct a concrete instance of `SqlStoredProcedureMapInput` via:

SqlStoredProcedureMap{ "key": SqlStoredProcedureArgs{...} }

type SqlStoredProcedureMapOutput

type SqlStoredProcedureMapOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedureMapOutput) ElementType

func (SqlStoredProcedureMapOutput) MapIndex

func (SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput

func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutput() SqlStoredProcedureMapOutput

func (SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext

func (o SqlStoredProcedureMapOutput) ToSqlStoredProcedureMapOutputWithContext(ctx context.Context) SqlStoredProcedureMapOutput

type SqlStoredProcedureOutput

type SqlStoredProcedureOutput struct{ *pulumi.OutputState }

func (SqlStoredProcedureOutput) AccountName added in v5.5.0

The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.

func (SqlStoredProcedureOutput) Body added in v5.5.0

The body of the stored procedure.

func (SqlStoredProcedureOutput) ContainerName added in v5.5.0

func (o SqlStoredProcedureOutput) ContainerName() pulumi.StringOutput

The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.

func (SqlStoredProcedureOutput) DatabaseName added in v5.5.0

func (o SqlStoredProcedureOutput) DatabaseName() pulumi.StringOutput

The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.

func (SqlStoredProcedureOutput) ElementType

func (SqlStoredProcedureOutput) ElementType() reflect.Type

func (SqlStoredProcedureOutput) Name added in v5.5.0

Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.

func (SqlStoredProcedureOutput) ResourceGroupName added in v5.5.0

func (o SqlStoredProcedureOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.

func (SqlStoredProcedureOutput) ToSqlStoredProcedureOutput

func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutput() SqlStoredProcedureOutput

func (SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext

func (o SqlStoredProcedureOutput) ToSqlStoredProcedureOutputWithContext(ctx context.Context) SqlStoredProcedureOutput

type SqlStoredProcedureState

type SqlStoredProcedureState struct {
	// The name of the Cosmos DB Account to create the stored procedure within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The body of the stored procedure.
	Body pulumi.StringPtrInput
	// The name of the Cosmos DB SQL Container to create the stored procedure within. Changing this forces a new resource to be created.
	ContainerName pulumi.StringPtrInput
	// The name of the Cosmos DB SQL Database to create the stored procedure within. Changing this forces a new resource to be created.
	DatabaseName pulumi.StringPtrInput
	// Specifies the name of the Cosmos DB SQL Stored Procedure. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB SQL Database is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
}

func (SqlStoredProcedureState) ElementType

func (SqlStoredProcedureState) ElementType() reflect.Type

type SqlTrigger

type SqlTrigger struct {
	pulumi.CustomResourceState

	// Body of the Trigger.
	Body pulumi.StringOutput `pulumi:"body"`
	// The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.
	Operation pulumi.StringOutput `pulumi:"operation"`
	// Type of the Trigger. Possible values are `Pre` and `Post`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages an SQL Trigger.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := cosmosdb.LookupAccount(ctx, &cosmosdb.LookupAccountArgs{
			Name:              "tfex-cosmosdb-account",
			ResourceGroupName: "tfex-cosmosdb-account-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleSqlDatabase, err := cosmosdb.NewSqlDatabase(ctx, "example", &cosmosdb.SqlDatabaseArgs{
			Name:              pulumi.String("tfex-cosmos-db"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			Throughput:        pulumi.Int(400),
		})
		if err != nil {
			return err
		}
		exampleSqlContainer, err := cosmosdb.NewSqlContainer(ctx, "example", &cosmosdb.SqlContainerArgs{
			Name:              pulumi.String("example-container"),
			ResourceGroupName: pulumi.String(example.ResourceGroupName),
			AccountName:       pulumi.String(example.Name),
			DatabaseName:      exampleSqlDatabase.Name,
			PartitionKeyPath:  pulumi.String("/id"),
		})
		if err != nil {
			return err
		}
		_, err = cosmosdb.NewSqlTrigger(ctx, "example", &cosmosdb.SqlTriggerArgs{
			Name:        pulumi.String("test-trigger"),
			ContainerId: exampleSqlContainer.ID(),
			Body:        pulumi.String("function trigger(){}"),
			Operation:   pulumi.String("Delete"),
			Type:        pulumi.String("Post"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:cosmosdb/sqlTrigger:SqlTrigger example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/sqlDatabases/database1/containers/container1/triggers/trigger1 ```

func GetSqlTrigger

func GetSqlTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlTriggerState, opts ...pulumi.ResourceOption) (*SqlTrigger, error)

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

func NewSqlTrigger

func NewSqlTrigger(ctx *pulumi.Context,
	name string, args *SqlTriggerArgs, opts ...pulumi.ResourceOption) (*SqlTrigger, error)

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

func (*SqlTrigger) ElementType

func (*SqlTrigger) ElementType() reflect.Type

func (*SqlTrigger) ToSqlTriggerOutput

func (i *SqlTrigger) ToSqlTriggerOutput() SqlTriggerOutput

func (*SqlTrigger) ToSqlTriggerOutputWithContext

func (i *SqlTrigger) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput

type SqlTriggerArgs

type SqlTriggerArgs struct {
	// Body of the Trigger.
	Body pulumi.StringInput
	// The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.
	ContainerId pulumi.StringInput
	// The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.
	Name pulumi.StringPtrInput
	// The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.
	Operation pulumi.StringInput
	// Type of the Trigger. Possible values are `Pre` and `Post`.
	Type pulumi.StringInput
}

The set of arguments for constructing a SqlTrigger resource.

func (SqlTriggerArgs) ElementType

func (SqlTriggerArgs) ElementType() reflect.Type

type SqlTriggerArray

type SqlTriggerArray []SqlTriggerInput

func (SqlTriggerArray) ElementType

func (SqlTriggerArray) ElementType() reflect.Type

func (SqlTriggerArray) ToSqlTriggerArrayOutput

func (i SqlTriggerArray) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput

func (SqlTriggerArray) ToSqlTriggerArrayOutputWithContext

func (i SqlTriggerArray) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput

type SqlTriggerArrayInput

type SqlTriggerArrayInput interface {
	pulumi.Input

	ToSqlTriggerArrayOutput() SqlTriggerArrayOutput
	ToSqlTriggerArrayOutputWithContext(context.Context) SqlTriggerArrayOutput
}

SqlTriggerArrayInput is an input type that accepts SqlTriggerArray and SqlTriggerArrayOutput values. You can construct a concrete instance of `SqlTriggerArrayInput` via:

SqlTriggerArray{ SqlTriggerArgs{...} }

type SqlTriggerArrayOutput

type SqlTriggerArrayOutput struct{ *pulumi.OutputState }

func (SqlTriggerArrayOutput) ElementType

func (SqlTriggerArrayOutput) ElementType() reflect.Type

func (SqlTriggerArrayOutput) Index

func (SqlTriggerArrayOutput) ToSqlTriggerArrayOutput

func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutput() SqlTriggerArrayOutput

func (SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext

func (o SqlTriggerArrayOutput) ToSqlTriggerArrayOutputWithContext(ctx context.Context) SqlTriggerArrayOutput

type SqlTriggerInput

type SqlTriggerInput interface {
	pulumi.Input

	ToSqlTriggerOutput() SqlTriggerOutput
	ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput
}

type SqlTriggerMap

type SqlTriggerMap map[string]SqlTriggerInput

func (SqlTriggerMap) ElementType

func (SqlTriggerMap) ElementType() reflect.Type

func (SqlTriggerMap) ToSqlTriggerMapOutput

func (i SqlTriggerMap) ToSqlTriggerMapOutput() SqlTriggerMapOutput

func (SqlTriggerMap) ToSqlTriggerMapOutputWithContext

func (i SqlTriggerMap) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput

type SqlTriggerMapInput

type SqlTriggerMapInput interface {
	pulumi.Input

	ToSqlTriggerMapOutput() SqlTriggerMapOutput
	ToSqlTriggerMapOutputWithContext(context.Context) SqlTriggerMapOutput
}

SqlTriggerMapInput is an input type that accepts SqlTriggerMap and SqlTriggerMapOutput values. You can construct a concrete instance of `SqlTriggerMapInput` via:

SqlTriggerMap{ "key": SqlTriggerArgs{...} }

type SqlTriggerMapOutput

type SqlTriggerMapOutput struct{ *pulumi.OutputState }

func (SqlTriggerMapOutput) ElementType

func (SqlTriggerMapOutput) ElementType() reflect.Type

func (SqlTriggerMapOutput) MapIndex

func (SqlTriggerMapOutput) ToSqlTriggerMapOutput

func (o SqlTriggerMapOutput) ToSqlTriggerMapOutput() SqlTriggerMapOutput

func (SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext

func (o SqlTriggerMapOutput) ToSqlTriggerMapOutputWithContext(ctx context.Context) SqlTriggerMapOutput

type SqlTriggerOutput

type SqlTriggerOutput struct{ *pulumi.OutputState }

func (SqlTriggerOutput) Body added in v5.5.0

Body of the Trigger.

func (SqlTriggerOutput) ContainerId added in v5.5.0

func (o SqlTriggerOutput) ContainerId() pulumi.StringOutput

The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.

func (SqlTriggerOutput) ElementType

func (SqlTriggerOutput) ElementType() reflect.Type

func (SqlTriggerOutput) Name added in v5.5.0

The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.

func (SqlTriggerOutput) Operation added in v5.5.0

func (o SqlTriggerOutput) Operation() pulumi.StringOutput

The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.

func (SqlTriggerOutput) ToSqlTriggerOutput

func (o SqlTriggerOutput) ToSqlTriggerOutput() SqlTriggerOutput

func (SqlTriggerOutput) ToSqlTriggerOutputWithContext

func (o SqlTriggerOutput) ToSqlTriggerOutputWithContext(ctx context.Context) SqlTriggerOutput

func (SqlTriggerOutput) Type added in v5.5.0

Type of the Trigger. Possible values are `Pre` and `Post`.

type SqlTriggerState

type SqlTriggerState struct {
	// Body of the Trigger.
	Body pulumi.StringPtrInput
	// The id of the Cosmos DB SQL Container to create the SQL Trigger within. Changing this forces a new SQL Trigger to be created.
	ContainerId pulumi.StringPtrInput
	// The name which should be used for this SQL Trigger. Changing this forces a new SQL Trigger to be created.
	Name pulumi.StringPtrInput
	// The operation the trigger is associated with. Possible values are `All`, `Create`, `Update`, `Delete` and `Replace`.
	Operation pulumi.StringPtrInput
	// Type of the Trigger. Possible values are `Pre` and `Post`.
	Type pulumi.StringPtrInput
}

func (SqlTriggerState) ElementType

func (SqlTriggerState) ElementType() reflect.Type

type Table

type Table struct {
	pulumi.CustomResourceState

	// The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings TableAutoscaleSettingsPtrOutput `pulumi:"autoscaleSettings"`
	// Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	Throughput pulumi.IntOutput `pulumi:"throughput"`
}

Manages a Table within a Cosmos DB Account.

## Example Usage

```go package main

import (

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

)

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

```

## Import

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

```sh $ pulumi import azure:cosmosdb/table:Table table1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/account1/tables/table1 ```

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

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

func NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

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

func (*Table) ElementType

func (*Table) ElementType() reflect.Type

func (*Table) ToTableOutput

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableArgs

type TableArgs struct {
	// The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings TableAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	Throughput pulumi.IntPtrInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableArray

type TableArray []TableInput

func (TableArray) ElementType

func (TableArray) ElementType() reflect.Type

func (TableArray) ToTableArrayOutput

func (i TableArray) ToTableArrayOutput() TableArrayOutput

func (TableArray) ToTableArrayOutputWithContext

func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableArrayInput

type TableArrayInput interface {
	pulumi.Input

	ToTableArrayOutput() TableArrayOutput
	ToTableArrayOutputWithContext(context.Context) TableArrayOutput
}

TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:

TableArray{ TableArgs{...} }

type TableArrayOutput

type TableArrayOutput struct{ *pulumi.OutputState }

func (TableArrayOutput) ElementType

func (TableArrayOutput) ElementType() reflect.Type

func (TableArrayOutput) Index

func (TableArrayOutput) ToTableArrayOutput

func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput

func (TableArrayOutput) ToTableArrayOutputWithContext

func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableAutoscaleSettings

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

type TableAutoscaleSettingsArgs

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

func (TableAutoscaleSettingsArgs) ElementType

func (TableAutoscaleSettingsArgs) ElementType() reflect.Type

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput

func (TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext

func (i TableAutoscaleSettingsArgs) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput

type TableAutoscaleSettingsInput

type TableAutoscaleSettingsInput interface {
	pulumi.Input

	ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput
	ToTableAutoscaleSettingsOutputWithContext(context.Context) TableAutoscaleSettingsOutput
}

TableAutoscaleSettingsInput is an input type that accepts TableAutoscaleSettingsArgs and TableAutoscaleSettingsOutput values. You can construct a concrete instance of `TableAutoscaleSettingsInput` via:

TableAutoscaleSettingsArgs{...}

type TableAutoscaleSettingsOutput

type TableAutoscaleSettingsOutput struct{ *pulumi.OutputState }

func (TableAutoscaleSettingsOutput) ElementType

func (TableAutoscaleSettingsOutput) MaxThroughput

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

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutput() TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsOutputWithContext(ctx context.Context) TableAutoscaleSettingsOutput

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput

func (TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext

func (o TableAutoscaleSettingsOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput

type TableAutoscaleSettingsPtrInput

type TableAutoscaleSettingsPtrInput interface {
	pulumi.Input

	ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput
	ToTableAutoscaleSettingsPtrOutputWithContext(context.Context) TableAutoscaleSettingsPtrOutput
}

TableAutoscaleSettingsPtrInput is an input type that accepts TableAutoscaleSettingsArgs, TableAutoscaleSettingsPtr and TableAutoscaleSettingsPtrOutput values. You can construct a concrete instance of `TableAutoscaleSettingsPtrInput` via:

        TableAutoscaleSettingsArgs{...}

or:

        nil

type TableAutoscaleSettingsPtrOutput

type TableAutoscaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (TableAutoscaleSettingsPtrOutput) Elem

func (TableAutoscaleSettingsPtrOutput) ElementType

func (TableAutoscaleSettingsPtrOutput) MaxThroughput

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

func (TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput

func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutput() TableAutoscaleSettingsPtrOutput

func (TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext

func (o TableAutoscaleSettingsPtrOutput) ToTableAutoscaleSettingsPtrOutputWithContext(ctx context.Context) TableAutoscaleSettingsPtrOutput

type TableInput

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableMap

type TableMap map[string]TableInput

func (TableMap) ElementType

func (TableMap) ElementType() reflect.Type

func (TableMap) ToTableMapOutput

func (i TableMap) ToTableMapOutput() TableMapOutput

func (TableMap) ToTableMapOutputWithContext

func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableMapInput

type TableMapInput interface {
	pulumi.Input

	ToTableMapOutput() TableMapOutput
	ToTableMapOutputWithContext(context.Context) TableMapOutput
}

TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:

TableMap{ "key": TableArgs{...} }

type TableMapOutput

type TableMapOutput struct{ *pulumi.OutputState }

func (TableMapOutput) ElementType

func (TableMapOutput) ElementType() reflect.Type

func (TableMapOutput) MapIndex

func (TableMapOutput) ToTableMapOutput

func (o TableMapOutput) ToTableMapOutput() TableMapOutput

func (TableMapOutput) ToTableMapOutputWithContext

func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) AccountName added in v5.5.0

func (o TableOutput) AccountName() pulumi.StringOutput

The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.

func (TableOutput) AutoscaleSettings added in v5.5.0

func (o TableOutput) AutoscaleSettings() TableAutoscaleSettingsPtrOutput

An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.

> **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) Name added in v5.5.0

func (o TableOutput) Name() pulumi.StringOutput

Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.

func (TableOutput) ResourceGroupName added in v5.5.0

func (o TableOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.

func (TableOutput) Throughput added in v5.5.0

func (o TableOutput) Throughput() pulumi.IntOutput

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.

> **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableState

type TableState struct {
	// The name of the Cosmos DB Table to create the table within. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// An `autoscaleSettings` block as defined below. This must be set upon database creation otherwise it cannot be updated without a manual destroy-apply.
	//
	// > **Note:** Switching between autoscale and manual throughput is not supported via this provider and must be completed via the Azure Portal and refreshed.
	AutoscaleSettings TableAutoscaleSettingsPtrInput
	// Specifies the name of the Cosmos DB Table. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which the Cosmos DB Table is created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The throughput of Table (RU/s). Must be set in increments of `100`. The minimum value is `400`. This must be set upon database creation otherwise it cannot be updated without a manual resource destroy-apply.
	//
	// > **Note:** throughput has a maximum value of `1000000` unless a higher limit is requested via Azure Support
	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