Modifier

Partager via


New-AzSecurityGcpOrganizationalDataOrganizationObject

Create an in-memory object for GcpOrganizationalDataOrganization.

Syntax

New-AzSecurityGcpOrganizationalDataOrganizationObject
   [-ExcludedProjectNumber <String[]>]
   [-ServiceAccountEmailAddress <String>]
   [-WorkloadIdentityProviderId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for GcpOrganizationalDataOrganization.

Examples

Example 1: Create new GcpOrganizationalDataOrganization object

New-AzSecurityGcpOrganizationalDataOrganizationObject -WorkloadIdentityProviderId "provider" -ServiceAccountEmailAddress "my@email.com" -ExcludedProjectNumber @(1,2)

ExcludedProjectNumber      : {1, 2}
OrganizationMembershipType : Organization
OrganizationName           : 
ServiceAccountEmailAddress : my@email.com
WorkloadIdentityProviderId : provider

Parameters

-ExcludedProjectNumber

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

-ServiceAccountEmailAddress

The service account email address which represents the organization level permissions container.

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

-WorkloadIdentityProviderId

The GCP workload identity provider id which represents the permissions required to auto provision security connectors.

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

Outputs

GcpOrganizationalDataOrganization