Interface SubvolumeInfo
public interface SubvolumeInfo
An immutable client-side representation of SubvolumeInfo.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SubvolumeInfo definition.static interface
The SubvolumeInfo definition stages.static interface
The template for SubvolumeInfo update.static interface
The SubvolumeInfo update stages. -
Method Summary
Modifier and TypeMethodDescriptionDescribe a subvolumegetMetadata
(com.azure.core.util.Context context) Describe a subvolumeid()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.netapp.fluent.models.SubvolumeInfoInner object.name()
Gets the name property: The name of the resource.Gets the parentPath property: namepath()
Gets the path property: pathGets the provisioningState property: Azure lifecycle management.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.size()
Gets the size property: sizecom.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.type()
Gets the type property: The type of the resource.update()
Begins update for the SubvolumeInfo resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
path
String path()Gets the path property: pathPath to the subvolume.
- Returns:
- the path value.
-
size
Long size()Gets the size property: sizeTruncate subvolume to the provided size in bytes.
- Returns:
- the size value.
-
parentPath
String parentPath()Gets the parentPath property: nameparent path to the subvolume.
- Returns:
- the parentPath value.
-
provisioningState
String provisioningState()Gets the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
SubvolumeInfoInner innerModel()Gets the inner com.azure.resourcemanager.netapp.fluent.models.SubvolumeInfoInner object.- Returns:
- the inner object.
-
update
SubvolumeInfo.Update update()Begins update for the SubvolumeInfo resource.- Returns:
- the stage of resource update.
-
refresh
SubvolumeInfo refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
getMetadata
SubvolumeModel getMetadata()Describe a subvolumeGet details of the specified subvolume.
- Returns:
- details of the specified subvolume.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMetadata
Describe a subvolumeGet details of the specified subvolume.
- Parameters:
context
- The context to associate with this operation.- Returns:
- details of the specified subvolume.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-