你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzSecurityGcpOrganizationalDataMemberObject

Create an in-memory object for GcpOrganizationalDataMember.

Syntax

New-AzSecurityGcpOrganizationalDataMemberObject
   [-ManagementProjectNumber <String>]
   [-ParentHierarchyId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for GcpOrganizationalDataMember.

Examples

Example 1: Create new GcpOrganizationalDataMember object

New-AzSecurityGcpOrganizationalDataMemberObject -ManagementProjectNumber "12345" -ParentHierarchyId "00000"

ManagementProjectNumber OrganizationMembershipType ParentHierarchyId
----------------------- -------------------------- -----------------
12345                   Member                     00000

Parameters

-ManagementProjectNumber

The GCP management project number from organizational onboarding.

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

-ParentHierarchyId

If the multi cloud account is not of membership type organization, this will be the ID of the project's parent.

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

Outputs

GcpOrganizationalDataMember