azure-native.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.
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",
});
});
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: nil,
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: nil,
ViewName: pulumi.String("viewname"),
})
if err != nil {
return err
}
return nil
})
}
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());
}
}
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=azure_native.documentdb.CreateUpdateOptionsArgs(),
resource=azure_native.documentdb.CassandraViewResourceArgs(
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")
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",
});
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
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 string
- The unique name of the resource.
- args CassandraResourceCassandraViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args CassandraResourceCassandraViewArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CassandraResourceCassandraViewArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.DocumentDB.Inputs.CassandraViewResourceArgs
{
Id = "string",
ViewDefinition = "string",
},
ResourceGroupName = "string",
Identity = new AzureNative.DocumentDB.Inputs.ManagedServiceIdentityArgs
{
Type = AzureNative.DocumentDB.ResourceIdentityType.SystemAssigned,
UserAssignedIdentities = new[]
{
"string",
},
},
Location = "string",
Options = new AzureNative.DocumentDB.Inputs.CreateUpdateOptionsArgs
{
AutoscaleSettings = new AzureNative.DocumentDB.Inputs.AutoscaleSettingsArgs
{
MaxThroughput = 0,
},
Throughput = 0,
},
Tags =
{
{ "string", "string" },
},
ViewName = "string",
});
example, err := documentdb.NewCassandraResourceCassandraView(ctx, "cassandraResourceCassandraViewResource", &documentdb.CassandraResourceCassandraViewArgs{
AccountName: pulumi.String("string"),
KeyspaceName: pulumi.String("string"),
Resource: &documentdb.CassandraViewResourceArgs{
Id: pulumi.String("string"),
ViewDefinition: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
Identity: &documentdb.ManagedServiceIdentityArgs{
Type: documentdb.ResourceIdentityTypeSystemAssigned,
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
Options: &documentdb.CreateUpdateOptionsArgs{
AutoscaleSettings: &documentdb.AutoscaleSettingsArgs{
MaxThroughput: pulumi.Int(0),
},
Throughput: pulumi.Int(0),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ViewName: pulumi.String("string"),
})
var cassandraResourceCassandraViewResource = new CassandraResourceCassandraView("cassandraResourceCassandraViewResource", CassandraResourceCassandraViewArgs.builder()
.accountName("string")
.keyspaceName("string")
.resource(CassandraViewResourceArgs.builder()
.id("string")
.viewDefinition("string")
.build())
.resourceGroupName("string")
.identity(ManagedServiceIdentityArgs.builder()
.type("SystemAssigned")
.userAssignedIdentities("string")
.build())
.location("string")
.options(CreateUpdateOptionsArgs.builder()
.autoscaleSettings(AutoscaleSettingsArgs.builder()
.maxThroughput(0)
.build())
.throughput(0)
.build())
.tags(Map.of("string", "string"))
.viewName("string")
.build());
cassandra_resource_cassandra_view_resource = azure_native.documentdb.CassandraResourceCassandraView("cassandraResourceCassandraViewResource",
account_name="string",
keyspace_name="string",
resource=azure_native.documentdb.CassandraViewResourceArgs(
id="string",
view_definition="string",
),
resource_group_name="string",
identity=azure_native.documentdb.ManagedServiceIdentityArgs(
type=azure_native.documentdb.ResourceIdentityType.SYSTEM_ASSIGNED,
user_assigned_identities=["string"],
),
location="string",
options=azure_native.documentdb.CreateUpdateOptionsArgs(
autoscale_settings=azure_native.documentdb.AutoscaleSettingsArgs(
max_throughput=0,
),
throughput=0,
),
tags={
"string": "string",
},
view_name="string")
const cassandraResourceCassandraViewResource = new azure_native.documentdb.CassandraResourceCassandraView("cassandraResourceCassandraViewResource", {
accountName: "string",
keyspaceName: "string",
resource: {
id: "string",
viewDefinition: "string",
},
resourceGroupName: "string",
identity: {
type: azure_native.documentdb.ResourceIdentityType.SystemAssigned,
userAssignedIdentities: ["string"],
},
location: "string",
options: {
autoscaleSettings: {
maxThroughput: 0,
},
throughput: 0,
},
tags: {
string: "string",
},
viewName: "string",
});
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
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
The CassandraResourceCassandraView resource accepts the following input properties:
- Account
Name string - Cosmos DB database account name.
- Keyspace
Name string - Cosmos DB keyspace name.
- Resource
Pulumi.
Azure Native. Document DB. Inputs. Cassandra View Resource - The standard JSON format of a Cassandra view
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Identity
Pulumi.
Azure Native. Document DB. Inputs. Managed Service Identity - Identity for the resource.
- Location string
- The location of the resource group to which the resource belongs.
- Options
Pulumi.
Azure Native. Document DB. Inputs. Create Update Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- View
Name string - Cosmos DB view name.
- Account
Name string - Cosmos DB database account name.
- Keyspace
Name string - Cosmos DB keyspace name.
- Resource
Cassandra
View Resource Args - The standard JSON format of a Cassandra view
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Identity
Managed
Service Identity Args - Identity for the resource.
- Location string
- The location of the resource group to which the resource belongs.
- Options
Create
Update Options Args - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- View
Name string - Cosmos DB view name.
- account
Name String - Cosmos DB database account name.
- keyspace
Name String - Cosmos DB keyspace name.
- resource
Cassandra
View Resource - The standard JSON format of a Cassandra view
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity - Identity for the resource.
- location String
- The location of the resource group to which the resource belongs.
- options
Create
Update Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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".
- view
Name String - Cosmos DB view name.
- account
Name string - Cosmos DB database account name.
- keyspace
Name string - Cosmos DB keyspace name.
- resource
Cassandra
View Resource - The standard JSON format of a Cassandra view
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity - Identity for the resource.
- location string
- The location of the resource group to which the resource belongs.
- options
Create
Update Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- {[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".
- view
Name string - Cosmos DB view name.
- account_
name str - Cosmos DB database account name.
- keyspace_
name str - Cosmos DB keyspace name.
- resource
Cassandra
View Resource Args - The standard JSON format of a Cassandra view
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- identity
Managed
Service Identity Args - Identity for the resource.
- location str
- The location of the resource group to which the resource belongs.
- options
Create
Update Options Args - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
- 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 str - Cosmos DB view name.
- account
Name String - Cosmos DB database account name.
- keyspace
Name String - Cosmos DB keyspace name.
- resource Property Map
- The standard JSON format of a Cassandra view
- resource
Group StringName - 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.
- 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".
- view
Name String - Cosmos DB view name.
Outputs
All input properties are implicitly available as output properties. Additionally, the CassandraResourceCassandraView resource produces the following output properties:
Supporting Types
AutoscaleSettings, AutoscaleSettingsArgs
- Max
Throughput int - Represents maximum throughput, the resource can scale up to.
- Max
Throughput int - Represents maximum throughput, the resource can scale up to.
- max
Throughput Integer - Represents maximum throughput, the resource can scale up to.
- max
Throughput number - Represents maximum throughput, the resource can scale up to.
- max_
throughput int - Represents maximum throughput, the resource can scale up to.
- max
Throughput Number - Represents maximum throughput, the resource can scale up to.
AutoscaleSettingsResponse, AutoscaleSettingsResponseArgs
- Max
Throughput int - Represents maximum throughput, the resource can scale up to.
- Max
Throughput int - Represents maximum throughput, the resource can scale up to.
- max
Throughput Integer - Represents maximum throughput, the resource can scale up to.
- max
Throughput number - Represents maximum throughput, the resource can scale up to.
- max_
throughput int - Represents maximum throughput, the resource can scale up to.
- max
Throughput Number - Represents maximum throughput, the resource can scale up to.
CassandraViewGetPropertiesResponseOptions, CassandraViewGetPropertiesResponseOptionsArgs
- Autoscale
Settings Pulumi.Azure Native. Document DB. Inputs. Autoscale Settings Response - Specifies the Autoscale settings.
- Throughput int
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- Autoscale
Settings AutoscaleSettings Response - Specifies the Autoscale settings.
- Throughput int
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscale
Settings AutoscaleSettings Response - Specifies the Autoscale settings.
- throughput Integer
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscale
Settings AutoscaleSettings Response - 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 AutoscaleSettings Response - Specifies the Autoscale settings.
- throughput int
- Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
- autoscale
Settings 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 string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB Cassandra view
- Rid string
- A system generated property. A unique identifier.
- Ts double
- A system generated property that denotes the last updated timestamp of the resource.
- View
Definition string - View Definition of the Cosmos DB Cassandra view
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB Cassandra view
- Rid string
- A system generated property. A unique identifier.
- Ts float64
- A system generated property that denotes the last updated timestamp of the resource.
- View
Definition string - View Definition of the Cosmos DB Cassandra view
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB Cassandra view
- rid String
- A system generated property. A unique identifier.
- ts Double
- A system generated property that denotes the last updated timestamp of the resource.
- view
Definition String - View Definition of the Cosmos DB Cassandra view
- etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- id string
- Name of the Cosmos DB Cassandra view
- rid string
- A system generated property. A unique identifier.
- ts number
- A system generated property that denotes the last updated timestamp of the resource.
- view
Definition string - View Definition of the Cosmos DB Cassandra view
- etag str
- A system generated property representing the resource etag required for optimistic concurrency control.
- id str
- Name of the Cosmos DB Cassandra view
- rid str
- A system generated property. A unique identifier.
- ts float
- A system generated property that denotes the last updated timestamp of the resource.
- view_
definition str - View Definition of the Cosmos DB Cassandra view
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB Cassandra view
- rid String
- A system generated property. A unique identifier.
- ts Number
- A system generated property that denotes the last updated timestamp of the resource.
- view
Definition String - View Definition of the Cosmos DB Cassandra view
CassandraViewResource, CassandraViewResourceArgs
- Id string
- Name of the Cosmos DB Cassandra view
- View
Definition string - View Definition of the Cosmos DB Cassandra view
- Id string
- Name of the Cosmos DB Cassandra view
- View
Definition string - View Definition of the Cosmos DB Cassandra view
- id String
- Name of the Cosmos DB Cassandra view
- view
Definition String - View Definition of the Cosmos DB Cassandra view
- id string
- Name of the Cosmos DB Cassandra view
- view
Definition string - View Definition of the Cosmos DB Cassandra view
- id str
- Name of the Cosmos DB Cassandra view
- view_
definition str - View Definition of the Cosmos DB Cassandra view
- id String
- Name of the Cosmos DB Cassandra view
- view
Definition String - View Definition of the Cosmos DB Cassandra view
CreateUpdateOptions, CreateUpdateOptionsArgs
- Autoscale
Settings Pulumi.Azure Native. Document DB. Inputs. Autoscale Settings - Specifies the Autoscale settings.
- Throughput int
- 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.
- autoscale
Settings AutoscaleSettings - Specifies the Autoscale settings.
- throughput Integer
- Request Units per second. For example, "throughput": 10000.
- autoscale
Settings 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.
- autoscale
Settings Property Map - Specifies the Autoscale settings.
- throughput Number
- Request Units per second. For example, "throughput": 10000.
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
Pulumi.
Azure Native. Document DB. Resource Identity Type - 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 List<string>Identities - 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
Resource
Identity Type - 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 []stringIdentities - 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
Resource
Identity Type - 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 List<String>Identities - 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
Resource
Identity Type - 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 string[]Identities - 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
Resource
Identity Type - 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_ Sequence[str]identities - 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
"System
Assigned" | "User Assigned" | "System Assigned,User Assigned" | "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.
- user
Assigned List<String>Identities - 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
- Principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Document DB. Inputs. Managed Service Identity Response User Assigned Identities> - 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 string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned map[string]ManagedIdentities Service Identity Response User Assigned Identities - 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 String - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<String,ManagedIdentities Service Identity Response User Assigned Identities> - 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 string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned {[key: string]: ManagedIdentities Service Identity Response User Assigned Identities} - 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 str - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id 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_ Mapping[str, Managedidentities Service Identity Response User Assigned Identities] - 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 String - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<Property Map>Identities - 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
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id string - The principal id of user assigned identity.
- client_
id str - The client id of user assigned identity.
- principal_
id str - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
ResourceIdentityType, ResourceIdentityTypeArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0