Show / Hide Table of Contents

Class Argo

Cloudflare Argo controls the routing to your origin and tiered caching options to speed up your website browsing experience.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
public MyStack()
{
    var example = new Cloudflare.Argo("example", new Cloudflare.ArgoArgs
    {
        SmartRouting = "on",
        TieredCaching = "on",
        ZoneId = "d41d8cd98f00b204e9800998ecf8427e",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Argo
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.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public class Argo : CustomResource

Constructors

View Source

Argo(String, ArgoArgs, CustomResourceOptions)

Create a Argo resource with the given unique name, arguments, and options.

Declaration
public Argo(string name, ArgoArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ArgoArgs 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

SmartRouting

Whether smart routing is enabled. Valid values: on or off. Defaults to off.

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

TieredCaching

Whether tiered caching is enabled. Valid values: on or off. Defaults to off.

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

ZoneId

The DNS zone ID that you wish to manage Argo on.

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

Methods

View Source

Get(String, Input<String>, ArgoState, CustomResourceOptions)

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

Declaration
public static Argo Get(string name, Input<string> id, ArgoState 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.

ArgoState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Argo
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.