ArmComputeFleetModelFactory.ComputeFleetSecurityPostureReference Method

Definition

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

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityPostureReference ComputeFleetSecurityPostureReference(string id = default, System.Collections.Generic.IEnumerable<string> excludeExtensions = default, bool? isOverridable = default);
static member ComputeFleetSecurityPostureReference : string * seq<string> * Nullable<bool> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSecurityPostureReference
Public Shared Function ComputeFleetSecurityPostureReference (Optional id As String = Nothing, Optional excludeExtensions As IEnumerable(Of String) = Nothing, Optional isOverridable As Nullable(Of Boolean) = Nothing) As ComputeFleetSecurityPostureReference

Parameters

id
String

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

excludeExtensions
IEnumerable<String>

List of virtual machine extension names to exclude when applying the security posture.

isOverridable
Nullable<Boolean>

Whether the security posture can be overridden by the user.

Returns

A new ComputeFleetSecurityPostureReference instance for mocking.

Applies to