### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.DiskSku"
fullName: "com.azure.resourcemanager.compute.models.DiskSku"
name: "DiskSku"
nameWithType: "DiskSku"
summary: "The disks sku name."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **DiskSku** implements <>"
constructors:
- uid: "com.azure.resourcemanager.compute.models.DiskSku.DiskSku()"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.DiskSku()"
name: "DiskSku()"
nameWithType: "DiskSku.DiskSku()"
summary: "Creates an instance of DiskSku class."
syntax: "public DiskSku()"
desc: "Creates an instance of DiskSku class."
methods:
- uid: "com.azure.resourcemanager.compute.models.DiskSku.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DiskSku.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of DiskSku from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static DiskSku fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the DiskSku."
type: "IOException"
desc: "Reads an instance of DiskSku from the JsonReader."
returns:
description: "An instance of DiskSku if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: ""
- uid: "com.azure.resourcemanager.compute.models.DiskSku.name()"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.name()"
name: "name()"
nameWithType: "DiskSku.name()"
summary: "Get the name property: The sku name."
syntax: "public DiskStorageAccountTypes name()"
desc: "Get the name property: The sku name."
returns:
description: "the name value."
type: ""
- uid: "com.azure.resourcemanager.compute.models.DiskSku.tier()"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.tier()"
name: "tier()"
nameWithType: "DiskSku.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: "String"
- uid: "com.azure.resourcemanager.compute.models.DiskSku.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DiskSku.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.compute.models.DiskSku.validate()"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.validate()"
name: "validate()"
nameWithType: "DiskSku.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.DiskSku.withName(com.azure.resourcemanager.compute.models.DiskStorageAccountTypes)"
fullName: "com.azure.resourcemanager.compute.models.DiskSku.withName(DiskStorageAccountTypes name)"
name: "withName(DiskStorageAccountTypes name)"
nameWithType: "DiskSku.withName(DiskStorageAccountTypes name)"
summary: "Set the name property: The sku name."
parameters:
- description: "the name value to set."
name: "name"
type: ""
syntax: "public DiskSku withName(DiskStorageAccountTypes name)"
desc: "Set the name property: The sku name."
returns:
description: "the DiskSku object itself."
type: ""
type: "class"
desc: "The disks sku name. Can be Standard\\_LRS, Premium\\_LRS, StandardSSD\\_LRS, UltraSSD\\_LRS, Premium\\_ZRS, StandardSSD\\_ZRS, or PremiumV2\\_LRS."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0