This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi
azure-native.avs.getPlacementPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi
A vSphere Distributed Resource Scheduler (DRS) placement policy Azure REST API version: 2022-05-01.
Other available API versions: 2023-03-01, 2023-09-01.
Using getPlacementPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPlacementPolicy(args: GetPlacementPolicyArgs, opts?: InvokeOptions): Promise<GetPlacementPolicyResult>
function getPlacementPolicyOutput(args: GetPlacementPolicyOutputArgs, opts?: InvokeOptions): Output<GetPlacementPolicyResult>
def get_placement_policy(cluster_name: Optional[str] = None,
placement_policy_name: Optional[str] = None,
private_cloud_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPlacementPolicyResult
def get_placement_policy_output(cluster_name: Optional[pulumi.Input[str]] = None,
placement_policy_name: Optional[pulumi.Input[str]] = None,
private_cloud_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPlacementPolicyResult]
func LookupPlacementPolicy(ctx *Context, args *LookupPlacementPolicyArgs, opts ...InvokeOption) (*LookupPlacementPolicyResult, error)
func LookupPlacementPolicyOutput(ctx *Context, args *LookupPlacementPolicyOutputArgs, opts ...InvokeOption) LookupPlacementPolicyResultOutput
> Note: This function is named LookupPlacementPolicy
in the Go SDK.
public static class GetPlacementPolicy
{
public static Task<GetPlacementPolicyResult> InvokeAsync(GetPlacementPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPlacementPolicyResult> Invoke(GetPlacementPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPlacementPolicyResult> getPlacementPolicy(GetPlacementPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:avs:getPlacementPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Name string - Name of the cluster in the private cloud
- Placement
Policy stringName - Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- Private
Cloud stringName - Name of the private cloud
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Cluster
Name string - Name of the cluster in the private cloud
- Placement
Policy stringName - Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- Private
Cloud stringName - Name of the private cloud
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster
Name String - Name of the cluster in the private cloud
- placement
Policy StringName - Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- private
Cloud StringName - Name of the private cloud
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- cluster
Name string - Name of the cluster in the private cloud
- placement
Policy stringName - Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- private
Cloud stringName - Name of the private cloud
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster_
name str - Name of the cluster in the private cloud
- placement_
policy_ strname - Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- private_
cloud_ strname - Name of the private cloud
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- cluster
Name String - Name of the cluster in the private cloud
- placement
Policy StringName - Name of the VMware vSphere Distributed Resource Scheduler (DRS) placement policy
- private
Cloud StringName - Name of the private cloud
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getPlacementPolicy Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Properties
Pulumi.
Azure | Pulumi.Native. AVS. Outputs. Vm Host Placement Policy Properties Response Azure Native. AVS. Outputs. Vm Vm Placement Policy Properties Response - placement policy properties
- Type string
- Resource type.
- Id string
- Resource ID.
- Name string
- Resource name.
- Properties
Vm
Host | VmPlacement Policy Properties Response Vm Placement Policy Properties Response - placement policy properties
- Type string
- Resource type.
- id String
- Resource ID.
- name String
- Resource name.
- properties
Vm
Host | VmPlacement Policy Properties Response Vm Placement Policy Properties Response - placement policy properties
- type String
- Resource type.
- id string
- Resource ID.
- name string
- Resource name.
- properties
Vm
Host | VmPlacement Policy Properties Response Vm Placement Policy Properties Response - placement policy properties
- type string
- Resource type.
- id str
- Resource ID.
- name str
- Resource name.
- properties
Vm
Host | VmPlacement Policy Properties Response Vm Placement Policy Properties Response - placement policy properties
- type str
- Resource type.
- id String
- Resource ID.
- name String
- Resource name.
- properties Property Map | Property Map
- placement policy properties
- type String
- Resource type.
Supporting Types
VmHostPlacementPolicyPropertiesResponse
- Affinity
Type string - placement policy affinity type
- Host
Members List<string> - Host members list
- Provisioning
State string - The provisioning state
- Vm
Members List<string> - Virtual machine members list
- Affinity
Strength string - vm-host placement policy affinity strength (should/must)
- Azure
Hybrid stringBenefit Type - placement policy azure hybrid benefit opt-in type
- Display
Name string - Display name of the placement policy
- State string
- Whether the placement policy is enabled or disabled
- Affinity
Type string - placement policy affinity type
- Host
Members []string - Host members list
- Provisioning
State string - The provisioning state
- Vm
Members []string - Virtual machine members list
- Affinity
Strength string - vm-host placement policy affinity strength (should/must)
- Azure
Hybrid stringBenefit Type - placement policy azure hybrid benefit opt-in type
- Display
Name string - Display name of the placement policy
- State string
- Whether the placement policy is enabled or disabled
- affinity
Type String - placement policy affinity type
- host
Members List<String> - Host members list
- provisioning
State String - The provisioning state
- vm
Members List<String> - Virtual machine members list
- affinity
Strength String - vm-host placement policy affinity strength (should/must)
- azure
Hybrid StringBenefit Type - placement policy azure hybrid benefit opt-in type
- display
Name String - Display name of the placement policy
- state String
- Whether the placement policy is enabled or disabled
- affinity
Type string - placement policy affinity type
- host
Members string[] - Host members list
- provisioning
State string - The provisioning state
- vm
Members string[] - Virtual machine members list
- affinity
Strength string - vm-host placement policy affinity strength (should/must)
- azure
Hybrid stringBenefit Type - placement policy azure hybrid benefit opt-in type
- display
Name string - Display name of the placement policy
- state string
- Whether the placement policy is enabled or disabled
- affinity_
type str - placement policy affinity type
- host_
members Sequence[str] - Host members list
- provisioning_
state str - The provisioning state
- vm_
members Sequence[str] - Virtual machine members list
- affinity_
strength str - vm-host placement policy affinity strength (should/must)
- azure_
hybrid_ strbenefit_ type - placement policy azure hybrid benefit opt-in type
- display_
name str - Display name of the placement policy
- state str
- Whether the placement policy is enabled or disabled
- affinity
Type String - placement policy affinity type
- host
Members List<String> - Host members list
- provisioning
State String - The provisioning state
- vm
Members List<String> - Virtual machine members list
- affinity
Strength String - vm-host placement policy affinity strength (should/must)
- azure
Hybrid StringBenefit Type - placement policy azure hybrid benefit opt-in type
- display
Name String - Display name of the placement policy
- state String
- Whether the placement policy is enabled or disabled
VmVmPlacementPolicyPropertiesResponse
- Affinity
Type string - placement policy affinity type
- Provisioning
State string - The provisioning state
- Vm
Members List<string> - Virtual machine members list
- Display
Name string - Display name of the placement policy
- State string
- Whether the placement policy is enabled or disabled
- Affinity
Type string - placement policy affinity type
- Provisioning
State string - The provisioning state
- Vm
Members []string - Virtual machine members list
- Display
Name string - Display name of the placement policy
- State string
- Whether the placement policy is enabled or disabled
- affinity
Type String - placement policy affinity type
- provisioning
State String - The provisioning state
- vm
Members List<String> - Virtual machine members list
- display
Name String - Display name of the placement policy
- state String
- Whether the placement policy is enabled or disabled
- affinity
Type string - placement policy affinity type
- provisioning
State string - The provisioning state
- vm
Members string[] - Virtual machine members list
- display
Name string - Display name of the placement policy
- state string
- Whether the placement policy is enabled or disabled
- affinity_
type str - placement policy affinity type
- provisioning_
state str - The provisioning state
- vm_
members Sequence[str] - Virtual machine members list
- display_
name str - Display name of the placement policy
- state str
- Whether the placement policy is enabled or disabled
- affinity
Type String - placement policy affinity type
- provisioning
State String - The provisioning state
- vm
Members List<String> - Virtual machine members list
- display
Name String - Display name of the placement policy
- state String
- Whether the placement policy is enabled or disabled
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.75.0 published on Saturday, Nov 30, 2024 by Pulumi