v20150601

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 (
	QueryStringCachingBehaviorIgnoreQueryString = QueryStringCachingBehavior("IgnoreQueryString")
	QueryStringCachingBehaviorBypassCaching     = QueryStringCachingBehavior("BypassCaching")
	QueryStringCachingBehaviorUseQueryString    = QueryStringCachingBehavior("UseQueryString")
	QueryStringCachingBehaviorNotSet            = QueryStringCachingBehavior("NotSet")
)
View Source
const (
	SkuNameStandard = SkuName("Standard")
	SkuNamePremium  = SkuName("Premium")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDomain

type CustomDomain struct {
	pulumi.CustomResourceState

	// 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"`
}

CDN CustomDomain represents a mapping between a user specified domain name and a CDN endpoint. This is to use custom domain names to represent the URLs for branding purposes.

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 within the CDN profile.
	EndpointName pulumi.StringInput
	// The host name of the custom domain. Must be a domain name.
	HostName pulumi.StringInput
	// Name of the CDN profile 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 {
	// 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
}

func (CustomDomainState) ElementType

func (CustomDomainState) ElementType() reflect.Type

type DeepCreatedOrigin

type DeepCreatedOrigin struct {
	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	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"`
}

Deep created origins within a CDN endpoint.

type DeepCreatedOriginArgs

type DeepCreatedOriginArgs struct {
	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	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"`
}

Deep created origins within 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 }

Deep created origins within a CDN endpoint.

func (DeepCreatedOriginOutput) ElementType

func (DeepCreatedOriginOutput) ElementType() reflect.Type

func (DeepCreatedOriginOutput) HostName

The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.

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. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	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"`
}

Deep created origins within a CDN endpoint.

type DeepCreatedOriginResponseArgs

type DeepCreatedOriginResponseArgs struct {
	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	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"`
}

Deep created origins within 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 }

Deep created origins within a CDN endpoint.

func (DeepCreatedOriginResponseOutput) ElementType

func (DeepCreatedOriginResponseOutput) HostName

The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.

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 will be applied. The value for the elements should be a valid MIME type.
	ContentTypesToCompress pulumi.StringArrayOutput `pulumi:"contentTypesToCompress"`
	// The host name of the endpoint {endpointName}.{DNSZone}
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// Indicates whether the compression is enabled. Default value is false. If compression is enabled, the content transferred from cdn endpoint to end user will be compressed. The requested content must be larger than 1 byte and smaller 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"`
	// The host header the CDN provider will send along with content requests to origins. The default value is the host name of the origin.
	OriginHostHeader pulumi.StringPtrOutput `pulumi:"originHostHeader"`
	// The path used for origin requests.
	OriginPath pulumi.StringPtrOutput `pulumi:"originPath"`
	// The set of origins for the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options.
	Origins DeepCreatedOriginResponseArrayOutput `pulumi:"origins"`
	// Provisioning status of the endpoint.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Defines the query string caching behavior.
	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 regarding caching behaviors and origins. The CDN endpoint is exposed using the URL format <endpointname>.azureedge.net by default, but custom domains can also be created.

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 will be applied. The value for the elements should be a valid MIME type.
	ContentTypesToCompress pulumi.StringArrayInput
	// Name of the endpoint within the CDN profile.
	EndpointName pulumi.StringInput
	// Indicates whether content compression is enabled. Default value is false. If compression is enabled, the content transferred from the CDN endpoint to the end user will be compressed. The requested content must be larger than 1 byte and smaller 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
	// Endpoint location
	Location pulumi.StringPtrInput
	// The host header CDN provider will send along with content requests to origins. The default value is the host name of the origin.
	OriginHostHeader pulumi.StringPtrInput
	// The path used for origin requests.
	OriginPath pulumi.StringPtrInput
	// The set of origins for the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options.
	Origins DeepCreatedOriginArrayInput
	// Name of the CDN profile within the resource group.
	ProfileName pulumi.StringInput
	// Defines the query string caching behavior.
	QueryStringCachingBehavior *QueryStringCachingBehavior
	// Name of the resource group within the Azure subscription.
	ResourceGroupName pulumi.StringInput
	// Endpoint 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 will be applied. The value for the elements should be a valid MIME type.
	ContentTypesToCompress pulumi.StringArrayInput
	// The host name of the endpoint {endpointName}.{DNSZone}
	HostName pulumi.StringPtrInput
	// Indicates whether the compression is enabled. Default value is false. If compression is enabled, the content transferred from cdn endpoint to end user will be compressed. The requested content must be larger than 1 byte and smaller 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
	// The host header the CDN provider will send along with content requests to origins. The default value is the host name of the origin.
	OriginHostHeader pulumi.StringPtrInput
	// The path used for origin requests.
	OriginPath pulumi.StringPtrInput
	// The set of origins for the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options.
	Origins DeepCreatedOriginResponseArrayInput
	// Provisioning status of the endpoint.
	ProvisioningState pulumi.StringPtrInput
	// Defines the query string caching behavior.
	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 LookupCustomDomainArgs

type LookupCustomDomainArgs struct {
	// Name of the custom domain within an endpoint.
	CustomDomainName string `pulumi:"customDomainName"`
	// Name of the endpoint within the CDN profile.
	EndpointName string `pulumi:"endpointName"`
	// Name of the CDN profile 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 {
	// 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"`
}

CDN CustomDomain represents a mapping between a user specified domain name and a CDN endpoint. This is to use custom domain names to represent the URLs for branding purposes.

type LookupEndpointArgs

type LookupEndpointArgs struct {
	// Name of the endpoint within the CDN profile.
	EndpointName string `pulumi:"endpointName"`
	// Name of the CDN profile 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 will be applied. The value for the elements should be a valid MIME type.
	ContentTypesToCompress []string `pulumi:"contentTypesToCompress"`
	// The host name of the endpoint {endpointName}.{DNSZone}
	HostName string `pulumi:"hostName"`
	// Resource ID
	Id string `pulumi:"id"`
	// Indicates whether the compression is enabled. Default value is false. If compression is enabled, the content transferred from cdn endpoint to end user will be compressed. The requested content must be larger than 1 byte and smaller 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"`
	// The host header the CDN provider will send along with content requests to origins. The default value is the host name of the origin.
	OriginHostHeader *string `pulumi:"originHostHeader"`
	// The path used for origin requests.
	OriginPath *string `pulumi:"originPath"`
	// The set of origins for the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options.
	Origins []DeepCreatedOriginResponse `pulumi:"origins"`
	// Provisioning status of the endpoint.
	ProvisioningState string `pulumi:"provisioningState"`
	// Defines the query string caching behavior.
	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 regarding caching behaviors and origins. The CDN endpoint is exposed using the URL format <endpointname>.azureedge.net by default, but custom domains can also be created.

func LookupEndpoint

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

type LookupOriginArgs

type LookupOriginArgs struct {
	// Name of the endpoint within the CDN profile.
	EndpointName string `pulumi:"endpointName"`
	// Name of the origin, an arbitrary value but it needs to be unique under endpoint
	OriginName string `pulumi:"originName"`
	// Name of the CDN profile within the resource group.
	ProfileName string `pulumi:"profileName"`
	// Name of the resource group within the Azure subscription.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupOriginResult

type LookupOriginResult struct {
	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	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"`
	// Resource ID
	Id string `pulumi:"id"`
	// Resource name
	Name string `pulumi:"name"`
	// Provisioning status of the origin.
	ProvisioningState string `pulumi:"provisioningState"`
	// Resource status of the origin.
	ResourceState string `pulumi:"resourceState"`
	// Resource type
	Type string `pulumi:"type"`
}

CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.

func LookupOrigin

func LookupOrigin(ctx *pulumi.Context, args *LookupOriginArgs, opts ...pulumi.InvokeOption) (*LookupOriginResult, error)

type LookupProfileArgs

type LookupProfileArgs struct {
	// Name of the CDN profile 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 SKU (pricing tier) of the CDN profile.
	Sku *SkuResponse `pulumi:"sku"`
	// Resource tags
	Tags map[string]string `pulumi:"tags"`
	// Resource type
	Type string `pulumi:"type"`
}

CDN profile represents the top level resource and the entry point into the CDN API. This allows users to set up a logical grouping of endpoints in addition to creating shared configuration settings and selecting pricing tiers and providers.

func LookupProfile

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

type Origin

type Origin struct {
	pulumi.CustomResourceState

	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	HostName pulumi.StringOutput `pulumi:"hostName"`
	// The value of the HTTP port. Must be between 1 and 65535.
	HttpPort pulumi.IntPtrOutput `pulumi:"httpPort"`
	// The value of the https port. Must be between 1 and 65535.
	HttpsPort pulumi.IntPtrOutput `pulumi:"httpsPort"`
	// Resource name
	Name pulumi.StringOutput `pulumi:"name"`
	// Provisioning status of the origin.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Resource status of the origin.
	ResourceState pulumi.StringOutput `pulumi:"resourceState"`
	// Resource type
	Type pulumi.StringOutput `pulumi:"type"`
}

CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.

func GetOrigin

func GetOrigin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OriginState, opts ...pulumi.ResourceOption) (*Origin, error)

GetOrigin gets an existing Origin 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 NewOrigin

func NewOrigin(ctx *pulumi.Context,
	name string, args *OriginArgs, opts ...pulumi.ResourceOption) (*Origin, error)

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

func (*Origin) ElementType added in v0.2.6

func (*Origin) ElementType() reflect.Type

func (*Origin) ToOriginOutput added in v0.2.6

func (i *Origin) ToOriginOutput() OriginOutput

func (*Origin) ToOriginOutputWithContext added in v0.2.6

func (i *Origin) ToOriginOutputWithContext(ctx context.Context) OriginOutput

type OriginArgs

type OriginArgs struct {
	// Name of the endpoint within the CDN profile.
	EndpointName pulumi.StringInput
	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	HostName pulumi.StringInput
	// The value of the HTTP port. Must be between 1 and 65535.
	HttpPort pulumi.IntPtrInput
	// The value of the HTTPS port. Must be between 1 and 65535.
	HttpsPort pulumi.IntPtrInput
	// Name of the origin, an arbitrary value but it needs to be unique under endpoint
	OriginName pulumi.StringInput
	// Name of the CDN profile 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 Origin resource.

func (OriginArgs) ElementType

func (OriginArgs) ElementType() reflect.Type

type OriginInput added in v0.2.6

type OriginInput interface {
	pulumi.Input

	ToOriginOutput() OriginOutput
	ToOriginOutputWithContext(ctx context.Context) OriginOutput
}

type OriginOutput added in v0.2.6

type OriginOutput struct {
	*pulumi.OutputState
}

func (OriginOutput) ElementType added in v0.2.6

func (OriginOutput) ElementType() reflect.Type

func (OriginOutput) ToOriginOutput added in v0.2.6

func (o OriginOutput) ToOriginOutput() OriginOutput

func (OriginOutput) ToOriginOutputWithContext added in v0.2.6

func (o OriginOutput) ToOriginOutputWithContext(ctx context.Context) OriginOutput

type OriginState

type OriginState struct {
	// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
	HostName pulumi.StringPtrInput
	// The value of the HTTP port. Must be between 1 and 65535.
	HttpPort pulumi.IntPtrInput
	// The value of the https port. Must be between 1 and 65535.
	HttpsPort pulumi.IntPtrInput
	// Resource name
	Name pulumi.StringPtrInput
	// Provisioning status of the origin.
	ProvisioningState pulumi.StringPtrInput
	// Resource status of the origin.
	ResourceState pulumi.StringPtrInput
	// Resource type
	Type pulumi.StringPtrInput
}

func (OriginState) ElementType

func (OriginState) ElementType() reflect.Type

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 SKU (pricing tier) of the CDN profile.
	Sku SkuResponsePtrOutput `pulumi:"sku"`
	// Resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Resource type
	Type pulumi.StringOutput `pulumi:"type"`
}

CDN profile represents the top level resource and the entry point into the CDN API. This allows users to set up a logical grouping of endpoints in addition to creating shared configuration settings and selecting pricing tiers and providers.

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 {
	// Profile location
	Location pulumi.StringPtrInput
	// Name of the CDN profile within the resource group.
	ProfileName pulumi.StringInput
	// Name of the resource group within the Azure subscription.
	ResourceGroupName pulumi.StringInput
	// Profile SKU
	Sku SkuInput
	// Profile 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 SKU (pricing tier) 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 the query string caching behavior.

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 SKU (pricing tier) of the CDN profile.

type SkuArgs

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

The SKU (pricing tier) 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 SKU (pricing tier) 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 SKU (pricing tier) of the CDN profile.

type SkuResponseArgs

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

The SKU (pricing tier) 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 SKU (pricing tier) 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