fortios.wanopt.Contentdeliverynetworkrule
Explore with Pulumi AI
Configure WAN optimization content delivery network rules.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.wanopt.Contentdeliverynetworkrule("trname", {
category: "vcache",
hostDomainNameSuffixes: [{
name: "kaf.com",
}],
requestCacheControl: "disable",
responseCacheControl: "disable",
responseExpires: "enable",
status: "enable",
textResponseVcache: "enable",
updateserver: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.wanopt.Contentdeliverynetworkrule("trname",
category="vcache",
host_domain_name_suffixes=[fortios.wanopt.ContentdeliverynetworkruleHostDomainNameSuffixArgs(
name="kaf.com",
)],
request_cache_control="disable",
response_cache_control="disable",
response_expires="enable",
status="enable",
text_response_vcache="enable",
updateserver="disable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/wanopt"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := wanopt.NewContentdeliverynetworkrule(ctx, "trname", &wanopt.ContentdeliverynetworkruleArgs{
Category: pulumi.String("vcache"),
HostDomainNameSuffixes: wanopt.ContentdeliverynetworkruleHostDomainNameSuffixArray{
&wanopt.ContentdeliverynetworkruleHostDomainNameSuffixArgs{
Name: pulumi.String("kaf.com"),
},
},
RequestCacheControl: pulumi.String("disable"),
ResponseCacheControl: pulumi.String("disable"),
ResponseExpires: pulumi.String("enable"),
Status: pulumi.String("enable"),
TextResponseVcache: pulumi.String("enable"),
Updateserver: pulumi.String("disable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Wanopt.Contentdeliverynetworkrule("trname", new()
{
Category = "vcache",
HostDomainNameSuffixes = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleHostDomainNameSuffixArgs
{
Name = "kaf.com",
},
},
RequestCacheControl = "disable",
ResponseCacheControl = "disable",
ResponseExpires = "enable",
Status = "enable",
TextResponseVcache = "enable",
Updateserver = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.wanopt.Contentdeliverynetworkrule;
import com.pulumi.fortios.wanopt.ContentdeliverynetworkruleArgs;
import com.pulumi.fortios.wanopt.inputs.ContentdeliverynetworkruleHostDomainNameSuffixArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Contentdeliverynetworkrule("trname", ContentdeliverynetworkruleArgs.builder()
.category("vcache")
.hostDomainNameSuffixes(ContentdeliverynetworkruleHostDomainNameSuffixArgs.builder()
.name("kaf.com")
.build())
.requestCacheControl("disable")
.responseCacheControl("disable")
.responseExpires("enable")
.status("enable")
.textResponseVcache("enable")
.updateserver("disable")
.build());
}
}
resources:
trname:
type: fortios:wanopt:Contentdeliverynetworkrule
properties:
category: vcache
hostDomainNameSuffixes:
- name: kaf.com
requestCacheControl: disable
responseCacheControl: disable
responseExpires: enable
status: enable
textResponseVcache: enable
updateserver: disable
Create Contentdeliverynetworkrule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Contentdeliverynetworkrule(name: string, args?: ContentdeliverynetworkruleArgs, opts?: CustomResourceOptions);
@overload
def Contentdeliverynetworkrule(resource_name: str,
args: Optional[ContentdeliverynetworkruleArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Contentdeliverynetworkrule(resource_name: str,
opts: Optional[ResourceOptions] = None,
category: Optional[str] = None,
comment: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
host_domain_name_suffixes: Optional[Sequence[ContentdeliverynetworkruleHostDomainNameSuffixArgs]] = None,
name: Optional[str] = None,
request_cache_control: Optional[str] = None,
response_cache_control: Optional[str] = None,
response_expires: Optional[str] = None,
rules: Optional[Sequence[ContentdeliverynetworkruleRuleArgs]] = None,
status: Optional[str] = None,
text_response_vcache: Optional[str] = None,
updateserver: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewContentdeliverynetworkrule(ctx *Context, name string, args *ContentdeliverynetworkruleArgs, opts ...ResourceOption) (*Contentdeliverynetworkrule, error)
public Contentdeliverynetworkrule(string name, ContentdeliverynetworkruleArgs? args = null, CustomResourceOptions? opts = null)
public Contentdeliverynetworkrule(String name, ContentdeliverynetworkruleArgs args)
public Contentdeliverynetworkrule(String name, ContentdeliverynetworkruleArgs args, CustomResourceOptions options)
type: fortios:wanopt:Contentdeliverynetworkrule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContentdeliverynetworkruleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContentdeliverynetworkruleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContentdeliverynetworkruleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContentdeliverynetworkruleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContentdeliverynetworkruleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var contentdeliverynetworkruleResource = new Fortios.Wanopt.Contentdeliverynetworkrule("contentdeliverynetworkruleResource", new()
{
Category = "string",
Comment = "string",
DynamicSortSubtable = "string",
GetAllTables = "string",
HostDomainNameSuffixes = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleHostDomainNameSuffixArgs
{
Name = "string",
},
},
Name = "string",
RequestCacheControl = "string",
ResponseCacheControl = "string",
ResponseExpires = "string",
Rules = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleRuleArgs
{
ContentId = new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleRuleContentIdArgs
{
EndDirection = "string",
EndSkip = 0,
EndStr = "string",
RangeStr = "string",
StartDirection = "string",
StartSkip = 0,
StartStr = "string",
Target = "string",
},
MatchEntries = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleRuleMatchEntryArgs
{
Id = 0,
Patterns = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleRuleMatchEntryPatternArgs
{
String = "string",
},
},
Target = "string",
},
},
MatchMode = "string",
Name = "string",
SkipEntries = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleRuleSkipEntryArgs
{
Id = 0,
Patterns = new[]
{
new Fortios.Wanopt.Inputs.ContentdeliverynetworkruleRuleSkipEntryPatternArgs
{
String = "string",
},
},
Target = "string",
},
},
SkipRuleMode = "string",
},
},
Status = "string",
TextResponseVcache = "string",
Updateserver = "string",
Vdomparam = "string",
});
example, err := wanopt.NewContentdeliverynetworkrule(ctx, "contentdeliverynetworkruleResource", &wanopt.ContentdeliverynetworkruleArgs{
Category: pulumi.String("string"),
Comment: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
HostDomainNameSuffixes: wanopt.ContentdeliverynetworkruleHostDomainNameSuffixArray{
&wanopt.ContentdeliverynetworkruleHostDomainNameSuffixArgs{
Name: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
RequestCacheControl: pulumi.String("string"),
ResponseCacheControl: pulumi.String("string"),
ResponseExpires: pulumi.String("string"),
Rules: wanopt.ContentdeliverynetworkruleRuleArray{
&wanopt.ContentdeliverynetworkruleRuleArgs{
ContentId: &wanopt.ContentdeliverynetworkruleRuleContentIdArgs{
EndDirection: pulumi.String("string"),
EndSkip: pulumi.Int(0),
EndStr: pulumi.String("string"),
RangeStr: pulumi.String("string"),
StartDirection: pulumi.String("string"),
StartSkip: pulumi.Int(0),
StartStr: pulumi.String("string"),
Target: pulumi.String("string"),
},
MatchEntries: wanopt.ContentdeliverynetworkruleRuleMatchEntryArray{
&wanopt.ContentdeliverynetworkruleRuleMatchEntryArgs{
Id: pulumi.Int(0),
Patterns: wanopt.ContentdeliverynetworkruleRuleMatchEntryPatternArray{
&wanopt.ContentdeliverynetworkruleRuleMatchEntryPatternArgs{
String: pulumi.String("string"),
},
},
Target: pulumi.String("string"),
},
},
MatchMode: pulumi.String("string"),
Name: pulumi.String("string"),
SkipEntries: wanopt.ContentdeliverynetworkruleRuleSkipEntryArray{
&wanopt.ContentdeliverynetworkruleRuleSkipEntryArgs{
Id: pulumi.Int(0),
Patterns: wanopt.ContentdeliverynetworkruleRuleSkipEntryPatternArray{
&wanopt.ContentdeliverynetworkruleRuleSkipEntryPatternArgs{
String: pulumi.String("string"),
},
},
Target: pulumi.String("string"),
},
},
SkipRuleMode: pulumi.String("string"),
},
},
Status: pulumi.String("string"),
TextResponseVcache: pulumi.String("string"),
Updateserver: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var contentdeliverynetworkruleResource = new Contentdeliverynetworkrule("contentdeliverynetworkruleResource", ContentdeliverynetworkruleArgs.builder()
.category("string")
.comment("string")
.dynamicSortSubtable("string")
.getAllTables("string")
.hostDomainNameSuffixes(ContentdeliverynetworkruleHostDomainNameSuffixArgs.builder()
.name("string")
.build())
.name("string")
.requestCacheControl("string")
.responseCacheControl("string")
.responseExpires("string")
.rules(ContentdeliverynetworkruleRuleArgs.builder()
.contentId(ContentdeliverynetworkruleRuleContentIdArgs.builder()
.endDirection("string")
.endSkip(0)
.endStr("string")
.rangeStr("string")
.startDirection("string")
.startSkip(0)
.startStr("string")
.target("string")
.build())
.matchEntries(ContentdeliverynetworkruleRuleMatchEntryArgs.builder()
.id(0)
.patterns(ContentdeliverynetworkruleRuleMatchEntryPatternArgs.builder()
.string("string")
.build())
.target("string")
.build())
.matchMode("string")
.name("string")
.skipEntries(ContentdeliverynetworkruleRuleSkipEntryArgs.builder()
.id(0)
.patterns(ContentdeliverynetworkruleRuleSkipEntryPatternArgs.builder()
.string("string")
.build())
.target("string")
.build())
.skipRuleMode("string")
.build())
.status("string")
.textResponseVcache("string")
.updateserver("string")
.vdomparam("string")
.build());
contentdeliverynetworkrule_resource = fortios.wanopt.Contentdeliverynetworkrule("contentdeliverynetworkruleResource",
category="string",
comment="string",
dynamic_sort_subtable="string",
get_all_tables="string",
host_domain_name_suffixes=[fortios.wanopt.ContentdeliverynetworkruleHostDomainNameSuffixArgs(
name="string",
)],
name="string",
request_cache_control="string",
response_cache_control="string",
response_expires="string",
rules=[fortios.wanopt.ContentdeliverynetworkruleRuleArgs(
content_id=fortios.wanopt.ContentdeliverynetworkruleRuleContentIdArgs(
end_direction="string",
end_skip=0,
end_str="string",
range_str="string",
start_direction="string",
start_skip=0,
start_str="string",
target="string",
),
match_entries=[fortios.wanopt.ContentdeliverynetworkruleRuleMatchEntryArgs(
id=0,
patterns=[fortios.wanopt.ContentdeliverynetworkruleRuleMatchEntryPatternArgs(
string="string",
)],
target="string",
)],
match_mode="string",
name="string",
skip_entries=[fortios.wanopt.ContentdeliverynetworkruleRuleSkipEntryArgs(
id=0,
patterns=[fortios.wanopt.ContentdeliverynetworkruleRuleSkipEntryPatternArgs(
string="string",
)],
target="string",
)],
skip_rule_mode="string",
)],
status="string",
text_response_vcache="string",
updateserver="string",
vdomparam="string")
const contentdeliverynetworkruleResource = new fortios.wanopt.Contentdeliverynetworkrule("contentdeliverynetworkruleResource", {
category: "string",
comment: "string",
dynamicSortSubtable: "string",
getAllTables: "string",
hostDomainNameSuffixes: [{
name: "string",
}],
name: "string",
requestCacheControl: "string",
responseCacheControl: "string",
responseExpires: "string",
rules: [{
contentId: {
endDirection: "string",
endSkip: 0,
endStr: "string",
rangeStr: "string",
startDirection: "string",
startSkip: 0,
startStr: "string",
target: "string",
},
matchEntries: [{
id: 0,
patterns: [{
string: "string",
}],
target: "string",
}],
matchMode: "string",
name: "string",
skipEntries: [{
id: 0,
patterns: [{
string: "string",
}],
target: "string",
}],
skipRuleMode: "string",
}],
status: "string",
textResponseVcache: "string",
updateserver: "string",
vdomparam: "string",
});
type: fortios:wanopt:Contentdeliverynetworkrule
properties:
category: string
comment: string
dynamicSortSubtable: string
getAllTables: string
hostDomainNameSuffixes:
- name: string
name: string
requestCacheControl: string
responseCacheControl: string
responseExpires: string
rules:
- contentId:
endDirection: string
endSkip: 0
endStr: string
rangeStr: string
startDirection: string
startSkip: 0
startStr: string
target: string
matchEntries:
- id: 0
patterns:
- string: string
target: string
matchMode: string
name: string
skipEntries:
- id: 0
patterns:
- string: string
target: string
skipRuleMode: string
status: string
textResponseVcache: string
updateserver: string
vdomparam: string
Contentdeliverynetworkrule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Contentdeliverynetworkrule resource accepts the following input properties:
- Category string
- Content delivery network rule category. Valid values:
vcache
,youtube
. - Comment string
- Comment about this CDN-rule.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Host
Domain List<Pulumiverse.Name Suffixes Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Host Domain Name Suffix> - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - Name string
- Name of table.
- Request
Cache stringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - Response
Cache stringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - Response
Expires string - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - Rules
List<Pulumiverse.
Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule> - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - Status string
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - Text
Response stringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - Updateserver string
- Enable/disable update server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Category string
- Content delivery network rule category. Valid values:
vcache
,youtube
. - Comment string
- Comment about this CDN-rule.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Host
Domain []ContentdeliverynetworkruleName Suffixes Host Domain Name Suffix Args - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - Name string
- Name of table.
- Request
Cache stringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - Response
Cache stringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - Response
Expires string - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - Rules
[]Contentdeliverynetworkrule
Rule Args - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - Status string
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - Text
Response stringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - Updateserver string
- Enable/disable update server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category String
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment String
- Comment about this CDN-rule.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host
Domain List<ContentdeliverynetworkruleName Suffixes Host Domain Name Suffix> - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name String
- Name of table.
- request
Cache StringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response
Cache StringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response
Expires String - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules
List<Contentdeliverynetworkrule
Rule> - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status String
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text
Response StringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver String
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category string
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment string
- Comment about this CDN-rule.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host
Domain ContentdeliverynetworkruleName Suffixes Host Domain Name Suffix[] - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name string
- Name of table.
- request
Cache stringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response
Cache stringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response
Expires string - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules
Contentdeliverynetworkrule
Rule[] - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status string
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text
Response stringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver string
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category str
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment str
- Comment about this CDN-rule.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host_
domain_ Sequence[Contentdeliverynetworkrulename_ suffixes Host Domain Name Suffix Args] - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name str
- Name of table.
- request_
cache_ strcontrol - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response_
cache_ strcontrol - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response_
expires str - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules
Sequence[Contentdeliverynetworkrule
Rule Args] - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status str
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text_
response_ strvcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver str
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category String
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment String
- Comment about this CDN-rule.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host
Domain List<Property Map>Name Suffixes - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name String
- Name of table.
- request
Cache StringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response
Cache StringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response
Expires String - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules List<Property Map>
- WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status String
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text
Response StringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver String
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Contentdeliverynetworkrule 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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Contentdeliverynetworkrule Resource
Get an existing Contentdeliverynetworkrule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ContentdeliverynetworkruleState, opts?: CustomResourceOptions): Contentdeliverynetworkrule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
category: Optional[str] = None,
comment: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
host_domain_name_suffixes: Optional[Sequence[ContentdeliverynetworkruleHostDomainNameSuffixArgs]] = None,
name: Optional[str] = None,
request_cache_control: Optional[str] = None,
response_cache_control: Optional[str] = None,
response_expires: Optional[str] = None,
rules: Optional[Sequence[ContentdeliverynetworkruleRuleArgs]] = None,
status: Optional[str] = None,
text_response_vcache: Optional[str] = None,
updateserver: Optional[str] = None,
vdomparam: Optional[str] = None) -> Contentdeliverynetworkrule
func GetContentdeliverynetworkrule(ctx *Context, name string, id IDInput, state *ContentdeliverynetworkruleState, opts ...ResourceOption) (*Contentdeliverynetworkrule, error)
public static Contentdeliverynetworkrule Get(string name, Input<string> id, ContentdeliverynetworkruleState? state, CustomResourceOptions? opts = null)
public static Contentdeliverynetworkrule get(String name, Output<String> id, ContentdeliverynetworkruleState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Category string
- Content delivery network rule category. Valid values:
vcache
,youtube
. - Comment string
- Comment about this CDN-rule.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Host
Domain List<Pulumiverse.Name Suffixes Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Host Domain Name Suffix> - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - Name string
- Name of table.
- Request
Cache stringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - Response
Cache stringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - Response
Expires string - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - Rules
List<Pulumiverse.
Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule> - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - Status string
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - Text
Response stringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - Updateserver string
- Enable/disable update server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Category string
- Content delivery network rule category. Valid values:
vcache
,youtube
. - Comment string
- Comment about this CDN-rule.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Host
Domain []ContentdeliverynetworkruleName Suffixes Host Domain Name Suffix Args - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - Name string
- Name of table.
- Request
Cache stringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - Response
Cache stringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - Response
Expires string - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - Rules
[]Contentdeliverynetworkrule
Rule Args - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - Status string
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - Text
Response stringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - Updateserver string
- Enable/disable update server. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category String
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment String
- Comment about this CDN-rule.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host
Domain List<ContentdeliverynetworkruleName Suffixes Host Domain Name Suffix> - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name String
- Name of table.
- request
Cache StringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response
Cache StringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response
Expires String - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules
List<Contentdeliverynetworkrule
Rule> - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status String
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text
Response StringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver String
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category string
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment string
- Comment about this CDN-rule.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host
Domain ContentdeliverynetworkruleName Suffixes Host Domain Name Suffix[] - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name string
- Name of table.
- request
Cache stringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response
Cache stringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response
Expires string - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules
Contentdeliverynetworkrule
Rule[] - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status string
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text
Response stringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver string
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category str
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment str
- Comment about this CDN-rule.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host_
domain_ Sequence[Contentdeliverynetworkrulename_ suffixes Host Domain Name Suffix Args] - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name str
- Name of table.
- request_
cache_ strcontrol - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response_
cache_ strcontrol - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response_
expires str - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules
Sequence[Contentdeliverynetworkrule
Rule Args] - WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status str
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text_
response_ strvcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver str
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- category String
- Content delivery network rule category. Valid values:
vcache
,youtube
. - comment String
- Comment about this CDN-rule.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- host
Domain List<Property Map>Name Suffixes - Suffix portion of the fully qualified domain name (eg. fortinet.com in "www.fortinet.com"). The structure of
host_domain_name_suffix
block is documented below. - name String
- Name of table.
- request
Cache StringControl - Enable/disable HTTP request cache control. Valid values:
enable
,disable
. - response
Cache StringControl - Enable/disable HTTP response cache control. Valid values:
enable
,disable
. - response
Expires String - Enable/disable HTTP response cache expires. Valid values:
enable
,disable
. - rules List<Property Map>
- WAN optimization content delivery network rule entries. The structure of
rules
block is documented below. - status String
- Enable/disable WAN optimization content delivery network rules. Valid values:
enable
,disable
. - text
Response StringVcache - Enable/disable caching of text responses. Valid values:
enable
,disable
. - updateserver String
- Enable/disable update server. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
ContentdeliverynetworkruleHostDomainNameSuffix, ContentdeliverynetworkruleHostDomainNameSuffixArgs
- Name string
- Suffix portion of the fully qualified domain name.
- Name string
- Suffix portion of the fully qualified domain name.
- name String
- Suffix portion of the fully qualified domain name.
- name string
- Suffix portion of the fully qualified domain name.
- name str
- Suffix portion of the fully qualified domain name.
- name String
- Suffix portion of the fully qualified domain name.
ContentdeliverynetworkruleRule, ContentdeliverynetworkruleRuleArgs
- Content
Id Pulumiverse.Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule Content Id - Content ID settings. The structure of
content_id
block is documented below. - Match
Entries List<Pulumiverse.Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule Match Entry> - List of entries to match. The structure of
match_entries
block is documented below. - Match
Mode string - Match criteria for collecting content ID. Valid values:
all
,any
. - Name string
- WAN optimization content delivery network rule name.
- Skip
Entries List<Pulumiverse.Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule Skip Entry> - List of entries to skip. The structure of
skip_entries
block is documented below. - Skip
Rule stringMode - Skip mode when evaluating skip-rules. Valid values:
all
,any
.
- Content
Id ContentdeliverynetworkruleRule Content Id - Content ID settings. The structure of
content_id
block is documented below. - Match
Entries []ContentdeliverynetworkruleRule Match Entry - List of entries to match. The structure of
match_entries
block is documented below. - Match
Mode string - Match criteria for collecting content ID. Valid values:
all
,any
. - Name string
- WAN optimization content delivery network rule name.
- Skip
Entries []ContentdeliverynetworkruleRule Skip Entry - List of entries to skip. The structure of
skip_entries
block is documented below. - Skip
Rule stringMode - Skip mode when evaluating skip-rules. Valid values:
all
,any
.
- content
Id ContentdeliverynetworkruleRule Content Id - Content ID settings. The structure of
content_id
block is documented below. - match
Entries List<ContentdeliverynetworkruleRule Match Entry> - List of entries to match. The structure of
match_entries
block is documented below. - match
Mode String - Match criteria for collecting content ID. Valid values:
all
,any
. - name String
- WAN optimization content delivery network rule name.
- skip
Entries List<ContentdeliverynetworkruleRule Skip Entry> - List of entries to skip. The structure of
skip_entries
block is documented below. - skip
Rule StringMode - Skip mode when evaluating skip-rules. Valid values:
all
,any
.
- content
Id ContentdeliverynetworkruleRule Content Id - Content ID settings. The structure of
content_id
block is documented below. - match
Entries ContentdeliverynetworkruleRule Match Entry[] - List of entries to match. The structure of
match_entries
block is documented below. - match
Mode string - Match criteria for collecting content ID. Valid values:
all
,any
. - name string
- WAN optimization content delivery network rule name.
- skip
Entries ContentdeliverynetworkruleRule Skip Entry[] - List of entries to skip. The structure of
skip_entries
block is documented below. - skip
Rule stringMode - Skip mode when evaluating skip-rules. Valid values:
all
,any
.
- content_
id ContentdeliverynetworkruleRule Content Id - Content ID settings. The structure of
content_id
block is documented below. - match_
entries Sequence[ContentdeliverynetworkruleRule Match Entry] - List of entries to match. The structure of
match_entries
block is documented below. - match_
mode str - Match criteria for collecting content ID. Valid values:
all
,any
. - name str
- WAN optimization content delivery network rule name.
- skip_
entries Sequence[ContentdeliverynetworkruleRule Skip Entry] - List of entries to skip. The structure of
skip_entries
block is documented below. - skip_
rule_ strmode - Skip mode when evaluating skip-rules. Valid values:
all
,any
.
- content
Id Property Map - Content ID settings. The structure of
content_id
block is documented below. - match
Entries List<Property Map> - List of entries to match. The structure of
match_entries
block is documented below. - match
Mode String - Match criteria for collecting content ID. Valid values:
all
,any
. - name String
- WAN optimization content delivery network rule name.
- skip
Entries List<Property Map> - List of entries to skip. The structure of
skip_entries
block is documented below. - skip
Rule StringMode - Skip mode when evaluating skip-rules. Valid values:
all
,any
.
ContentdeliverynetworkruleRuleContentId, ContentdeliverynetworkruleRuleContentIdArgs
- End
Direction string - Search direction from end-str match. Valid values:
forward
,backward
. - End
Skip int - Number of characters in URL to skip after end-str has been matched.
- End
Str string - String from which to end search.
- Range
Str string - Name of content ID within the start string and end string.
- Start
Direction string - Search direction from start-str match. Valid values:
forward
,backward
. - Start
Skip int - Number of characters in URL to skip after start-str has been matched.
- Start
Str string - String from which to start search.
- Target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
,hls-manifest
,dash-manifest
,hls-fragment
,dash-fragment
.
- End
Direction string - Search direction from end-str match. Valid values:
forward
,backward
. - End
Skip int - Number of characters in URL to skip after end-str has been matched.
- End
Str string - String from which to end search.
- Range
Str string - Name of content ID within the start string and end string.
- Start
Direction string - Search direction from start-str match. Valid values:
forward
,backward
. - Start
Skip int - Number of characters in URL to skip after start-str has been matched.
- Start
Str string - String from which to start search.
- Target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
,hls-manifest
,dash-manifest
,hls-fragment
,dash-fragment
.
- end
Direction String - Search direction from end-str match. Valid values:
forward
,backward
. - end
Skip Integer - Number of characters in URL to skip after end-str has been matched.
- end
Str String - String from which to end search.
- range
Str String - Name of content ID within the start string and end string.
- start
Direction String - Search direction from start-str match. Valid values:
forward
,backward
. - start
Skip Integer - Number of characters in URL to skip after start-str has been matched.
- start
Str String - String from which to start search.
- target String
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
,hls-manifest
,dash-manifest
,hls-fragment
,dash-fragment
.
- end
Direction string - Search direction from end-str match. Valid values:
forward
,backward
. - end
Skip number - Number of characters in URL to skip after end-str has been matched.
- end
Str string - String from which to end search.
- range
Str string - Name of content ID within the start string and end string.
- start
Direction string - Search direction from start-str match. Valid values:
forward
,backward
. - start
Skip number - Number of characters in URL to skip after start-str has been matched.
- start
Str string - String from which to start search.
- target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
,hls-manifest
,dash-manifest
,hls-fragment
,dash-fragment
.
- end_
direction str - Search direction from end-str match. Valid values:
forward
,backward
. - end_
skip int - Number of characters in URL to skip after end-str has been matched.
- end_
str str - String from which to end search.
- range_
str str - Name of content ID within the start string and end string.
- start_
direction str - Search direction from start-str match. Valid values:
forward
,backward
. - start_
skip int - Number of characters in URL to skip after start-str has been matched.
- start_
str str - String from which to start search.
- target str
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
,hls-manifest
,dash-manifest
,hls-fragment
,dash-fragment
.
- end
Direction String - Search direction from end-str match. Valid values:
forward
,backward
. - end
Skip Number - Number of characters in URL to skip after end-str has been matched.
- end
Str String - String from which to end search.
- range
Str String - Name of content ID within the start string and end string.
- start
Direction String - Search direction from start-str match. Valid values:
forward
,backward
. - start
Skip Number - Number of characters in URL to skip after start-str has been matched.
- start
Str String - String from which to start search.
- target String
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
,hls-manifest
,dash-manifest
,hls-fragment
,dash-fragment
.
ContentdeliverynetworkruleRuleMatchEntry, ContentdeliverynetworkruleRuleMatchEntryArgs
- Id int
- Rule ID.
- Patterns
List<Pulumiverse.
Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule Match Entry Pattern> - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - Target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- Id int
- Rule ID.
- Patterns
[]Contentdeliverynetworkrule
Rule Match Entry Pattern - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - Target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id Integer
- Rule ID.
- patterns
List<Contentdeliverynetworkrule
Rule Match Entry Pattern> - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target String
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id number
- Rule ID.
- patterns
Contentdeliverynetworkrule
Rule Match Entry Pattern[] - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id int
- Rule ID.
- patterns
Sequence[Contentdeliverynetworkrule
Rule Match Entry Pattern] - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target str
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id Number
- Rule ID.
- patterns List<Property Map>
- Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target String
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
ContentdeliverynetworkruleRuleMatchEntryPattern, ContentdeliverynetworkruleRuleMatchEntryPatternArgs
- String string
- Pattern strings.
- String string
- Pattern strings.
- string String
- Pattern strings.
- string string
- Pattern strings.
- string str
- Pattern strings.
- string String
- Pattern strings.
ContentdeliverynetworkruleRuleSkipEntry, ContentdeliverynetworkruleRuleSkipEntryArgs
- Id int
- Rule ID.
- Patterns
List<Pulumiverse.
Fortios. Wanopt. Inputs. Contentdeliverynetworkrule Rule Skip Entry Pattern> - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - Target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- Id int
- Rule ID.
- Patterns
[]Contentdeliverynetworkrule
Rule Skip Entry Pattern - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - Target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id Integer
- Rule ID.
- patterns
List<Contentdeliverynetworkrule
Rule Skip Entry Pattern> - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target String
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id number
- Rule ID.
- patterns
Contentdeliverynetworkrule
Rule Skip Entry Pattern[] - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target string
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id int
- Rule ID.
- patterns
Sequence[Contentdeliverynetworkrule
Rule Skip Entry Pattern] - Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target str
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
- id Number
- Rule ID.
- patterns List<Property Map>
- Pattern string for matching target (Referrer or URL pattern, eg. "a", "ac", "a", "ace", and ""). The structure of
pattern
block is documented below. - target String
- Option in HTTP header or URL parameter to match. Valid values:
path
,parameter
,referrer
,youtube-map
,youtube-id
,youku-id
.
ContentdeliverynetworkruleRuleSkipEntryPattern, ContentdeliverynetworkruleRuleSkipEntryPatternArgs
- String string
- Pattern strings.
- String string
- Pattern strings.
- string String
- Pattern strings.
- string string
- Pattern strings.
- string str
- Pattern strings.
- string String
- Pattern strings.
Import
Wanopt ContentDeliveryNetworkRule can be imported using any of these accepted formats:
$ pulumi import fortios:wanopt/contentdeliverynetworkrule:Contentdeliverynetworkrule labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:wanopt/contentdeliverynetworkrule:Contentdeliverynetworkrule labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.