ibm.CisTlsSettings
Explore with Pulumi AI
Create, update, or delete an IBM Cloud Internet Services TLS settings resources. This resource is associated with an IBM Cloud Internet Services instance and an IBM Cloud Internet Services Domain resource. For more information, about CIS TLS settings, see setting TLS options.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
# Change TLS Settings of the domain
tlsSettings:
type: ibm:CisTlsSettings
properties:
cisId: ${data.ibm_cis.cis.id}
domainId: ${data.ibm_cis_domain.cis_domain.domain_id}
tls13: off
tls12Only: on
minTlsVersion: '1.2'
universalSsl: true
Create CisTlsSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CisTlsSettings(name: string, args: CisTlsSettingsArgs, opts?: CustomResourceOptions);
@overload
def CisTlsSettings(resource_name: str,
args: CisTlsSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CisTlsSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
cis_id: Optional[str] = None,
domain_id: Optional[str] = None,
cis_tls_settings_id: Optional[str] = None,
min_tls_version: Optional[str] = None,
tls13: Optional[str] = None,
universal_ssl: Optional[bool] = None)
func NewCisTlsSettings(ctx *Context, name string, args CisTlsSettingsArgs, opts ...ResourceOption) (*CisTlsSettings, error)
public CisTlsSettings(string name, CisTlsSettingsArgs args, CustomResourceOptions? opts = null)
public CisTlsSettings(String name, CisTlsSettingsArgs args)
public CisTlsSettings(String name, CisTlsSettingsArgs args, CustomResourceOptions options)
type: ibm:CisTlsSettings
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 CisTlsSettingsArgs
- 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 CisTlsSettingsArgs
- 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 CisTlsSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CisTlsSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CisTlsSettingsArgs
- 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 cisTlsSettingsResource = new Ibm.CisTlsSettings("cisTlsSettingsResource", new()
{
CisId = "string",
DomainId = "string",
CisTlsSettingsId = "string",
MinTlsVersion = "string",
Tls13 = "string",
UniversalSsl = false,
});
example, err := ibm.NewCisTlsSettings(ctx, "cisTlsSettingsResource", &ibm.CisTlsSettingsArgs{
CisId: pulumi.String("string"),
DomainId: pulumi.String("string"),
CisTlsSettingsId: pulumi.String("string"),
MinTlsVersion: pulumi.String("string"),
Tls13: pulumi.String("string"),
UniversalSsl: pulumi.Bool(false),
})
var cisTlsSettingsResource = new CisTlsSettings("cisTlsSettingsResource", CisTlsSettingsArgs.builder()
.cisId("string")
.domainId("string")
.cisTlsSettingsId("string")
.minTlsVersion("string")
.tls13("string")
.universalSsl(false)
.build());
cis_tls_settings_resource = ibm.CisTlsSettings("cisTlsSettingsResource",
cis_id="string",
domain_id="string",
cis_tls_settings_id="string",
min_tls_version="string",
tls13="string",
universal_ssl=False)
const cisTlsSettingsResource = new ibm.CisTlsSettings("cisTlsSettingsResource", {
cisId: "string",
domainId: "string",
cisTlsSettingsId: "string",
minTlsVersion: "string",
tls13: "string",
universalSsl: false,
});
type: ibm:CisTlsSettings
properties:
cisId: string
cisTlsSettingsId: string
domainId: string
minTlsVersion: string
tls13: string
universalSsl: false
CisTlsSettings 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 CisTlsSettings resource accepts the following input properties:
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Domain
Id string - The ID of the domain to change TLS settings.
- Cis
Tls stringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - Min
Tls stringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - Tls13 string
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - Universal
Ssl bool - The Universal SSL
enable
ordisable
setting.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Domain
Id string - The ID of the domain to change TLS settings.
- Cis
Tls stringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - Min
Tls stringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - Tls13 string
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - Universal
Ssl bool - The Universal SSL
enable
ordisable
setting.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- domain
Id String - The ID of the domain to change TLS settings.
- cis
Tls StringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - min
Tls StringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 String
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal
Ssl Boolean - The Universal SSL
enable
ordisable
setting.
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- domain
Id string - The ID of the domain to change TLS settings.
- cis
Tls stringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - min
Tls stringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 string
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal
Ssl boolean - The Universal SSL
enable
ordisable
setting.
- cis_
id str - The ID of the IBM Cloud Internet Services instance.
- domain_
id str - The ID of the domain to change TLS settings.
- cis_
tls_ strsettings_ id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - min_
tls_ strversion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 str
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal_
ssl bool - The Universal SSL
enable
ordisable
setting.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- domain
Id String - The ID of the domain to change TLS settings.
- cis
Tls StringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - min
Tls StringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 String
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal
Ssl Boolean - The Universal SSL
enable
ordisable
setting.
Outputs
All input properties are implicitly available as output properties. Additionally, the CisTlsSettings resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CisTlsSettings Resource
Get an existing CisTlsSettings 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?: CisTlsSettingsState, opts?: CustomResourceOptions): CisTlsSettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cis_id: Optional[str] = None,
cis_tls_settings_id: Optional[str] = None,
domain_id: Optional[str] = None,
min_tls_version: Optional[str] = None,
tls13: Optional[str] = None,
universal_ssl: Optional[bool] = None) -> CisTlsSettings
func GetCisTlsSettings(ctx *Context, name string, id IDInput, state *CisTlsSettingsState, opts ...ResourceOption) (*CisTlsSettings, error)
public static CisTlsSettings Get(string name, Input<string> id, CisTlsSettingsState? state, CustomResourceOptions? opts = null)
public static CisTlsSettings get(String name, Output<String> id, CisTlsSettingsState state, CustomResourceOptions options)
resources: _: type: ibm:CisTlsSettings 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.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cis
Tls stringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - Domain
Id string - The ID of the domain to change TLS settings.
- Min
Tls stringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - Tls13 string
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - Universal
Ssl bool - The Universal SSL
enable
ordisable
setting.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cis
Tls stringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - Domain
Id string - The ID of the domain to change TLS settings.
- Min
Tls stringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - Tls13 string
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - Universal
Ssl bool - The Universal SSL
enable
ordisable
setting.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cis
Tls StringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - domain
Id String - The ID of the domain to change TLS settings.
- min
Tls StringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 String
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal
Ssl Boolean - The Universal SSL
enable
ordisable
setting.
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- cis
Tls stringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - domain
Id string - The ID of the domain to change TLS settings.
- min
Tls stringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 string
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal
Ssl boolean - The Universal SSL
enable
ordisable
setting.
- cis_
id str - The ID of the IBM Cloud Internet Services instance.
- cis_
tls_ strsettings_ id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - domain_
id str - The ID of the domain to change TLS settings.
- min_
tls_ strversion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 str
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal_
ssl bool - The Universal SSL
enable
ordisable
setting.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cis
Tls StringSettings Id - (String) The record ID. It is a combination of <domain_id>,<cis_id> attributes concatenated with
:
. - domain
Id String - The ID of the domain to change TLS settings.
- min
Tls StringVersion - The Minimum TLS version setting. Valid values are
1.1
,1.2
,1.3
, or1.4
. - tls13 String
- The TLS 1.3 version setting. Valid values are
on
,off
,zrt
.zrt
will enable TLS 1.3 and the Zero RTT feature. Ifon
is set, thenzrt
is enabled by default. - universal
Ssl Boolean - The Universal SSL
enable
ordisable
setting.
Import
The ibm_cis_tls_settings
resource can be imported using the id
. The ID is formed from the Domain ID
of the domain and the CRN
(Cloud Resource Name) concatentated using a :
character.
The Domain ID and CRN will be located on the Overview page of the Internet Services instance under the Domain heading of the UI, or via using the ibmcloud cis
CLI commands.
Domain ID is a 32 digit character string of the form:
9caf68812ae9b3f0377fdf986751a78f
CRN is a 120 digit character string of the form:
crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::
Syntax
$ pulumi import ibm:index/cisTlsSettings:CisTlsSettings tls_settings <domain-id>:<crn>
Example
$ pulumi import ibm:index/cisTlsSettings:CisTlsSettings tls_settings 9caf68812ae9b3f0377fdf986751a78f:crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::
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.