konnect.PortalCustomDomain
Explore with Pulumi AI
PortalCustomDomain Resource
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.PortalCustomDomain;
import com.pulumi.konnect.PortalCustomDomainArgs;
import com.pulumi.konnect.inputs.PortalCustomDomainSslArgs;
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 myPortalcustomdomain = new PortalCustomDomain("myPortalcustomdomain", PortalCustomDomainArgs.builder()
.enabled(false)
.hostname("...my_hostname...")
.portalId("f32d905a-ed33-46a3-a093-d8f536af9a8a")
.ssl(PortalCustomDomainSslArgs.builder()
.custom_certificate("...my_custom_certificate...")
.custom_private_key("...my_custom_private_key...")
.domain_verification_method("custom_certificate")
.build())
.build());
}
}
resources:
myPortalcustomdomain:
type: konnect:PortalCustomDomain
properties:
enabled: false
hostname: '...my_hostname...'
portalId: f32d905a-ed33-46a3-a093-d8f536af9a8a
ssl:
custom_certificate: '...my_custom_certificate...'
custom_private_key: '...my_custom_private_key...'
domain_verification_method: custom_certificate
Create PortalCustomDomain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PortalCustomDomain(name: string, args: PortalCustomDomainArgs, opts?: CustomResourceOptions);
@overload
def PortalCustomDomain(resource_name: str,
args: PortalCustomDomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PortalCustomDomain(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
hostname: Optional[str] = None,
portal_id: Optional[str] = None,
ssl: Optional[PortalCustomDomainSslArgs] = None)
func NewPortalCustomDomain(ctx *Context, name string, args PortalCustomDomainArgs, opts ...ResourceOption) (*PortalCustomDomain, error)
public PortalCustomDomain(string name, PortalCustomDomainArgs args, CustomResourceOptions? opts = null)
public PortalCustomDomain(String name, PortalCustomDomainArgs args)
public PortalCustomDomain(String name, PortalCustomDomainArgs args, CustomResourceOptions options)
type: konnect:PortalCustomDomain
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 PortalCustomDomainArgs
- 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 PortalCustomDomainArgs
- 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 PortalCustomDomainArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PortalCustomDomainArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PortalCustomDomainArgs
- 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 portalCustomDomainResource = new Konnect.PortalCustomDomain("portalCustomDomainResource", new()
{
Enabled = false,
Hostname = "string",
PortalId = "string",
Ssl = new Konnect.Inputs.PortalCustomDomainSslArgs
{
CustomCertificate = "string",
CustomPrivateKey = "string",
DomainVerificationMethod = "string",
ValidationErrors = new[]
{
"string",
},
VerificationStatus = "string",
},
});
example, err := konnect.NewPortalCustomDomain(ctx, "portalCustomDomainResource", &konnect.PortalCustomDomainArgs{
Enabled: pulumi.Bool(false),
Hostname: pulumi.String("string"),
PortalId: pulumi.String("string"),
Ssl: &konnect.PortalCustomDomainSslArgs{
CustomCertificate: pulumi.String("string"),
CustomPrivateKey: pulumi.String("string"),
DomainVerificationMethod: pulumi.String("string"),
ValidationErrors: pulumi.StringArray{
pulumi.String("string"),
},
VerificationStatus: pulumi.String("string"),
},
})
var portalCustomDomainResource = new PortalCustomDomain("portalCustomDomainResource", PortalCustomDomainArgs.builder()
.enabled(false)
.hostname("string")
.portalId("string")
.ssl(PortalCustomDomainSslArgs.builder()
.customCertificate("string")
.customPrivateKey("string")
.domainVerificationMethod("string")
.validationErrors("string")
.verificationStatus("string")
.build())
.build());
portal_custom_domain_resource = konnect.PortalCustomDomain("portalCustomDomainResource",
enabled=False,
hostname="string",
portal_id="string",
ssl={
"custom_certificate": "string",
"custom_private_key": "string",
"domain_verification_method": "string",
"validation_errors": ["string"],
"verification_status": "string",
})
const portalCustomDomainResource = new konnect.PortalCustomDomain("portalCustomDomainResource", {
enabled: false,
hostname: "string",
portalId: "string",
ssl: {
customCertificate: "string",
customPrivateKey: "string",
domainVerificationMethod: "string",
validationErrors: ["string"],
verificationStatus: "string",
},
});
type: konnect:PortalCustomDomain
properties:
enabled: false
hostname: string
portalId: string
ssl:
customCertificate: string
customPrivateKey: string
domainVerificationMethod: string
validationErrors:
- string
verificationStatus: string
PortalCustomDomain 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 PortalCustomDomain resource accepts the following input properties:
- Enabled bool
- Hostname string
- Requires replacement if changed.
- Portal
Id string - The Portal identifier
- Ssl
Portal
Custom Domain Ssl - Requires replacement if changed.
- Enabled bool
- Hostname string
- Requires replacement if changed.
- Portal
Id string - The Portal identifier
- Ssl
Portal
Custom Domain Ssl Args - Requires replacement if changed.
- enabled Boolean
- hostname String
- Requires replacement if changed.
- portal
Id String - The Portal identifier
- ssl
Portal
Custom Domain Ssl - Requires replacement if changed.
- enabled boolean
- hostname string
- Requires replacement if changed.
- portal
Id string - The Portal identifier
- ssl
Portal
Custom Domain Ssl - Requires replacement if changed.
- enabled bool
- hostname str
- Requires replacement if changed.
- portal_
id str - The Portal identifier
- ssl
Portal
Custom Domain Ssl Args - Requires replacement if changed.
- enabled Boolean
- hostname String
- Requires replacement if changed.
- portal
Id String - The Portal identifier
- ssl Property Map
- Requires replacement if changed.
Outputs
All input properties are implicitly available as output properties. Additionally, the PortalCustomDomain resource produces the following output properties:
- Cname
Status string - must be one of ["verified", "pending"]
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Cname
Status string - must be one of ["verified", "pending"]
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Id string
- The provider-assigned unique ID for this managed resource.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- cname
Status String - must be one of ["verified", "pending"]
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- cname
Status string - must be one of ["verified", "pending"]
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- id string
- The provider-assigned unique ID for this managed resource.
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- cname_
status str - must be one of ["verified", "pending"]
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- cname
Status String - must be one of ["verified", "pending"]
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- id String
- The provider-assigned unique ID for this managed resource.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
Look up Existing PortalCustomDomain Resource
Get an existing PortalCustomDomain 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?: PortalCustomDomainState, opts?: CustomResourceOptions): PortalCustomDomain
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cname_status: Optional[str] = None,
created_at: Optional[str] = None,
enabled: Optional[bool] = None,
hostname: Optional[str] = None,
portal_id: Optional[str] = None,
ssl: Optional[PortalCustomDomainSslArgs] = None,
updated_at: Optional[str] = None) -> PortalCustomDomain
func GetPortalCustomDomain(ctx *Context, name string, id IDInput, state *PortalCustomDomainState, opts ...ResourceOption) (*PortalCustomDomain, error)
public static PortalCustomDomain Get(string name, Input<string> id, PortalCustomDomainState? state, CustomResourceOptions? opts = null)
public static PortalCustomDomain get(String name, Output<String> id, PortalCustomDomainState state, CustomResourceOptions options)
resources: _: type: konnect:PortalCustomDomain 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.
- Cname
Status string - must be one of ["verified", "pending"]
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Enabled bool
- Hostname string
- Requires replacement if changed.
- Portal
Id string - The Portal identifier
- Ssl
Portal
Custom Domain Ssl - Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- Cname
Status string - must be one of ["verified", "pending"]
- Created
At string - An ISO-8601 timestamp representation of entity creation date.
- Enabled bool
- Hostname string
- Requires replacement if changed.
- Portal
Id string - The Portal identifier
- Ssl
Portal
Custom Domain Ssl Args - Requires replacement if changed.
- Updated
At string - An ISO-8601 timestamp representation of entity update date.
- cname
Status String - must be one of ["verified", "pending"]
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- enabled Boolean
- hostname String
- Requires replacement if changed.
- portal
Id String - The Portal identifier
- ssl
Portal
Custom Domain Ssl - Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
- cname
Status string - must be one of ["verified", "pending"]
- created
At string - An ISO-8601 timestamp representation of entity creation date.
- enabled boolean
- hostname string
- Requires replacement if changed.
- portal
Id string - The Portal identifier
- ssl
Portal
Custom Domain Ssl - Requires replacement if changed.
- updated
At string - An ISO-8601 timestamp representation of entity update date.
- cname_
status str - must be one of ["verified", "pending"]
- created_
at str - An ISO-8601 timestamp representation of entity creation date.
- enabled bool
- hostname str
- Requires replacement if changed.
- portal_
id str - The Portal identifier
- ssl
Portal
Custom Domain Ssl Args - Requires replacement if changed.
- updated_
at str - An ISO-8601 timestamp representation of entity update date.
- cname
Status String - must be one of ["verified", "pending"]
- created
At String - An ISO-8601 timestamp representation of entity creation date.
- enabled Boolean
- hostname String
- Requires replacement if changed.
- portal
Id String - The Portal identifier
- ssl Property Map
- Requires replacement if changed.
- updated
At String - An ISO-8601 timestamp representation of entity update date.
Supporting Types
PortalCustomDomainSsl, PortalCustomDomainSslArgs
- Custom
Certificate string - Custom certificate to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- Custom
Private stringKey - Custom certificate private key to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- Domain
Verification stringMethod - must be one of ["custom_certificate", "http"]; Requires replacement if changed.
- Validation
Errors List<string> - Verification
Status string - must be one of ["verified", "pending", "error"]
- Custom
Certificate string - Custom certificate to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- Custom
Private stringKey - Custom certificate private key to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- Domain
Verification stringMethod - must be one of ["custom_certificate", "http"]; Requires replacement if changed.
- Validation
Errors []string - Verification
Status string - must be one of ["verified", "pending", "error"]
- custom
Certificate String - Custom certificate to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- custom
Private StringKey - Custom certificate private key to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- domain
Verification StringMethod - must be one of ["custom_certificate", "http"]; Requires replacement if changed.
- validation
Errors List<String> - verification
Status String - must be one of ["verified", "pending", "error"]
- custom
Certificate string - Custom certificate to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- custom
Private stringKey - Custom certificate private key to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- domain
Verification stringMethod - must be one of ["custom_certificate", "http"]; Requires replacement if changed.
- validation
Errors string[] - verification
Status string - must be one of ["verified", "pending", "error"]
- custom_
certificate str - Custom certificate to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- custom_
private_ strkey - Custom certificate private key to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- domain_
verification_ strmethod - must be one of ["custom_certificate", "http"]; Requires replacement if changed.
- validation_
errors Sequence[str] - verification_
status str - must be one of ["verified", "pending", "error"]
- custom
Certificate String - Custom certificate to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- custom
Private StringKey - Custom certificate private key to be used for the SSL termination. Only used when domainverificationmethod == "custom_certificate". Requires replacement if changed.
- domain
Verification StringMethod - must be one of ["custom_certificate", "http"]; Requires replacement if changed.
- validation
Errors List<String> - verification
Status String - must be one of ["verified", "pending", "error"]
Import
$ pulumi import konnect:index/portalCustomDomain:PortalCustomDomain my_konnect_portal_custom_domain "f32d905a-ed33-46a3-a093-d8f536af9a8a"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.