Partager via


DiskAccessInner Class

public final class DiskAccessInner
extends Resource

disk access resource.

Constructor Summary

Constructor Description
DiskAccessInner()

Creates an instance of DiskAccessInner class.

Method Summary

Modifier and Type Method and Description
ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location where the disk access will be created.

static DiskAccessInner fromJson(JsonReader jsonReader)

Reads an instance of DiskAccessInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: A readonly collection of private endpoint connections created on the disk.

String provisioningState()

Get the provisioningState property: The disk access resource provisioning state.

OffsetDateTime timeCreated()

Get the timeCreated property: The time when the disk access was created.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DiskAccessInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location where the disk access will be created.

DiskAccessInner withLocation(String location)
DiskAccessInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

DiskAccessInner

public DiskAccessInner()

Creates an instance of DiskAccessInner class.

Method Details

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location where the disk access will be created. Extended location cannot be changed.

Returns:

the extendedLocation value.

fromJson

public static DiskAccessInner fromJson(JsonReader jsonReader)

Reads an instance of DiskAccessInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DiskAccessInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DiskAccessInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DiskAccessInner.name()

Returns:

the name value.

privateEndpointConnections

public List privateEndpointConnections()

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

Returns:

the privateEndpointConnections value.

provisioningState

public String provisioningState()

Get the provisioningState property: The disk access resource provisioning state.

Returns:

the provisioningState value.

timeCreated

public OffsetDateTime timeCreated()

Get the timeCreated property: The time when the disk access was created.

Returns:

the timeCreated value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DiskAccessInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DiskAccessInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withExtendedLocation

public DiskAccessInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location where the disk access will be created. Extended location cannot be changed.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the DiskAccessInner object itself.

withLocation

public DiskAccessInner withLocation(String location)

Overrides:

DiskAccessInner.withLocation(String location)

Parameters:

location

withTags

public DiskAccessInner withTags(Map tags)

Overrides:

DiskAccessInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to