Edit

Share via


New-AzPurviewAmazonAccountDataSourceObject

Create an in-memory object for AmazonAccountDataSource.

Syntax

Default (Default)

New-AzPurviewAmazonAccountDataSourceObject
    -Kind <DataSourceType>
    [-AwsAccountId <String>]
    [-CollectionReferenceName <String>]
    [-CollectionType <String>]
    [-RoleArn <String>]
    [<CommonParameters>]

Description

Create an in-memory object for AmazonAccountDataSource.

Examples

Example 1: Create Amazon Account data source object

New-AzPurviewAmazonAccountDataSourceObject -Kind 'AmazonAccount' -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference'
AwsAccountId             : 123456789012
CollectionLastModifiedAt :
CollectionReferenceName  : parv-brs-2
CollectionType           : CollectionReference
CreatedAt                :
Id                       :
Kind                     : AmazonAccount
LastModifiedAt           :
Name                     :
RoleArn                  :
Scan                     :

Create Amazon Account data source object

Parameters

-AwsAccountId

Create an in-memory object for AmazonAccountDataSource.

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 AmazonAccountDataSource.

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 AmazonAccountDataSource.

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 AmazonAccountDataSource.

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

-RoleArn

Create an in-memory object for AmazonAccountDataSource.

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

AmazonAccountDataSource