Documentation
¶
Index ¶
- type Endpoint
- func (r *Endpoint) ContentTypesToCompresses() *pulumi.ArrayOutput
- func (r *Endpoint) GeoFilters() *pulumi.ArrayOutput
- func (r *Endpoint) HostName() *pulumi.StringOutput
- func (r *Endpoint) ID() *pulumi.IDOutput
- func (r *Endpoint) IsCompressionEnabled() *pulumi.BoolOutput
- func (r *Endpoint) IsHttpAllowed() *pulumi.BoolOutput
- func (r *Endpoint) IsHttpsAllowed() *pulumi.BoolOutput
- func (r *Endpoint) Location() *pulumi.StringOutput
- func (r *Endpoint) Name() *pulumi.StringOutput
- func (r *Endpoint) OptimizationType() *pulumi.StringOutput
- func (r *Endpoint) OriginHostHeader() *pulumi.StringOutput
- func (r *Endpoint) OriginPath() *pulumi.StringOutput
- func (r *Endpoint) Origins() *pulumi.ArrayOutput
- func (r *Endpoint) ProbePath() *pulumi.StringOutput
- func (r *Endpoint) ProfileName() *pulumi.StringOutput
- func (r *Endpoint) QuerystringCachingBehaviour() *pulumi.StringOutput
- func (r *Endpoint) ResourceGroupName() *pulumi.StringOutput
- func (r *Endpoint) Tags() *pulumi.MapOutput
- func (r *Endpoint) URN() *pulumi.URNOutput
- type EndpointArgs
- type EndpointState
- type GetProfileArgs
- type GetProfileResult
- type Profile
- func (r *Profile) ID() *pulumi.IDOutput
- func (r *Profile) Location() *pulumi.StringOutput
- func (r *Profile) Name() *pulumi.StringOutput
- func (r *Profile) ResourceGroupName() *pulumi.StringOutput
- func (r *Profile) Sku() *pulumi.StringOutput
- func (r *Profile) Tags() *pulumi.MapOutput
- func (r *Profile) URN() *pulumi.URNOutput
- type ProfileArgs
- type ProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviors and origins. The CDN Endpoint is exposed using the URL format <endpointname>.azureedge.net.
func GetEndpoint ¶
func GetEndpoint(ctx *pulumi.Context, name string, id pulumi.ID, state *EndpointState, opts ...pulumi.ResourceOpt) (*Endpoint, error)
GetEndpoint gets an existing Endpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEndpoint ¶
func NewEndpoint(ctx *pulumi.Context, name string, args *EndpointArgs, opts ...pulumi.ResourceOpt) (*Endpoint, error)
NewEndpoint registers a new resource with the given unique name, arguments, and options.
func (*Endpoint) ContentTypesToCompresses ¶
func (r *Endpoint) ContentTypesToCompresses() *pulumi.ArrayOutput
An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types.
func (*Endpoint) GeoFilters ¶
func (r *Endpoint) GeoFilters() *pulumi.ArrayOutput
A set of Geo Filters for this CDN Endpoint. Each `geo_filter` block supports fields documented below.
func (*Endpoint) HostName ¶
func (r *Endpoint) HostName() *pulumi.StringOutput
func (*Endpoint) IsCompressionEnabled ¶
func (r *Endpoint) IsCompressionEnabled() *pulumi.BoolOutput
Indicates whether compression is to be enabled. Defaults to false.
func (*Endpoint) IsHttpAllowed ¶
func (r *Endpoint) IsHttpAllowed() *pulumi.BoolOutput
Defaults to `true`.
func (*Endpoint) IsHttpsAllowed ¶
func (r *Endpoint) IsHttpsAllowed() *pulumi.BoolOutput
Defaults to `true`.
func (*Endpoint) Location ¶
func (r *Endpoint) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Endpoint) Name ¶
func (r *Endpoint) Name() *pulumi.StringOutput
Specifies the name of the CDN Endpoint. Changing this forces a new resource to be created.
func (*Endpoint) OptimizationType ¶
func (r *Endpoint) OptimizationType() *pulumi.StringOutput
What types of optimization should this CDN Endpoint optimize for? Possible values include `DynamicSiteAcceleration`, `GeneralMediaStreaming`, `GeneralWebDelivery`, `LargeFileDownload` and `VideoOnDemandMediaStreaming`.
func (*Endpoint) OriginHostHeader ¶
func (r *Endpoint) OriginHostHeader() *pulumi.StringOutput
The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin.
func (*Endpoint) OriginPath ¶
func (r *Endpoint) OriginPath() *pulumi.StringOutput
The path used at for origin requests.
func (*Endpoint) Origins ¶
func (r *Endpoint) Origins() *pulumi.ArrayOutput
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.
func (*Endpoint) ProbePath ¶
func (r *Endpoint) ProbePath() *pulumi.StringOutput
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`.
func (*Endpoint) ProfileName ¶
func (r *Endpoint) ProfileName() *pulumi.StringOutput
The CDN Profile to which to attach the CDN Endpoint.
func (*Endpoint) QuerystringCachingBehaviour ¶
func (r *Endpoint) QuerystringCachingBehaviour() *pulumi.StringOutput
Sets query string caching behavior. Allowed values are `IgnoreQueryString`, `BypassCaching` and `UseQueryString`. Defaults to `IgnoreQueryString`.
func (*Endpoint) ResourceGroupName ¶
func (r *Endpoint) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the CDN Endpoint.
type EndpointArgs ¶
type EndpointArgs struct { // An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types. ContentTypesToCompresses interface{} // A set of Geo Filters for this CDN Endpoint. Each `geo_filter` block supports fields documented below. GeoFilters interface{} // Indicates whether compression is to be enabled. Defaults to false. IsCompressionEnabled interface{} // Defaults to `true`. IsHttpAllowed interface{} // Defaults to `true`. IsHttpsAllowed interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the CDN Endpoint. Changing this forces a new resource to be created. Name interface{} // What types of optimization should this CDN Endpoint optimize for? Possible values include `DynamicSiteAcceleration`, `GeneralMediaStreaming`, `GeneralWebDelivery`, `LargeFileDownload` and `VideoOnDemandMediaStreaming`. OptimizationType interface{} // 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. Origins interface{} // The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin. OriginHostHeader interface{} // The path used at for origin requests. OriginPath interface{} // 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`. ProbePath interface{} // The CDN Profile to which to attach the CDN Endpoint. ProfileName interface{} // Sets query string caching behavior. Allowed values are `IgnoreQueryString`, `BypassCaching` and `UseQueryString`. Defaults to `IgnoreQueryString`. QuerystringCachingBehaviour interface{} // The name of the resource group in which to create the CDN Endpoint. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Endpoint resource.
type EndpointState ¶
type EndpointState struct { // An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types. ContentTypesToCompresses interface{} // A set of Geo Filters for this CDN Endpoint. Each `geo_filter` block supports fields documented below. GeoFilters interface{} HostName interface{} // Indicates whether compression is to be enabled. Defaults to false. IsCompressionEnabled interface{} // Defaults to `true`. IsHttpAllowed interface{} // Defaults to `true`. IsHttpsAllowed interface{} // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the CDN Endpoint. Changing this forces a new resource to be created. Name interface{} // What types of optimization should this CDN Endpoint optimize for? Possible values include `DynamicSiteAcceleration`, `GeneralMediaStreaming`, `GeneralWebDelivery`, `LargeFileDownload` and `VideoOnDemandMediaStreaming`. OptimizationType interface{} // 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. Origins interface{} // The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin. OriginHostHeader interface{} // The path used at for origin requests. OriginPath interface{} // 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`. ProbePath interface{} // The CDN Profile to which to attach the CDN Endpoint. ProfileName interface{} // Sets query string caching behavior. Allowed values are `IgnoreQueryString`, `BypassCaching` and `UseQueryString`. Defaults to `IgnoreQueryString`. QuerystringCachingBehaviour interface{} // The name of the resource group in which to create the CDN Endpoint. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Endpoint resources.
type GetProfileArgs ¶
type GetProfileArgs struct { // The name of the CDN Profile. Name interface{} // The name of the resource group in which the CDN Profile exists. ResourceGroupName interface{} }
A collection of arguments for invoking getProfile.
type GetProfileResult ¶
type GetProfileResult struct { // The Azure Region where the resource exists. Location interface{} Name interface{} ResourceGroupName interface{} // The pricing related information of current CDN profile. Sku interface{} // A mapping of tags assigned to the resource. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getProfile.
func LookupProfile ¶
func LookupProfile(ctx *pulumi.Context, args *GetProfileArgs) (*GetProfileResult, error)
Use this data source to access information about an existing CDN Profile.
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
Manage a CDN Profile to create a collection of CDN Endpoints.
func GetProfile ¶
func GetProfile(ctx *pulumi.Context, name string, id pulumi.ID, state *ProfileState, opts ...pulumi.ResourceOpt) (*Profile, error)
GetProfile gets an existing Profile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProfile ¶
func NewProfile(ctx *pulumi.Context, name string, args *ProfileArgs, opts ...pulumi.ResourceOpt) (*Profile, error)
NewProfile registers a new resource with the given unique name, arguments, and options.
func (*Profile) Location ¶
func (r *Profile) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Profile) Name ¶
func (r *Profile) Name() *pulumi.StringOutput
Specifies the name of the CDN Profile. Changing this forces a new resource to be created.
func (*Profile) ResourceGroupName ¶
func (r *Profile) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the CDN Profile.
func (*Profile) Sku ¶
func (r *Profile) Sku() *pulumi.StringOutput
The pricing related information of current CDN profile. Accepted values are `Standard_Akamai`, `Standard_ChinaCdn`, `Standard_Microsoft`, `Standard_Verizon` or `Premium_Verizon`.
type ProfileArgs ¶
type ProfileArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the CDN Profile. Changing this forces a // new resource to be created. Name interface{} // The name of the resource group in which to // create the CDN Profile. ResourceGroupName interface{} // The pricing related information of current CDN profile. Accepted values are `Standard_Akamai`, `Standard_ChinaCdn`, `Standard_Microsoft`, `Standard_Verizon` or `Premium_Verizon`. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Profile resource.
type ProfileState ¶
type ProfileState struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the CDN Profile. Changing this forces a // new resource to be created. Name interface{} // The name of the resource group in which to // create the CDN Profile. ResourceGroupName interface{} // The pricing related information of current CDN profile. Accepted values are `Standard_Akamai`, `Standard_ChinaCdn`, `Standard_Microsoft`, `Standard_Verizon` or `Premium_Verizon`. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Profile resources.