ibm.SmPublicCertificateConfigurationDnsCis
Explore with Pulumi AI
Provides a resource for PublicCertificateConfigurationDNSCloudInternetServices. This allows PublicCertificateConfigurationDNSCloudInternetServices to be created, updated and deleted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const smPublicCertificateConfigurationDnsCisInstance = new ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance", {
instanceId: ibm_resource_instance.sm_instance.guid,
region: "us-south",
cloudInternetServicesApikey: _var.sm_cis_apikey,
cloudInternetServicesCrn: _var.sm_cis_crn,
});
import pulumi
import pulumi_ibm as ibm
sm_public_certificate_configuration_dns_cis_instance = ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance",
instance_id=ibm_resource_instance["sm_instance"]["guid"],
region="us-south",
cloud_internet_services_apikey=var["sm_cis_apikey"],
cloud_internet_services_crn=var["sm_cis_crn"])
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.NewSmPublicCertificateConfigurationDnsCis(ctx, "smPublicCertificateConfigurationDnsCisInstance", &ibm.SmPublicCertificateConfigurationDnsCisArgs{
InstanceId: pulumi.Any(ibm_resource_instance.Sm_instance.Guid),
Region: pulumi.String("us-south"),
CloudInternetServicesApikey: pulumi.Any(_var.Sm_cis_apikey),
CloudInternetServicesCrn: pulumi.Any(_var.Sm_cis_crn),
})
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 smPublicCertificateConfigurationDnsCisInstance = new Ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance", new()
{
InstanceId = ibm_resource_instance.Sm_instance.Guid,
Region = "us-south",
CloudInternetServicesApikey = @var.Sm_cis_apikey,
CloudInternetServicesCrn = @var.Sm_cis_crn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.SmPublicCertificateConfigurationDnsCis;
import com.pulumi.ibm.SmPublicCertificateConfigurationDnsCisArgs;
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 smPublicCertificateConfigurationDnsCisInstance = new SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisInstance", SmPublicCertificateConfigurationDnsCisArgs.builder()
.instanceId(ibm_resource_instance.sm_instance().guid())
.region("us-south")
.cloudInternetServicesApikey(var_.sm_cis_apikey())
.cloudInternetServicesCrn(var_.sm_cis_crn())
.build());
}
}
resources:
smPublicCertificateConfigurationDnsCisInstance:
type: ibm:SmPublicCertificateConfigurationDnsCis
properties:
instanceId: ${ibm_resource_instance.sm_instance.guid}
region: us-south
cloudInternetServicesApikey: ${var.sm_cis_apikey}
cloudInternetServicesCrn: ${var.sm_cis_crn}
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:
- Create or find your
ibmcloud_api_key
andiaas_classic_api_key
here.
- Select
My IBM Cloud API Keys
option from view dropdown foribmcloud_api_key
- Select
Classic Infrastructure API Keys
option from view dropdown foriaas_classic_api_key
- For iaas_classic_username
- Go to Users
- Click on user.
- Find user name in the
VPN password
section underUser Details
tab
For more informaton, see here.
Create SmPublicCertificateConfigurationDnsCis Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmPublicCertificateConfigurationDnsCis(name: string, args: SmPublicCertificateConfigurationDnsCisArgs, opts?: CustomResourceOptions);
@overload
def SmPublicCertificateConfigurationDnsCis(resource_name: str,
args: SmPublicCertificateConfigurationDnsCisArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SmPublicCertificateConfigurationDnsCis(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_internet_services_crn: Optional[str] = None,
instance_id: Optional[str] = None,
cloud_internet_services_apikey: Optional[str] = None,
endpoint_type: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
sm_public_certificate_configuration_dns_cis_id: Optional[str] = None)
func NewSmPublicCertificateConfigurationDnsCis(ctx *Context, name string, args SmPublicCertificateConfigurationDnsCisArgs, opts ...ResourceOption) (*SmPublicCertificateConfigurationDnsCis, error)
public SmPublicCertificateConfigurationDnsCis(string name, SmPublicCertificateConfigurationDnsCisArgs args, CustomResourceOptions? opts = null)
public SmPublicCertificateConfigurationDnsCis(String name, SmPublicCertificateConfigurationDnsCisArgs args)
public SmPublicCertificateConfigurationDnsCis(String name, SmPublicCertificateConfigurationDnsCisArgs args, CustomResourceOptions options)
type: ibm:SmPublicCertificateConfigurationDnsCis
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 SmPublicCertificateConfigurationDnsCisArgs
- 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 SmPublicCertificateConfigurationDnsCisArgs
- 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 SmPublicCertificateConfigurationDnsCisArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmPublicCertificateConfigurationDnsCisArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmPublicCertificateConfigurationDnsCisArgs
- 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 smPublicCertificateConfigurationDnsCisResource = new Ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource", new()
{
CloudInternetServicesCrn = "string",
InstanceId = "string",
CloudInternetServicesApikey = "string",
EndpointType = "string",
Name = "string",
Region = "string",
SmPublicCertificateConfigurationDnsCisId = "string",
});
example, err := ibm.NewSmPublicCertificateConfigurationDnsCis(ctx, "smPublicCertificateConfigurationDnsCisResource", &ibm.SmPublicCertificateConfigurationDnsCisArgs{
CloudInternetServicesCrn: pulumi.String("string"),
InstanceId: pulumi.String("string"),
CloudInternetServicesApikey: pulumi.String("string"),
EndpointType: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
SmPublicCertificateConfigurationDnsCisId: pulumi.String("string"),
})
var smPublicCertificateConfigurationDnsCisResource = new SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource", SmPublicCertificateConfigurationDnsCisArgs.builder()
.cloudInternetServicesCrn("string")
.instanceId("string")
.cloudInternetServicesApikey("string")
.endpointType("string")
.name("string")
.region("string")
.smPublicCertificateConfigurationDnsCisId("string")
.build());
sm_public_certificate_configuration_dns_cis_resource = ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource",
cloud_internet_services_crn="string",
instance_id="string",
cloud_internet_services_apikey="string",
endpoint_type="string",
name="string",
region="string",
sm_public_certificate_configuration_dns_cis_id="string")
const smPublicCertificateConfigurationDnsCisResource = new ibm.SmPublicCertificateConfigurationDnsCis("smPublicCertificateConfigurationDnsCisResource", {
cloudInternetServicesCrn: "string",
instanceId: "string",
cloudInternetServicesApikey: "string",
endpointType: "string",
name: "string",
region: "string",
smPublicCertificateConfigurationDnsCisId: "string",
});
type: ibm:SmPublicCertificateConfigurationDnsCis
properties:
cloudInternetServicesApikey: string
cloudInternetServicesCrn: string
endpointType: string
instanceId: string
name: string
region: string
smPublicCertificateConfigurationDnsCisId: string
SmPublicCertificateConfigurationDnsCis 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 SmPublicCertificateConfigurationDnsCis resource accepts the following input properties:
- Cloud
Internet stringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- Instance
Id string - The GUID of the Secrets Manager instance.
- Cloud
Internet stringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- 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.
- Sm
Public stringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- Cloud
Internet stringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- Instance
Id string - The GUID of the Secrets Manager instance.
- Cloud
Internet stringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- 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.
- Sm
Public stringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- cloud
Internet StringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- instance
Id String - The GUID of the Secrets Manager instance.
- cloud
Internet StringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- 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.
- sm
Public StringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- cloud
Internet stringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- instance
Id string - The GUID of the Secrets Manager instance.
- cloud
Internet stringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- 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.
- sm
Public stringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- cloud_
internet_ strservices_ crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- instance_
id str - The GUID of the Secrets Manager instance.
- cloud_
internet_ strservices_ apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- 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_ strcertificate_ configuration_ dns_ cis_ id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- cloud
Internet StringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- instance
Id String - The GUID of the Secrets Manager instance.
- cloud
Internet StringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- 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.
- sm
Public StringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
Outputs
All input properties are implicitly available as output properties. Additionally, the SmPublicCertificateConfigurationDnsCis resource produces the following output properties:
- Config
Type string - The configuration type.
- Created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- Created
By 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 is4
characters.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- Config
Type string - The configuration type.
- Created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- Created
By 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 is4
characters.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- config
Type String - The configuration type.
- created
At String - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Type 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
.
- Constraints: Allowable values are:
- updated
At String - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- config
Type string - The configuration type.
- created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- secret
Type 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
.
- Constraints: Allowable values are:
- updated
At 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 is4
characters.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- updated_
at str - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- config
Type String - The configuration type.
- created
At String - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- secret
Type 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
.
- Constraints: Allowable values are:
- updated
At String - (String) The date when a resource was recently modified. The date format follows RFC 3339.
Look up Existing SmPublicCertificateConfigurationDnsCis Resource
Get an existing SmPublicCertificateConfigurationDnsCis 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?: SmPublicCertificateConfigurationDnsCisState, opts?: CustomResourceOptions): SmPublicCertificateConfigurationDnsCis
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud_internet_services_apikey: Optional[str] = None,
cloud_internet_services_crn: 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_cis_id: Optional[str] = None,
updated_at: Optional[str] = None) -> SmPublicCertificateConfigurationDnsCis
func GetSmPublicCertificateConfigurationDnsCis(ctx *Context, name string, id IDInput, state *SmPublicCertificateConfigurationDnsCisState, opts ...ResourceOption) (*SmPublicCertificateConfigurationDnsCis, error)
public static SmPublicCertificateConfigurationDnsCis Get(string name, Input<string> id, SmPublicCertificateConfigurationDnsCisState? state, CustomResourceOptions? opts = null)
public static SmPublicCertificateConfigurationDnsCis get(String name, Output<String> id, SmPublicCertificateConfigurationDnsCisState state, CustomResourceOptions options)
resources: _: type: ibm:SmPublicCertificateConfigurationDnsCis 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.
- Cloud
Internet stringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- Cloud
Internet stringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- Config
Type string - The configuration type.
- Created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- Created
By 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 is4
characters.
- Constraints: The maximum length is
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- Instance
Id 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.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Sm
Public stringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- Updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- Cloud
Internet stringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- Cloud
Internet stringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- Config
Type string - The configuration type.
- Created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- Created
By 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 is4
characters.
- Constraints: The maximum length is
- Endpoint
Type 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
.
- Constraints: Allowable values are:
- Instance
Id 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.
- Secret
Type 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
.
- Constraints: Allowable values are:
- Sm
Public stringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- Updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- cloud
Internet StringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- cloud
Internet StringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- config
Type String - The configuration type.
- created
At String - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- instance
Id 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.
- secret
Type 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
.
- Constraints: Allowable values are:
- sm
Public StringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- updated
At String - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- cloud
Internet stringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- cloud
Internet stringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- config
Type string - The configuration type.
- created
At string - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- instance
Id 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.
- secret
Type 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
.
- Constraints: Allowable values are:
- sm
Public stringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- updated
At string - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- cloud_
internet_ strservices_ apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- cloud_
internet_ strservices_ crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- 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 is4
characters.
- Constraints: The maximum length is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- sm_
public_ strcertificate_ configuration_ dns_ cis_ id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- updated_
at str - (String) The date when a resource was recently modified. The date format follows RFC 3339.
- cloud
Internet StringServices Apikey - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (
internet-svcs
).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use theIAM Policy Management API to control specific domains. For more information, see the docs. This field can be omitted if you have granted service access to CIS (See Granting service access to CIS)- Constraints: The maximum length is
128
characters. The minimum length is4
characters. The value must match regular expression/(.*?)/
.
- Constraints: The maximum length is
- cloud
Internet StringServices Crn - A CRN that uniquely identifies an IBM Cloud resource.
- Constraints: The maximum length is
512
characters. The minimum length is9
characters. The value must match regular expression/^crn:v0-9*+,;=@\/]|%[0-9A-Z]{2})*){8}$/
.
- Constraints: The maximum length is
- config
Type String - The configuration type.
- created
At String - (String) The date when a resource was created. The date format follows RFC 3339.
- created
By 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 is4
characters.
- Constraints: The maximum length is
- endpoint
Type 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
.
- Constraints: Allowable values are:
- instance
Id 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.
- secret
Type 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
.
- Constraints: Allowable values are:
- sm
Public StringCertificate Configuration Dns Cis Id - The unique identifier of the PublicCertificateConfigurationDNSCloudInternetServices.
- updated
At 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_cis
resource by using region
, instance_id
, and name
.
For more information, see the documentation
Syntax
bash
$ pulumi import ibm:index/smPublicCertificateConfigurationDnsCis:SmPublicCertificateConfigurationDnsCis sm_public_certificate_configuration_dns_cis <region>/<instance_id>/<name>
Example
bash
$ pulumi import ibm:index/smPublicCertificateConfigurationDnsCis:SmPublicCertificateConfigurationDnsCis sm_public_certificate_configuration_dns_cis us-east/6ebc4224-e983-496a-8a54-f40a0bfa9175/my_DNS_CIS_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.