RestorePointCollectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. RestorePointCollectionInner
- com.
- com.
- com.
public final class RestorePointCollectionInner
extends Resource
Create or update Restore Point collection parameters.
Constructor Summary
| Constructor | Description |
|---|---|
| RestorePointCollectionInner() |
Creates an instance of Restore |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
instantAccess()
Get the instant |
| String |
name()
Get the name property: The name of the resource. |
| String |
provisioningState()
Get the provisioning |
| String |
restorePointCollectionId()
Get the restore |
|
List<Restore |
restorePoints()
Get the restore |
|
Restore |
source()
Get the source property: The properties of the source resource that this restore point collection is created from. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Restore |
withInstantAccess(Boolean instantAccess)
Set the instant |
|
Restore |
withLocation(String location) |
|
Restore |
withSource(RestorePointCollectionSourceProperties source)
Set the source property: The properties of the source resource that this restore point collection is created from. |
|
Restore |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
RestorePointCollectionInner
public RestorePointCollectionInner()
Creates an instance of RestorePointCollectionInner class.
Method Details
fromJson
public static RestorePointCollectionInner fromJson(JsonReader jsonReader)
Reads an instance of RestorePointCollectionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RestorePointCollectionInner.id()Returns:
instantAccess
public Boolean instantAccess()
Get the instantAccess property: This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RestorePointCollectionInner.name()Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state of the restore point collection.
Returns:
restorePointCollectionId
public String restorePointCollectionId()
Get the restorePointCollectionId property: The unique id of the restore point collection.
Returns:
restorePoints
public List<RestorePointInner> restorePoints()
Get the restorePoints property: A list containing all restore points created under this restore point collection.
Returns:
source
public RestorePointCollectionSourceProperties source()
Get the source property: The properties of the source resource that this restore point collection is created from.
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:
RestorePointCollectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RestorePointCollectionInner.type()Returns:
validate
public void validate()
Validates the instance.
withInstantAccess
public RestorePointCollectionInner withInstantAccess(Boolean instantAccess)
Set the instantAccess property: This property determines whether instant access snapshot is enabled for restore points created under this restore point collection for Premium SSD v2 or Ultra disk. Instant access snapshot for Premium SSD v2 or Ultra disk is instantaneously available for restoring disk with fast restore performance.
Parameters:
Returns:
withLocation
public RestorePointCollectionInner withLocation(String location)
Overrides:
RestorePointCollectionInner.withLocation(String location)Parameters:
withSource
public RestorePointCollectionInner withSource(RestorePointCollectionSourceProperties source)
Set the source property: The properties of the source resource that this restore point collection is created from.
Parameters:
Returns:
withTags
public RestorePointCollectionInner withTags(Map<String,String> tags)
Overrides:
RestorePointCollectionInner.withTags(Map<String,String> tags)Parameters: