getAntiAffinityGroup

Using getAntiAffinityGroup

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 getAntiAffinityGroup(args: GetAntiAffinityGroupArgs, opts?: InvokeOptions): Promise<GetAntiAffinityGroupResult>
function getAntiAffinityGroupOutput(args: GetAntiAffinityGroupOutputArgs, opts?: InvokeOptions): Output<GetAntiAffinityGroupResult>
def get_anti_affinity_group(id: Optional[str] = None,
                            name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAntiAffinityGroupResult
def get_anti_affinity_group_output(id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAntiAffinityGroupResult]
func LookupAntiAffinityGroup(ctx *Context, args *LookupAntiAffinityGroupArgs, opts ...InvokeOption) (*LookupAntiAffinityGroupResult, error)
func LookupAntiAffinityGroupOutput(ctx *Context, args *LookupAntiAffinityGroupOutputArgs, opts ...InvokeOption) LookupAntiAffinityGroupResultOutput

> Note: This function is named LookupAntiAffinityGroup in the Go SDK.

public static class GetAntiAffinityGroup 
{
    public static Task<GetAntiAffinityGroupResult> InvokeAsync(GetAntiAffinityGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetAntiAffinityGroupResult> Invoke(GetAntiAffinityGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAntiAffinityGroupResult> getAntiAffinityGroup(GetAntiAffinityGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: exoscale:index/getAntiAffinityGroup:getAntiAffinityGroup
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string

The anti-affinity group ID to match (conflicts with name).

Name string

The group name to match (conflicts with id).

Id string

The anti-affinity group ID to match (conflicts with name).

Name string

The group name to match (conflicts with id).

id String

The anti-affinity group ID to match (conflicts with name).

name String

The group name to match (conflicts with id).

id string

The anti-affinity group ID to match (conflicts with name).

name string

The group name to match (conflicts with id).

id str

The anti-affinity group ID to match (conflicts with name).

name str

The group name to match (conflicts with id).

id String

The anti-affinity group ID to match (conflicts with name).

name String

The group name to match (conflicts with id).

getAntiAffinityGroup Result

The following output properties are available:

Instances List<string>

The list of attached exoscale.ComputeInstance (IDs).

Id string
Name string
Instances []string

The list of attached exoscale.ComputeInstance (IDs).

Id string
Name string
instances List<String>

The list of attached exoscale.ComputeInstance (IDs).

id String
name String
instances string[]

The list of attached exoscale.ComputeInstance (IDs).

id string
name string
instances Sequence[str]

The list of attached exoscale.ComputeInstance (IDs).

id str
name str
instances List<String>

The list of attached exoscale.ComputeInstance (IDs).

id String
name String

Package Details

Repository
https://github.com/pulumiverse/pulumi-exoscale
License
Apache-2.0
Notes

This Pulumi package is based on the exoscale Terraform Provider.