DiskAccessInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. DiskAccessInner
- com.
- com.
- com.
public final class DiskAccessInner
extends Resource
disk access resource.
Constructor Summary
Constructor | Description |
---|---|
DiskAccessInner() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Extended |
extendedLocation()
Get the extended |
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
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<Private |
privateEndpointConnections()
Get the private |
String |
provisioningState()
Get the provisioning |
Offset |
timeCreated()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Disk |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Disk |
withLocation(String location) |
Disk |
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:
fromJson
public static DiskAccessInner fromJson(JsonReader jsonReader)
Reads an instance of DiskAccessInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DiskAccessInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DiskAccessInner.name()Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The disk access resource provisioning state.
Returns:
timeCreated
public OffsetDateTime timeCreated()
Get the timeCreated property: The time when the disk access was created.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiskAccessInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DiskAccessInner.type()Returns:
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:
Returns:
withLocation
public DiskAccessInner withLocation(String location)
Overrides:
DiskAccessInner.withLocation(String location)Parameters:
withTags
public DiskAccessInner withTags(Map
Overrides:
DiskAccessInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java