1. Packages
  2. Ibm Provider
  3. API Docs
  4. SmPublicCertificateConfigurationDnsClassicInfrastructure
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a resource for PublicCertificateConfigurationDNSClassicInfrastructure. This allows PublicCertificateConfigurationDNSClassicInfrastructure to be created, updated and deleted.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const smPublicCertificateConfigurationDnsClassicInfrastructureInstance = new ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureInstance", {
        instanceId: ibm_resource_instance.sm_instance.guid,
        region: "us-south",
        classicInfrastructurePassword: "username",
        classicInfrastructureUsername: "password",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    sm_public_certificate_configuration_dns_classic_infrastructure_instance = ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureInstance",
        instance_id=ibm_resource_instance["sm_instance"]["guid"],
        region="us-south",
        classic_infrastructure_password="username",
        classic_infrastructure_username="password")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewSmPublicCertificateConfigurationDnsClassicInfrastructure(ctx, "smPublicCertificateConfigurationDnsClassicInfrastructureInstance", &ibm.SmPublicCertificateConfigurationDnsClassicInfrastructureArgs{
    			InstanceId:                    pulumi.Any(ibm_resource_instance.Sm_instance.Guid),
    			Region:                        pulumi.String("us-south"),
    			ClassicInfrastructurePassword: pulumi.String("username"),
    			ClassicInfrastructureUsername: pulumi.String("password"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var smPublicCertificateConfigurationDnsClassicInfrastructureInstance = new Ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureInstance", new()
        {
            InstanceId = ibm_resource_instance.Sm_instance.Guid,
            Region = "us-south",
            ClassicInfrastructurePassword = "username",
            ClassicInfrastructureUsername = "password",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure;
    import com.pulumi.ibm.SmPublicCertificateConfigurationDnsClassicInfrastructureArgs;
    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) {
            var smPublicCertificateConfigurationDnsClassicInfrastructureInstance = new SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureInstance", SmPublicCertificateConfigurationDnsClassicInfrastructureArgs.builder()
                .instanceId(ibm_resource_instance.sm_instance().guid())
                .region("us-south")
                .classicInfrastructurePassword("username")
                .classicInfrastructureUsername("password")
                .build());
    
        }
    }
    
    resources:
      smPublicCertificateConfigurationDnsClassicInfrastructureInstance:
        type: ibm:SmPublicCertificateConfigurationDnsClassicInfrastructure
        properties:
          instanceId: ${ibm_resource_instance.sm_instance.guid}
          region: us-south
          classicInfrastructurePassword: username
          classicInfrastructureUsername: password
    

    Provider Configuration

    The IBM Cloud provider offers a flexible means of providing credentials for authentication. The following methods are supported, in this order, and explained below:

    • Static credentials
    • Environment variables

    To find which credentials are required for this resource, see the service table here.

    Static credentials

    You can provide your static credentials by adding the ibmcloud_api_key, iaas_classic_username, and iaas_classic_api_key arguments in the IBM Cloud provider block.

    Usage:

    provider "ibm" {
        ibmcloud_api_key = ""
        iaas_classic_username = ""
        iaas_classic_api_key = ""
    }
    

    Environment variables

    You can provide your credentials by exporting the IC_API_KEY, IAAS_CLASSIC_USERNAME, and IAAS_CLASSIC_API_KEY environment variables, representing your IBM Cloud platform API key, IBM Cloud Classic Infrastructure (SoftLayer) user name, and IBM Cloud infrastructure API key, respectively.

    provider "ibm" {}
    

    Usage:

    export IC_API_KEY="ibmcloud_api_key"
    export IAAS_CLASSIC_USERNAME="iaas_classic_username"
    export IAAS_CLASSIC_API_KEY="iaas_classic_api_key"
    pulumi preview
    

    Note:

    1. Create or find your ibmcloud_api_key and iaas_classic_api_key here.
    • Select My IBM Cloud API Keys option from view dropdown for ibmcloud_api_key
    • Select Classic Infrastructure API Keys option from view dropdown for iaas_classic_api_key
    1. For iaas_classic_username
    • Go to Users
    • Click on user.
    • Find user name in the VPN password section under User Details tab

    For more informaton, see here.

    Create SmPublicCertificateConfigurationDnsClassicInfrastructure Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SmPublicCertificateConfigurationDnsClassicInfrastructure(name: string, args: SmPublicCertificateConfigurationDnsClassicInfrastructureArgs, opts?: CustomResourceOptions);
    @overload
    def SmPublicCertificateConfigurationDnsClassicInfrastructure(resource_name: str,
                                                                 args: SmPublicCertificateConfigurationDnsClassicInfrastructureArgs,
                                                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def SmPublicCertificateConfigurationDnsClassicInfrastructure(resource_name: str,
                                                                 opts: Optional[ResourceOptions] = None,
                                                                 classic_infrastructure_password: Optional[str] = None,
                                                                 classic_infrastructure_username: Optional[str] = None,
                                                                 instance_id: Optional[str] = None,
                                                                 endpoint_type: Optional[str] = None,
                                                                 name: Optional[str] = None,
                                                                 region: Optional[str] = None,
                                                                 sm_public_certificate_configuration_dns_classic_infrastructure_id: Optional[str] = None)
    func NewSmPublicCertificateConfigurationDnsClassicInfrastructure(ctx *Context, name string, args SmPublicCertificateConfigurationDnsClassicInfrastructureArgs, opts ...ResourceOption) (*SmPublicCertificateConfigurationDnsClassicInfrastructure, error)
    public SmPublicCertificateConfigurationDnsClassicInfrastructure(string name, SmPublicCertificateConfigurationDnsClassicInfrastructureArgs args, CustomResourceOptions? opts = null)
    public SmPublicCertificateConfigurationDnsClassicInfrastructure(String name, SmPublicCertificateConfigurationDnsClassicInfrastructureArgs args)
    public SmPublicCertificateConfigurationDnsClassicInfrastructure(String name, SmPublicCertificateConfigurationDnsClassicInfrastructureArgs args, CustomResourceOptions options)
    
    type: ibm:SmPublicCertificateConfigurationDnsClassicInfrastructure
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsClassicInfrastructureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsClassicInfrastructureArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsClassicInfrastructureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsClassicInfrastructureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SmPublicCertificateConfigurationDnsClassicInfrastructureArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var smPublicCertificateConfigurationDnsClassicInfrastructureResource = new Ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureResource", new()
    {
        ClassicInfrastructurePassword = "string",
        ClassicInfrastructureUsername = "string",
        InstanceId = "string",
        EndpointType = "string",
        Name = "string",
        Region = "string",
        SmPublicCertificateConfigurationDnsClassicInfrastructureId = "string",
    });
    
    example, err := ibm.NewSmPublicCertificateConfigurationDnsClassicInfrastructure(ctx, "smPublicCertificateConfigurationDnsClassicInfrastructureResource", &ibm.SmPublicCertificateConfigurationDnsClassicInfrastructureArgs{
    	ClassicInfrastructurePassword: pulumi.String("string"),
    	ClassicInfrastructureUsername: pulumi.String("string"),
    	InstanceId:                    pulumi.String("string"),
    	EndpointType:                  pulumi.String("string"),
    	Name:                          pulumi.String("string"),
    	Region:                        pulumi.String("string"),
    	SmPublicCertificateConfigurationDnsClassicInfrastructureId: pulumi.String("string"),
    })
    
    var smPublicCertificateConfigurationDnsClassicInfrastructureResource = new SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureResource", SmPublicCertificateConfigurationDnsClassicInfrastructureArgs.builder()
        .classicInfrastructurePassword("string")
        .classicInfrastructureUsername("string")
        .instanceId("string")
        .endpointType("string")
        .name("string")
        .region("string")
        .smPublicCertificateConfigurationDnsClassicInfrastructureId("string")
        .build());
    
    sm_public_certificate_configuration_dns_classic_infrastructure_resource = ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureResource",
        classic_infrastructure_password="string",
        classic_infrastructure_username="string",
        instance_id="string",
        endpoint_type="string",
        name="string",
        region="string",
        sm_public_certificate_configuration_dns_classic_infrastructure_id="string")
    
    const smPublicCertificateConfigurationDnsClassicInfrastructureResource = new ibm.SmPublicCertificateConfigurationDnsClassicInfrastructure("smPublicCertificateConfigurationDnsClassicInfrastructureResource", {
        classicInfrastructurePassword: "string",
        classicInfrastructureUsername: "string",
        instanceId: "string",
        endpointType: "string",
        name: "string",
        region: "string",
        smPublicCertificateConfigurationDnsClassicInfrastructureId: "string",
    });
    
    type: ibm:SmPublicCertificateConfigurationDnsClassicInfrastructure
    properties:
        classicInfrastructurePassword: string
        classicInfrastructureUsername: string
        endpointType: string
        instanceId: string
        name: string
        region: string
        smPublicCertificateConfigurationDnsClassicInfrastructureId: string
    

    SmPublicCertificateConfigurationDnsClassicInfrastructure Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SmPublicCertificateConfigurationDnsClassicInfrastructure resource accepts the following input properties:

    ClassicInfrastructurePassword string
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    ClassicInfrastructureUsername string
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    InstanceId string
    The GUID of the Secrets Manager instance.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SmPublicCertificateConfigurationDnsClassicInfrastructureId string
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    ClassicInfrastructurePassword string
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    ClassicInfrastructureUsername string
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    InstanceId string
    The GUID of the Secrets Manager instance.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SmPublicCertificateConfigurationDnsClassicInfrastructureId string
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    classicInfrastructurePassword String
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classicInfrastructureUsername String
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    instanceId String
    The GUID of the Secrets Manager instance.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationDnsClassicInfrastructureId String
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    classicInfrastructurePassword string
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classicInfrastructureUsername string
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    instanceId string
    The GUID of the Secrets Manager instance.
    endpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name string
    A human-readable unique name to assign to your DNS provider configuration name.
    region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationDnsClassicInfrastructureId string
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    classic_infrastructure_password str
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classic_infrastructure_username str
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    instance_id str
    The GUID of the Secrets Manager instance.
    endpoint_type str
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name str
    A human-readable unique name to assign to your DNS provider configuration name.
    region str
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    sm_public_certificate_configuration_dns_classic_infrastructure_id str
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    classicInfrastructurePassword String
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classicInfrastructureUsername String
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    instanceId String
    The GUID of the Secrets Manager instance.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    smPublicCertificateConfigurationDnsClassicInfrastructureId String
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SmPublicCertificateConfigurationDnsClassicInfrastructure resource produces the following output properties:

    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    Id string
    The provider-assigned unique ID for this managed resource.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    configType string
    The configuration type.
    createdAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id string
    The provider-assigned unique ID for this managed resource.
    secretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    config_type str
    The configuration type.
    created_at str
    (String) The date when a resource was created. The date format follows RFC 3339.
    created_by str
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id str
    The provider-assigned unique ID for this managed resource.
    secret_type str
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updated_at str
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    id String
    The provider-assigned unique ID for this managed resource.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.

    Look up Existing SmPublicCertificateConfigurationDnsClassicInfrastructure Resource

    Get an existing SmPublicCertificateConfigurationDnsClassicInfrastructure resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SmPublicCertificateConfigurationDnsClassicInfrastructureState, opts?: CustomResourceOptions): SmPublicCertificateConfigurationDnsClassicInfrastructure
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            classic_infrastructure_password: Optional[str] = None,
            classic_infrastructure_username: Optional[str] = None,
            config_type: Optional[str] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            endpoint_type: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            secret_type: Optional[str] = None,
            sm_public_certificate_configuration_dns_classic_infrastructure_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> SmPublicCertificateConfigurationDnsClassicInfrastructure
    func GetSmPublicCertificateConfigurationDnsClassicInfrastructure(ctx *Context, name string, id IDInput, state *SmPublicCertificateConfigurationDnsClassicInfrastructureState, opts ...ResourceOption) (*SmPublicCertificateConfigurationDnsClassicInfrastructure, error)
    public static SmPublicCertificateConfigurationDnsClassicInfrastructure Get(string name, Input<string> id, SmPublicCertificateConfigurationDnsClassicInfrastructureState? state, CustomResourceOptions? opts = null)
    public static SmPublicCertificateConfigurationDnsClassicInfrastructure get(String name, Output<String> id, SmPublicCertificateConfigurationDnsClassicInfrastructureState state, CustomResourceOptions options)
    resources:  _:    type: ibm:SmPublicCertificateConfigurationDnsClassicInfrastructure    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClassicInfrastructurePassword string
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    ClassicInfrastructureUsername string
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    InstanceId string
    The GUID of the Secrets Manager instance.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    SmPublicCertificateConfigurationDnsClassicInfrastructureId string
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    ClassicInfrastructurePassword string
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    ClassicInfrastructureUsername string
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    ConfigType string
    The configuration type.
    CreatedAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    CreatedBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    EndpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    InstanceId string
    The GUID of the Secrets Manager instance.
    Name string
    A human-readable unique name to assign to your DNS provider configuration name.
    Region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    SecretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    SmPublicCertificateConfigurationDnsClassicInfrastructureId string
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    UpdatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    classicInfrastructurePassword String
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classicInfrastructureUsername String
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instanceId String
    The GUID of the Secrets Manager instance.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    smPublicCertificateConfigurationDnsClassicInfrastructureId String
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    classicInfrastructurePassword string
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classicInfrastructureUsername string
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    configType string
    The configuration type.
    createdAt string
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy string
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpointType string
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instanceId string
    The GUID of the Secrets Manager instance.
    name string
    A human-readable unique name to assign to your DNS provider configuration name.
    region string
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretType string
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    smPublicCertificateConfigurationDnsClassicInfrastructureId string
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    updatedAt string
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    classic_infrastructure_password str
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classic_infrastructure_username str
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    config_type str
    The configuration type.
    created_at str
    (String) The date when a resource was created. The date format follows RFC 3339.
    created_by str
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpoint_type str
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instance_id str
    The GUID of the Secrets Manager instance.
    name str
    A human-readable unique name to assign to your DNS provider configuration name.
    region str
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secret_type str
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    sm_public_certificate_configuration_dns_classic_infrastructure_id str
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    updated_at str
    (String) The date when a resource was recently modified. The date format follows RFC 3339.
    classicInfrastructurePassword String
    Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    classicInfrastructureUsername String
    The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your <account_id>_<email_address>. For more information, see the docs.

    • Constraints: The maximum length is 128 characters. The minimum length is 2 characters. The value must match regular expression /(.*?)/.
    configType String
    The configuration type.
    createdAt String
    (String) The date when a resource was created. The date format follows RFC 3339.
    createdBy String
    (String) The unique identifier that is associated with the entity that created the secret.

    • Constraints: The maximum length is 128 characters. The minimum length is 4 characters.
    endpointType String
    The endpoint type. If not provided the endpoint type is determined by the visibility argument provided in the provider configuration.

    • Constraints: Allowable values are: private, public.
    instanceId String
    The GUID of the Secrets Manager instance.
    name String
    A human-readable unique name to assign to your DNS provider configuration name.
    region String
    The region of the Secrets Manager instance. If not provided defaults to the region defined in the IBM provider configuration.
    secretType String
    (String) The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials, key-value, and user credentials.

    • Constraints: Allowable values are: arbitrary, imported_cert, public_cert, iam_credentials, kv, username_password, private_cert.
    smPublicCertificateConfigurationDnsClassicInfrastructureId String
    The unique identifier of the PublicCertificateConfigurationDNSClassicInfrastructure.
    updatedAt String
    (String) The date when a resource was recently modified. The date format follows RFC 3339.

    Import

    You can import the ibm_sm_public_certificate_configuration_dns_classic_infrastructure resource by using region, instance_id, and name.

    For more information, see the documentation

    Syntax

    bash

    $ pulumi import ibm:index/smPublicCertificateConfigurationDnsClassicInfrastructure:SmPublicCertificateConfigurationDnsClassicInfrastructure sm_public_certificate_configuration_dns_classic_infrastructure <region>/<instance_id>/<name>
    

    Example

    bash

    $ pulumi import ibm:index/smPublicCertificateConfigurationDnsClassicInfrastructure:SmPublicCertificateConfigurationDnsClassicInfrastructure sm_public_certificate_configuration_dns_classic_infrastructure us-east/6ebc4224-e983-496a-8a54-f40a0bfa9175/my_DNS_config
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud