ArmComputeModelFactory.ComputeSecurityPostureReference Method

Definition

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

Parameters

id
ResourceIdentifier

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

excludeExtensions
IEnumerable<VirtualMachineExtensionData>

The 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 ComputeSecurityPostureReference instance for mocking.

Applies to