Class 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.
Inherited Members
Namespace: Pulumi.Fastly
Assembly: Pulumi.Fastly.dll
Syntax
public class ServiceDynamicSnippetContentv1 : CustomResource
Constructors
View SourceServiceDynamicSnippetContentv1(String, ServiceDynamicSnippetContentv1Args, CustomResourceOptions)
Create a ServiceDynamicSnippetContentv1 resource with the given unique name, arguments, and options.
Declaration
public ServiceDynamicSnippetContentv1(string name, ServiceDynamicSnippetContentv1Args args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ServiceDynamicSnippetContentv1Args | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceContent
The VCL code that specifies exactly what the snippet does.
Declaration
public Output<string> Content { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceId
The ID of the service that the dynamic snippet belongs to
Declaration
public Output<string> ServiceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SnippetId
The ID of the dynamic snippet that the content belong to
Declaration
public Output<string> SnippetId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ServiceDynamicSnippetContentv1State, CustomResourceOptions)
Get an existing ServiceDynamicSnippetContentv1 resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ServiceDynamicSnippetContentv1 Get(string name, Input<string> id, ServiceDynamicSnippetContentv1State state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ServiceDynamicSnippetContentv1State | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ServiceDynamicSnippetContentv1 |