xenorchestra v1.5.0 published on Friday, Mar 7, 2025 by Vates
xenorchestra.getXoaResourceSet
Explore with Pulumi AI
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 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>
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]
func GetXoaResourceSet(ctx *Context, args *GetXoaResourceSetArgs, opts ...InvokeOption) (*GetXoaResourceSetResult, error)
func GetXoaResourceSetOutput(ctx *Context, args *GetXoaResourceSetOutputArgs, opts ...InvokeOption) GetXoaResourceSetResultOutput
> 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)
}
public static CompletableFuture<GetXoaResourceSetResult> getXoaResourceSet(GetXoaResourceSetArgs args, InvokeOptions options)
public static Output<GetXoaResourceSetResult> getXoaResourceSet(GetXoaResourceSetArgs args, InvokeOptions options)
fn::invoke:
function: xenorchestra:index/getXoaResourceSet:getXoaResourceSet
arguments:
# arguments dictionary
The 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.
getXoaResourceSet 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
xenorchestra
Terraform Provider.