New-AzPurviewAzureCosmosDbDataSourceObject
Create an in-memory object for AzureCosmosDbDataSource.
Syntax
Default (Default)
New-AzPurviewAzureCosmosDbDataSourceObject
-Kind <DataSourceType>
[-AccountUri <String>]
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-Location <String>]
[-ResourceGroup <String>]
[-ResourceName <String>]
[-SubscriptionId <String>]
[<CommonParameters>]
Description
Create an in-memory object for AzureCosmosDbDataSource.
Examples
Example 1: Create Azure CosmosDB data source object
New-AzPurviewAzureCosmosDbDataSourceObject -Kind 'AzureCosmosDb' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -AccountUri 'https://cosmosd.documents.azure.com'
AccountUri : https://cosmosd.documents.azure.com
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
CreatedAt :
Id :
Kind : AzureCosmosDb
LastModifiedAt :
Location :
Name :
ResourceGroup :
ResourceName :
Scan :
SubscriptionId :
Create Azure CosmosDB data source object
Parameters
-AccountUri
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CollectionReferenceName
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CollectionType
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Kind
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: DataSourceType
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Location
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroup
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceName
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
Create an in-memory object for AzureCosmosDbDataSource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs