1. Packages
  2. Azure Native v2
  3. API Docs
  4. documentdb
  5. CassandraResourceCassandraView
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.documentdb.CassandraResourceCassandraView

Explore with Pulumi AI

An Azure Cosmos DB Cassandra view. Azure REST API version: 2023-03-15-preview. Prior API version in Azure Native 1.x: 2021-07-01-preview.

Other available API versions: 2023-09-15-preview, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15-preview, 2024-09-01-preview, 2024-12-01-preview.

Example Usage

CosmosDBCassandraViewCreateUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var cassandraResourceCassandraView = new AzureNative.DocumentDB.CassandraResourceCassandraView("cassandraResourceCassandraView", new()
    {
        AccountName = "ddb1",
        KeyspaceName = "keyspacename",
        Options = null,
        Resource = new AzureNative.DocumentDB.Inputs.CassandraViewResourceArgs
        {
            Id = "viewname",
            ViewDefinition = "SELECT columna, columnb, columnc FROM keyspacename.srctablename WHERE columna IS NOT NULL AND columnc IS NOT NULL PRIMARY (columnc, columna)",
        },
        ResourceGroupName = "rg1",
        Tags = null,
        ViewName = "viewname",
    });

});
Copy
package main

import (
	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := documentdb.NewCassandraResourceCassandraView(ctx, "cassandraResourceCassandraView", &documentdb.CassandraResourceCassandraViewArgs{
			AccountName:  pulumi.String("ddb1"),
			KeyspaceName: pulumi.String("keyspacename"),
			Options:      &documentdb.CreateUpdateOptionsArgs{},
			Resource: &documentdb.CassandraViewResourceArgs{
				Id:             pulumi.String("viewname"),
				ViewDefinition: pulumi.String("SELECT columna, columnb, columnc FROM keyspacename.srctablename WHERE columna IS NOT NULL AND columnc IS NOT NULL PRIMARY (columnc, columna)"),
			},
			ResourceGroupName: pulumi.String("rg1"),
			Tags:              pulumi.StringMap{},
			ViewName:          pulumi.String("viewname"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.documentdb.CassandraResourceCassandraView;
import com.pulumi.azurenative.documentdb.CassandraResourceCassandraViewArgs;
import com.pulumi.azurenative.documentdb.inputs.CreateUpdateOptionsArgs;
import com.pulumi.azurenative.documentdb.inputs.CassandraViewResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var cassandraResourceCassandraView = new CassandraResourceCassandraView("cassandraResourceCassandraView", CassandraResourceCassandraViewArgs.builder()
            .accountName("ddb1")
            .keyspaceName("keyspacename")
            .options()
            .resource(CassandraViewResourceArgs.builder()
                .id("viewname")
                .viewDefinition("SELECT columna, columnb, columnc FROM keyspacename.srctablename WHERE columna IS NOT NULL AND columnc IS NOT NULL PRIMARY (columnc, columna)")
                .build())
            .resourceGroupName("rg1")
            .tags()
            .viewName("viewname")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const cassandraResourceCassandraView = new azure_native.documentdb.CassandraResourceCassandraView("cassandraResourceCassandraView", {
    accountName: "ddb1",
    keyspaceName: "keyspacename",
    options: {},
    resource: {
        id: "viewname",
        viewDefinition: "SELECT columna, columnb, columnc FROM keyspacename.srctablename WHERE columna IS NOT NULL AND columnc IS NOT NULL PRIMARY (columnc, columna)",
    },
    resourceGroupName: "rg1",
    tags: {},
    viewName: "viewname",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

cassandra_resource_cassandra_view = azure_native.documentdb.CassandraResourceCassandraView("cassandraResourceCassandraView",
    account_name="ddb1",
    keyspace_name="keyspacename",
    options={},
    resource={
        "id": "viewname",
        "view_definition": "SELECT columna, columnb, columnc FROM keyspacename.srctablename WHERE columna IS NOT NULL AND columnc IS NOT NULL PRIMARY (columnc, columna)",
    },
    resource_group_name="rg1",
    tags={},
    view_name="viewname")
Copy
resources:
  cassandraResourceCassandraView:
    type: azure-native:documentdb:CassandraResourceCassandraView
    properties:
      accountName: ddb1
      keyspaceName: keyspacename
      options: {}
      resource:
        id: viewname
        viewDefinition: SELECT columna, columnb, columnc FROM keyspacename.srctablename WHERE columna IS NOT NULL AND columnc IS NOT NULL PRIMARY (columnc, columna)
      resourceGroupName: rg1
      tags: {}
      viewName: viewname
Copy

Create CassandraResourceCassandraView Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new CassandraResourceCassandraView(name: string, args: CassandraResourceCassandraViewArgs, opts?: CustomResourceOptions);
@overload
def CassandraResourceCassandraView(resource_name: str,
                                   args: CassandraResourceCassandraViewArgs,
                                   opts: Optional[ResourceOptions] = None)

@overload
def CassandraResourceCassandraView(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   account_name: Optional[str] = None,
                                   keyspace_name: Optional[str] = None,
                                   resource: Optional[CassandraViewResourceArgs] = None,
                                   resource_group_name: Optional[str] = None,
                                   identity: Optional[ManagedServiceIdentityArgs] = None,
                                   location: Optional[str] = None,
                                   options: Optional[CreateUpdateOptionsArgs] = None,
                                   tags: Optional[Mapping[str, str]] = None,
                                   view_name: Optional[str] = None)
func NewCassandraResourceCassandraView(ctx *Context, name string, args CassandraResourceCassandraViewArgs, opts ...ResourceOption) (*CassandraResourceCassandraView, error)
public CassandraResourceCassandraView(string name, CassandraResourceCassandraViewArgs args, CustomResourceOptions? opts = null)
public CassandraResourceCassandraView(String name, CassandraResourceCassandraViewArgs args)
public CassandraResourceCassandraView(String name, CassandraResourceCassandraViewArgs args, CustomResourceOptions options)
type: azure-native:documentdb:CassandraResourceCassandraView
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. CassandraResourceCassandraViewArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. CassandraResourceCassandraViewArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. CassandraResourceCassandraViewArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. CassandraResourceCassandraViewArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. CassandraResourceCassandraViewArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var cassandraResourceCassandraViewResource = new AzureNative.Documentdb.CassandraResourceCassandraView("cassandraResourceCassandraViewResource", new()
{
    AccountName = "string",
    KeyspaceName = "string",
    Resource = 
    {
        { "id", "string" },
        { "viewDefinition", "string" },
    },
    ResourceGroupName = "string",
    Identity = 
    {
        { "type", "SystemAssigned" },
        { "userAssignedIdentities", new[]
        {
            "string",
        } },
    },
    Location = "string",
    Options = 
    {
        { "autoscaleSettings", 
        {
            { "maxThroughput", 0 },
        } },
        { "throughput", 0 },
    },
    Tags = 
    {
        { "string", "string" },
    },
    ViewName = "string",
});
Copy
example, err := documentdb.NewCassandraResourceCassandraView(ctx, "cassandraResourceCassandraViewResource", &documentdb.CassandraResourceCassandraViewArgs{
	AccountName:  "string",
	KeyspaceName: "string",
	Resource: map[string]interface{}{
		"id":             "string",
		"viewDefinition": "string",
	},
	ResourceGroupName: "string",
	Identity: map[string]interface{}{
		"type": "SystemAssigned",
		"userAssignedIdentities": []string{
			"string",
		},
	},
	Location: "string",
	Options: map[string]interface{}{
		"autoscaleSettings": map[string]interface{}{
			"maxThroughput": 0,
		},
		"throughput": 0,
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	ViewName: "string",
})
Copy
var cassandraResourceCassandraViewResource = new CassandraResourceCassandraView("cassandraResourceCassandraViewResource", CassandraResourceCassandraViewArgs.builder()
    .accountName("string")
    .keyspaceName("string")
    .resource(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .options(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .viewName("string")
    .build());
Copy
cassandra_resource_cassandra_view_resource = azure_native.documentdb.CassandraResourceCassandraView("cassandraResourceCassandraViewResource",
    account_name=string,
    keyspace_name=string,
    resource={
        id: string,
        viewDefinition: string,
    },
    resource_group_name=string,
    identity={
        type: SystemAssigned,
        userAssignedIdentities: [string],
    },
    location=string,
    options={
        autoscaleSettings: {
            maxThroughput: 0,
        },
        throughput: 0,
    },
    tags={
        string: string,
    },
    view_name=string)
Copy
const cassandraResourceCassandraViewResource = new azure_native.documentdb.CassandraResourceCassandraView("cassandraResourceCassandraViewResource", {
    accountName: "string",
    keyspaceName: "string",
    resource: {
        id: "string",
        viewDefinition: "string",
    },
    resourceGroupName: "string",
    identity: {
        type: "SystemAssigned",
        userAssignedIdentities: ["string"],
    },
    location: "string",
    options: {
        autoscaleSettings: {
            maxThroughput: 0,
        },
        throughput: 0,
    },
    tags: {
        string: "string",
    },
    viewName: "string",
});
Copy
type: azure-native:documentdb:CassandraResourceCassandraView
properties:
    accountName: string
    identity:
        type: SystemAssigned
        userAssignedIdentities:
            - string
    keyspaceName: string
    location: string
    options:
        autoscaleSettings:
            maxThroughput: 0
        throughput: 0
    resource:
        id: string
        viewDefinition: string
    resourceGroupName: string
    tags:
        string: string
    viewName: string
Copy

CassandraResourceCassandraView Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The CassandraResourceCassandraView resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
KeyspaceName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB keyspace name.
Resource This property is required. Pulumi.AzureNative.DocumentDB.Inputs.CassandraViewResource
The standard JSON format of a Cassandra view
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Identity Pulumi.AzureNative.DocumentDB.Inputs.ManagedServiceIdentity
Identity for the resource.
Location string
The location of the resource group to which the resource belongs.
Options Pulumi.AzureNative.DocumentDB.Inputs.CreateUpdateOptions
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Tags Dictionary<string, string>
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
ViewName Changes to this property will trigger replacement. string
Cosmos DB view name.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
KeyspaceName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB keyspace name.
Resource This property is required. CassandraViewResourceArgs
The standard JSON format of a Cassandra view
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Identity ManagedServiceIdentityArgs
Identity for the resource.
Location string
The location of the resource group to which the resource belongs.
Options CreateUpdateOptionsArgs
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
Tags map[string]string
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
ViewName Changes to this property will trigger replacement. string
Cosmos DB view name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB database account name.
keyspaceName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB keyspace name.
resource This property is required. CassandraViewResource
The standard JSON format of a Cassandra view
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
identity ManagedServiceIdentity
Identity for the resource.
location String
The location of the resource group to which the resource belongs.
options CreateUpdateOptions
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
tags Map<String,String>
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
viewName Changes to this property will trigger replacement. String
Cosmos DB view name.
accountName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB database account name.
keyspaceName
This property is required.
Changes to this property will trigger replacement.
string
Cosmos DB keyspace name.
resource This property is required. CassandraViewResource
The standard JSON format of a Cassandra view
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
identity ManagedServiceIdentity
Identity for the resource.
location string
The location of the resource group to which the resource belongs.
options CreateUpdateOptions
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
tags {[key: string]: string}
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
viewName Changes to this property will trigger replacement. string
Cosmos DB view name.
account_name
This property is required.
Changes to this property will trigger replacement.
str
Cosmos DB database account name.
keyspace_name
This property is required.
Changes to this property will trigger replacement.
str
Cosmos DB keyspace name.
resource This property is required. CassandraViewResourceArgs
The standard JSON format of a Cassandra view
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
identity ManagedServiceIdentityArgs
Identity for the resource.
location str
The location of the resource group to which the resource belongs.
options CreateUpdateOptionsArgs
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
tags Mapping[str, str]
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
view_name Changes to this property will trigger replacement. str
Cosmos DB view name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB database account name.
keyspaceName
This property is required.
Changes to this property will trigger replacement.
String
Cosmos DB keyspace name.
resource This property is required. Property Map
The standard JSON format of a Cassandra view
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
identity Property Map
Identity for the resource.
location String
The location of the resource group to which the resource belongs.
options Property Map
A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
tags Map<String>
Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
viewName Changes to this property will trigger replacement. String
Cosmos DB view name.

Outputs

All input properties are implicitly available as output properties. Additionally, the CassandraResourceCassandraView resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the ARM resource.
Type string
The type of Azure resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the ARM resource.
Type string
The type of Azure resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the ARM resource.
type String
The type of Azure resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the ARM resource.
type string
The type of Azure resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the ARM resource.
type str
The type of Azure resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the ARM resource.
type String
The type of Azure resource.

Supporting Types

AutoscaleSettings
, AutoscaleSettingsArgs

MaxThroughput int
Represents maximum throughput, the resource can scale up to.
MaxThroughput int
Represents maximum throughput, the resource can scale up to.
maxThroughput Integer
Represents maximum throughput, the resource can scale up to.
maxThroughput number
Represents maximum throughput, the resource can scale up to.
max_throughput int
Represents maximum throughput, the resource can scale up to.
maxThroughput Number
Represents maximum throughput, the resource can scale up to.

AutoscaleSettingsResponse
, AutoscaleSettingsResponseArgs

MaxThroughput int
Represents maximum throughput, the resource can scale up to.
MaxThroughput int
Represents maximum throughput, the resource can scale up to.
maxThroughput Integer
Represents maximum throughput, the resource can scale up to.
maxThroughput number
Represents maximum throughput, the resource can scale up to.
max_throughput int
Represents maximum throughput, the resource can scale up to.
maxThroughput Number
Represents maximum throughput, the resource can scale up to.

CassandraViewGetPropertiesResponseOptions
, CassandraViewGetPropertiesResponseOptionsArgs

AutoscaleSettings Pulumi.AzureNative.DocumentDB.Inputs.AutoscaleSettingsResponse
Specifies the Autoscale settings.
Throughput int
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
AutoscaleSettings AutoscaleSettingsResponse
Specifies the Autoscale settings.
Throughput int
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscaleSettings AutoscaleSettingsResponse
Specifies the Autoscale settings.
throughput Integer
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscaleSettings AutoscaleSettingsResponse
Specifies the Autoscale settings.
throughput number
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscale_settings AutoscaleSettingsResponse
Specifies the Autoscale settings.
throughput int
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
autoscaleSettings Property Map
Specifies the Autoscale settings.
throughput Number
Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.

CassandraViewGetPropertiesResponseResource
, CassandraViewGetPropertiesResponseResourceArgs

Etag This property is required. string
A system generated property representing the resource etag required for optimistic concurrency control.
Id This property is required. string
Name of the Cosmos DB Cassandra view
Rid This property is required. string
A system generated property. A unique identifier.
Ts This property is required. double
A system generated property that denotes the last updated timestamp of the resource.
ViewDefinition This property is required. string
View Definition of the Cosmos DB Cassandra view
Etag This property is required. string
A system generated property representing the resource etag required for optimistic concurrency control.
Id This property is required. string
Name of the Cosmos DB Cassandra view
Rid This property is required. string
A system generated property. A unique identifier.
Ts This property is required. float64
A system generated property that denotes the last updated timestamp of the resource.
ViewDefinition This property is required. string
View Definition of the Cosmos DB Cassandra view
etag This property is required. String
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. String
Name of the Cosmos DB Cassandra view
rid This property is required. String
A system generated property. A unique identifier.
ts This property is required. Double
A system generated property that denotes the last updated timestamp of the resource.
viewDefinition This property is required. String
View Definition of the Cosmos DB Cassandra view
etag This property is required. string
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. string
Name of the Cosmos DB Cassandra view
rid This property is required. string
A system generated property. A unique identifier.
ts This property is required. number
A system generated property that denotes the last updated timestamp of the resource.
viewDefinition This property is required. string
View Definition of the Cosmos DB Cassandra view
etag This property is required. str
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. str
Name of the Cosmos DB Cassandra view
rid This property is required. str
A system generated property. A unique identifier.
ts This property is required. float
A system generated property that denotes the last updated timestamp of the resource.
view_definition This property is required. str
View Definition of the Cosmos DB Cassandra view
etag This property is required. String
A system generated property representing the resource etag required for optimistic concurrency control.
id This property is required. String
Name of the Cosmos DB Cassandra view
rid This property is required. String
A system generated property. A unique identifier.
ts This property is required. Number
A system generated property that denotes the last updated timestamp of the resource.
viewDefinition This property is required. String
View Definition of the Cosmos DB Cassandra view

CassandraViewResource
, CassandraViewResourceArgs

Id This property is required. string
Name of the Cosmos DB Cassandra view
ViewDefinition This property is required. string
View Definition of the Cosmos DB Cassandra view
Id This property is required. string
Name of the Cosmos DB Cassandra view
ViewDefinition This property is required. string
View Definition of the Cosmos DB Cassandra view
id This property is required. String
Name of the Cosmos DB Cassandra view
viewDefinition This property is required. String
View Definition of the Cosmos DB Cassandra view
id This property is required. string
Name of the Cosmos DB Cassandra view
viewDefinition This property is required. string
View Definition of the Cosmos DB Cassandra view
id This property is required. str
Name of the Cosmos DB Cassandra view
view_definition This property is required. str
View Definition of the Cosmos DB Cassandra view
id This property is required. String
Name of the Cosmos DB Cassandra view
viewDefinition This property is required. String
View Definition of the Cosmos DB Cassandra view

CreateUpdateOptions
, CreateUpdateOptionsArgs

AutoscaleSettings Pulumi.AzureNative.DocumentDB.Inputs.AutoscaleSettings
Specifies the Autoscale settings.
Throughput int
Request Units per second. For example, "throughput": 10000.
AutoscaleSettings AutoscaleSettings
Specifies the Autoscale settings.
Throughput int
Request Units per second. For example, "throughput": 10000.
autoscaleSettings AutoscaleSettings
Specifies the Autoscale settings.
throughput Integer
Request Units per second. For example, "throughput": 10000.
autoscaleSettings AutoscaleSettings
Specifies the Autoscale settings.
throughput number
Request Units per second. For example, "throughput": 10000.
autoscale_settings AutoscaleSettings
Specifies the Autoscale settings.
throughput int
Request Units per second. For example, "throughput": 10000.
autoscaleSettings Property Map
Specifies the Autoscale settings.
throughput Number
Request Units per second. For example, "throughput": 10000.

ManagedServiceIdentity
, ManagedServiceIdentityArgs

Type Pulumi.AzureNative.DocumentDB.ResourceIdentityType
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
UserAssignedIdentities List<string>
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Type ResourceIdentityType
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
UserAssignedIdentities []string
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
type ResourceIdentityType
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
userAssignedIdentities List<String>
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
type ResourceIdentityType
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
userAssignedIdentities string[]
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
type ResourceIdentityType
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
user_assigned_identities Sequence[str]
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
type "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned" | "None"
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
userAssignedIdentities List<String>
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

ManagedServiceIdentityResponse
, ManagedServiceIdentityResponseArgs

PrincipalId This property is required. string
The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
Type string
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.DocumentDB.Inputs.ManagedServiceIdentityResponseUserAssignedIdentities>
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
PrincipalId This property is required. string
The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
TenantId This property is required. string
The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
Type string
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
UserAssignedIdentities map[string]ManagedServiceIdentityResponseUserAssignedIdentities
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId This property is required. String
The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
type String
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
userAssignedIdentities Map<String,ManagedServiceIdentityResponseUserAssignedIdentities>
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId This property is required. string
The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. string
The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
type string
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
userAssignedIdentities {[key: string]: ManagedServiceIdentityResponseUserAssignedIdentities}
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principal_id This property is required. str
The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
tenant_id This property is required. str
The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
type str
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
user_assigned_identities Mapping[str, ManagedServiceIdentityResponseUserAssignedIdentities]
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
principalId This property is required. String
The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
tenantId This property is required. String
The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
type String
The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
userAssignedIdentities Map<Property Map>
The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

ManagedServiceIdentityResponseUserAssignedIdentities
, ManagedServiceIdentityResponseUserAssignedIdentitiesArgs

ClientId This property is required. string
The client id of user assigned identity.
PrincipalId This property is required. string
The principal id of user assigned identity.
ClientId This property is required. string
The client id of user assigned identity.
PrincipalId This property is required. string
The principal id of user assigned identity.
clientId This property is required. String
The client id of user assigned identity.
principalId This property is required. String
The principal id of user assigned identity.
clientId This property is required. string
The client id of user assigned identity.
principalId This property is required. string
The principal id of user assigned identity.
client_id This property is required. str
The client id of user assigned identity.
principal_id This property is required. str
The principal id of user assigned identity.
clientId This property is required. String
The client id of user assigned identity.
principalId This property is required. String
The principal id of user assigned identity.

ResourceIdentityType
, ResourceIdentityTypeArgs

SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
None
None
ResourceIdentityTypeSystemAssigned
SystemAssigned
ResourceIdentityTypeUserAssigned
UserAssigned
ResourceIdentityType_SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
ResourceIdentityTypeNone
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
None
None
SystemAssigned
SystemAssigned
UserAssigned
UserAssigned
SystemAssigned_UserAssigned
SystemAssigned,UserAssigned
None
None
SYSTEM_ASSIGNED
SystemAssigned
USER_ASSIGNED
UserAssigned
SYSTEM_ASSIGNED_USER_ASSIGNED
SystemAssigned,UserAssigned
NONE
None
"SystemAssigned"
SystemAssigned
"UserAssigned"
UserAssigned
"SystemAssigned,UserAssigned"
SystemAssigned,UserAssigned
"None"
None

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:documentdb:CassandraResourceCassandraView viewname /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/views/{viewName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0