xenorchestra v1.5.2 published on Monday, Mar 10, 2025 by Vates
xenorchestra.getXoaCloudConfig
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as xenorchestra from "@pulumi/xenorchestra";
const cloudConfig = xenorchestra.getXoaCloudConfig({
name: "Name of cloud config",
});
import pulumi
import pulumi_xenorchestra as xenorchestra
cloud_config = xenorchestra.get_xoa_cloud_config(name="Name of cloud config")
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.GetXoaCloudConfig(ctx, &xenorchestra.GetXoaCloudConfigArgs{
Name: "Name of cloud config",
}, 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 cloudConfig = Xenorchestra.GetXoaCloudConfig.Invoke(new()
{
Name = "Name of cloud config",
});
});
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.GetXoaCloudConfigArgs;
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 cloudConfig = XenorchestraFunctions.getXoaCloudConfig(GetXoaCloudConfigArgs.builder()
.name("Name of cloud config")
.build());
}
}
variables:
cloudConfig:
fn::invoke:
function: xenorchestra:getXoaCloudConfig
arguments:
name: Name of cloud config
Using getXoaCloudConfig
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 getXoaCloudConfig(args: GetXoaCloudConfigArgs, opts?: InvokeOptions): Promise<GetXoaCloudConfigResult>
function getXoaCloudConfigOutput(args: GetXoaCloudConfigOutputArgs, opts?: InvokeOptions): Output<GetXoaCloudConfigResult>
def get_xoa_cloud_config(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetXoaCloudConfigResult
def get_xoa_cloud_config_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetXoaCloudConfigResult]
func GetXoaCloudConfig(ctx *Context, args *GetXoaCloudConfigArgs, opts ...InvokeOption) (*GetXoaCloudConfigResult, error)
func GetXoaCloudConfigOutput(ctx *Context, args *GetXoaCloudConfigOutputArgs, opts ...InvokeOption) GetXoaCloudConfigResultOutput
> Note: This function is named GetXoaCloudConfig
in the Go SDK.
public static class GetXoaCloudConfig
{
public static Task<GetXoaCloudConfigResult> InvokeAsync(GetXoaCloudConfigArgs args, InvokeOptions? opts = null)
public static Output<GetXoaCloudConfigResult> Invoke(GetXoaCloudConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetXoaCloudConfigResult> getXoaCloudConfig(GetXoaCloudConfigArgs args, InvokeOptions options)
public static Output<GetXoaCloudConfigResult> getXoaCloudConfig(GetXoaCloudConfigArgs args, InvokeOptions options)
fn::invoke:
function: xenorchestra:index/getXoaCloudConfig:getXoaCloudConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the cloud config you want to look up.
- Name string
- The name of the cloud config you want to look up.
- name String
- The name of the cloud config you want to look up.
- name string
- The name of the cloud config you want to look up.
- name str
- The name of the cloud config you want to look up.
- name String
- The name of the cloud config you want to look up.
getXoaCloudConfig 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.