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

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku"
name: "CloudServiceRoleSku"
nameWithType: "CloudServiceRoleSku"
summary: "Describes the cloud service role sku."
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 **CloudServiceRoleSku**</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.CloudServiceRoleSku?alt=com.azure.resourcemanager.compute.models.CloudServiceRoleSku&text=CloudServiceRoleSku\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.CloudServiceRoleSku()"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.CloudServiceRoleSku()"
name: "CloudServiceRoleSku()"
nameWithType: "CloudServiceRoleSku.CloudServiceRoleSku()"
summary: "Creates an instance of Cloud<wbr>Service<wbr>Role<wbr>Sku class."
syntax: "public CloudServiceRoleSku()"
desc: "Creates an instance of CloudServiceRoleSku class."
methods:
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.capacity()"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.capacity()"
name: "capacity()"
nameWithType: "CloudServiceRoleSku.capacity()"
summary: "Get the capacity property: Specifies the number of role instances in the cloud service."
syntax: "public Long capacity()"
desc: "Get the capacity property: Specifies the number of role instances in the cloud service."
returns:
description: "the capacity value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "CloudServiceRoleSku.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Cloud<wbr>Service<wbr>Role<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 CloudServiceRoleSku fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the CloudServiceRoleSku."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of CloudServiceRoleSku from the JsonReader."
returns:
description: "An instance of CloudServiceRoleSku 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.CloudServiceRoleSku?alt=com.azure.resourcemanager.compute.models.CloudServiceRoleSku&text=CloudServiceRoleSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.name()"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.name()"
name: "name()"
nameWithType: "CloudServiceRoleSku.name()"
summary: "Get the name property: The sku name."
syntax: "public String name()"
desc: "Get the name property: The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku."
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.compute.models.CloudServiceRoleSku.tier()"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.tier()"
name: "tier()"
nameWithType: "CloudServiceRoleSku.tier()"
summary: "Get the tier property: Specifies the tier of the cloud service."
syntax: "public String tier()"
desc: "Get the tier property: Specifies the tier of the cloud service. Possible Values are <br /><br /> \\*\\*Standard\\*\\* <br /><br /> \\*\\*Basic\\*\\*."
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.CloudServiceRoleSku.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "CloudServiceRoleSku.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.CloudServiceRoleSku.validate()"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.validate()"
name: "validate()"
nameWithType: "CloudServiceRoleSku.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.withCapacity(java.lang.Long)"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.withCapacity(Long capacity)"
name: "withCapacity(Long capacity)"
nameWithType: "CloudServiceRoleSku.withCapacity(Long capacity)"
summary: "Set the capacity property: Specifies the number of role instances in the cloud service."
parameters:
- description: "the capacity value to set."
name: "capacity"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public CloudServiceRoleSku withCapacity(Long capacity)"
desc: "Set the capacity property: Specifies the number of role instances in the cloud service."
returns:
description: "the CloudServiceRoleSku object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.CloudServiceRoleSku?alt=com.azure.resourcemanager.compute.models.CloudServiceRoleSku&text=CloudServiceRoleSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.withName(String name)"
name: "withName(String name)"
nameWithType: "CloudServiceRoleSku.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 CloudServiceRoleSku withName(String name)"
desc: "Set the name property: The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku."
returns:
description: "the CloudServiceRoleSku object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.CloudServiceRoleSku?alt=com.azure.resourcemanager.compute.models.CloudServiceRoleSku&text=CloudServiceRoleSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.withTier(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.models.CloudServiceRoleSku.withTier(String tier)"
name: "withTier(String tier)"
nameWithType: "CloudServiceRoleSku.withTier(String tier)"
summary: "Set the tier property: Specifies the tier of the cloud service."
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 CloudServiceRoleSku withTier(String tier)"
desc: "Set the tier property: Specifies the tier of the cloud service. Possible Values are <br /><br /> \\*\\*Standard\\*\\* <br /><br /> \\*\\*Basic\\*\\*."
returns:
description: "the CloudServiceRoleSku object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.CloudServiceRoleSku?alt=com.azure.resourcemanager.compute.models.CloudServiceRoleSku&text=CloudServiceRoleSku\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Describes the cloud service role sku."
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.CloudServiceRoleSku?alt=com.azure.resourcemanager.compute.models.CloudServiceRoleSku&text=CloudServiceRoleSku\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0