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

vmc.getSddc

Explore with Pulumi AI

vmc logo
vmc 1.15.3 published on Monday, Apr 14, 2025 by vmware

    The sddc data source provides 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
    ID of the SDDC.
    Id string
    SDDC identifier.
    SddcId string
    ID of the SDDC.
    Id string
    SDDC identifier.
    sddcId String
    ID of the SDDC.
    id String
    SDDC identifier.
    sddcId string
    ID of the SDDC.
    id string
    SDDC identifier.
    sddc_id str
    ID of the SDDC.
    id str
    SDDC identifier.
    sddcId String
    ID of the SDDC.
    id String
    SDDC identifier.

    getSddc Result

    The following output properties are available:

    AccountLinkState string
    AvailabilityZones List<string>
    Availability Zones.
    CloudUsername string
    Cloud username.
    Created string
    DeploymentType string
    Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
    Id string
    SDDC identifier.
    NsxtCloudadmin string
    the NSXT userID admin for direct NSXT access
    NsxtCloudadminPassword string
    the NSXT userID admin password for direct NSXT access
    NsxtCloudaudit string
    the NSXT userID audit for direct NSXT access
    NsxtCloudauditPassword string
    the NSXT userID audit password for direct NSXT access
    NsxtPrivateIp string
    NsxtPrivateUrl string
    for example "https://nsxManager.sddc-54-213-170-7.vmwarevmc.com/login.jsp"
    NsxtReverseProxyUrl string
    NSXT reverse proxy url for managing public IP.
    NsxtUi bool
    NumHost double
    The number of hosts.
    OrgId string
    ProviderType string
    Possible values are "ZEROCLOUD" and "AWS".
    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
    Name of the SDDC.
    SddcState string
    Denotes the sddc state.
    SddcType string
    Denotes the sddc type.
    SkipCreatingVxlan bool
    Boolean value to skip creating vxlan for compute gateway for SDDC provisioning.
    SsoDomain string
    The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.
    Updated string
    UpdatedByUserId string
    UpdatedByUserName string
    UserId string
    UserName string
    VcUrl string
    VC URL.
    Version double
    AccountLinkState string
    AvailabilityZones []string
    Availability Zones.
    CloudUsername string
    Cloud username.
    Created string
    DeploymentType string
    Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
    Id string
    SDDC identifier.
    NsxtCloudadmin string
    the NSXT userID admin for direct NSXT access
    NsxtCloudadminPassword string
    the NSXT userID admin password for direct NSXT access
    NsxtCloudaudit string
    the NSXT userID audit for direct NSXT access
    NsxtCloudauditPassword string
    the NSXT userID audit password for direct NSXT access
    NsxtPrivateIp string
    NsxtPrivateUrl string
    for example "https://nsxManager.sddc-54-213-170-7.vmwarevmc.com/login.jsp"
    NsxtReverseProxyUrl string
    NSXT reverse proxy url for managing public IP.
    NsxtUi bool
    NumHost float64
    The number of hosts.
    OrgId string
    ProviderType string
    Possible values are "ZEROCLOUD" and "AWS".
    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
    Name of the SDDC.
    SddcState string
    Denotes the sddc state.
    SddcType string
    Denotes the sddc type.
    SkipCreatingVxlan bool
    Boolean value to skip creating vxlan for compute gateway for SDDC provisioning.
    SsoDomain string
    The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.
    Updated string
    UpdatedByUserId string
    UpdatedByUserName string
    UserId string
    UserName string
    VcUrl string
    VC URL.
    Version float64
    accountLinkState String
    availabilityZones List<String>
    Availability Zones.
    cloudUsername String
    Cloud username.
    created String
    deploymentType String
    Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
    id String
    SDDC identifier.
    nsxtCloudadmin String
    the NSXT userID admin for direct NSXT access
    nsxtCloudadminPassword String
    the NSXT userID admin password for direct NSXT access
    nsxtCloudaudit String
    the NSXT userID audit for direct NSXT access
    nsxtCloudauditPassword String
    the NSXT userID audit password for direct NSXT access
    nsxtPrivateIp String
    nsxtPrivateUrl String
    for example "https://nsxManager.sddc-54-213-170-7.vmwarevmc.com/login.jsp"
    nsxtReverseProxyUrl String
    NSXT reverse proxy url for managing public IP.
    nsxtUi Boolean
    numHost Double
    The number of hosts.
    orgId String
    providerType String
    Possible values are "ZEROCLOUD" and "AWS".
    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
    Name of the SDDC.
    sddcState String
    Denotes the sddc state.
    sddcType String
    Denotes the sddc type.
    skipCreatingVxlan Boolean
    Boolean value to skip creating vxlan for compute gateway for SDDC provisioning.
    ssoDomain String
    The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.
    updated String
    updatedByUserId String
    updatedByUserName String
    userId String
    userName String
    vcUrl String
    VC URL.
    version Double
    accountLinkState string
    availabilityZones string[]
    Availability Zones.
    cloudUsername string
    Cloud username.
    created string
    deploymentType string
    Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
    id string
    SDDC identifier.
    nsxtCloudadmin string
    the NSXT userID admin for direct NSXT access
    nsxtCloudadminPassword string
    the NSXT userID admin password for direct NSXT access
    nsxtCloudaudit string
    the NSXT userID audit for direct NSXT access
    nsxtCloudauditPassword string
    the NSXT userID audit password for direct NSXT access
    nsxtPrivateIp string
    nsxtPrivateUrl string
    for example "https://nsxManager.sddc-54-213-170-7.vmwarevmc.com/login.jsp"
    nsxtReverseProxyUrl string
    NSXT reverse proxy url for managing public IP.
    nsxtUi boolean
    numHost number
    The number of hosts.
    orgId string
    providerType string
    Possible values are "ZEROCLOUD" and "AWS".
    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
    Name of the SDDC.
    sddcState string
    Denotes the sddc state.
    sddcType string
    Denotes the sddc type.
    skipCreatingVxlan boolean
    Boolean value to skip creating vxlan for compute gateway for SDDC provisioning.
    ssoDomain string
    The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.
    updated string
    updatedByUserId string
    updatedByUserName string
    userId string
    userName string
    vcUrl string
    VC URL.
    version number
    account_link_state str
    availability_zones Sequence[str]
    Availability Zones.
    cloud_username str
    Cloud username.
    created str
    deployment_type str
    Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
    id str
    SDDC identifier.
    nsxt_cloudadmin str
    the NSXT userID admin for direct NSXT access
    nsxt_cloudadmin_password str
    the NSXT userID admin password for direct NSXT access
    nsxt_cloudaudit str
    the NSXT userID audit for direct NSXT access
    nsxt_cloudaudit_password str
    the NSXT userID audit password for direct NSXT access
    nsxt_private_ip str
    nsxt_private_url str
    for example "https://nsxManager.sddc-54-213-170-7.vmwarevmc.com/login.jsp"
    nsxt_reverse_proxy_url str
    NSXT reverse proxy url for managing public IP.
    nsxt_ui bool
    num_host float
    The number of hosts.
    org_id str
    provider_type str
    Possible values are "ZEROCLOUD" and "AWS".
    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
    Name of the SDDC.
    sddc_state str
    Denotes the sddc state.
    sddc_type str
    Denotes the sddc type.
    skip_creating_vxlan bool
    Boolean value to skip creating vxlan for compute gateway for SDDC provisioning.
    sso_domain str
    The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.
    updated str
    updated_by_user_id str
    updated_by_user_name str
    user_id str
    user_name str
    vc_url str
    VC URL.
    version float
    accountLinkState String
    availabilityZones List<String>
    Availability Zones.
    cloudUsername String
    Cloud username.
    created String
    deploymentType String
    Denotes if request is for a SingleAZ or a MultiAZ SDDC. Default is SingleAZ.
    id String
    SDDC identifier.
    nsxtCloudadmin String
    the NSXT userID admin for direct NSXT access
    nsxtCloudadminPassword String
    the NSXT userID admin password for direct NSXT access
    nsxtCloudaudit String
    the NSXT userID audit for direct NSXT access
    nsxtCloudauditPassword String
    the NSXT userID audit password for direct NSXT access
    nsxtPrivateIp String
    nsxtPrivateUrl String
    for example "https://nsxManager.sddc-54-213-170-7.vmwarevmc.com/login.jsp"
    nsxtReverseProxyUrl String
    NSXT reverse proxy url for managing public IP.
    nsxtUi Boolean
    numHost Number
    The number of hosts.
    orgId String
    providerType String
    Possible values are "ZEROCLOUD" and "AWS".
    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
    Name of the SDDC.
    sddcState String
    Denotes the sddc state.
    sddcType String
    Denotes the sddc type.
    skipCreatingVxlan Boolean
    Boolean value to skip creating vxlan for compute gateway for SDDC provisioning.
    ssoDomain String
    The SSO domain name to use for vSphere users. If not specified, vmc.local will be used.
    updated String
    updatedByUserId String
    updatedByUserName String
    userId String
    userName String
    vcUrl String
    VC 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.3 published on Monday, Apr 14, 2025 by vmware