SnapshotSku Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SnapshotSku
- com.
public final class SnapshotSku
The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot.
Constructor Summary
Constructor | Description |
---|---|
SnapshotSku() |
Creates an instance of Snapshot |
Method Summary
Modifier and Type | Method and Description |
---|---|
Snapshot |
name()
Get the name property: The sku name. |
String |
tier()
Get the tier property: The sku tier. |
void |
validate()
Validates the instance. |
Snapshot |
withName(SnapshotStorageAccountTypes name)
Set the name property: The sku name. |
Methods inherited from java.lang.Object
Constructor Details
SnapshotSku
public SnapshotSku()
Creates an instance of SnapshotSku class.
Method Details
name
public SnapshotStorageAccountTypes name()
Get the name property: The sku name.
Returns:
tier
public String tier()
Get the tier property: The sku tier.
Returns:
validate
public void validate()
Validates the instance.
withName
public SnapshotSku withName(SnapshotStorageAccountTypes name)
Set the name property: The sku name.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för