New-AzPurviewAzureSubscriptionDataSourceObject
Create an in-memory object for AzureSubscriptionDataSource.
Syntax
Default (Default)
New-AzPurviewAzureSubscriptionDataSourceObject
-Kind <DataSourceType>
[-CollectionReferenceName <String>]
[-CollectionType <String>]
[-SubscriptionId <String>]
[<CommonParameters>]
Description
Create an in-memory object for AzureSubscriptionDataSource.
Examples
Example 1: Create Azure Subscription data source object
New-AzPurviewAzureSubscriptionDataSourceObject -Kind 'AzureSubscription' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -SubscriptionId '6810b9ce-82d3-4562-9658-xxxxxxxxxx'
CollectionLastModifiedAt :
CollectionReferenceName : parv-brs-2
CollectionType : CollectionReference
CreatedAt :
Id :
Kind : AzureSubscription
LastModifiedAt :
Name :
Scan :
SubscriptionId : 6810b9ce-82d3-4562-9658-xxxxxxxxxx
Create Azure Subscription data source object
Parameters
-CollectionReferenceName
Create an in-memory object for AzureSubscriptionDataSource.
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 AzureSubscriptionDataSource.
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 AzureSubscriptionDataSource.
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 |
-SubscriptionId
Create an in-memory object for AzureSubscriptionDataSource.
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.