ServiceDynamicSnippetContentv1

Defines content that represents blocks of VCL logic that is inserted into your service. This resource will populate the content of a dynamic snippet and allow it to be manged without the creation of a new service verison.

Create a ServiceDynamicSnippetContentv1 Resource

def ServiceDynamicSnippetContentv1(resource_name, opts=None, content=None, service_id=None, snippet_id=None, __props__=None);
name string
The unique name of the resource.
args ServiceDynamicSnippetContentv1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ServiceDynamicSnippetContentv1Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ServiceDynamicSnippetContentv1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ServiceDynamicSnippetContentv1 Resource Properties

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

Inputs

The ServiceDynamicSnippetContentv1 resource accepts the following input properties:

Content string

The VCL code that specifies exactly what the snippet does.

ServiceId string

The ID of the service that the dynamic snippet belongs to

SnippetId string

The ID of the dynamic snippet that the content belong to

Content string

The VCL code that specifies exactly what the snippet does.

ServiceId string

The ID of the service that the dynamic snippet belongs to

SnippetId string

The ID of the dynamic snippet that the content belong to

content string

The VCL code that specifies exactly what the snippet does.

serviceId string

The ID of the service that the dynamic snippet belongs to

snippetId string

The ID of the dynamic snippet that the content belong to

content str

The VCL code that specifies exactly what the snippet does.

service_id str

The ID of the service that the dynamic snippet belongs to

snippet_id str

The ID of the dynamic snippet that the content belong to

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceDynamicSnippetContentv1 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing ServiceDynamicSnippetContentv1 Resource

Get an existing ServiceDynamicSnippetContentv1 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, content=None, service_id=None, snippet_id=None, __props__=None);
func GetServiceDynamicSnippetContentv1(ctx *Context, name string, id IDInput, state *ServiceDynamicSnippetContentv1State, opts ...ResourceOption) (*ServiceDynamicSnippetContentv1, error)
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.

The following state arguments are supported:

Content string

The VCL code that specifies exactly what the snippet does.

ServiceId string

The ID of the service that the dynamic snippet belongs to

SnippetId string

The ID of the dynamic snippet that the content belong to

Content string

The VCL code that specifies exactly what the snippet does.

ServiceId string

The ID of the service that the dynamic snippet belongs to

SnippetId string

The ID of the dynamic snippet that the content belong to

content string

The VCL code that specifies exactly what the snippet does.

serviceId string

The ID of the service that the dynamic snippet belongs to

snippetId string

The ID of the dynamic snippet that the content belong to

content str

The VCL code that specifies exactly what the snippet does.

service_id str

The ID of the service that the dynamic snippet belongs to

snippet_id str

The ID of the dynamic snippet that the content belong to

Package Details

Repository
https://github.com/pulumi/pulumi-fastly
License
Apache-2.0
Notes
This Pulumi package is based on the fastly Terraform Provider.