ns1.RedirectCertificate
Explore with Pulumi AI
Create RedirectCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RedirectCertificate(name: string, args: RedirectCertificateArgs, opts?: CustomResourceOptions);
@overload
def RedirectCertificate(resource_name: str,
args: RedirectCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RedirectCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None)
func NewRedirectCertificate(ctx *Context, name string, args RedirectCertificateArgs, opts ...ResourceOption) (*RedirectCertificate, error)
public RedirectCertificate(string name, RedirectCertificateArgs args, CustomResourceOptions? opts = null)
public RedirectCertificate(String name, RedirectCertificateArgs args)
public RedirectCertificate(String name, RedirectCertificateArgs args, CustomResourceOptions options)
type: ns1:RedirectCertificate
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 RedirectCertificateArgs
- 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 RedirectCertificateArgs
- 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 RedirectCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RedirectCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RedirectCertificateArgs
- 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 redirectCertificateResource = new Ns1.RedirectCertificate("redirectCertificateResource", new()
{
Domain = "string",
});
example, err := ns1.NewRedirectCertificate(ctx, "redirectCertificateResource", &ns1.RedirectCertificateArgs{
Domain: pulumi.String("string"),
})
var redirectCertificateResource = new RedirectCertificate("redirectCertificateResource", RedirectCertificateArgs.builder()
.domain("string")
.build());
redirect_certificate_resource = ns1.RedirectCertificate("redirectCertificateResource", domain="string")
const redirectCertificateResource = new ns1.RedirectCertificate("redirectCertificateResource", {domain: "string"});
type: ns1:RedirectCertificate
properties:
domain: string
RedirectCertificate 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 RedirectCertificate resource accepts the following input properties:
- Domain string
- Domain string
- domain String
- domain string
- domain str
- domain String
Outputs
All input properties are implicitly available as output properties. Additionally, the RedirectCertificate resource produces the following output properties:
- Certificate string
- Errors string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated int - Valid
From int - Valid
Until int
- Certificate string
- Errors string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated int - Valid
From int - Valid
Until int
- certificate String
- errors String
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated Integer - valid
From Integer - valid
Until Integer
- certificate string
- errors string
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated number - valid
From number - valid
Until number
- certificate str
- errors str
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated int - valid_
from int - valid_
until int
- certificate String
- errors String
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated Number - valid
From Number - valid
Until Number
Look up Existing RedirectCertificate Resource
Get an existing RedirectCertificate 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?: RedirectCertificateState, opts?: CustomResourceOptions): RedirectCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
domain: Optional[str] = None,
errors: Optional[str] = None,
last_updated: Optional[int] = None,
valid_from: Optional[int] = None,
valid_until: Optional[int] = None) -> RedirectCertificate
func GetRedirectCertificate(ctx *Context, name string, id IDInput, state *RedirectCertificateState, opts ...ResourceOption) (*RedirectCertificate, error)
public static RedirectCertificate Get(string name, Input<string> id, RedirectCertificateState? state, CustomResourceOptions? opts = null)
public static RedirectCertificate get(String name, Output<String> id, RedirectCertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Certificate string
- Domain string
- Errors string
- Last
Updated int - Valid
From int - Valid
Until int
- Certificate string
- Domain string
- Errors string
- Last
Updated int - Valid
From int - Valid
Until int
- certificate String
- domain String
- errors String
- last
Updated Integer - valid
From Integer - valid
Until Integer
- certificate string
- domain string
- errors string
- last
Updated number - valid
From number - valid
Until number
- certificate str
- domain str
- errors str
- last_
updated int - valid_
from int - valid_
until int
- certificate String
- domain String
- errors String
- last
Updated Number - valid
From Number - valid
Until Number
Package Details
- Repository
- NS1 pulumi/pulumi-ns1
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ns1
Terraform Provider.