1. Packages
  2. Xen Orchestra
  3. API Docs
  4. getXoaResourceSet
xenorchestra v1.5.2 published on Monday, Mar 10, 2025 by Vates

xenorchestra.getXoaResourceSet

Explore with Pulumi AI

xenorchestra v1.5.2 published on Monday, Mar 10, 2025 by Vates

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as xenorchestra from "@pulumi/xenorchestra";

const rs = xenorchestra.getXoaResourceSet({
    name: "my resource set",
});
Copy
import pulumi
import pulumi_xenorchestra as xenorchestra

rs = xenorchestra.get_xoa_resource_set(name="my resource set")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/vatesfr/pulumi-xenorchestra/sdk/go/xenorchestra"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := xenorchestra.GetXoaResourceSet(ctx, &xenorchestra.GetXoaResourceSetArgs{
			Name: "my resource set",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Xenorchestra = Pulumi.Xenorchestra;

return await Deployment.RunAsync(() => 
{
    var rs = Xenorchestra.GetXoaResourceSet.Invoke(new()
    {
        Name = "my resource set",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.xenorchestra.XenorchestraFunctions;
import com.pulumi.xenorchestra.inputs.GetXoaResourceSetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var rs = XenorchestraFunctions.getXoaResourceSet(GetXoaResourceSetArgs.builder()
            .name("my resource set")
            .build());

    }
}
Copy
variables:
  rs:
    fn::invoke:
      function: xenorchestra:getXoaResourceSet
      arguments:
        name: my resource set
Copy

Using getXoaResourceSet

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 getXoaResourceSet(args: GetXoaResourceSetArgs, opts?: InvokeOptions): Promise<GetXoaResourceSetResult>
function getXoaResourceSetOutput(args: GetXoaResourceSetOutputArgs, opts?: InvokeOptions): Output<GetXoaResourceSetResult>
Copy
def get_xoa_resource_set(name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetXoaResourceSetResult
def get_xoa_resource_set_output(name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetXoaResourceSetResult]
Copy
func GetXoaResourceSet(ctx *Context, args *GetXoaResourceSetArgs, opts ...InvokeOption) (*GetXoaResourceSetResult, error)
func GetXoaResourceSetOutput(ctx *Context, args *GetXoaResourceSetOutputArgs, opts ...InvokeOption) GetXoaResourceSetResultOutput
Copy

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

public static class GetXoaResourceSet 
{
    public static Task<GetXoaResourceSetResult> InvokeAsync(GetXoaResourceSetArgs args, InvokeOptions? opts = null)
    public static Output<GetXoaResourceSetResult> Invoke(GetXoaResourceSetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetXoaResourceSetResult> getXoaResourceSet(GetXoaResourceSetArgs args, InvokeOptions options)
public static Output<GetXoaResourceSetResult> getXoaResourceSet(GetXoaResourceSetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: xenorchestra:index/getXoaResourceSet:getXoaResourceSet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the resource set to look up.
Name This property is required. string
The name of the resource set to look up.
name This property is required. String
The name of the resource set to look up.
name This property is required. string
The name of the resource set to look up.
name This property is required. str
The name of the resource set to look up.
name This property is required. String
The name of the resource set to look up.

getXoaResourceSet Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource set to look up.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource set to look up.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource set to look up.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource set to look up.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource set to look up.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource set to look up.

Package Details

Repository
xenorchestra vatesfr/pulumi-xenorchestra
License
Apache-2.0
Notes
This Pulumi package is based on the xenorchestra Terraform Provider.
xenorchestra v1.5.2 published on Monday, Mar 10, 2025 by Vates