258 строки
22 KiB
YAML
258 строки
22 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties"
|
|
name: "VmHostPlacementPolicyProperties"
|
|
nameWithType: "VmHostPlacementPolicyProperties"
|
|
summary: "VM-Host placement policy properties."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties&text=PlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.displayName()?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.displayName&text=displayName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.fromJson(com.azure.json.JsonReader)?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.provisioningState()?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.provisioningState&text=provisioningState\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.state()?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.state&text=state\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.toJson(com.azure.json.JsonWriter)?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.type()?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.type&text=type\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.validate()?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.validate&text=validate\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.withDisplayName(java.lang.String)?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.withDisplayName&text=withDisplayName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties.withState(com.azure.resourcemanager.avs.models.PlacementPolicyState)?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties.withState&text=withState\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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 **VmHostPlacementPolicyProperties**</br> extends <xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProperties&text=PlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.VmHostPlacementPolicyProperties()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.VmHostPlacementPolicyProperties()"
|
|
name: "VmHostPlacementPolicyProperties()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.VmHostPlacementPolicyProperties()"
|
|
summary: "Creates an instance of Vm<wbr>Host<wbr>Placement<wbr>Policy<wbr>Properties class."
|
|
syntax: "public VmHostPlacementPolicyProperties()"
|
|
desc: "Creates an instance of VmHostPlacementPolicyProperties class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.affinityStrength()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.affinityStrength()"
|
|
name: "affinityStrength()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.affinityStrength()"
|
|
summary: "Get the affinity<wbr>Strength property: vm-host placement policy affinity strength (should/must)."
|
|
syntax: "public AffinityStrength affinityStrength()"
|
|
desc: "Get the affinityStrength property: vm-host placement policy affinity strength (should/must)."
|
|
returns:
|
|
description: "the affinityStrength value."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.AffinityStrength?alt=com.azure.resourcemanager.avs.models.AffinityStrength&text=AffinityStrength\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.affinityType()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.affinityType()"
|
|
name: "affinityType()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.affinityType()"
|
|
summary: "Get the affinity<wbr>Type property: placement policy affinity type."
|
|
syntax: "public AffinityType affinityType()"
|
|
desc: "Get the affinityType property: placement policy affinity type."
|
|
returns:
|
|
description: "the affinityType value."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.AffinityType?alt=com.azure.resourcemanager.avs.models.AffinityType&text=AffinityType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.azureHybridBenefitType()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.azureHybridBenefitType()"
|
|
name: "azureHybridBenefitType()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.azureHybridBenefitType()"
|
|
summary: "Get the azure<wbr>Hybrid<wbr>Benefit<wbr>Type property: placement policy azure hybrid benefit opt-in type."
|
|
syntax: "public AzureHybridBenefitType azureHybridBenefitType()"
|
|
desc: "Get the azureHybridBenefitType property: placement policy azure hybrid benefit opt-in type."
|
|
returns:
|
|
description: "the azureHybridBenefitType value."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.AzureHybridBenefitType?alt=com.azure.resourcemanager.avs.models.AzureHybridBenefitType&text=AzureHybridBenefitType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Vm<wbr>Host<wbr>Placement<wbr>Policy<wbr>Properties 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 VmHostPlacementPolicyProperties fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of VmHostPlacementPolicyProperties from the JsonReader."
|
|
returns:
|
|
description: "An instance of VmHostPlacementPolicyProperties if the JsonReader was pointing to an instance of it, or\n null if it was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.hostMembers()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.hostMembers()"
|
|
name: "hostMembers()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.hostMembers()"
|
|
summary: "Get the host<wbr>Members property: Host members list."
|
|
syntax: "public List<String> hostMembers()"
|
|
desc: "Get the hostMembers property: Host members list."
|
|
returns:
|
|
description: "the hostMembers value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.provisioningState()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.provisioningState()"
|
|
name: "provisioningState()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.provisioningState()"
|
|
summary: "Get the provisioning<wbr>State property: The provisioning state."
|
|
overridden: "com.azure.resourcemanager.avs.models.PlacementPolicyProperties.provisioningState()"
|
|
syntax: "public PlacementPolicyProvisioningState provisioningState()"
|
|
desc: "Get the provisioningState property: The provisioning state."
|
|
returns:
|
|
description: "the provisioningState value."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyProvisioningState?alt=com.azure.resourcemanager.avs.models.PlacementPolicyProvisioningState&text=PlacementPolicyProvisioningState\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.toJson(JsonWriter jsonWriter)"
|
|
overridden: "com.azure.resourcemanager.avs.models.PlacementPolicyProperties.toJson(com.azure.json.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.avs.models.VmHostPlacementPolicyProperties.type()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.type()"
|
|
name: "type()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.type()"
|
|
summary: "Get the type property: Placement Policy type."
|
|
overridden: "com.azure.resourcemanager.avs.models.PlacementPolicyProperties.type()"
|
|
syntax: "public PlacementPolicyType type()"
|
|
desc: "Get the type property: Placement Policy type."
|
|
returns:
|
|
description: "the type value."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyType?alt=com.azure.resourcemanager.avs.models.PlacementPolicyType&text=PlacementPolicyType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.validate()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.validate()"
|
|
name: "validate()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.validate()"
|
|
summary: "Validates the instance."
|
|
overridden: "com.azure.resourcemanager.avs.models.PlacementPolicyProperties.validate()"
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.vmMembers()"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.vmMembers()"
|
|
name: "vmMembers()"
|
|
nameWithType: "VmHostPlacementPolicyProperties.vmMembers()"
|
|
summary: "Get the vm<wbr>Members property: Virtual machine members list."
|
|
syntax: "public List<String> vmMembers()"
|
|
desc: "Get the vmMembers property: Virtual machine members list."
|
|
returns:
|
|
description: "the vmMembers value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withAffinityStrength(com.azure.resourcemanager.avs.models.AffinityStrength)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withAffinityStrength(AffinityStrength affinityStrength)"
|
|
name: "withAffinityStrength(AffinityStrength affinityStrength)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withAffinityStrength(AffinityStrength affinityStrength)"
|
|
summary: "Set the affinity<wbr>Strength property: vm-host placement policy affinity strength (should/must)."
|
|
parameters:
|
|
- description: "the affinityStrength value to set."
|
|
name: "affinityStrength"
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.AffinityStrength?alt=com.azure.resourcemanager.avs.models.AffinityStrength&text=AffinityStrength\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public VmHostPlacementPolicyProperties withAffinityStrength(AffinityStrength affinityStrength)"
|
|
desc: "Set the affinityStrength property: vm-host placement policy affinity strength (should/must)."
|
|
returns:
|
|
description: "the VmHostPlacementPolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withAffinityType(com.azure.resourcemanager.avs.models.AffinityType)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withAffinityType(AffinityType affinityType)"
|
|
name: "withAffinityType(AffinityType affinityType)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withAffinityType(AffinityType affinityType)"
|
|
summary: "Set the affinity<wbr>Type property: placement policy affinity type."
|
|
parameters:
|
|
- description: "the affinityType value to set."
|
|
name: "affinityType"
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.AffinityType?alt=com.azure.resourcemanager.avs.models.AffinityType&text=AffinityType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public VmHostPlacementPolicyProperties withAffinityType(AffinityType affinityType)"
|
|
desc: "Set the affinityType property: placement policy affinity type."
|
|
returns:
|
|
description: "the VmHostPlacementPolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withAzureHybridBenefitType(com.azure.resourcemanager.avs.models.AzureHybridBenefitType)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withAzureHybridBenefitType(AzureHybridBenefitType azureHybridBenefitType)"
|
|
name: "withAzureHybridBenefitType(AzureHybridBenefitType azureHybridBenefitType)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withAzureHybridBenefitType(AzureHybridBenefitType azureHybridBenefitType)"
|
|
summary: "Set the azure<wbr>Hybrid<wbr>Benefit<wbr>Type property: placement policy azure hybrid benefit opt-in type."
|
|
parameters:
|
|
- description: "the azureHybridBenefitType value to set."
|
|
name: "azureHybridBenefitType"
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.AzureHybridBenefitType?alt=com.azure.resourcemanager.avs.models.AzureHybridBenefitType&text=AzureHybridBenefitType\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public VmHostPlacementPolicyProperties withAzureHybridBenefitType(AzureHybridBenefitType azureHybridBenefitType)"
|
|
desc: "Set the azureHybridBenefitType property: placement policy azure hybrid benefit opt-in type."
|
|
returns:
|
|
description: "the VmHostPlacementPolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withDisplayName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withDisplayName(String displayName)"
|
|
name: "withDisplayName(String displayName)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withDisplayName(String displayName)"
|
|
summary: "Set the display<wbr>Name property: Display name of the placement policy."
|
|
overridden: "com.azure.resourcemanager.avs.models.PlacementPolicyProperties.withDisplayName(java.lang.String)"
|
|
parameters:
|
|
- name: "displayName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public VmHostPlacementPolicyProperties withDisplayName(String displayName)"
|
|
desc: "Set the displayName property: Display name of the placement policy."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withHostMembers(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withHostMembers(List<String> hostMembers)"
|
|
name: "withHostMembers(List<String> hostMembers)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withHostMembers(List<String> hostMembers)"
|
|
summary: "Set the host<wbr>Members property: Host members list."
|
|
parameters:
|
|
- description: "the hostMembers value to set."
|
|
name: "hostMembers"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public VmHostPlacementPolicyProperties withHostMembers(List<String> hostMembers)"
|
|
desc: "Set the hostMembers property: Host members list."
|
|
returns:
|
|
description: "the VmHostPlacementPolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withState(com.azure.resourcemanager.avs.models.PlacementPolicyState)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withState(PlacementPolicyState state)"
|
|
name: "withState(PlacementPolicyState state)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withState(PlacementPolicyState state)"
|
|
summary: "Set the state property: Whether the placement policy is enabled or disabled."
|
|
overridden: "com.azure.resourcemanager.avs.models.PlacementPolicyProperties.withState(com.azure.resourcemanager.avs.models.PlacementPolicyState)"
|
|
parameters:
|
|
- name: "state"
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.PlacementPolicyState?alt=com.azure.resourcemanager.avs.models.PlacementPolicyState&text=PlacementPolicyState\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public VmHostPlacementPolicyProperties withState(PlacementPolicyState state)"
|
|
desc: "Set the state property: Whether the placement policy is enabled or disabled."
|
|
returns:
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withVmMembers(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties.withVmMembers(List<String> vmMembers)"
|
|
name: "withVmMembers(List<String> vmMembers)"
|
|
nameWithType: "VmHostPlacementPolicyProperties.withVmMembers(List<String> vmMembers)"
|
|
summary: "Set the vm<wbr>Members property: Virtual machine members list."
|
|
parameters:
|
|
- description: "the vmMembers value to set."
|
|
name: "vmMembers"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public VmHostPlacementPolicyProperties withVmMembers(List<String> vmMembers)"
|
|
desc: "Set the vmMembers property: Virtual machine members list."
|
|
returns:
|
|
description: "the VmHostPlacementPolicyProperties object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties?alt=com.azure.resourcemanager.avs.models.VmHostPlacementPolicyProperties&text=VmHostPlacementPolicyProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "VM-Host placement policy properties."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.avs.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-avs:1.2.0
|