Modifier

Partager via


New-AzSecurityDefenderForDatabasesGcpOfferingObject

Create an in-memory object for DefenderForDatabasesGcpOffering.

Syntax

New-AzSecurityDefenderForDatabasesGcpOfferingObject
   [-ArcAutoProvisioningEnabled <Boolean>]
   [-ConfigurationPrivateLinkScope <String>]
   [-ConfigurationProxy <String>]
   [-DefenderForDatabaseArcAutoProvisioningServiceAccountEmailAddress <String>]
   [-DefenderForDatabaseArcAutoProvisioningWorkloadIdentityProviderId <String>]
   [<CommonParameters>]

Description

Create an in-memory object for DefenderForDatabasesGcpOffering.

Examples

Example 1: Create new DefenderForDatabasesGcpOffering object

$emailSuffix = "myproject.iam.gserviceaccount.com"
New-AzSecurityDefenderForDatabasesGcpOfferingObject `
    -ArcAutoProvisioningEnabled $true `
    -DefenderForDatabaseArcAutoProvisioningServiceAccountEmailAddress "microsoft-databases-arc-ap@" -DefenderForDatabaseArcAutoProvisioningWorkloadIdentityProviderId "defender-for-databases-arc-ap"

ArcAutoProvisioningEnabled                                       : True
ConfigurationPrivateLinkScope                                    : 
ConfigurationProxy                                               : 
DefenderForDatabaseArcAutoProvisioningServiceAccountEmailAddress : microsoft-databases-arc-ap@
DefenderForDatabaseArcAutoProvisioningWorkloadIdentityProviderId : defender-for-databases-arc-ap
Description                                                      : 
OfferingType                                                     : DefenderForDatabasesGcp

Parameters

-ArcAutoProvisioningEnabled

Is arc auto provisioning enabled.

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

-ConfigurationPrivateLinkScope

Optional Arc private link scope resource id to link the Arc agent.

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

-ConfigurationProxy

Optional http proxy endpoint to use for the Arc agent.

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

-DefenderForDatabaseArcAutoProvisioningServiceAccountEmailAddress

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

-DefenderForDatabaseArcAutoProvisioningWorkloadIdentityProviderId

The GCP workload identity provider id for this offering.

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

Outputs

DefenderForDatabasesGcpOffering