VolumeInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. networkcloud. fluent. models. VolumeInner
- com.
- com.
- com.
public final class VolumeInner
extends Resource
Volume represents storage made available for use by resources running on the cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| VolumeInner() |
Creates an instance of Volume |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
allocatedSizeMiB()
Get the allocated |
| String |
assignedStorageApplianceId()
Get the assigned |
| List<String> |
attachedTo()
Get the attached |
|
Volume |
detailedStatus()
Get the detailed |
| String |
detailedStatusMessage()
Get the detailed |
| String |
etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. |
|
Extended |
extendedLocation()
Get the extended |
|
static
Volume |
fromJson(JsonReader jsonReader)
Reads an instance of Volume |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Volume |
provisioningState()
Get the provisioning |
| String |
serialNumber()
Get the serial |
| long |
sizeMiB()
Get the size |
| String |
storageApplianceId()
Get the storage |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Volume |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
|
Volume |
withLocation(String location) |
|
Volume |
withSizeMiB(long sizeMiB)
Set the size |
|
Volume |
withStorageApplianceId(String storageApplianceId)
Set the storage |
|
Volume |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VolumeInner
public VolumeInner()
Creates an instance of VolumeInner class.
Method Details
allocatedSizeMiB
public Long allocatedSizeMiB()
Get the allocatedSizeMiB property: The allocated size of the volume in Mebibytes.
Returns:
assignedStorageApplianceId
public String assignedStorageApplianceId()
Get the assignedStorageApplianceId property: The assigned resource ID of the storage appliance that hosts the volume.
Returns:
attachedTo
public List<String> attachedTo()
Get the attachedTo property: The list of resource IDs that attach the volume. It may include virtual machines and Hybrid AKS clusters.
Returns:
detailedStatus
public VolumeDetailedStatus detailedStatus()
Get the detailedStatus property: The more detailed status of the volume.
Returns:
detailedStatusMessage
public String detailedStatusMessage()
Get the detailedStatusMessage property: The descriptive message about the current detailed status.
Returns:
etag
public String etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
Returns:
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location of the resource. This property is required when creating the resource.
Returns:
fromJson
public static VolumeInner fromJson(JsonReader jsonReader)
Reads an instance of VolumeInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VolumeInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VolumeInner.name()Returns:
provisioningState
public VolumeProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the volume.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: The unique identifier of the volume.
Returns:
sizeMiB
public long sizeMiB()
Get the sizeMiB property: The requested storage allocation for the volume in Mebibytes.
Returns:
storageApplianceId
public String storageApplianceId()
Get the storageApplianceId property: The resource ID of the storage appliance that hosts the volume.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VolumeInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VolumeInner.type()Returns:
withExtendedLocation
public VolumeInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location of the resource. This property is required when creating the resource.
Parameters:
Returns:
withLocation
public VolumeInner withLocation(String location)
Overrides:
VolumeInner.withLocation(String location)Parameters:
withSizeMiB
public VolumeInner withSizeMiB(long sizeMiB)
Set the sizeMiB property: The requested storage allocation for the volume in Mebibytes.
Parameters:
Returns:
withStorageApplianceId
public VolumeInner withStorageApplianceId(String storageApplianceId)
Set the storageApplianceId property: The resource ID of the storage appliance that hosts the volume.
Parameters:
Returns:
withTags
public VolumeInner withTags(Map<String,String> tags)
Overrides:
VolumeInner.withTags(Map<String,String> tags)Parameters: