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",
});
}
}
Inherited Members
Namespace: Pulumi.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public class Argo : CustomResource
Constructors
View SourceArgo(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 SourceSmartRouting
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> |
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> |
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 SourceGet(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 |