1. Packages
  2. Exoscale
  3. API Docs
  4. getAntiAffinityGroup
Exoscale v0.54.0 published on Monday, Nov 27, 2023 by Pulumiverse

exoscale.getAntiAffinityGroup

Explore with Pulumi AI

exoscale logo
Exoscale v0.54.0 published on Monday, Nov 27, 2023 by Pulumiverse

    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 exoscalecomputeinstance (IDs).

    Id string

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

    Name string

    The group name to match (conflicts with id).

    Instances []string

    The list of attached exoscalecomputeinstance (IDs).

    Id string

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

    Name string

    The group name to match (conflicts with id).

    instances List<String>

    The list of attached exoscalecomputeinstance (IDs).

    id String

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

    name String

    The group name to match (conflicts with id).

    instances string[]

    The list of attached exoscalecomputeinstance (IDs).

    id string

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

    name string

    The group name to match (conflicts with id).

    instances Sequence[str]

    The list of attached exoscalecomputeinstance (IDs).

    id str

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

    name str

    The group name to match (conflicts with id).

    instances List<String>

    The list of attached exoscalecomputeinstance (IDs).

    id String

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

    name String

    The group name to match (conflicts with id).

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the exoscale Terraform Provider.

    exoscale logo
    Exoscale v0.54.0 published on Monday, Nov 27, 2023 by Pulumiverse