Upravit

Sdílet prostřednictvím


New-AzSecurityCspmMonitorGcpOfferingObject

Create an in-memory object for CspmMonitorGcpOffering.

Syntax

New-AzSecurityCspmMonitorGcpOfferingObject
   [-NativeCloudConnectionServiceAccountEmailAddress <String>]
   [-NativeCloudConnectionWorkloadIdentityProviderId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for CspmMonitorGcpOffering.

Examples

Example 1: Create new CspmMonitorGcpOffering object

New-AzSecurityCspmMonitorGcpOfferingObject -NativeCloudConnectionServiceAccountEmailAddress "microsoft-defender-cspm@asc-sdk-samples.iam.gserviceaccount.com" -NativeCloudConnectionWorkloadIdentityProviderId "cspm"

Description NativeCloudConnectionServiceAccountEmailAddress                 NativeCloudConnectionWorkloadIdentityProviderId OfferingType
----------- -----------------------------------------------                 ----------------------------------------------- ------------
            microsoft-defender-cspm@asc-sdk-samples.iam.gserviceaccount.com cspm                                            CspmMonitorGcp

Parameters

-NativeCloudConnectionServiceAccountEmailAddress

The service account email address in GCP for this offering.

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

-NativeCloudConnectionWorkloadIdentityProviderId

The GCP workload identity provider id for the offering.

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

Outputs

CspmMonitorGcpOffering