ArmComputeFleetModelFactory.ComputeFleetSecurityPostureReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
A new ComputeFleetSecurityPostureReference instance for mocking.