formal.ConnectorHostname
Explore with Pulumi AI
Registering a Connector Hostname with Formal.
Create ConnectorHostname Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectorHostname(name: string, args: ConnectorHostnameArgs, opts?: CustomResourceOptions);
@overload
def ConnectorHostname(resource_name: str,
args: ConnectorHostnameArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectorHostname(resource_name: str,
opts: Optional[ResourceOptions] = None,
connector_id: Optional[str] = None,
hostname: Optional[str] = None,
dns_record: Optional[str] = None,
managed_tls: Optional[bool] = None,
termination_protection: Optional[bool] = None)
func NewConnectorHostname(ctx *Context, name string, args ConnectorHostnameArgs, opts ...ResourceOption) (*ConnectorHostname, error)
public ConnectorHostname(string name, ConnectorHostnameArgs args, CustomResourceOptions? opts = null)
public ConnectorHostname(String name, ConnectorHostnameArgs args)
public ConnectorHostname(String name, ConnectorHostnameArgs args, CustomResourceOptions options)
type: formal:ConnectorHostname
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 ConnectorHostnameArgs
- 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 ConnectorHostnameArgs
- 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 ConnectorHostnameArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectorHostnameArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectorHostnameArgs
- 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 connectorHostnameResource = new Pulumi.ConnectorHostname("connectorHostnameResource", new()
{
ConnectorId = "string",
Hostname = "string",
DnsRecord = "string",
TerminationProtection = false,
});
example, err := formal.NewConnectorHostname(ctx, "connectorHostnameResource", &formal.ConnectorHostnameArgs{
ConnectorId: pulumi.String("string"),
Hostname: pulumi.String("string"),
DnsRecord: pulumi.String("string"),
TerminationProtection: pulumi.Bool(false),
})
var connectorHostnameResource = new ConnectorHostname("connectorHostnameResource", ConnectorHostnameArgs.builder()
.connectorId("string")
.hostname("string")
.dnsRecord("string")
.terminationProtection(false)
.build());
connector_hostname_resource = formal.ConnectorHostname("connectorHostnameResource",
connector_id="string",
hostname="string",
dns_record="string",
termination_protection=False)
const connectorHostnameResource = new formal.ConnectorHostname("connectorHostnameResource", {
connectorId: "string",
hostname: "string",
dnsRecord: "string",
terminationProtection: false,
});
type: formal:ConnectorHostname
properties:
connectorId: string
dnsRecord: string
hostname: string
terminationProtection: false
ConnectorHostname 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 ConnectorHostname resource accepts the following input properties:
- Connector
Id string - The ID of the Connector this hostname is linked to.
- Hostname string
- The hostname for this Connector hostname.
- Dns
Record string - The DNS record for this hostname.
- Managed
Tls bool - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- Termination
Protection bool - If set to true, this connector hostname cannot be deleted.
- Connector
Id string - The ID of the Connector this hostname is linked to.
- Hostname string
- The hostname for this Connector hostname.
- Dns
Record string - The DNS record for this hostname.
- Managed
Tls bool - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- Termination
Protection bool - If set to true, this connector hostname cannot be deleted.
- connector
Id String - The ID of the Connector this hostname is linked to.
- hostname String
- The hostname for this Connector hostname.
- dns
Record String - The DNS record for this hostname.
- managed
Tls Boolean - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination
Protection Boolean - If set to true, this connector hostname cannot be deleted.
- connector
Id string - The ID of the Connector this hostname is linked to.
- hostname string
- The hostname for this Connector hostname.
- dns
Record string - The DNS record for this hostname.
- managed
Tls boolean - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination
Protection boolean - If set to true, this connector hostname cannot be deleted.
- connector_
id str - The ID of the Connector this hostname is linked to.
- hostname str
- The hostname for this Connector hostname.
- dns_
record str - The DNS record for this hostname.
- managed_
tls bool - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination_
protection bool - If set to true, this connector hostname cannot be deleted.
- connector
Id String - The ID of the Connector this hostname is linked to.
- hostname String
- The hostname for this Connector hostname.
- dns
Record String - The DNS record for this hostname.
- managed
Tls Boolean - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination
Protection Boolean - If set to true, this connector hostname cannot be deleted.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectorHostname resource produces the following output properties:
- Dns
Record stringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Certificate stringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- Dns
Record stringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Certificate stringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- dns
Record StringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - id String
- The provider-assigned unique ID for this managed resource.
- tls
Certificate StringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- dns
Record stringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - id string
- The provider-assigned unique ID for this managed resource.
- tls
Certificate stringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- dns_
record_ strstatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - id str
- The provider-assigned unique ID for this managed resource.
- tls_
certificate_ strstatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- dns
Record StringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - id String
- The provider-assigned unique ID for this managed resource.
- tls
Certificate StringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
Look up Existing ConnectorHostname Resource
Get an existing ConnectorHostname 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?: ConnectorHostnameState, opts?: CustomResourceOptions): ConnectorHostname
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connector_id: Optional[str] = None,
dns_record: Optional[str] = None,
dns_record_status: Optional[str] = None,
hostname: Optional[str] = None,
managed_tls: Optional[bool] = None,
termination_protection: Optional[bool] = None,
tls_certificate_status: Optional[str] = None) -> ConnectorHostname
func GetConnectorHostname(ctx *Context, name string, id IDInput, state *ConnectorHostnameState, opts ...ResourceOption) (*ConnectorHostname, error)
public static ConnectorHostname Get(string name, Input<string> id, ConnectorHostnameState? state, CustomResourceOptions? opts = null)
public static ConnectorHostname get(String name, Output<String> id, ConnectorHostnameState state, CustomResourceOptions options)
resources: _: type: formal:ConnectorHostname 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.
- Connector
Id string - The ID of the Connector this hostname is linked to.
- Dns
Record string - The DNS record for this hostname.
- Dns
Record stringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - Hostname string
- The hostname for this Connector hostname.
- Managed
Tls bool - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- Termination
Protection bool - If set to true, this connector hostname cannot be deleted.
- Tls
Certificate stringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- Connector
Id string - The ID of the Connector this hostname is linked to.
- Dns
Record string - The DNS record for this hostname.
- Dns
Record stringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - Hostname string
- The hostname for this Connector hostname.
- Managed
Tls bool - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- Termination
Protection bool - If set to true, this connector hostname cannot be deleted.
- Tls
Certificate stringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- connector
Id String - The ID of the Connector this hostname is linked to.
- dns
Record String - The DNS record for this hostname.
- dns
Record StringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - hostname String
- The hostname for this Connector hostname.
- managed
Tls Boolean - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination
Protection Boolean - If set to true, this connector hostname cannot be deleted.
- tls
Certificate StringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- connector
Id string - The ID of the Connector this hostname is linked to.
- dns
Record string - The DNS record for this hostname.
- dns
Record stringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - hostname string
- The hostname for this Connector hostname.
- managed
Tls boolean - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination
Protection boolean - If set to true, this connector hostname cannot be deleted.
- tls
Certificate stringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- connector_
id str - The ID of the Connector this hostname is linked to.
- dns_
record str - The DNS record for this hostname.
- dns_
record_ strstatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - hostname str
- The hostname for this Connector hostname.
- managed_
tls bool - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination_
protection bool - If set to true, this connector hostname cannot be deleted.
- tls_
certificate_ strstatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
- connector
Id String - The ID of the Connector this hostname is linked to.
- dns
Record String - The DNS record for this hostname.
- dns
Record StringStatus - The status of the DNS record for this hostname. Accepted values are
none
,pending
,success
andfailed
. - hostname String
- The hostname for this Connector hostname.
- managed
Tls Boolean - Deprecated: If set to true, Formal will manage the TLS certificate for this hostname.
- termination
Protection Boolean - If set to true, this connector hostname cannot be deleted.
- tls
Certificate StringStatus - The status of the TLS certificate for this hostname. Accepted values are
none
,issuing
, andissued
.
Package Details
- Repository
- formal formalco/pulumi-formal
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
formal
Terraform Provider.