編輯

共用方式為


New-AzSecurityAwsOrganizationalDataMasterObject

Create an in-memory object for AwsOrganizationalDataMaster.

Syntax

New-AzSecurityAwsOrganizationalDataMasterObject
   [-ExcludedAccountId <String[]>]
   [-StacksetName <String>]
   [<CommonParameters>]

Description

Create an in-memory object for AwsOrganizationalDataMaster.

Examples

Example 1: Create new AwsOrganizationalDataMaster object

New-AzSecurityAwsOrganizationalDataMasterObject -StacksetName "myAwsStackSet" -ExcludedAccountId "123456789012"

ExcludedAccountId OrganizationMembershipType StacksetName
----------------- -------------------------- ------------
{123456789012}    Organization               myAwsStackSet

Parameters

-ExcludedAccountId

If the multi cloud account is of membership type organization, list of accounts excluded from offering.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-StacksetName

If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

AwsOrganizationalDataMaster