Class EndpointState
Inherited Members
Namespace: Pulumi.Azure.Cdn
Assembly: Pulumi.Azure.dll
Syntax
public sealed class EndpointState : ResourceArgs
Constructors
View SourceEndpointState()
Declaration
public EndpointState()
Properties
View SourceContentTypesToCompresses
An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types.
Declaration
public InputList<string> ContentTypesToCompresses { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
DeliveryRules
Rules for the rules engine. An endpoint can contain up until 4 of those rules that consist of conditions and actions. A delivery_rule blocks as defined below.
Declaration
public InputList<EndpointDeliveryRuleGetArgs> DeliveryRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EndpointDeliveryRuleGetArgs> |
GeoFilters
A set of Geo Filters for this CDN Endpoint. Each geo_filter block supports fields documented below.
Declaration
public InputList<EndpointGeoFilterGetArgs> GeoFilters { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EndpointGeoFilterGetArgs> |
GlobalDeliveryRule
Actions that are valid for all resources regardless of any conditions. A global_delivery_rule block as defined below.
Declaration
public Input<EndpointGlobalDeliveryRuleGetArgs> GlobalDeliveryRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<EndpointGlobalDeliveryRuleGetArgs> |
HostName
A string that determines the hostname/IP address of the origin server. This string can be a domain name, Storage Account endpoint, Web App endpoint, IPv4 address or IPv6 address. Changing this forces a new resource to be created.
Declaration
public Input<string> HostName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IsCompressionEnabled
Indicates whether compression is to be enabled. Defaults to false.
Declaration
public Input<bool> IsCompressionEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IsHttpAllowed
Defaults to true.
Declaration
public Input<bool> IsHttpAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IsHttpsAllowed
Defaults to true.
Declaration
public Input<bool> IsHttpsAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Location
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OptimizationType
What types of optimization should this CDN Endpoint optimize for? Possible values include DynamicSiteAcceleration, GeneralMediaStreaming, GeneralWebDelivery, LargeFileDownload and VideoOnDemandMediaStreaming.
Declaration
public Input<string> OptimizationType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OriginHostHeader
The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin.
Declaration
public Input<string> OriginHostHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OriginPath
The path used at for origin requests.
Declaration
public Input<string> OriginPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Origins
The set of origins of the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options. Each origin block supports fields documented below.
Declaration
public InputList<EndpointOriginGetArgs> Origins { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<EndpointOriginGetArgs> |
ProbePath
the path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin_path.
Declaration
public Input<string> ProbePath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ProfileName
The CDN Profile to which to attach the CDN Endpoint.
Declaration
public Input<string> ProfileName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
QuerystringCachingBehaviour
Sets query string caching behavior. Allowed values are IgnoreQueryString, BypassCaching and UseQueryString. Defaults to IgnoreQueryString.
Declaration
public Input<string> QuerystringCachingBehaviour { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which to create the CDN Endpoint.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |