113 строки
5.9 KiB
YAML
113 строки
5.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.Sku"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku"
|
|
name: "Sku"
|
|
nameWithType: "Sku"
|
|
summary: "Describes a virtual machine scale set sku."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedMembers:
|
|
- "java.lang.Object.clone()"
|
|
- "java.lang.Object.equals(java.lang.Object)"
|
|
- "java.lang.Object.finalize()"
|
|
- "java.lang.Object.getClass()"
|
|
- "java.lang.Object.hashCode()"
|
|
- "java.lang.Object.notify()"
|
|
- "java.lang.Object.notifyAll()"
|
|
- "java.lang.Object.toString()"
|
|
- "java.lang.Object.wait()"
|
|
- "java.lang.Object.wait(long)"
|
|
- "java.lang.Object.wait(long,int)"
|
|
syntax: "public final class Sku"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.Sku.Sku()"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku.Sku()"
|
|
name: "Sku()"
|
|
nameWithType: "Sku.Sku()"
|
|
syntax: "public Sku()"
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.Sku.capacity()"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku.capacity()"
|
|
name: "capacity()"
|
|
nameWithType: "Sku.capacity()"
|
|
summary: "Get the capacity property: Specifies the number of virtual machines in the scale set."
|
|
syntax: "public Long capacity()"
|
|
desc: "Get the capacity property: Specifies the number of virtual machines in the scale set."
|
|
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.Sku.name()"
|
|
fullName: "com.azure.resourcemanager.compute.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.compute.models.Sku.tier()"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku.tier()"
|
|
name: "tier()"
|
|
nameWithType: "Sku.tier()"
|
|
summary: "Get the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> \\*\\*Standard\\*\\*<br /><br /> \\*\\*Basic\\*\\*."
|
|
syntax: "public String tier()"
|
|
desc: "Get the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<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.Sku.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku.validate()"
|
|
name: "validate()"
|
|
nameWithType: "Sku.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.Sku.withCapacity(java.lang.Long)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku.withCapacity(Long capacity)"
|
|
name: "withCapacity(Long capacity)"
|
|
nameWithType: "Sku.withCapacity(Long capacity)"
|
|
summary: "Set the capacity property: Specifies the number of virtual machines in the scale set."
|
|
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 Sku withCapacity(Long capacity)"
|
|
desc: "Set the capacity property: Specifies the number of virtual machines in the scale set."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.Sku?alt=com.azure.resourcemanager.compute.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.Sku.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.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.compute.models.Sku?alt=com.azure.resourcemanager.compute.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.Sku.withTier(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Sku.withTier(String tier)"
|
|
name: "withTier(String tier)"
|
|
nameWithType: "Sku.withTier(String tier)"
|
|
summary: "Set the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> \\*\\*Standard\\*\\*<br /><br /> \\*\\*Basic\\*\\*."
|
|
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: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> \\*\\*Standard\\*\\*<br /><br /> \\*\\*Basic\\*\\*."
|
|
returns:
|
|
description: "the Sku object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.Sku?alt=com.azure.resourcemanager.compute.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.16.0
|