Edit

Share via


New-AzSecurityDefenderForServersGcpOfferingObject

Create an in-memory object for DefenderForServersGcpOffering.

Syntax

Default (Default)

New-AzSecurityDefenderForServersGcpOfferingObject
    [-ArcAutoProvisioningEnabled <Boolean>]
    [-ConfigurationExclusionTag <IDefenderForServersGcpOfferingVMScannersConfigurationExclusionTags>]
    [-ConfigurationPrivateLinkScope <String>]
    [-ConfigurationProxy <String>]
    [-ConfigurationScanningMode <String>]
    [-ConfigurationType <String>]
    [-DefenderForServerServiceAccountEmailAddress <String>]
    [-DefenderForServerWorkloadIdentityProviderId <String>]
    [-MdeAutoProvisioningConfiguration <IAny>]
    [-MdeAutoProvisioningEnabled <Boolean>]
    [-SubPlanType <String>]
    [-VMScannerEnabled <Boolean>]
    [-VaAutoProvisioningEnabled <Boolean>]
    [<CommonParameters>]

Description

Create an in-memory object for DefenderForServersGcpOffering.

Examples

Example 1: Create new DefenderForServersGcpOffering object

$emailSuffix = "myproject.iam.gserviceaccount.com"
New-AzSecurityDefenderForServersGcpOfferingObject `
    -DefenderForServerServiceAccountEmailAddress "microsoft-defender-for-servers@$emailSuffix" -DefenderForServerWorkloadIdentityProviderId "defender-for-servers" `
    -ArcAutoProvisioningEnabled $true -MdeAutoProvisioningEnabled $true -VaAutoProvisioningEnabled $true -ConfigurationType TVM `
    -VMScannerEnabled $true -ConfigurationScanningMode Default `
    -SubPlanType P2
ArcAutoProvisioningEnabled                  : True
ConfigurationExclusionTag                   : {
                                              }
ConfigurationPrivateLinkScope               :
ConfigurationProxy                          :
ConfigurationScanningMode                   : Default
ConfigurationType                           : TVM
DefenderForServerServiceAccountEmailAddress : microsoft-defender-for-servers@myproject.iam.gserviceaccount.com
DefenderForServerWorkloadIdentityProviderId : defender-for-servers
Description                                 :
MdeAutoProvisioningConfiguration            : {
                                              }
MdeAutoProvisioningEnabled                  : True
OfferingType                                : DefenderForServersGcp
SubPlanType                                 : P2
VMScannerEnabled                            : True
VaAutoProvisioningEnabled                   : True

Parameters

-ArcAutoProvisioningEnabled

Is arc auto provisioning enabled.

Parameter properties

Type:Boolean
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

-ConfigurationExclusionTag

VM tags that indicate that VM should not be scanned.

Parameter properties

Type:IDefenderForServersGcpOfferingVMScannersConfigurationExclusionTags
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

-ConfigurationPrivateLinkScope

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

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

-ConfigurationProxy

Optional HTTP proxy endpoint to use for the Arc agent.

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

-ConfigurationScanningMode

The scanning mode for the VM scan.

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

-ConfigurationType

The Vulnerability Assessment solution to be provisioned. Can be either 'TVM' or 'Qualys'.

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

-DefenderForServerServiceAccountEmailAddress

The service account email address in GCP for this feature.

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

-DefenderForServerWorkloadIdentityProviderId

The workload identity provider id in GCP for this feature.

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

-MdeAutoProvisioningConfiguration

configuration for Microsoft Defender for Endpoint autoprovisioning.

Parameter properties

Type:IAny
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

-MdeAutoProvisioningEnabled

Is Microsoft Defender for Endpoint auto provisioning enabled.

Parameter properties

Type:Boolean
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

-SubPlanType

The available sub plans.

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

-VaAutoProvisioningEnabled

Is Vulnerability Assessment auto provisioning enabled.

Parameter properties

Type:Boolean
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

-VMScannerEnabled

Is Microsoft Defender for Server VM scanning enabled.

Parameter properties

Type:Boolean
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

DefenderForServersGcpOffering