Share via


DiskAccess Constructors

Definition

Overloads

DiskAccess()

Initializes a new instance of the DiskAccess class.

DiskAccess(String, String, String, String, IDictionary<String, String>, IList<PrivateEndpointConnection>, String, Nullable<DateTime>, ExtendedLocation)

Initializes a new instance of the DiskAccess class.

DiskAccess()

Initializes a new instance of the DiskAccess class.

public DiskAccess ();
Public Sub New ()

Applies to

DiskAccess(String, String, String, String, IDictionary<String, String>, IList<PrivateEndpointConnection>, String, Nullable<DateTime>, ExtendedLocation)

Initializes a new instance of the DiskAccess class.

public DiskAccess (string location, 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.PrivateEndpointConnection> privateEndpointConnections = default, string provisioningState = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default);
new Microsoft.Azure.Management.Compute.Models.DiskAccess : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.PrivateEndpointConnection> * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.ExtendedLocation -> Microsoft.Azure.Management.Compute.Models.DiskAccess
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 privateEndpointConnections As IList(Of PrivateEndpointConnection) = Nothing, Optional provisioningState As String = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing)

Parameters

location
String

Resource location

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

privateEndpointConnections
IList<PrivateEndpointConnection>

A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.

provisioningState
String

The disk access resource provisioning state.

timeCreated
Nullable<DateTime>

The time when the disk access was created.

extendedLocation
ExtendedLocation

The extended location where the disk access will be created. Extended location cannot be changed.

Applies to