Edit

Share via


New-AzSecurityGcpOrganizationalDataOrganizationObject

Create an in-memory object for GcpOrganizationalDataOrganization.

Syntax

Default (Default)

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.

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

-ServiceAccountEmailAddress

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

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

-WorkloadIdentityProviderId

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

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

GcpOrganizationalDataOrganization