fastly.TlsSubscriptionValidation
Explore with Pulumi AI
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
This property is required. string - The unique name of the resource.
- args
This property is required. TlsSubscriptionValidationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. TlsSubscriptionValidationArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TlsSubscriptionValidationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TlsSubscriptionValidation resource accepts the following input properties:
- Subscription
Id This property is required. Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- Subscription
Id This property is required. Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription
Id This property is required. Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription
Id This property is required. Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription_
id This property is required. Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription
Id This property is required. Changes to this property will trigger replacement.
- 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)
resources: _: type: fastly:TlsSubscriptionValidation get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Subscription
Id Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- Subscription
Id Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription
Id Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription
Id Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription_
id Changes to this property will trigger replacement.
- The ID of the TLS Subscription that should be validated.
- subscription
Id Changes to this property will trigger replacement.
- 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.