azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

112 строки
7.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.SnapshotSku"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku"
name: "SnapshotSku"
nameWithType: "SnapshotSku"
summary: "The snapshots sku name."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **SnapshotSku**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.SnapshotSku?alt=com.azure.resourcemanager.compute.models.SnapshotSku&text=SnapshotSku\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.SnapshotSku()"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.SnapshotSku()"
name: "SnapshotSku()"
nameWithType: "SnapshotSku.SnapshotSku()"
summary: "Creates an instance of Snapshot<wbr>Sku class."
syntax: "public SnapshotSku()"
desc: "Creates an instance of SnapshotSku class."
methods:
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SnapshotSku.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Snapshot<wbr>Sku from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SnapshotSku fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SnapshotSku."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SnapshotSku from the JsonReader."
returns:
description: "An instance of SnapshotSku if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SnapshotSku?alt=com.azure.resourcemanager.compute.models.SnapshotSku&text=SnapshotSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.name()"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.name()"
name: "name()"
nameWithType: "SnapshotSku.name()"
summary: "Get the name property: The sku name."
syntax: "public SnapshotStorageAccountTypes name()"
desc: "Get the name property: The sku name."
returns:
description: "the name value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SnapshotStorageAccountTypes?alt=com.azure.resourcemanager.compute.models.SnapshotStorageAccountTypes&text=SnapshotStorageAccountTypes\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.tier()"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.tier()"
name: "tier()"
nameWithType: "SnapshotSku.tier()"
summary: "Get the tier property: The sku tier."
syntax: "public String tier()"
desc: "Get the tier property: The sku tier."
returns:
description: "the tier value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SnapshotSku.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.validate()"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.validate()"
name: "validate()"
nameWithType: "SnapshotSku.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.SnapshotSku.withName(com.azure.resourcemanager.compute.models.SnapshotStorageAccountTypes)"
fullName: "com.azure.resourcemanager.compute.models.SnapshotSku.withName(SnapshotStorageAccountTypes name)"
name: "withName(SnapshotStorageAccountTypes name)"
nameWithType: "SnapshotSku.withName(SnapshotStorageAccountTypes name)"
summary: "Set the name property: The sku name."
parameters:
- description: "the name value to set."
name: "name"
type: "<xref href=\"com.azure.resourcemanager.compute.models.SnapshotStorageAccountTypes?alt=com.azure.resourcemanager.compute.models.SnapshotStorageAccountTypes&text=SnapshotStorageAccountTypes\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SnapshotSku withName(SnapshotStorageAccountTypes name)"
desc: "Set the name property: The sku name."
returns:
description: "the SnapshotSku object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.SnapshotSku?alt=com.azure.resourcemanager.compute.models.SnapshotSku&text=SnapshotSku\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "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."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.models.SnapshotSku?alt=com.azure.resourcemanager.compute.models.SnapshotSku&text=SnapshotSku\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0