Condividi tramite


SecurityPostureReference Constructors

Definition

Overloads

SecurityPostureReference()

Initializes a new instance of the SecurityPostureReference class.

SecurityPostureReference(String, IList<VirtualMachineExtension>)

Initializes a new instance of the SecurityPostureReference class.

SecurityPostureReference()

Initializes a new instance of the SecurityPostureReference class.

public SecurityPostureReference ();
Public Sub New ()

Applies to

SecurityPostureReference(String, IList<VirtualMachineExtension>)

Initializes a new instance of the SecurityPostureReference class.

public SecurityPostureReference (string id = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension> excludeExtensions = default);
new Microsoft.Azure.Management.Compute.Models.SecurityPostureReference : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension> -> Microsoft.Azure.Management.Compute.Models.SecurityPostureReference
Public Sub New (Optional id As String = Nothing, Optional excludeExtensions As IList(Of VirtualMachineExtension) = Nothing)

Parameters

id
String

The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest

excludeExtensions
IList<VirtualMachineExtension>

List of virtual machine extensions to exclude when applying the Security Posture.

Applies to