222 строки
12 KiB
YAML
222 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.resources.models.Sku"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku"
|
|
name: "Sku"
|
|
nameWithType: "Sku"
|
|
summary: "SKU for the resource."
|
|
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 **Sku**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.Sku()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.Sku()"
|
|
name: "Sku()"
|
|
nameWithType: "Sku.Sku()"
|
|
summary: "Creates an instance of Sku class."
|
|
syntax: "public Sku()"
|
|
desc: "Creates an instance of Sku class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.capacity()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.capacity()"
|
|
name: "capacity()"
|
|
nameWithType: "Sku.capacity()"
|
|
summary: "Get the capacity property: The SKU capacity."
|
|
syntax: "public Integer capacity()"
|
|
desc: "Get the capacity property: The SKU capacity."
|
|
returns:
|
|
description: "the capacity value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.family()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.family()"
|
|
name: "family()"
|
|
nameWithType: "Sku.family()"
|
|
summary: "Get the family property: The SKU family."
|
|
syntax: "public String family()"
|
|
desc: "Get the family property: The SKU family."
|
|
returns:
|
|
description: "the family value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "Sku.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of 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 Sku fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the Sku."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of Sku from the JsonReader."
|
|
returns:
|
|
description: "An instance of Sku if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.model()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.model()"
|
|
name: "model()"
|
|
nameWithType: "Sku.model()"
|
|
summary: "Get the model property: The SKU model."
|
|
syntax: "public String model()"
|
|
desc: "Get the model property: The SKU model."
|
|
returns:
|
|
description: "the model value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.name()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.name()"
|
|
name: "name()"
|
|
nameWithType: "Sku.name()"
|
|
summary: "Get the name property: The SKU name."
|
|
syntax: "public String name()"
|
|
desc: "Get the name property: The SKU name."
|
|
returns:
|
|
description: "the name value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.size()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.size()"
|
|
name: "size()"
|
|
nameWithType: "Sku.size()"
|
|
summary: "Get the size property: The SKU size."
|
|
syntax: "public String size()"
|
|
desc: "Get the size property: The SKU size."
|
|
returns:
|
|
description: "the size value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.tier()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.tier()"
|
|
name: "tier()"
|
|
nameWithType: "Sku.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.resources.models.Sku.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "Sku.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.resources.models.Sku.validate()"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.validate()"
|
|
name: "validate()"
|
|
nameWithType: "Sku.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.withCapacity(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.withCapacity(Integer capacity)"
|
|
name: "withCapacity(Integer capacity)"
|
|
nameWithType: "Sku.withCapacity(Integer capacity)"
|
|
summary: "Set the capacity property: The SKU capacity."
|
|
parameters:
|
|
- description: "the capacity value to set."
|
|
name: "capacity"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public Sku withCapacity(Integer capacity)"
|
|
desc: "Set the capacity property: The SKU capacity."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.withFamily(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.withFamily(String family)"
|
|
name: "withFamily(String family)"
|
|
nameWithType: "Sku.withFamily(String family)"
|
|
summary: "Set the family property: The SKU family."
|
|
parameters:
|
|
- description: "the family value to set."
|
|
name: "family"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Sku withFamily(String family)"
|
|
desc: "Set the family property: The SKU family."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.withModel(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.withModel(String model)"
|
|
name: "withModel(String model)"
|
|
nameWithType: "Sku.withModel(String model)"
|
|
summary: "Set the model property: The SKU model."
|
|
parameters:
|
|
- description: "the model value to set."
|
|
name: "model"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Sku withModel(String model)"
|
|
desc: "Set the model property: The SKU model."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.withName(String name)"
|
|
name: "withName(String name)"
|
|
nameWithType: "Sku.withName(String name)"
|
|
summary: "Set the name property: The SKU name."
|
|
parameters:
|
|
- description: "the name value to set."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Sku withName(String name)"
|
|
desc: "Set the name property: The SKU name."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.withSize(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.withSize(String size)"
|
|
name: "withSize(String size)"
|
|
nameWithType: "Sku.withSize(String size)"
|
|
summary: "Set the size property: The SKU size."
|
|
parameters:
|
|
- description: "the size value to set."
|
|
name: "size"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Sku withSize(String size)"
|
|
desc: "Set the size property: The SKU size."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.resources.models.Sku.withTier(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.resources.models.Sku.withTier(String tier)"
|
|
name: "withTier(String tier)"
|
|
nameWithType: "Sku.withTier(String tier)"
|
|
summary: "Set the tier property: The SKU tier."
|
|
parameters:
|
|
- description: "the tier value to set."
|
|
name: "tier"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Sku withTier(String tier)"
|
|
desc: "Set the tier property: The SKU tier."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "SKU for the resource."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.resources.models.Sku?alt=com.azure.resourcemanager.resources.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.resources.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0
|