共用方式為


ArmComputeModelFactory.GalleryInVmAccessControlProfileVersionPatch Method

Definition

Initializes a new instance of GalleryInVmAccessControlProfileVersionPatch.

public static Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlProfileVersionPatch GalleryInVmAccessControlProfileVersionPatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.TargetRegion> targetLocations = default, bool? excludeFromLatest = default, DateTimeOffset? publishedOn = default, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState = default, Azure.ResourceManager.Compute.Models.ReplicationStatus replicationStatus = default, Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRulesMode? mode = default, Azure.ResourceManager.Compute.Models.ComputeGalleryEndpointAccess? defaultAccess = default, Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRules rules = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member GalleryInVmAccessControlProfileVersionPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.Compute.Models.TargetRegion> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * Azure.ResourceManager.Compute.Models.ReplicationStatus * Nullable<Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRulesMode> * Nullable<Azure.ResourceManager.Compute.Models.ComputeGalleryEndpointAccess> * Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlRules * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Compute.Models.GalleryInVmAccessControlProfileVersionPatch
Public Shared Function GalleryInVmAccessControlProfileVersionPatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional targetLocations As IEnumerable(Of TargetRegion) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of GalleryProvisioningState) = Nothing, Optional replicationStatus As ReplicationStatus = Nothing, Optional mode As Nullable(Of GalleryInVmAccessControlRulesMode) = Nothing, Optional defaultAccess As Nullable(Of ComputeGalleryEndpointAccess) = Nothing, Optional rules As GalleryInVmAccessControlRules = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As GalleryInVmAccessControlProfileVersionPatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

targetLocations
IEnumerable<TargetRegion>

The target regions where the Resource Profile version is going to be replicated to. This property is updatable.

excludeFromLatest
Nullable<Boolean>

If set to true, Virtual Machines deployed from the latest version of the Resource Profile won't use this Profile version.

publishedOn
Nullable<DateTimeOffset>

The timestamp for when the Resource Profile Version is published.

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

replicationStatus
ReplicationStatus

This is the replication status of the gallery image version.

mode
Nullable<GalleryInVmAccessControlRulesMode>

This property allows you to specify whether the access control rules are in Audit mode, in Enforce mode or Disabled. Possible values are: 'Audit', 'Enforce' or 'Disabled'.

defaultAccess
Nullable<ComputeGalleryEndpointAccess>

This property allows you to specify if the requests will be allowed to access the host endpoints. Possible values are: 'Allow', 'Deny'.

rules
GalleryInVmAccessControlRules

This is the Access Control Rules specification for an inVMAccessControlProfile version.

tags
IDictionary<String,String>

Resource tags.

Returns

A new GalleryInVmAccessControlProfileVersionPatch instance for mocking.

Applies to