ArmComputeModelFactory.ComputeSecurityPostureReference 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.
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
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.
Returns
A new ComputeSecurityPostureReference instance for mocking.