v20170402

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GeoFilterActionsBlock = GeoFilterActions("Block")
	GeoFilterActionsAllow = GeoFilterActions("Allow")
)
View Source
const (
	OptimizationTypeGeneralWebDelivery          = OptimizationType("GeneralWebDelivery")
	OptimizationTypeGeneralMediaStreaming       = OptimizationType("GeneralMediaStreaming")
	OptimizationTypeVideoOnDemandMediaStreaming = OptimizationType("VideoOnDemandMediaStreaming")
	OptimizationTypeLargeFileDownload           = OptimizationType("LargeFileDownload")
	OptimizationTypeDynamicSiteAcceleration     = OptimizationType("DynamicSiteAcceleration")
)
View Source
const (
	QueryStringCachingBehaviorIgnoreQueryString = QueryStringCachingBehavior("IgnoreQueryString")
	QueryStringCachingBehaviorBypassCaching     = QueryStringCachingBehavior("BypassCaching")
	QueryStringCachingBehaviorUseQueryString    = QueryStringCachingBehavior("UseQueryString")
	QueryStringCachingBehaviorNotSet            = QueryStringCachingBehavior("NotSet")
)
View Source
const (
	SkuName_Standard_Verizon  = SkuName("Standard_Verizon")
	SkuName_Premium_Verizon   = SkuName("Premium_Verizon")
	SkuName_Custom_Verizon    = SkuName("Custom_Verizon")
	SkuName_Standard_Akamai   = SkuName("Standard_Akamai")
	SkuName_Standard_ChinaCdn = SkuName("Standard_ChinaCdn")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDomain

type CustomDomain struct {
	pulumi.CustomResourceState

	// Provisioning status of Custom Https of the custom domain.
	CustomHttpsProvisioningState pulumi.StringOutput `pulumi:"customHttpsProvisioningState"`
	// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
	CustomHttpsProvisioningSubstate pulumi.StringOutput `pulumi:"customHttpsProvisioningSubstate"`
	// The host name of the custom domain. Must be a domain name.
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Provisioning status of the custom domain.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Resource status of the custom domain.
	ResourceState pulumi.StringOutput `pulumi:"resourceState"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
	ValidationData pulumi.StringPtrOutput `pulumi:"validationData"`
}

Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.

func GetCustomDomain

func GetCustomDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomDomainState, opts ...pulumi.ResourceOption) (*CustomDomain, error)

GetCustomDomain gets an existing CustomDomain 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 NewCustomDomain

func NewCustomDomain(ctx *pulumi.Context,
	name string, args *CustomDomainArgs, opts ...pulumi.ResourceOption) (*CustomDomain, error)

NewCustomDomain registers a new resource with the given unique name, arguments, and options.

func (*CustomDomain) ElementType added in v0.2.6

func (*CustomDomain) ElementType() reflect.Type

func (*CustomDomain) ToCustomDomainOutput added in v0.2.6

func (i *CustomDomain) ToCustomDomainOutput() CustomDomainOutput

func (*CustomDomain) ToCustomDomainOutputWithContext added in v0.2.6

func (i *CustomDomain) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput

type CustomDomainArgs

type CustomDomainArgs struct {
	// Name of the custom domain within an endpoint.
	CustomDomainName pulumi.StringInput
	// Name of the endpoint under the profile which is unique globally.
	EndpointName pulumi.StringInput
	// The host name of the custom domain. Must be a domain name.
	HostName pulumi.StringInput
	// Name of the CDN profile which is unique within the resource group.
	ProfileName pulumi.StringInput
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName pulumi.StringInput
}

The set of arguments for constructing a CustomDomain resource.

func (CustomDomainArgs) ElementType

func (CustomDomainArgs) ElementType() reflect.Type

type CustomDomainInput added in v0.2.6

type CustomDomainInput interface {
	pulumi.Input

	ToCustomDomainOutput() CustomDomainOutput
	ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput
}

type CustomDomainOutput added in v0.2.6

type CustomDomainOutput struct {
	*pulumi.OutputState
}

func (CustomDomainOutput) ElementType added in v0.2.6

func (CustomDomainOutput) ElementType() reflect.Type

func (CustomDomainOutput) ToCustomDomainOutput added in v0.2.6

func (o CustomDomainOutput) ToCustomDomainOutput() CustomDomainOutput

func (CustomDomainOutput) ToCustomDomainOutputWithContext added in v0.2.6

func (o CustomDomainOutput) ToCustomDomainOutputWithContext(ctx context.Context) CustomDomainOutput

type CustomDomainState

type CustomDomainState struct {
	// Provisioning status of Custom Https of the custom domain.
	CustomHttpsProvisioningState pulumi.StringPtrInput
	// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
	CustomHttpsProvisioningSubstate pulumi.StringPtrInput
	// The host name of the custom domain. Must be a domain name.
	HostName pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// Provisioning status of the custom domain.
	ProvisioningState pulumi.StringPtrInput
	// Resource status of the custom domain.
	ResourceState pulumi.StringPtrInput
	// Resource type.
	Type pulumi.StringPtrInput
	// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
	ValidationData pulumi.StringPtrInput
}

func (CustomDomainState) ElementType

func (CustomDomainState) ElementType() reflect.Type

type DeepCreatedOrigin

type DeepCreatedOrigin struct {
	// The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.
	HostName string `pulumi:"hostName"`
	// The value of the HTTP port. Must be between 1 and 65535
	HttpPort *int `pulumi:"httpPort"`
	// The value of the HTTPS port. Must be between 1 and 65535
	HttpsPort *int `pulumi:"httpsPort"`
	// Origin name
	Name string `pulumi:"name"`
}

The main origin of CDN content which is added when creating a CDN endpoint.

type DeepCreatedOriginArgs

type DeepCreatedOriginArgs struct {
	// The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.
	HostName pulumi.StringInput `pulumi:"hostName"`
	// The value of the HTTP port. Must be between 1 and 65535
	HttpPort pulumi.IntPtrInput `pulumi:"httpPort"`
	// The value of the HTTPS port. Must be between 1 and 65535
	HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"`
	// Origin name
	Name pulumi.StringInput `pulumi:"name"`
}

The main origin of CDN content which is added when creating a CDN endpoint.

func (DeepCreatedOriginArgs) ElementType

func (DeepCreatedOriginArgs) ElementType() reflect.Type

func (DeepCreatedOriginArgs) ToDeepCreatedOriginOutput

func (i DeepCreatedOriginArgs) ToDeepCreatedOriginOutput() DeepCreatedOriginOutput

func (DeepCreatedOriginArgs) ToDeepCreatedOriginOutputWithContext

func (i DeepCreatedOriginArgs) ToDeepCreatedOriginOutputWithContext(ctx context.Context) DeepCreatedOriginOutput

type DeepCreatedOriginArray

type DeepCreatedOriginArray []DeepCreatedOriginInput

func (DeepCreatedOriginArray) ElementType

func (DeepCreatedOriginArray) ElementType() reflect.Type

func (DeepCreatedOriginArray) ToDeepCreatedOriginArrayOutput

func (i DeepCreatedOriginArray) ToDeepCreatedOriginArrayOutput() DeepCreatedOriginArrayOutput

func (DeepCreatedOriginArray) ToDeepCreatedOriginArrayOutputWithContext

func (i DeepCreatedOriginArray) ToDeepCreatedOriginArrayOutputWithContext(ctx context.Context) DeepCreatedOriginArrayOutput

type DeepCreatedOriginArrayInput

type DeepCreatedOriginArrayInput interface {
	pulumi.Input

	ToDeepCreatedOriginArrayOutput() DeepCreatedOriginArrayOutput
	ToDeepCreatedOriginArrayOutputWithContext(context.Context) DeepCreatedOriginArrayOutput
}

DeepCreatedOriginArrayInput is an input type that accepts DeepCreatedOriginArray and DeepCreatedOriginArrayOutput values. You can construct a concrete instance of `DeepCreatedOriginArrayInput` via:

DeepCreatedOriginArray{ DeepCreatedOriginArgs{...} }

type DeepCreatedOriginArrayOutput

type DeepCreatedOriginArrayOutput struct{ *pulumi.OutputState }

func (DeepCreatedOriginArrayOutput) ElementType

func (DeepCreatedOriginArrayOutput) Index

func (DeepCreatedOriginArrayOutput) ToDeepCreatedOriginArrayOutput

func (o DeepCreatedOriginArrayOutput) ToDeepCreatedOriginArrayOutput() DeepCreatedOriginArrayOutput

func (DeepCreatedOriginArrayOutput) ToDeepCreatedOriginArrayOutputWithContext

func (o DeepCreatedOriginArrayOutput) ToDeepCreatedOriginArrayOutputWithContext(ctx context.Context) DeepCreatedOriginArrayOutput

type DeepCreatedOriginInput

type DeepCreatedOriginInput interface {
	pulumi.Input

	ToDeepCreatedOriginOutput() DeepCreatedOriginOutput
	ToDeepCreatedOriginOutputWithContext(context.Context) DeepCreatedOriginOutput
}

DeepCreatedOriginInput is an input type that accepts DeepCreatedOriginArgs and DeepCreatedOriginOutput values. You can construct a concrete instance of `DeepCreatedOriginInput` via:

DeepCreatedOriginArgs{...}

type DeepCreatedOriginOutput

type DeepCreatedOriginOutput struct{ *pulumi.OutputState }

The main origin of CDN content which is added when creating a CDN endpoint.

func (DeepCreatedOriginOutput) ElementType

func (DeepCreatedOriginOutput) ElementType() reflect.Type

func (DeepCreatedOriginOutput) HostName

The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.

func (DeepCreatedOriginOutput) HttpPort

The value of the HTTP port. Must be between 1 and 65535

func (DeepCreatedOriginOutput) HttpsPort

The value of the HTTPS port. Must be between 1 and 65535

func (DeepCreatedOriginOutput) Name

Origin name

func (DeepCreatedOriginOutput) ToDeepCreatedOriginOutput

func (o DeepCreatedOriginOutput) ToDeepCreatedOriginOutput() DeepCreatedOriginOutput

func (DeepCreatedOriginOutput) ToDeepCreatedOriginOutputWithContext

func (o DeepCreatedOriginOutput) ToDeepCreatedOriginOutputWithContext(ctx context.Context) DeepCreatedOriginOutput

type DeepCreatedOriginResponse

type DeepCreatedOriginResponse struct {
	// The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.
	HostName string `pulumi:"hostName"`
	// The value of the HTTP port. Must be between 1 and 65535
	HttpPort *int `pulumi:"httpPort"`
	// The value of the HTTPS port. Must be between 1 and 65535
	HttpsPort *int `pulumi:"httpsPort"`
	// Origin name
	Name string `pulumi:"name"`
}

The main origin of CDN content which is added when creating a CDN endpoint.

type DeepCreatedOriginResponseArgs

type DeepCreatedOriginResponseArgs struct {
	// The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.
	HostName pulumi.StringInput `pulumi:"hostName"`
	// The value of the HTTP port. Must be between 1 and 65535
	HttpPort pulumi.IntPtrInput `pulumi:"httpPort"`
	// The value of the HTTPS port. Must be between 1 and 65535
	HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"`
	// Origin name
	Name pulumi.StringInput `pulumi:"name"`
}

The main origin of CDN content which is added when creating a CDN endpoint.

func (DeepCreatedOriginResponseArgs) ElementType

func (DeepCreatedOriginResponseArgs) ToDeepCreatedOriginResponseOutput

func (i DeepCreatedOriginResponseArgs) ToDeepCreatedOriginResponseOutput() DeepCreatedOriginResponseOutput

func (DeepCreatedOriginResponseArgs) ToDeepCreatedOriginResponseOutputWithContext

func (i DeepCreatedOriginResponseArgs) ToDeepCreatedOriginResponseOutputWithContext(ctx context.Context) DeepCreatedOriginResponseOutput

type DeepCreatedOriginResponseArray

type DeepCreatedOriginResponseArray []DeepCreatedOriginResponseInput

func (DeepCreatedOriginResponseArray) ElementType

func (DeepCreatedOriginResponseArray) ToDeepCreatedOriginResponseArrayOutput

func (i DeepCreatedOriginResponseArray) ToDeepCreatedOriginResponseArrayOutput() DeepCreatedOriginResponseArrayOutput

func (DeepCreatedOriginResponseArray) ToDeepCreatedOriginResponseArrayOutputWithContext

func (i DeepCreatedOriginResponseArray) ToDeepCreatedOriginResponseArrayOutputWithContext(ctx context.Context) DeepCreatedOriginResponseArrayOutput

type DeepCreatedOriginResponseArrayInput

type DeepCreatedOriginResponseArrayInput interface {
	pulumi.Input

	ToDeepCreatedOriginResponseArrayOutput() DeepCreatedOriginResponseArrayOutput
	ToDeepCreatedOriginResponseArrayOutputWithContext(context.Context) DeepCreatedOriginResponseArrayOutput
}

DeepCreatedOriginResponseArrayInput is an input type that accepts DeepCreatedOriginResponseArray and DeepCreatedOriginResponseArrayOutput values. You can construct a concrete instance of `DeepCreatedOriginResponseArrayInput` via:

DeepCreatedOriginResponseArray{ DeepCreatedOriginResponseArgs{...} }

type DeepCreatedOriginResponseArrayOutput

type DeepCreatedOriginResponseArrayOutput struct{ *pulumi.OutputState }

func (DeepCreatedOriginResponseArrayOutput) ElementType

func (DeepCreatedOriginResponseArrayOutput) Index

func (DeepCreatedOriginResponseArrayOutput) ToDeepCreatedOriginResponseArrayOutput

func (o DeepCreatedOriginResponseArrayOutput) ToDeepCreatedOriginResponseArrayOutput() DeepCreatedOriginResponseArrayOutput

func (DeepCreatedOriginResponseArrayOutput) ToDeepCreatedOriginResponseArrayOutputWithContext

func (o DeepCreatedOriginResponseArrayOutput) ToDeepCreatedOriginResponseArrayOutputWithContext(ctx context.Context) DeepCreatedOriginResponseArrayOutput

type DeepCreatedOriginResponseInput

type DeepCreatedOriginResponseInput interface {
	pulumi.Input

	ToDeepCreatedOriginResponseOutput() DeepCreatedOriginResponseOutput
	ToDeepCreatedOriginResponseOutputWithContext(context.Context) DeepCreatedOriginResponseOutput
}

DeepCreatedOriginResponseInput is an input type that accepts DeepCreatedOriginResponseArgs and DeepCreatedOriginResponseOutput values. You can construct a concrete instance of `DeepCreatedOriginResponseInput` via:

DeepCreatedOriginResponseArgs{...}

type DeepCreatedOriginResponseOutput

type DeepCreatedOriginResponseOutput struct{ *pulumi.OutputState }

The main origin of CDN content which is added when creating a CDN endpoint.

func (DeepCreatedOriginResponseOutput) ElementType

func (DeepCreatedOriginResponseOutput) HostName

The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.

func (DeepCreatedOriginResponseOutput) HttpPort

The value of the HTTP port. Must be between 1 and 65535

func (DeepCreatedOriginResponseOutput) HttpsPort

The value of the HTTPS port. Must be between 1 and 65535

func (DeepCreatedOriginResponseOutput) Name

Origin name

func (DeepCreatedOriginResponseOutput) ToDeepCreatedOriginResponseOutput

func (o DeepCreatedOriginResponseOutput) ToDeepCreatedOriginResponseOutput() DeepCreatedOriginResponseOutput

func (DeepCreatedOriginResponseOutput) ToDeepCreatedOriginResponseOutputWithContext

func (o DeepCreatedOriginResponseOutput) ToDeepCreatedOriginResponseOutputWithContext(ctx context.Context) DeepCreatedOriginResponseOutput

type Endpoint

type Endpoint struct {
	pulumi.CustomResourceState

	// List of content types on which compression applies. The value should be a valid MIME type.
	ContentTypesToCompress pulumi.StringArrayOutput `pulumi:"contentTypesToCompress"`
	// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
	GeoFilters GeoFilterResponseArrayOutput `pulumi:"geoFilters"`
	// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
	IsCompressionEnabled pulumi.BoolPtrOutput `pulumi:"isCompressionEnabled"`
	// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpAllowed pulumi.BoolPtrOutput `pulumi:"isHttpAllowed"`
	// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpsAllowed pulumi.BoolPtrOutput `pulumi:"isHttpsAllowed"`
	// Resource location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.
	OptimizationType pulumi.StringPtrOutput `pulumi:"optimizationType"`
	// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
	OriginHostHeader pulumi.StringPtrOutput `pulumi:"originHostHeader"`
	// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
	OriginPath pulumi.StringPtrOutput `pulumi:"originPath"`
	// The source of the content being delivered via CDN.
	Origins DeepCreatedOriginResponseArrayOutput `pulumi:"origins"`
	// 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 pulumi.StringPtrOutput `pulumi:"probePath"`
	// Provisioning status of the endpoint.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
	QueryStringCachingBehavior pulumi.StringPtrOutput `pulumi:"queryStringCachingBehavior"`
	// Resource status of the endpoint.
	ResourceState pulumi.StringOutput `pulumi:"resourceState"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format <endpointname>.azureedge.net.

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Endpoint, error)

NewEndpoint registers a new resource with the given unique name, arguments, and options.

func (*Endpoint) ElementType added in v0.2.6

func (*Endpoint) ElementType() reflect.Type

func (*Endpoint) ToEndpointOutput added in v0.2.6

func (i *Endpoint) ToEndpointOutput() EndpointOutput

func (*Endpoint) ToEndpointOutputWithContext added in v0.2.6

func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointArgs

type EndpointArgs struct {
	// List of content types on which compression applies. The value should be a valid MIME type.
	ContentTypesToCompress pulumi.StringArrayInput
	// Name of the endpoint under the profile which is unique globally.
	EndpointName pulumi.StringInput
	// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
	GeoFilters GeoFilterArrayInput
	// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
	IsCompressionEnabled pulumi.BoolPtrInput
	// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpAllowed pulumi.BoolPtrInput
	// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpsAllowed pulumi.BoolPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.
	OptimizationType pulumi.StringPtrInput
	// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
	OriginHostHeader pulumi.StringPtrInput
	// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
	OriginPath pulumi.StringPtrInput
	// The source of the content being delivered via CDN.
	Origins DeepCreatedOriginArrayInput
	// 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 pulumi.StringPtrInput
	// Name of the CDN profile which is unique within the resource group.
	ProfileName pulumi.StringInput
	// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
	QueryStringCachingBehavior *QueryStringCachingBehavior
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName pulumi.StringInput
	// Resource tags.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Endpoint resource.

func (EndpointArgs) ElementType

func (EndpointArgs) ElementType() reflect.Type

type EndpointInput added in v0.2.6

type EndpointInput interface {
	pulumi.Input

	ToEndpointOutput() EndpointOutput
	ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
}

type EndpointOutput added in v0.2.6

type EndpointOutput struct {
	*pulumi.OutputState
}

func (EndpointOutput) ElementType added in v0.2.6

func (EndpointOutput) ElementType() reflect.Type

func (EndpointOutput) ToEndpointOutput added in v0.2.6

func (o EndpointOutput) ToEndpointOutput() EndpointOutput

func (EndpointOutput) ToEndpointOutputWithContext added in v0.2.6

func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput

type EndpointState

type EndpointState struct {
	// List of content types on which compression applies. The value should be a valid MIME type.
	ContentTypesToCompress pulumi.StringArrayInput
	// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
	GeoFilters GeoFilterResponseArrayInput
	// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
	HostName pulumi.StringPtrInput
	// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
	IsCompressionEnabled pulumi.BoolPtrInput
	// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpAllowed pulumi.BoolPtrInput
	// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpsAllowed pulumi.BoolPtrInput
	// Resource location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.
	OptimizationType pulumi.StringPtrInput
	// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
	OriginHostHeader pulumi.StringPtrInput
	// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
	OriginPath pulumi.StringPtrInput
	// The source of the content being delivered via CDN.
	Origins DeepCreatedOriginResponseArrayInput
	// 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 pulumi.StringPtrInput
	// Provisioning status of the endpoint.
	ProvisioningState pulumi.StringPtrInput
	// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
	QueryStringCachingBehavior pulumi.StringPtrInput
	// Resource status of the endpoint.
	ResourceState pulumi.StringPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (EndpointState) ElementType

func (EndpointState) ElementType() reflect.Type

type GeoFilter

type GeoFilter struct {
	// Action of the geo filter, i.e. allow or block access.
	Action string `pulumi:"action"`
	// Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.
	CountryCodes []string `pulumi:"countryCodes"`
	// Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)
	RelativePath string `pulumi:"relativePath"`
}

Rules defining user's geo access within a CDN endpoint.

type GeoFilterActions added in v0.3.1

type GeoFilterActions pulumi.String

Action of the geo filter, i.e. allow or block access.

func (GeoFilterActions) ElementType added in v0.3.1

func (GeoFilterActions) ElementType() reflect.Type

func (GeoFilterActions) ToStringOutput added in v0.3.1

func (e GeoFilterActions) ToStringOutput() pulumi.StringOutput

func (GeoFilterActions) ToStringOutputWithContext added in v0.3.1

func (e GeoFilterActions) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (GeoFilterActions) ToStringPtrOutput added in v0.3.1

func (e GeoFilterActions) ToStringPtrOutput() pulumi.StringPtrOutput

func (GeoFilterActions) ToStringPtrOutputWithContext added in v0.3.1

func (e GeoFilterActions) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type GeoFilterArgs

type GeoFilterArgs struct {
	// Action of the geo filter, i.e. allow or block access.
	Action GeoFilterActions `pulumi:"action"`
	// Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.
	CountryCodes pulumi.StringArrayInput `pulumi:"countryCodes"`
	// Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)
	RelativePath pulumi.StringInput `pulumi:"relativePath"`
}

Rules defining user's geo access within a CDN endpoint.

func (GeoFilterArgs) ElementType

func (GeoFilterArgs) ElementType() reflect.Type

func (GeoFilterArgs) ToGeoFilterOutput

func (i GeoFilterArgs) ToGeoFilterOutput() GeoFilterOutput

func (GeoFilterArgs) ToGeoFilterOutputWithContext

func (i GeoFilterArgs) ToGeoFilterOutputWithContext(ctx context.Context) GeoFilterOutput

type GeoFilterArray

type GeoFilterArray []GeoFilterInput

func (GeoFilterArray) ElementType

func (GeoFilterArray) ElementType() reflect.Type

func (GeoFilterArray) ToGeoFilterArrayOutput

func (i GeoFilterArray) ToGeoFilterArrayOutput() GeoFilterArrayOutput

func (GeoFilterArray) ToGeoFilterArrayOutputWithContext

func (i GeoFilterArray) ToGeoFilterArrayOutputWithContext(ctx context.Context) GeoFilterArrayOutput

type GeoFilterArrayInput

type GeoFilterArrayInput interface {
	pulumi.Input

	ToGeoFilterArrayOutput() GeoFilterArrayOutput
	ToGeoFilterArrayOutputWithContext(context.Context) GeoFilterArrayOutput
}

GeoFilterArrayInput is an input type that accepts GeoFilterArray and GeoFilterArrayOutput values. You can construct a concrete instance of `GeoFilterArrayInput` via:

GeoFilterArray{ GeoFilterArgs{...} }

type GeoFilterArrayOutput

type GeoFilterArrayOutput struct{ *pulumi.OutputState }

func (GeoFilterArrayOutput) ElementType

func (GeoFilterArrayOutput) ElementType() reflect.Type

func (GeoFilterArrayOutput) Index

func (GeoFilterArrayOutput) ToGeoFilterArrayOutput

func (o GeoFilterArrayOutput) ToGeoFilterArrayOutput() GeoFilterArrayOutput

func (GeoFilterArrayOutput) ToGeoFilterArrayOutputWithContext

func (o GeoFilterArrayOutput) ToGeoFilterArrayOutputWithContext(ctx context.Context) GeoFilterArrayOutput

type GeoFilterInput

type GeoFilterInput interface {
	pulumi.Input

	ToGeoFilterOutput() GeoFilterOutput
	ToGeoFilterOutputWithContext(context.Context) GeoFilterOutput
}

GeoFilterInput is an input type that accepts GeoFilterArgs and GeoFilterOutput values. You can construct a concrete instance of `GeoFilterInput` via:

GeoFilterArgs{...}

type GeoFilterOutput

type GeoFilterOutput struct{ *pulumi.OutputState }

Rules defining user's geo access within a CDN endpoint.

func (GeoFilterOutput) Action

func (o GeoFilterOutput) Action() pulumi.StringOutput

Action of the geo filter, i.e. allow or block access.

func (GeoFilterOutput) CountryCodes

func (o GeoFilterOutput) CountryCodes() pulumi.StringArrayOutput

Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.

func (GeoFilterOutput) ElementType

func (GeoFilterOutput) ElementType() reflect.Type

func (GeoFilterOutput) RelativePath

func (o GeoFilterOutput) RelativePath() pulumi.StringOutput

Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)

func (GeoFilterOutput) ToGeoFilterOutput

func (o GeoFilterOutput) ToGeoFilterOutput() GeoFilterOutput

func (GeoFilterOutput) ToGeoFilterOutputWithContext

func (o GeoFilterOutput) ToGeoFilterOutputWithContext(ctx context.Context) GeoFilterOutput

type GeoFilterResponse

type GeoFilterResponse struct {
	// Action of the geo filter, i.e. allow or block access.
	Action string `pulumi:"action"`
	// Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.
	CountryCodes []string `pulumi:"countryCodes"`
	// Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)
	RelativePath string `pulumi:"relativePath"`
}

Rules defining user's geo access within a CDN endpoint.

type GeoFilterResponseArgs

type GeoFilterResponseArgs struct {
	// Action of the geo filter, i.e. allow or block access.
	Action pulumi.StringInput `pulumi:"action"`
	// Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.
	CountryCodes pulumi.StringArrayInput `pulumi:"countryCodes"`
	// Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)
	RelativePath pulumi.StringInput `pulumi:"relativePath"`
}

Rules defining user's geo access within a CDN endpoint.

func (GeoFilterResponseArgs) ElementType

func (GeoFilterResponseArgs) ElementType() reflect.Type

func (GeoFilterResponseArgs) ToGeoFilterResponseOutput

func (i GeoFilterResponseArgs) ToGeoFilterResponseOutput() GeoFilterResponseOutput

func (GeoFilterResponseArgs) ToGeoFilterResponseOutputWithContext

func (i GeoFilterResponseArgs) ToGeoFilterResponseOutputWithContext(ctx context.Context) GeoFilterResponseOutput

type GeoFilterResponseArray

type GeoFilterResponseArray []GeoFilterResponseInput

func (GeoFilterResponseArray) ElementType

func (GeoFilterResponseArray) ElementType() reflect.Type

func (GeoFilterResponseArray) ToGeoFilterResponseArrayOutput

func (i GeoFilterResponseArray) ToGeoFilterResponseArrayOutput() GeoFilterResponseArrayOutput

func (GeoFilterResponseArray) ToGeoFilterResponseArrayOutputWithContext

func (i GeoFilterResponseArray) ToGeoFilterResponseArrayOutputWithContext(ctx context.Context) GeoFilterResponseArrayOutput

type GeoFilterResponseArrayInput

type GeoFilterResponseArrayInput interface {
	pulumi.Input

	ToGeoFilterResponseArrayOutput() GeoFilterResponseArrayOutput
	ToGeoFilterResponseArrayOutputWithContext(context.Context) GeoFilterResponseArrayOutput
}

GeoFilterResponseArrayInput is an input type that accepts GeoFilterResponseArray and GeoFilterResponseArrayOutput values. You can construct a concrete instance of `GeoFilterResponseArrayInput` via:

GeoFilterResponseArray{ GeoFilterResponseArgs{...} }

type GeoFilterResponseArrayOutput

type GeoFilterResponseArrayOutput struct{ *pulumi.OutputState }

func (GeoFilterResponseArrayOutput) ElementType

func (GeoFilterResponseArrayOutput) Index

func (GeoFilterResponseArrayOutput) ToGeoFilterResponseArrayOutput

func (o GeoFilterResponseArrayOutput) ToGeoFilterResponseArrayOutput() GeoFilterResponseArrayOutput

func (GeoFilterResponseArrayOutput) ToGeoFilterResponseArrayOutputWithContext

func (o GeoFilterResponseArrayOutput) ToGeoFilterResponseArrayOutputWithContext(ctx context.Context) GeoFilterResponseArrayOutput

type GeoFilterResponseInput

type GeoFilterResponseInput interface {
	pulumi.Input

	ToGeoFilterResponseOutput() GeoFilterResponseOutput
	ToGeoFilterResponseOutputWithContext(context.Context) GeoFilterResponseOutput
}

GeoFilterResponseInput is an input type that accepts GeoFilterResponseArgs and GeoFilterResponseOutput values. You can construct a concrete instance of `GeoFilterResponseInput` via:

GeoFilterResponseArgs{...}

type GeoFilterResponseOutput

type GeoFilterResponseOutput struct{ *pulumi.OutputState }

Rules defining user's geo access within a CDN endpoint.

func (GeoFilterResponseOutput) Action

Action of the geo filter, i.e. allow or block access.

func (GeoFilterResponseOutput) CountryCodes

Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.

func (GeoFilterResponseOutput) ElementType

func (GeoFilterResponseOutput) ElementType() reflect.Type

func (GeoFilterResponseOutput) RelativePath

func (o GeoFilterResponseOutput) RelativePath() pulumi.StringOutput

Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)

func (GeoFilterResponseOutput) ToGeoFilterResponseOutput

func (o GeoFilterResponseOutput) ToGeoFilterResponseOutput() GeoFilterResponseOutput

func (GeoFilterResponseOutput) ToGeoFilterResponseOutputWithContext

func (o GeoFilterResponseOutput) ToGeoFilterResponseOutputWithContext(ctx context.Context) GeoFilterResponseOutput

type GetProfileSupportedOptimizationTypesArgs added in v0.2.1

type GetProfileSupportedOptimizationTypesArgs struct {
	// Name of the CDN profile which is unique within the resource group.
	ProfileName string `pulumi:"profileName"`
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type GetProfileSupportedOptimizationTypesResult added in v0.2.1

type GetProfileSupportedOptimizationTypesResult struct {
	// Supported optimization types for a profile.
	SupportedOptimizationTypes []string `pulumi:"supportedOptimizationTypes"`
}

The result of the GetSupportedOptimizationTypes API

type LookupCustomDomainArgs

type LookupCustomDomainArgs struct {
	// Name of the custom domain within an endpoint.
	CustomDomainName string `pulumi:"customDomainName"`
	// Name of the endpoint under the profile which is unique globally.
	EndpointName string `pulumi:"endpointName"`
	// Name of the CDN profile which is unique within the resource group.
	ProfileName string `pulumi:"profileName"`
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupCustomDomainResult

type LookupCustomDomainResult struct {
	// Provisioning status of Custom Https of the custom domain.
	CustomHttpsProvisioningState string `pulumi:"customHttpsProvisioningState"`
	// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
	CustomHttpsProvisioningSubstate string `pulumi:"customHttpsProvisioningSubstate"`
	// The host name of the custom domain. Must be a domain name.
	HostName string `pulumi:"hostName"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Resource name.
	Name string `pulumi:"name"`
	// Provisioning status of the custom domain.
	ProvisioningState string `pulumi:"provisioningState"`
	// Resource status of the custom domain.
	ResourceState string `pulumi:"resourceState"`
	// Resource type.
	Type string `pulumi:"type"`
	// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
	ValidationData *string `pulumi:"validationData"`
}

Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.

type LookupEndpointArgs

type LookupEndpointArgs struct {
	// Name of the endpoint under the profile which is unique globally.
	EndpointName string `pulumi:"endpointName"`
	// Name of the CDN profile which is unique within the resource group.
	ProfileName string `pulumi:"profileName"`
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupEndpointResult

type LookupEndpointResult struct {
	// List of content types on which compression applies. The value should be a valid MIME type.
	ContentTypesToCompress []string `pulumi:"contentTypesToCompress"`
	// List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
	GeoFilters []GeoFilterResponse `pulumi:"geoFilters"`
	// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
	HostName string `pulumi:"hostName"`
	// Resource ID.
	Id string `pulumi:"id"`
	// Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
	IsCompressionEnabled *bool `pulumi:"isCompressionEnabled"`
	// Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpAllowed *bool `pulumi:"isHttpAllowed"`
	// Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
	IsHttpsAllowed *bool `pulumi:"isHttpsAllowed"`
	// Resource location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.
	OptimizationType *string `pulumi:"optimizationType"`
	// The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
	OriginHostHeader *string `pulumi:"originHostHeader"`
	// A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
	OriginPath *string `pulumi:"originPath"`
	// The source of the content being delivered via CDN.
	Origins []DeepCreatedOriginResponse `pulumi:"origins"`
	// 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 *string `pulumi:"probePath"`
	// Provisioning status of the endpoint.
	ProvisioningState string `pulumi:"provisioningState"`
	// Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
	QueryStringCachingBehavior *string `pulumi:"queryStringCachingBehavior"`
	// Resource status of the endpoint.
	ResourceState string `pulumi:"resourceState"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// Resource type.
	Type string `pulumi:"type"`
}

CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format <endpointname>.azureedge.net.

func LookupEndpoint

func LookupEndpoint(ctx *pulumi.Context, args *LookupEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEndpointResult, error)

type LookupProfileArgs

type LookupProfileArgs struct {
	// Name of the CDN profile which is unique within the resource group.
	ProfileName string `pulumi:"profileName"`
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupProfileResult

type LookupProfileResult struct {
	// Resource ID.
	Id string `pulumi:"id"`
	// Resource location.
	Location string `pulumi:"location"`
	// Resource name.
	Name string `pulumi:"name"`
	// Provisioning status of the profile.
	ProvisioningState string `pulumi:"provisioningState"`
	// Resource status of the profile.
	ResourceState string `pulumi:"resourceState"`
	// The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
	Sku SkuResponse `pulumi:"sku"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// Resource type.
	Type string `pulumi:"type"`
}

CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.

func LookupProfile

func LookupProfile(ctx *pulumi.Context, args *LookupProfileArgs, opts ...pulumi.InvokeOption) (*LookupProfileResult, error)

type OptimizationType added in v0.3.1

type OptimizationType pulumi.String

Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.

func (OptimizationType) ElementType added in v0.3.1

func (OptimizationType) ElementType() reflect.Type

func (OptimizationType) ToStringOutput added in v0.3.1

func (e OptimizationType) ToStringOutput() pulumi.StringOutput

func (OptimizationType) ToStringOutputWithContext added in v0.3.1

func (e OptimizationType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OptimizationType) ToStringPtrOutput added in v0.3.1

func (e OptimizationType) ToStringPtrOutput() pulumi.StringPtrOutput

func (OptimizationType) ToStringPtrOutputWithContext added in v0.3.1

func (e OptimizationType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Profile

type Profile struct {
	pulumi.CustomResourceState

	// Resource location.
	Location pulumi.StringOutput `pulumi:"location"`
	// Resource name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Provisioning status of the profile.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Resource status of the profile.
	ResourceState pulumi.StringOutput `pulumi:"resourceState"`
	// The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
	Sku SkuResponseOutput `pulumi:"sku"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Resource type.
	Type pulumi.StringOutput `pulumi:"type"`
}

CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.

func GetProfile

func GetProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Profile, error)

NewProfile registers a new resource with the given unique name, arguments, and options.

func (*Profile) ElementType added in v0.2.6

func (*Profile) ElementType() reflect.Type

func (*Profile) ToProfileOutput added in v0.2.6

func (i *Profile) ToProfileOutput() ProfileOutput

func (*Profile) ToProfileOutputWithContext added in v0.2.6

func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileArgs

type ProfileArgs struct {
	// Resource location.
	Location pulumi.StringPtrInput
	// Name of the CDN profile which is unique within the resource group.
	ProfileName pulumi.StringInput
	// Name of the Resource group within the Azure subscription.
	ResourceGroupName pulumi.StringInput
	// The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
	Sku SkuInput
	// Resource tags.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Profile resource.

func (ProfileArgs) ElementType

func (ProfileArgs) ElementType() reflect.Type

type ProfileInput added in v0.2.6

type ProfileInput interface {
	pulumi.Input

	ToProfileOutput() ProfileOutput
	ToProfileOutputWithContext(ctx context.Context) ProfileOutput
}

type ProfileOutput added in v0.2.6

type ProfileOutput struct {
	*pulumi.OutputState
}

func (ProfileOutput) ElementType added in v0.2.6

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) ToProfileOutput added in v0.2.6

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext added in v0.2.6

func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileState

type ProfileState struct {
	// Resource location.
	Location pulumi.StringPtrInput
	// Resource name.
	Name pulumi.StringPtrInput
	// Provisioning status of the profile.
	ProvisioningState pulumi.StringPtrInput
	// Resource status of the profile.
	ResourceState pulumi.StringPtrInput
	// The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
	Sku SkuResponsePtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Resource type.
	Type pulumi.StringPtrInput
}

func (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

type QueryStringCachingBehavior added in v0.3.1

type QueryStringCachingBehavior pulumi.String

Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.

func (QueryStringCachingBehavior) ElementType added in v0.3.1

func (QueryStringCachingBehavior) ElementType() reflect.Type

func (QueryStringCachingBehavior) ToStringOutput added in v0.3.1

func (e QueryStringCachingBehavior) ToStringOutput() pulumi.StringOutput

func (QueryStringCachingBehavior) ToStringOutputWithContext added in v0.3.1

func (e QueryStringCachingBehavior) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (QueryStringCachingBehavior) ToStringPtrOutput added in v0.3.1

func (e QueryStringCachingBehavior) ToStringPtrOutput() pulumi.StringPtrOutput

func (QueryStringCachingBehavior) ToStringPtrOutputWithContext added in v0.3.1

func (e QueryStringCachingBehavior) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Sku

type Sku struct {
	// Name of the pricing tier.
	Name *string `pulumi:"name"`
}

The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

type SkuArgs

type SkuArgs struct {
	// Name of the pricing tier.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

func (SkuArgs) ElementType

func (SkuArgs) ElementType() reflect.Type

func (SkuArgs) ToSkuOutput

func (i SkuArgs) ToSkuOutput() SkuOutput

func (SkuArgs) ToSkuOutputWithContext

func (i SkuArgs) ToSkuOutputWithContext(ctx context.Context) SkuOutput

func (SkuArgs) ToSkuPtrOutput

func (i SkuArgs) ToSkuPtrOutput() SkuPtrOutput

func (SkuArgs) ToSkuPtrOutputWithContext

func (i SkuArgs) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput

type SkuInput

type SkuInput interface {
	pulumi.Input

	ToSkuOutput() SkuOutput
	ToSkuOutputWithContext(context.Context) SkuOutput
}

SkuInput is an input type that accepts SkuArgs and SkuOutput values. You can construct a concrete instance of `SkuInput` via:

SkuArgs{...}

type SkuName added in v0.3.1

type SkuName pulumi.String

Name of the pricing tier.

func (SkuName) ElementType added in v0.3.1

func (SkuName) ElementType() reflect.Type

func (SkuName) ToStringOutput added in v0.3.1

func (e SkuName) ToStringOutput() pulumi.StringOutput

func (SkuName) ToStringOutputWithContext added in v0.3.1

func (e SkuName) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SkuName) ToStringPtrOutput added in v0.3.1

func (e SkuName) ToStringPtrOutput() pulumi.StringPtrOutput

func (SkuName) ToStringPtrOutputWithContext added in v0.3.1

func (e SkuName) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SkuOutput

type SkuOutput struct{ *pulumi.OutputState }

The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

func (SkuOutput) ElementType

func (SkuOutput) ElementType() reflect.Type

func (SkuOutput) Name

func (o SkuOutput) Name() pulumi.StringPtrOutput

Name of the pricing tier.

func (SkuOutput) ToSkuOutput

func (o SkuOutput) ToSkuOutput() SkuOutput

func (SkuOutput) ToSkuOutputWithContext

func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput

func (SkuOutput) ToSkuPtrOutput

func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput

func (SkuOutput) ToSkuPtrOutputWithContext

func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput

type SkuPtrInput

type SkuPtrInput interface {
	pulumi.Input

	ToSkuPtrOutput() SkuPtrOutput
	ToSkuPtrOutputWithContext(context.Context) SkuPtrOutput
}

SkuPtrInput is an input type that accepts SkuArgs, SkuPtr and SkuPtrOutput values. You can construct a concrete instance of `SkuPtrInput` via:

        SkuArgs{...}

or:

        nil

func SkuPtr

func SkuPtr(v *SkuArgs) SkuPtrInput

type SkuPtrOutput

type SkuPtrOutput struct{ *pulumi.OutputState }

func (SkuPtrOutput) Elem

func (o SkuPtrOutput) Elem() SkuOutput

func (SkuPtrOutput) ElementType

func (SkuPtrOutput) ElementType() reflect.Type

func (SkuPtrOutput) Name

Name of the pricing tier.

func (SkuPtrOutput) ToSkuPtrOutput

func (o SkuPtrOutput) ToSkuPtrOutput() SkuPtrOutput

func (SkuPtrOutput) ToSkuPtrOutputWithContext

func (o SkuPtrOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput

type SkuResponse

type SkuResponse struct {
	// Name of the pricing tier.
	Name *string `pulumi:"name"`
}

The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

type SkuResponseArgs

type SkuResponseArgs struct {
	// Name of the pricing tier.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

func (SkuResponseArgs) ElementType

func (SkuResponseArgs) ElementType() reflect.Type

func (SkuResponseArgs) ToSkuResponseOutput

func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput

func (SkuResponseArgs) ToSkuResponseOutputWithContext

func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput

func (SkuResponseArgs) ToSkuResponsePtrOutput

func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput

func (SkuResponseArgs) ToSkuResponsePtrOutputWithContext

func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput

type SkuResponseInput

type SkuResponseInput interface {
	pulumi.Input

	ToSkuResponseOutput() SkuResponseOutput
	ToSkuResponseOutputWithContext(context.Context) SkuResponseOutput
}

SkuResponseInput is an input type that accepts SkuResponseArgs and SkuResponseOutput values. You can construct a concrete instance of `SkuResponseInput` via:

SkuResponseArgs{...}

type SkuResponseOutput

type SkuResponseOutput struct{ *pulumi.OutputState }

The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

func (SkuResponseOutput) ElementType

func (SkuResponseOutput) ElementType() reflect.Type

func (SkuResponseOutput) Name

Name of the pricing tier.

func (SkuResponseOutput) ToSkuResponseOutput

func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput

func (SkuResponseOutput) ToSkuResponseOutputWithContext

func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput

func (SkuResponseOutput) ToSkuResponsePtrOutput

func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput

func (SkuResponseOutput) ToSkuResponsePtrOutputWithContext

func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput

type SkuResponsePtrInput

type SkuResponsePtrInput interface {
	pulumi.Input

	ToSkuResponsePtrOutput() SkuResponsePtrOutput
	ToSkuResponsePtrOutputWithContext(context.Context) SkuResponsePtrOutput
}

SkuResponsePtrInput is an input type that accepts SkuResponseArgs, SkuResponsePtr and SkuResponsePtrOutput values. You can construct a concrete instance of `SkuResponsePtrInput` via:

        SkuResponseArgs{...}

or:

        nil

func SkuResponsePtr

func SkuResponsePtr(v *SkuResponseArgs) SkuResponsePtrInput

type SkuResponsePtrOutput

type SkuResponsePtrOutput struct{ *pulumi.OutputState }

func (SkuResponsePtrOutput) Elem

func (SkuResponsePtrOutput) ElementType

func (SkuResponsePtrOutput) ElementType() reflect.Type

func (SkuResponsePtrOutput) Name

Name of the pricing tier.

func (SkuResponsePtrOutput) ToSkuResponsePtrOutput

func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput

func (SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext

func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL