Viewing docs for spectrocloud 0.29.3-pre
published on Monday, May 25, 2026 by spectrocloud
published on Monday, May 25, 2026 by spectrocloud
Viewing docs for spectrocloud 0.29.3-pre
published on Monday, May 25, 2026 by spectrocloud
published on Monday, May 25, 2026 by spectrocloud
Data source for looking up a MaaS cloud account by ID or name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const example = spectrocloud.getCloudaccountMaas({
name: "maas-account",
context: "project",
});
import pulumi
import pulumi_spectrocloud as spectrocloud
example = spectrocloud.get_cloudaccount_maas(name="maas-account",
context="project")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := spectrocloud.LookupCloudaccountMaas(ctx, &spectrocloud.LookupCloudaccountMaasArgs{
Name: pulumi.StringRef("maas-account"),
Context: pulumi.StringRef("project"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var example = Spectrocloud.GetCloudaccountMaas.Invoke(new()
{
Name = "maas-account",
Context = "project",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetCloudaccountMaasArgs;
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 example = SpectrocloudFunctions.getCloudaccountMaas(GetCloudaccountMaasArgs.builder()
.name("maas-account")
.context("project")
.build());
}
}
variables:
example:
fn::invoke:
function: spectrocloud:getCloudaccountMaas
arguments:
name: maas-account
context: project
Example coming soon!
Using getCloudaccountMaas
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 getCloudaccountMaas(args: GetCloudaccountMaasArgs, opts?: InvokeOptions): Promise<GetCloudaccountMaasResult>
function getCloudaccountMaasOutput(args: GetCloudaccountMaasOutputArgs, opts?: InvokeOptions): Output<GetCloudaccountMaasResult>def get_cloudaccount_maas(context: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudaccountMaasResult
def get_cloudaccount_maas_output(context: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudaccountMaasResult]func LookupCloudaccountMaas(ctx *Context, args *LookupCloudaccountMaasArgs, opts ...InvokeOption) (*LookupCloudaccountMaasResult, error)
func LookupCloudaccountMaasOutput(ctx *Context, args *LookupCloudaccountMaasOutputArgs, opts ...InvokeOption) LookupCloudaccountMaasResultOutput> Note: This function is named LookupCloudaccountMaas in the Go SDK.
public static class GetCloudaccountMaas
{
public static Task<GetCloudaccountMaasResult> InvokeAsync(GetCloudaccountMaasArgs args, InvokeOptions? opts = null)
public static Output<GetCloudaccountMaasResult> Invoke(GetCloudaccountMaasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudaccountMaasResult> getCloudaccountMaas(GetCloudaccountMaasArgs args, InvokeOptions options)
public static Output<GetCloudaccountMaasResult> getCloudaccountMaas(GetCloudaccountMaasArgs args, InvokeOptions options)
fn::invoke:
function: spectrocloud:index/getCloudaccountMaas:getCloudaccountMaas
arguments:
# arguments dictionarydata "spectrocloud_getcloudaccountmaas" "name" {
# arguments
}The following arguments are supported:
- Context string
- The context of the cluster. Allowed values are
projectortenantor ``. - Id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - Name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
- Context string
- The context of the cluster. Allowed values are
projectortenantor ``. - Id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - Name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
- context string
- The context of the cluster. Allowed values are
projectortenantor ``. - id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
- context String
- The context of the cluster. Allowed values are
projectortenantor ``. - id String
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - name String
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
- context string
- The context of the cluster. Allowed values are
projectortenantor ``. - id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
- context str
- The context of the cluster. Allowed values are
projectortenantor ``. - id str
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - name str
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
- context String
- The context of the cluster. Allowed values are
projectortenantor ``. - id String
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - name String
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified.
getCloudaccountMaas Result
The following output properties are available:
- Id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - Maas
Api stringEndpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- Maas
Api stringKey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- Name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - Private
Cloud stringGateway Id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- Context string
- The context of the cluster. Allowed values are
projectortenantor ``.
- Id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - Maas
Api stringEndpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- Maas
Api stringKey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- Name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - Private
Cloud stringGateway Id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- Context string
- The context of the cluster. Allowed values are
projectortenantor ``.
- id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - maas_
api_ stringendpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- maas_
api_ stringkey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - private_
cloud_ stringgateway_ id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- context string
- The context of the cluster. Allowed values are
projectortenantor ``.
- id String
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - maas
Api StringEndpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- maas
Api StringKey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- name String
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - private
Cloud StringGateway Id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- context String
- The context of the cluster. Allowed values are
projectortenantor ``.
- id string
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - maas
Api stringEndpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- maas
Api stringKey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- name string
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - private
Cloud stringGateway Id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- context string
- The context of the cluster. Allowed values are
projectortenantor ``.
- id str
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - maas_
api_ strendpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- maas_
api_ strkey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- name str
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - private_
cloud_ strgateway_ id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- context str
- The context of the cluster. Allowed values are
projectortenantor ``.
- id String
- The unique ID of the cloud account. Either
idornamemust be provided, but not both. - maas
Api StringEndpoint - The API endpoint of the MaaS account. This value is computed based on the cloud account's configuration and is used for interaction with the MaaS service.
- maas
Api StringKey - The API key associated with the MaaS account. This is used to authenticate API requests to the MaaS service and is computed from the cloud account's credentials.
- name String
- The name of the cloud account. This can be used instead of
idto retrieve the account details. Only one ofidornamecan be specified. - private
Cloud StringGateway Id - The ID of the Private Cloud Gateway associated with this MaaS cloud account.
- context String
- The context of the cluster. Allowed values are
projectortenantor ``.
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloudTerraform Provider.
Viewing docs for spectrocloud 0.29.3-pre
published on Monday, May 25, 2026 by spectrocloud
published on Monday, May 25, 2026 by spectrocloud