ArmComputeModelFactory.GalleryInVmAccessControlProfileVersionData 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.
Initializes a new instance of GalleryInVmAccessControlProfileVersionData.
public static Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionData GalleryInVmAccessControlProfileVersionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = 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);
static member GalleryInVmAccessControlProfileVersionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * 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 -> Azure.ResourceManager.Compute.GalleryInVmAccessControlProfileVersionData
Public Shared Function GalleryInVmAccessControlProfileVersionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = 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) As GalleryInVmAccessControlProfileVersionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- targetLocations
- IEnumerable<TargetRegion>
The target regions where the Resource Profile version is going to be replicated to. This property is updatable.
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.
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'.
This is the Access Control Rules specification for an inVMAccessControlProfile version.
Returns
A new GalleryInVmAccessControlProfileVersionData instance for mocking.