1. Packages
  2. Fastly
  3. API Docs
  4. TlsSubscriptionValidation
Fastly v8.7.0 published on Friday, May 10, 2024 by Pulumi

fastly.TlsSubscriptionValidation

Explore with Pulumi AI

fastly logo
Fastly v8.7.0 published on Friday, May 10, 2024 by Pulumi

    This resource represents a successful validation of a Fastly TLS Subscription in concert with other resources.

    Most commonly, this resource is used together with a resource for a DNS record and fastly.TlsSubscription to request a DNS validated certificate, deploy the required validation records and wait for validation to complete.

    Warning: This resource implements a part of the validation workflow. It does not represent a real-world entity in Fastly, therefore changing or deleting this resource on its own has no immediate effect.

    Create TlsSubscriptionValidation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TlsSubscriptionValidation(name: string, args: TlsSubscriptionValidationArgs, opts?: CustomResourceOptions);
    @overload
    def TlsSubscriptionValidation(resource_name: str,
                                  args: TlsSubscriptionValidationArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def TlsSubscriptionValidation(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  subscription_id: Optional[str] = None)
    func NewTlsSubscriptionValidation(ctx *Context, name string, args TlsSubscriptionValidationArgs, opts ...ResourceOption) (*TlsSubscriptionValidation, error)
    public TlsSubscriptionValidation(string name, TlsSubscriptionValidationArgs args, CustomResourceOptions? opts = null)
    public TlsSubscriptionValidation(String name, TlsSubscriptionValidationArgs args)
    public TlsSubscriptionValidation(String name, TlsSubscriptionValidationArgs args, CustomResourceOptions options)
    
    type: fastly:TlsSubscriptionValidation
    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 TlsSubscriptionValidationArgs
    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 TlsSubscriptionValidationArgs
    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 TlsSubscriptionValidationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TlsSubscriptionValidationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TlsSubscriptionValidationArgs
    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 tlsSubscriptionValidationResource = new Fastly.TlsSubscriptionValidation("tlsSubscriptionValidationResource", new()
    {
        SubscriptionId = "string",
    });
    
    example, err := fastly.NewTlsSubscriptionValidation(ctx, "tlsSubscriptionValidationResource", &fastly.TlsSubscriptionValidationArgs{
    	SubscriptionId: pulumi.String("string"),
    })
    
    var tlsSubscriptionValidationResource = new TlsSubscriptionValidation("tlsSubscriptionValidationResource", TlsSubscriptionValidationArgs.builder()
        .subscriptionId("string")
        .build());
    
    tls_subscription_validation_resource = fastly.TlsSubscriptionValidation("tlsSubscriptionValidationResource", subscription_id="string")
    
    const tlsSubscriptionValidationResource = new fastly.TlsSubscriptionValidation("tlsSubscriptionValidationResource", {subscriptionId: "string"});
    
    type: fastly:TlsSubscriptionValidation
    properties:
        subscriptionId: string
    

    TlsSubscriptionValidation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TlsSubscriptionValidation resource accepts the following input properties:

    SubscriptionId string
    The ID of the TLS Subscription that should be validated.
    SubscriptionId string
    The ID of the TLS Subscription that should be validated.
    subscriptionId String
    The ID of the TLS Subscription that should be validated.
    subscriptionId string
    The ID of the TLS Subscription that should be validated.
    subscription_id str
    The ID of the TLS Subscription that should be validated.
    subscriptionId String
    The ID of the TLS Subscription that should be validated.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TlsSubscriptionValidation 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 TlsSubscriptionValidation Resource

    Get an existing TlsSubscriptionValidation 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?: TlsSubscriptionValidationState, opts?: CustomResourceOptions): TlsSubscriptionValidation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            subscription_id: Optional[str] = None) -> TlsSubscriptionValidation
    func GetTlsSubscriptionValidation(ctx *Context, name string, id IDInput, state *TlsSubscriptionValidationState, opts ...ResourceOption) (*TlsSubscriptionValidation, error)
    public static TlsSubscriptionValidation Get(string name, Input<string> id, TlsSubscriptionValidationState? state, CustomResourceOptions? opts = null)
    public static TlsSubscriptionValidation get(String name, Output<String> id, TlsSubscriptionValidationState 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.
    The following state arguments are supported:
    SubscriptionId string
    The ID of the TLS Subscription that should be validated.
    SubscriptionId string
    The ID of the TLS Subscription that should be validated.
    subscriptionId String
    The ID of the TLS Subscription that should be validated.
    subscriptionId string
    The ID of the TLS Subscription that should be validated.
    subscription_id str
    The ID of the TLS Subscription that should be validated.
    subscriptionId String
    The ID of the TLS Subscription that should be validated.

    Package Details

    Repository
    Fastly pulumi/pulumi-fastly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fastly Terraform Provider.
    fastly logo
    Fastly v8.7.0 published on Friday, May 10, 2024 by Pulumi