xenorchestra v1.5.0 published on Friday, Mar 7, 2025 by Vates
xenorchestra.getResourceSet
Explore with Pulumi AI
Deprecated: xenorchestra.index/getresourceset.getResourceSet has been deprecated in favor of xenorchestra.index/getxoaresourceset.getXoaResourceSet
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as xenorchestra from "@pulumi/xenorchestra";
const rs = xenorchestra.getXoaResourceSet({
    name: "my resource set",
});
import pulumi
import pulumi_xenorchestra as xenorchestra
rs = xenorchestra.get_xoa_resource_set(name="my resource set")
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
	})
}
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",
    });
});
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());
    }
}
variables:
  rs:
    fn::invoke:
      function: xenorchestra:getXoaResourceSet
      arguments:
        name: my resource set
Using getResourceSet
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 getResourceSet(args: GetResourceSetArgs, opts?: InvokeOptions): Promise<GetResourceSetResult>
function getResourceSetOutput(args: GetResourceSetOutputArgs, opts?: InvokeOptions): Output<GetResourceSetResult>def get_resource_set(name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetResourceSetResult
def get_resource_set_output(name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetResourceSetResult]func LookupResourceSet(ctx *Context, args *LookupResourceSetArgs, opts ...InvokeOption) (*LookupResourceSetResult, error)
func LookupResourceSetOutput(ctx *Context, args *LookupResourceSetOutputArgs, opts ...InvokeOption) LookupResourceSetResultOutput> Note: This function is named LookupResourceSet in the Go SDK.
public static class GetResourceSet 
{
    public static Task<GetResourceSetResult> InvokeAsync(GetResourceSetArgs args, InvokeOptions? opts = null)
    public static Output<GetResourceSetResult> Invoke(GetResourceSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResourceSetResult> getResourceSet(GetResourceSetArgs args, InvokeOptions options)
public static Output<GetResourceSetResult> getResourceSet(GetResourceSetArgs args, InvokeOptions options)
fn::invoke:
  function: xenorchestra:index/getResourceSet:getResourceSet
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of the resource set to look up.
- Name string
- The name of the resource set to look up.
- name String
- The name of the resource set to look up.
- name string
- The name of the resource set to look up.
- name str
- The name of the resource set to look up.
- name String
- The name of the resource set to look up.
getResourceSet Result
The following output properties are available:
Package Details
- Repository
- xenorchestra vatesfr/pulumi-xenorchestra
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the xenorchestraTerraform Provider.
