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