Udostępnij za pośrednictwem


SecurityPostureReference Class

Definition

Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01

public class SecurityPostureReference
type SecurityPostureReference = class
Public Class SecurityPostureReference
Inheritance
SecurityPostureReference

Constructors

SecurityPostureReference()

Initializes a new instance of the SecurityPostureReference class.

SecurityPostureReference(String, IList<VirtualMachineExtension>)

Initializes a new instance of the SecurityPostureReference class.

Properties

ExcludeExtensions

Gets or sets list of virtual machine extensions to exclude when applying the Security Posture.

Id

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

Applies to