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

165 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cognitiveservices.models.Sku"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku"
name: "Sku"
nameWithType: "Sku"
summary: "The resource model definition representing 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 **Sku**"
constructors:
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.Sku()"
fullName: "com.azure.resourcemanager.cognitiveservices.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.cognitiveservices.models.Sku.capacity()"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.capacity()"
name: "capacity()"
nameWithType: "Sku.capacity()"
summary: "Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included."
syntax: "public Integer capacity()"
desc: "Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
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.cognitiveservices.models.Sku.family()"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.family()"
name: "family()"
nameWithType: "Sku.family()"
summary: "Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here."
syntax: "public String family()"
desc: "Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here."
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.cognitiveservices.models.Sku.name()"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.name()"
name: "name()"
nameWithType: "Sku.name()"
summary: "Get the name property: The name of the SKU."
syntax: "public String name()"
desc: "Get the name property: The name of the SKU. Ex - P3. It is typically a letter+number code."
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.cognitiveservices.models.Sku.size()"
fullName: "com.azure.resourcemanager.cognitiveservices.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. When the name field is the combination of tier and some other value, this would be the standalone code."
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.cognitiveservices.models.Sku.tier()"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.tier()"
name: "tier()"
nameWithType: "Sku.tier()"
summary: "Get the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
syntax: "public SkuTier tier()"
desc: "Get the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
returns:
description: "the tier value."
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.SkuTier?alt=com.azure.resourcemanager.cognitiveservices.models.SkuTier&text=SkuTier\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.validate()"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.validate()"
name: "validate()"
nameWithType: "Sku.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.withCapacity(java.lang.Integer)"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.withCapacity(Integer capacity)"
name: "withCapacity(Integer capacity)"
nameWithType: "Sku.withCapacity(Integer capacity)"
summary: "Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included."
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: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
returns:
description: "the Sku object itself."
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.Sku?alt=com.azure.resourcemanager.cognitiveservices.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.withFamily(java.lang.String)"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.withFamily(String family)"
name: "withFamily(String family)"
nameWithType: "Sku.withFamily(String family)"
summary: "Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here."
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: If the service has different generations of hardware, for the same SKU, then that can be captured here."
returns:
description: "the Sku object itself."
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.Sku?alt=com.azure.resourcemanager.cognitiveservices.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.withName(String name)"
name: "withName(String name)"
nameWithType: "Sku.withName(String name)"
summary: "Set the name property: The name of the SKU."
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 name of the SKU. Ex - P3. It is typically a letter+number code."
returns:
description: "the Sku object itself."
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.Sku?alt=com.azure.resourcemanager.cognitiveservices.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.withSize(java.lang.String)"
fullName: "com.azure.resourcemanager.cognitiveservices.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. When the name field is the combination of tier and some other value, this would be the standalone code."
returns:
description: "the Sku object itself."
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.Sku?alt=com.azure.resourcemanager.cognitiveservices.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cognitiveservices.models.Sku.withTier(com.azure.resourcemanager.cognitiveservices.models.SkuTier)"
fullName: "com.azure.resourcemanager.cognitiveservices.models.Sku.withTier(SkuTier tier)"
name: "withTier(SkuTier tier)"
nameWithType: "Sku.withTier(SkuTier tier)"
summary: "Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
parameters:
- description: "the tier value to set."
name: "tier"
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.SkuTier?alt=com.azure.resourcemanager.cognitiveservices.models.SkuTier&text=SkuTier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Sku withTier(SkuTier tier)"
desc: "Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
returns:
description: "the Sku object itself."
type: "<xref href=\"com.azure.resourcemanager.cognitiveservices.models.Sku?alt=com.azure.resourcemanager.cognitiveservices.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The resource model definition representing SKU."
metadata: {}
package: "com.azure.resourcemanager.cognitiveservices.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cognitiveservices:1.0.0