GalleryInVMAccessControlProfileVersion Constructors

Definition

Overloads

GalleryInVMAccessControlProfileVersion()

Initializes a new instance of the GalleryInVMAccessControlProfileVersion class.

public GalleryInVMAccessControlProfileVersion();
Public Sub New ()

Applies to

GalleryInVMAccessControlProfileVersion(String, String, String, String, IDictionary<String,String>, ReplicationStatus, IList<TargetRegion>, Nullable<Boolean>, Nullable<DateTime>, String, String, String, AccessControlRules)

Initializes a new instance of the GalleryInVMAccessControlProfileVersion class.

public GalleryInVMAccessControlProfileVersion(string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.ReplicationStatus replicationStatus = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetLocations = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, string provisioningState = default, string mode = default, string defaultAccess = default, Microsoft.Azure.Management.Compute.Models.AccessControlRules rules = default);
new Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.ReplicationStatus * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<bool> * Nullable<DateTime> * string * string * string * Microsoft.Azure.Management.Compute.Models.AccessControlRules -> Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional replicationStatus As ReplicationStatus = Nothing, Optional targetLocations As IList(Of TargetRegion) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional mode As String = Nothing, Optional defaultAccess As String = Nothing, Optional rules As AccessControlRules = Nothing)

Parameters

location
String

The geo-location where the resource lives

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags
IDictionary<String,String>

Resource tags.

replicationStatus
ReplicationStatus

This is the replication status of the gallery image version.

targetLocations
IList<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.

publishedDate
Nullable<DateTime>

The timestamp for when the Resource Profile Version is published.

provisioningState
String

The provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

mode
String

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'. Possible values include: 'Audit', 'Enforce', 'Disabled'

defaultAccess
String

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

rules
AccessControlRules

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

Applies to

GalleryInVMAccessControlProfileVersion(String, String, String, String, String, String, IDictionary<String,String>, IList<TargetRegion>, Nullable<Boolean>, Nullable<DateTime>, String, ReplicationStatus, AccessControlRules)

Initializes a new instance of the GalleryInVMAccessControlProfileVersion class.

public GalleryInVMAccessControlProfileVersion(string location, string mode, string defaultAccess, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetLocations = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.ReplicationStatus replicationStatus = default, Microsoft.Azure.Management.Compute.Models.AccessControlRules rules = default);
new Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<bool> * Nullable<DateTime> * string * Microsoft.Azure.Management.Compute.Models.ReplicationStatus * Microsoft.Azure.Management.Compute.Models.AccessControlRules -> Microsoft.Azure.Management.Compute.Models.GalleryInVMAccessControlProfileVersion
Public Sub New (location As String, mode As String, defaultAccess As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional targetLocations As IList(Of TargetRegion) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional provisioningState As String = Nothing, Optional replicationStatus As ReplicationStatus = Nothing, Optional rules As AccessControlRules = Nothing)

Parameters

location
String

Resource location

mode
String

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'. Possible values include: 'Audit', 'Enforce', 'Disabled'

defaultAccess
String

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

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

targetLocations
IList<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.

publishedDate
Nullable<DateTime>

The timestamp for when the Resource Profile Version is published.

provisioningState
String

The provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

replicationStatus
ReplicationStatus

This is the replication status of the gallery image version.

rules
AccessControlRules

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

Applies to