Show / Hide Table of Contents

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.

Inheritance
System.Object
Resource
CustomResource
ServiceDynamicSnippetContentv1
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Fastly
Assembly: Pulumi.Fastly.dll
Syntax
public class ServiceDynamicSnippetContentv1 : CustomResource

Constructors

View Source

ServiceDynamicSnippetContentv1(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 Source

Content

The VCL code that specifies exactly what the snippet does.

Declaration
public Output<string> Content { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.