Modifier

Partager via


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