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

232 строки
17 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile"
name: "HardwareProfile"
nameWithType: "HardwareProfile"
summary: "Defines the resource properties."
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 **HardwareProfile**</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.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.HardwareProfile()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.HardwareProfile()"
name: "HardwareProfile()"
nameWithType: "HardwareProfile.HardwareProfile()"
summary: "Creates an instance of Hardware<wbr>Profile class."
syntax: "public HardwareProfile()"
desc: "Creates an instance of HardwareProfile class."
methods:
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.cpuCount()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.cpuCount()"
name: "cpuCount()"
nameWithType: "HardwareProfile.cpuCount()"
summary: "Get the cpu<wbr>Count property: Gets or sets the number of v<wbr>CPUs for the vm."
syntax: "public Integer cpuCount()"
desc: "Get the cpuCount property: Gets or sets the number of vCPUs for the vm."
returns:
description: "the cpuCount value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.dynamicMemoryEnabled()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.dynamicMemoryEnabled()"
name: "dynamicMemoryEnabled()"
nameWithType: "HardwareProfile.dynamicMemoryEnabled()"
summary: "Get the dynamic<wbr>Memory<wbr>Enabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
syntax: "public DynamicMemoryEnabled dynamicMemoryEnabled()"
desc: "Get the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
returns:
description: "the dynamicMemoryEnabled value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled?alt=com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled&text=DynamicMemoryEnabled\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.dynamicMemoryMaxMB()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.dynamicMemoryMaxMB()"
name: "dynamicMemoryMaxMB()"
nameWithType: "HardwareProfile.dynamicMemoryMaxMB()"
summary: "Get the dynamic<wbr>Memory<wbr>MaxMB property: Gets or sets the max dynamic memory for the vm."
syntax: "public Integer dynamicMemoryMaxMB()"
desc: "Get the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm."
returns:
description: "the dynamicMemoryMaxMB value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.dynamicMemoryMinMB()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.dynamicMemoryMinMB()"
name: "dynamicMemoryMinMB()"
nameWithType: "HardwareProfile.dynamicMemoryMinMB()"
summary: "Get the dynamic<wbr>Memory<wbr>MinMB property: Gets or sets the min dynamic memory for the vm."
syntax: "public Integer dynamicMemoryMinMB()"
desc: "Get the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm."
returns:
description: "the dynamicMemoryMinMB value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "HardwareProfile.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Hardware<wbr>Profile 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 HardwareProfile fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the HardwareProfile."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of HardwareProfile from the JsonReader."
returns:
description: "An instance of HardwareProfile 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.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.isHighlyAvailable()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.isHighlyAvailable()"
name: "isHighlyAvailable()"
nameWithType: "HardwareProfile.isHighlyAvailable()"
summary: "Get the is<wbr>Highly<wbr>Available property: Gets highly available property."
syntax: "public IsHighlyAvailable isHighlyAvailable()"
desc: "Get the isHighlyAvailable property: Gets highly available property."
returns:
description: "the isHighlyAvailable value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.IsHighlyAvailable?alt=com.azure.resourcemanager.scvmm.models.IsHighlyAvailable&text=IsHighlyAvailable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.limitCpuForMigration()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.limitCpuForMigration()"
name: "limitCpuForMigration()"
nameWithType: "HardwareProfile.limitCpuForMigration()"
summary: "Get the limit<wbr>Cpu<wbr>For<wbr>Migration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
syntax: "public LimitCpuForMigration limitCpuForMigration()"
desc: "Get the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
returns:
description: "the limitCpuForMigration value."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.LimitCpuForMigration?alt=com.azure.resourcemanager.scvmm.models.LimitCpuForMigration&text=LimitCpuForMigration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.memoryMB()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.memoryMB()"
name: "memoryMB()"
nameWithType: "HardwareProfile.memoryMB()"
summary: "Get the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
syntax: "public Integer memoryMB()"
desc: "Get the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
returns:
description: "the memoryMB value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "HardwareProfile.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.scvmm.models.HardwareProfile.validate()"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.validate()"
name: "validate()"
nameWithType: "HardwareProfile.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withCpuCount(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withCpuCount(Integer cpuCount)"
name: "withCpuCount(Integer cpuCount)"
nameWithType: "HardwareProfile.withCpuCount(Integer cpuCount)"
summary: "Set the cpu<wbr>Count property: Gets or sets the number of v<wbr>CPUs for the vm."
parameters:
- description: "the cpuCount value to set."
name: "cpuCount"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfile withCpuCount(Integer cpuCount)"
desc: "Set the cpuCount property: Gets or sets the number of vCPUs for the vm."
returns:
description: "the HardwareProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withDynamicMemoryEnabled(com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
name: "withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
nameWithType: "HardwareProfile.withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
summary: "Set the dynamic<wbr>Memory<wbr>Enabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
parameters:
- description: "the dynamicMemoryEnabled value to set."
name: "dynamicMemoryEnabled"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled?alt=com.azure.resourcemanager.scvmm.models.DynamicMemoryEnabled&text=DynamicMemoryEnabled\" data-throw-if-not-resolved=\"False\" />"
syntax: "public HardwareProfile withDynamicMemoryEnabled(DynamicMemoryEnabled dynamicMemoryEnabled)"
desc: "Set the dynamicMemoryEnabled property: Gets or sets a value indicating whether to enable dynamic memory or not."
returns:
description: "the HardwareProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withDynamicMemoryMaxMB(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
name: "withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
nameWithType: "HardwareProfile.withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
summary: "Set the dynamic<wbr>Memory<wbr>MaxMB property: Gets or sets the max dynamic memory for the vm."
parameters:
- description: "the dynamicMemoryMaxMB value to set."
name: "dynamicMemoryMaxMB"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfile withDynamicMemoryMaxMB(Integer dynamicMemoryMaxMB)"
desc: "Set the dynamicMemoryMaxMB property: Gets or sets the max dynamic memory for the vm."
returns:
description: "the HardwareProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withDynamicMemoryMinMB(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
name: "withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
nameWithType: "HardwareProfile.withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
summary: "Set the dynamic<wbr>Memory<wbr>MinMB property: Gets or sets the min dynamic memory for the vm."
parameters:
- description: "the dynamicMemoryMinMB value to set."
name: "dynamicMemoryMinMB"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfile withDynamicMemoryMinMB(Integer dynamicMemoryMinMB)"
desc: "Set the dynamicMemoryMinMB property: Gets or sets the min dynamic memory for the vm."
returns:
description: "the HardwareProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withLimitCpuForMigration(com.azure.resourcemanager.scvmm.models.LimitCpuForMigration)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
name: "withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
nameWithType: "HardwareProfile.withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
summary: "Set the limit<wbr>Cpu<wbr>For<wbr>Migration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
parameters:
- description: "the limitCpuForMigration value to set."
name: "limitCpuForMigration"
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.LimitCpuForMigration?alt=com.azure.resourcemanager.scvmm.models.LimitCpuForMigration&text=LimitCpuForMigration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public HardwareProfile withLimitCpuForMigration(LimitCpuForMigration limitCpuForMigration)"
desc: "Set the limitCpuForMigration property: Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs."
returns:
description: "the HardwareProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withMemoryMB(java.lang.Integer)"
fullName: "com.azure.resourcemanager.scvmm.models.HardwareProfile.withMemoryMB(Integer memoryMB)"
name: "withMemoryMB(Integer memoryMB)"
nameWithType: "HardwareProfile.withMemoryMB(Integer memoryMB)"
summary: "Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
parameters:
- description: "the memoryMB value to set."
name: "memoryMB"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public HardwareProfile withMemoryMB(Integer memoryMB)"
desc: "Set the memoryMB property: MemoryMB is the size of a virtual machine's memory, in MB."
returns:
description: "the HardwareProfile object itself."
type: "<xref href=\"com.azure.resourcemanager.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines the resource properties."
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.scvmm.models.HardwareProfile?alt=com.azure.resourcemanager.scvmm.models.HardwareProfile&text=HardwareProfile\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.scvmm.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-scvmm:1.0.0