共用方式為


ArmComputeModelFactory.GalleryInVmAccessControlProfileProperties Method

Definition

Initializes a new instance of GalleryInVmAccessControlProfileProperties.

public static Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlProfileProperties GalleryInVmAccessControlProfileProperties (Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState = default, string description = default, Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType osType = Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType.Windows, Azure.ResourceManager.Compute.Models.ComputeGalleryEndpointType applicableHostEndpoint = Azure.ResourceManager.Compute.Models.ComputeGalleryEndpointType.WireServer);
static member GalleryInVmAccessControlProfileProperties : Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * string * Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType * Azure.ResourceManager.Compute.Models.ComputeGalleryEndpointType -> Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlProfileProperties
Public Shared Function GalleryInVmAccessControlProfileProperties (Optional provisioningState As Nullable(Of GalleryProvisioningState) = Nothing, Optional description As String = Nothing, Optional osType As SupportedOperatingSystemType = Azure.ResourceManager.Compute.Models.SupportedOperatingSystemType.Windows, Optional applicableHostEndpoint As ComputeGalleryEndpointType = Azure.ResourceManager.Compute.Models.ComputeGalleryEndpointType.WireServer) As GalleryInVmAccessControlProfileProperties

Parameters

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

description
String

The description of this gallery inVMAccessControlProfile resources. This property is updatable.

osType
SupportedOperatingSystemType

This property allows you to specify the OS type of the VMs/VMSS for which this profile can be used against. Possible values are: 'Windows' or 'Linux'.

applicableHostEndpoint
ComputeGalleryEndpointType

This property allows you to specify the Endpoint type for which this profile is defining the access control for. Possible values are: 'WireServer' or 'IMDS'.

Returns

A new GalleryInVmAccessControlProfileProperties instance for mocking.

Applies to