These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.documentdb.getMongoDBResourceMongoDBCollection
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the MongoDB collection under an existing Azure Cosmos DB database account. API Version: 2021-03-15.
Using getMongoDBResourceMongoDBCollection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMongoDBResourceMongoDBCollection(args: GetMongoDBResourceMongoDBCollectionArgs, opts?: InvokeOptions): Promise<GetMongoDBResourceMongoDBCollectionResult>
function getMongoDBResourceMongoDBCollectionOutput(args: GetMongoDBResourceMongoDBCollectionOutputArgs, opts?: InvokeOptions): Output<GetMongoDBResourceMongoDBCollectionResult>
def get_mongo_db_resource_mongo_db_collection(account_name: Optional[str] = None,
collection_name: Optional[str] = None,
database_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMongoDBResourceMongoDBCollectionResult
def get_mongo_db_resource_mongo_db_collection_output(account_name: Optional[pulumi.Input[str]] = None,
collection_name: Optional[pulumi.Input[str]] = None,
database_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMongoDBResourceMongoDBCollectionResult]
func LookupMongoDBResourceMongoDBCollection(ctx *Context, args *LookupMongoDBResourceMongoDBCollectionArgs, opts ...InvokeOption) (*LookupMongoDBResourceMongoDBCollectionResult, error)
func LookupMongoDBResourceMongoDBCollectionOutput(ctx *Context, args *LookupMongoDBResourceMongoDBCollectionOutputArgs, opts ...InvokeOption) LookupMongoDBResourceMongoDBCollectionResultOutput
> Note: This function is named LookupMongoDBResourceMongoDBCollection
in the Go SDK.
public static class GetMongoDBResourceMongoDBCollection
{
public static Task<GetMongoDBResourceMongoDBCollectionResult> InvokeAsync(GetMongoDBResourceMongoDBCollectionArgs args, InvokeOptions? opts = null)
public static Output<GetMongoDBResourceMongoDBCollectionResult> Invoke(GetMongoDBResourceMongoDBCollectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMongoDBResourceMongoDBCollectionResult> getMongoDBResourceMongoDBCollection(GetMongoDBResourceMongoDBCollectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:documentdb:getMongoDBResourceMongoDBCollection
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Cosmos DB database account name.
- Collection
Name string - Cosmos DB collection name.
- Database
Name string - Cosmos DB database name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Account
Name string - Cosmos DB database account name.
- Collection
Name string - Cosmos DB collection name.
- Database
Name string - Cosmos DB database name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- account
Name String - Cosmos DB database account name.
- collection
Name String - Cosmos DB collection name.
- database
Name String - Cosmos DB database name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- account
Name string - Cosmos DB database account name.
- collection
Name string - Cosmos DB collection name.
- database
Name string - Cosmos DB database name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- account_
name str - Cosmos DB database account name.
- collection_
name str - Cosmos DB collection name.
- database_
name str - Cosmos DB database name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- account
Name String - Cosmos DB database account name.
- collection
Name String - Cosmos DB collection name.
- database
Name String - Cosmos DB database name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getMongoDBResourceMongoDBCollection Result
The following output properties are available:
- Id string
- The unique resource identifier of the ARM resource.
- Name string
- The name of the ARM resource.
- Type string
- The type of Azure resource.
- Location string
- The location of the resource group to which the resource belongs.
- Options
Pulumi.
Azure Native. Document DB. Outputs. Mongo DBCollection Get Properties Response Options - Resource
Pulumi.
Azure Native. Document DB. Outputs. Mongo DBCollection Get Properties Response Resource - 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".
- Id string
- The unique resource identifier of the ARM resource.
- Name string
- The name of the ARM resource.
- Type string
- The type of Azure resource.
- Location string
- The location of the resource group to which the resource belongs.
- Options
Mongo
DBCollection Get Properties Response Options - Resource
Mongo
DBCollection Get Properties Response Resource - 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".
- id String
- The unique resource identifier of the ARM resource.
- name String
- The name of the ARM resource.
- type String
- The type of Azure resource.
- location String
- The location of the resource group to which the resource belongs.
- options
Mongo
DBCollection Get Properties Response Options - resource
Mongo
DBCollection Get Properties Response Resource - 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".
- id string
- The unique resource identifier of the ARM resource.
- name string
- The name of the ARM resource.
- type string
- The type of Azure resource.
- location string
- The location of the resource group to which the resource belongs.
- options
Mongo
DBCollection Get Properties Response Options - resource
Mongo
DBCollection Get Properties Response Resource - {[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".
- id str
- The unique resource identifier of the ARM resource.
- name str
- The name of the ARM resource.
- type str
- The type of Azure resource.
- location str
- The location of the resource group to which the resource belongs.
- options
Mongo
DBCollection Get Properties Response Options - resource
Mongo
DBCollection Get Properties Response Resource - 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".
- id String
- The unique resource identifier of the ARM resource.
- name String
- The name of the ARM resource.
- type String
- The type of Azure resource.
- location String
- The location of the resource group to which the resource belongs.
- options Property Map
- resource Property Map
- 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".
Supporting Types
AutoscaleSettingsResponse
- 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.
MongoDBCollectionGetPropertiesResponseOptions
- 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.
MongoDBCollectionGetPropertiesResponseResource
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB MongoDB collection
- Rid string
- A system generated property. A unique identifier.
- Ts double
- A system generated property that denotes the last updated timestamp of the resource.
- Analytical
Storage intTtl - Analytical TTL.
- Indexes
List<Pulumi.
Azure Native. Document DB. Inputs. Mongo Index Response> - List of index keys
- Dictionary<string, string>
- A key-value pair of shard keys to be applied for the request.
- Etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- Id string
- Name of the Cosmos DB MongoDB collection
- Rid string
- A system generated property. A unique identifier.
- Ts float64
- A system generated property that denotes the last updated timestamp of the resource.
- Analytical
Storage intTtl - Analytical TTL.
- Indexes
[]Mongo
Index Response - List of index keys
- map[string]string
- A key-value pair of shard keys to be applied for the request.
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB MongoDB collection
- rid String
- A system generated property. A unique identifier.
- ts Double
- A system generated property that denotes the last updated timestamp of the resource.
- analytical
Storage IntegerTtl - Analytical TTL.
- indexes
List<Mongo
Index Response> - List of index keys
- Map<String,String>
- A key-value pair of shard keys to be applied for the request.
- etag string
- A system generated property representing the resource etag required for optimistic concurrency control.
- id string
- Name of the Cosmos DB MongoDB collection
- rid string
- A system generated property. A unique identifier.
- ts number
- A system generated property that denotes the last updated timestamp of the resource.
- analytical
Storage numberTtl - Analytical TTL.
- indexes
Mongo
Index Response[] - List of index keys
- {[key: string]: string}
- A key-value pair of shard keys to be applied for the request.
- etag str
- A system generated property representing the resource etag required for optimistic concurrency control.
- id str
- Name of the Cosmos DB MongoDB collection
- rid str
- A system generated property. A unique identifier.
- ts float
- A system generated property that denotes the last updated timestamp of the resource.
- analytical_
storage_ intttl - Analytical TTL.
- indexes
Sequence[Mongo
Index Response] - List of index keys
- Mapping[str, str]
- A key-value pair of shard keys to be applied for the request.
- etag String
- A system generated property representing the resource etag required for optimistic concurrency control.
- id String
- Name of the Cosmos DB MongoDB collection
- rid String
- A system generated property. A unique identifier.
- ts Number
- A system generated property that denotes the last updated timestamp of the resource.
- analytical
Storage NumberTtl - Analytical TTL.
- indexes List<Property Map>
- List of index keys
- Map<String>
- A key-value pair of shard keys to be applied for the request.
MongoIndexKeysResponse
- Keys List<string>
- List of keys for each MongoDB collection in the Azure Cosmos DB service
- Keys []string
- List of keys for each MongoDB collection in the Azure Cosmos DB service
- keys List<String>
- List of keys for each MongoDB collection in the Azure Cosmos DB service
- keys string[]
- List of keys for each MongoDB collection in the Azure Cosmos DB service
- keys Sequence[str]
- List of keys for each MongoDB collection in the Azure Cosmos DB service
- keys List<String>
- List of keys for each MongoDB collection in the Azure Cosmos DB service
MongoIndexOptionsResponse
- Expire
After intSeconds - Expire after seconds
- Unique bool
- Is unique or not
- Expire
After intSeconds - Expire after seconds
- Unique bool
- Is unique or not
- expire
After IntegerSeconds - Expire after seconds
- unique Boolean
- Is unique or not
- expire
After numberSeconds - Expire after seconds
- unique boolean
- Is unique or not
- expire_
after_ intseconds - Expire after seconds
- unique bool
- Is unique or not
- expire
After NumberSeconds - Expire after seconds
- unique Boolean
- Is unique or not
MongoIndexResponse
- Key
Pulumi.
Azure Native. Document DB. Inputs. Mongo Index Keys Response - Cosmos DB MongoDB collection index keys
- Options
Pulumi.
Azure Native. Document DB. Inputs. Mongo Index Options Response - Cosmos DB MongoDB collection index key options
- Key
Mongo
Index Keys Response - Cosmos DB MongoDB collection index keys
- Options
Mongo
Index Options Response - Cosmos DB MongoDB collection index key options
- key
Mongo
Index Keys Response - Cosmos DB MongoDB collection index keys
- options
Mongo
Index Options Response - Cosmos DB MongoDB collection index key options
- key
Mongo
Index Keys Response - Cosmos DB MongoDB collection index keys
- options
Mongo
Index Options Response - Cosmos DB MongoDB collection index key options
- key
Mongo
Index Keys Response - Cosmos DB MongoDB collection index keys
- options
Mongo
Index Options Response - Cosmos DB MongoDB collection index key options
- key Property Map
- Cosmos DB MongoDB collection index keys
- options Property Map
- Cosmos DB MongoDB collection index key options
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi