1. Packages
  2. Vmc Provider
  3. API Docs
  4. getSddc
vmc 1.15.4 published on Monday, Apr 21, 2025 by vmware

vmc.getSddc

Explore with Pulumi AI

vmc logo
vmc 1.15.4 published on Monday, Apr 21, 2025 by vmware

    The SDDC data source retrieves information about an SDDC.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vmc from "@pulumi/vmc";
    
    const mySddc = vmc.getSddc({
        sddcId: _var.sddc_id,
    });
    
    import pulumi
    import pulumi_vmc as vmc
    
    my_sddc = vmc.get_sddc(sddc_id=var["sddc_id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vmc/vmc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vmc.LookupSddc(ctx, &vmc.LookupSddcArgs{
    			SddcId: _var.Sddc_id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vmc = Pulumi.Vmc;
    
    return await Deployment.RunAsync(() => 
    {
        var mySddc = Vmc.GetSddc.Invoke(new()
        {
            SddcId = @var.Sddc_id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vmc.VmcFunctions;
    import com.pulumi.vmc.inputs.GetSddcArgs;
    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 mySddc = VmcFunctions.getSddc(GetSddcArgs.builder()
                .sddcId(var_.sddc_id())
                .build());
    
        }
    }
    
    variables:
      mySddc:
        fn::invoke:
          function: vmc:getSddc
          arguments:
            sddcId: ${var.sddc_id}
    

    Using getSddc

    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 getSddc(args: GetSddcArgs, opts?: InvokeOptions): Promise<GetSddcResult>
    function getSddcOutput(args: GetSddcOutputArgs, opts?: InvokeOptions): Output<GetSddcResult>
    def get_sddc(id: Optional[str] = None,
                 sddc_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetSddcResult
    def get_sddc_output(id: Optional[pulumi.Input[str]] = None,
                 sddc_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetSddcResult]
    func LookupSddc(ctx *Context, args *LookupSddcArgs, opts ...InvokeOption) (*LookupSddcResult, error)
    func LookupSddcOutput(ctx *Context, args *LookupSddcOutputArgs, opts ...InvokeOption) LookupSddcResultOutput

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

    public static class GetSddc 
    {
        public static Task<GetSddcResult> InvokeAsync(GetSddcArgs args, InvokeOptions? opts = null)
        public static Output<GetSddcResult> Invoke(GetSddcInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSddcResult> getSddc(GetSddcArgs args, InvokeOptions options)
    public static Output<GetSddcResult> getSddc(GetSddcArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vmc:index/getSddc:getSddc
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SddcId string
    The SDDC identifier.
    Id string
    The SDDC identifier.
    SddcId string
    The SDDC identifier.
    Id string
    The SDDC identifier.
    sddcId String
    The SDDC identifier.
    id String
    The SDDC identifier.
    sddcId string
    The SDDC identifier.
    id string
    The SDDC identifier.
    sddc_id str
    The SDDC identifier.
    id str
    The SDDC identifier.
    sddcId String
    The SDDC identifier.
    id String
    The SDDC identifier.

    getSddc Result

    The following output properties are available:

    AccountLinkState string
    AvailabilityZones List<string>
    The availability zones.
    CloudUsername string
    The cloud username.
    Created string
    DeploymentType string
    The deployment type. One of: SingleAZ or MultiAZ.
    Id string
    The SDDC identifier.
    NsxtCloudadmin string
    The NSX admin user for direct access.
    NsxtCloudadminPassword string
    The NSX admin user password for direct access.
    NsxtCloudaudit string
    The NSX audit user for direct access.
    NsxtCloudauditPassword string
    The NSX audit user password for direct access.
    NsxtPrivateIp string
    NsxtPrivateUrl string
    The NSX private URL.
    NsxtReverseProxyUrl string
    The NSX reverse proxy URL for managing public IP.
    NsxtUi bool
    NumHost double
    The number of ESX hosts.
    OrgId string
    ProviderType string
    Allowed values include AWS and ZEROCLOUD.
    Region string
    The AWS specific (e.g., us-west-2) or VMC specific region (e.g., US_WEST_2) of the cloud resources to work in.
    SddcAccessState string
    SddcId string
    SddcName string
    The name of the SDDC.
    SddcState string
    The SDDC state.
    SddcType string
    The SDDC type.
    SkipCreatingVxlan bool
    Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
    SsoDomain string
    The SSO domain name to use for vSphere users.
    Updated string
    UpdatedByUserId string
    UpdatedByUserName string
    UserId string
    UserName string
    VcUrl string
    The vCenter instance URL.
    Version double
    AccountLinkState string
    AvailabilityZones []string
    The availability zones.
    CloudUsername string
    The cloud username.
    Created string
    DeploymentType string
    The deployment type. One of: SingleAZ or MultiAZ.
    Id string
    The SDDC identifier.
    NsxtCloudadmin string
    The NSX admin user for direct access.
    NsxtCloudadminPassword string
    The NSX admin user password for direct access.
    NsxtCloudaudit string
    The NSX audit user for direct access.
    NsxtCloudauditPassword string
    The NSX audit user password for direct access.
    NsxtPrivateIp string
    NsxtPrivateUrl string
    The NSX private URL.
    NsxtReverseProxyUrl string
    The NSX reverse proxy URL for managing public IP.
    NsxtUi bool
    NumHost float64
    The number of ESX hosts.
    OrgId string
    ProviderType string
    Allowed values include AWS and ZEROCLOUD.
    Region string
    The AWS specific (e.g., us-west-2) or VMC specific region (e.g., US_WEST_2) of the cloud resources to work in.
    SddcAccessState string
    SddcId string
    SddcName string
    The name of the SDDC.
    SddcState string
    The SDDC state.
    SddcType string
    The SDDC type.
    SkipCreatingVxlan bool
    Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
    SsoDomain string
    The SSO domain name to use for vSphere users.
    Updated string
    UpdatedByUserId string
    UpdatedByUserName string
    UserId string
    UserName string
    VcUrl string
    The vCenter instance URL.
    Version float64
    accountLinkState String
    availabilityZones List<String>
    The availability zones.
    cloudUsername String
    The cloud username.
    created String
    deploymentType String
    The deployment type. One of: SingleAZ or MultiAZ.
    id String
    The SDDC identifier.
    nsxtCloudadmin String
    The NSX admin user for direct access.
    nsxtCloudadminPassword String
    The NSX admin user password for direct access.
    nsxtCloudaudit String
    The NSX audit user for direct access.
    nsxtCloudauditPassword String
    The NSX audit user password for direct access.
    nsxtPrivateIp String
    nsxtPrivateUrl String
    The NSX private URL.
    nsxtReverseProxyUrl String
    The NSX reverse proxy URL for managing public IP.
    nsxtUi Boolean
    numHost Double
    The number of ESX hosts.
    orgId String
    providerType String
    Allowed values include AWS and ZEROCLOUD.
    region String
    The AWS specific (e.g., us-west-2) or VMC specific region (e.g., US_WEST_2) of the cloud resources to work in.
    sddcAccessState String
    sddcId String
    sddcName String
    The name of the SDDC.
    sddcState String
    The SDDC state.
    sddcType String
    The SDDC type.
    skipCreatingVxlan Boolean
    Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
    ssoDomain String
    The SSO domain name to use for vSphere users.
    updated String
    updatedByUserId String
    updatedByUserName String
    userId String
    userName String
    vcUrl String
    The vCenter instance URL.
    version Double
    accountLinkState string
    availabilityZones string[]
    The availability zones.
    cloudUsername string
    The cloud username.
    created string
    deploymentType string
    The deployment type. One of: SingleAZ or MultiAZ.
    id string
    The SDDC identifier.
    nsxtCloudadmin string
    The NSX admin user for direct access.
    nsxtCloudadminPassword string
    The NSX admin user password for direct access.
    nsxtCloudaudit string
    The NSX audit user for direct access.
    nsxtCloudauditPassword string
    The NSX audit user password for direct access.
    nsxtPrivateIp string
    nsxtPrivateUrl string
    The NSX private URL.
    nsxtReverseProxyUrl string
    The NSX reverse proxy URL for managing public IP.
    nsxtUi boolean
    numHost number
    The number of ESX hosts.
    orgId string
    providerType string
    Allowed values include AWS and ZEROCLOUD.
    region string
    The AWS specific (e.g., us-west-2) or VMC specific region (e.g., US_WEST_2) of the cloud resources to work in.
    sddcAccessState string
    sddcId string
    sddcName string
    The name of the SDDC.
    sddcState string
    The SDDC state.
    sddcType string
    The SDDC type.
    skipCreatingVxlan boolean
    Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
    ssoDomain string
    The SSO domain name to use for vSphere users.
    updated string
    updatedByUserId string
    updatedByUserName string
    userId string
    userName string
    vcUrl string
    The vCenter instance URL.
    version number
    account_link_state str
    availability_zones Sequence[str]
    The availability zones.
    cloud_username str
    The cloud username.
    created str
    deployment_type str
    The deployment type. One of: SingleAZ or MultiAZ.
    id str
    The SDDC identifier.
    nsxt_cloudadmin str
    The NSX admin user for direct access.
    nsxt_cloudadmin_password str
    The NSX admin user password for direct access.
    nsxt_cloudaudit str
    The NSX audit user for direct access.
    nsxt_cloudaudit_password str
    The NSX audit user password for direct access.
    nsxt_private_ip str
    nsxt_private_url str
    The NSX private URL.
    nsxt_reverse_proxy_url str
    The NSX reverse proxy URL for managing public IP.
    nsxt_ui bool
    num_host float
    The number of ESX hosts.
    org_id str
    provider_type str
    Allowed values include AWS and ZEROCLOUD.
    region str
    The AWS specific (e.g., us-west-2) or VMC specific region (e.g., US_WEST_2) of the cloud resources to work in.
    sddc_access_state str
    sddc_id str
    sddc_name str
    The name of the SDDC.
    sddc_state str
    The SDDC state.
    sddc_type str
    The SDDC type.
    skip_creating_vxlan bool
    Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
    sso_domain str
    The SSO domain name to use for vSphere users.
    updated str
    updated_by_user_id str
    updated_by_user_name str
    user_id str
    user_name str
    vc_url str
    The vCenter instance URL.
    version float
    accountLinkState String
    availabilityZones List<String>
    The availability zones.
    cloudUsername String
    The cloud username.
    created String
    deploymentType String
    The deployment type. One of: SingleAZ or MultiAZ.
    id String
    The SDDC identifier.
    nsxtCloudadmin String
    The NSX admin user for direct access.
    nsxtCloudadminPassword String
    The NSX admin user password for direct access.
    nsxtCloudaudit String
    The NSX audit user for direct access.
    nsxtCloudauditPassword String
    The NSX audit user password for direct access.
    nsxtPrivateIp String
    nsxtPrivateUrl String
    The NSX private URL.
    nsxtReverseProxyUrl String
    The NSX reverse proxy URL for managing public IP.
    nsxtUi Boolean
    numHost Number
    The number of ESX hosts.
    orgId String
    providerType String
    Allowed values include AWS and ZEROCLOUD.
    region String
    The AWS specific (e.g., us-west-2) or VMC specific region (e.g., US_WEST_2) of the cloud resources to work in.
    sddcAccessState String
    sddcId String
    sddcName String
    The name of the SDDC.
    sddcState String
    The SDDC state.
    sddcType String
    The SDDC type.
    skipCreatingVxlan Boolean
    Specifies to skip creating VXLAN for compute gateway for SDDC provisioning.
    ssoDomain String
    The SSO domain name to use for vSphere users.
    updated String
    updatedByUserId String
    updatedByUserName String
    userId String
    userName String
    vcUrl String
    The vCenter instance URL.
    version Number

    Package Details

    Repository
    vmc vmware/terraform-provider-vmc
    License
    Notes
    This Pulumi package is based on the vmc Terraform Provider.
    vmc logo
    vmc 1.15.4 published on Monday, Apr 21, 2025 by vmware