Documentation
¶
Index ¶
- type CustomDomain
- type CustomDomainArgs
- type CustomDomainState
- type DeepCreatedOrigin
- type DeepCreatedOriginArgs
- type DeepCreatedOriginArray
- type DeepCreatedOriginArrayInput
- type DeepCreatedOriginArrayOutput
- func (DeepCreatedOriginArrayOutput) ElementType() reflect.Type
- func (o DeepCreatedOriginArrayOutput) Index(i pulumi.IntInput) DeepCreatedOriginOutput
- func (o DeepCreatedOriginArrayOutput) ToDeepCreatedOriginArrayOutput() DeepCreatedOriginArrayOutput
- func (o DeepCreatedOriginArrayOutput) ToDeepCreatedOriginArrayOutputWithContext(ctx context.Context) DeepCreatedOriginArrayOutput
- type DeepCreatedOriginInput
- type DeepCreatedOriginOutput
- func (DeepCreatedOriginOutput) ElementType() reflect.Type
- func (o DeepCreatedOriginOutput) HostName() pulumi.StringOutput
- func (o DeepCreatedOriginOutput) HttpPort() pulumi.IntPtrOutput
- func (o DeepCreatedOriginOutput) HttpsPort() pulumi.IntPtrOutput
- func (o DeepCreatedOriginOutput) Name() pulumi.StringOutput
- func (o DeepCreatedOriginOutput) ToDeepCreatedOriginOutput() DeepCreatedOriginOutput
- func (o DeepCreatedOriginOutput) ToDeepCreatedOriginOutputWithContext(ctx context.Context) DeepCreatedOriginOutput
- type DeepCreatedOriginResponse
- type DeepCreatedOriginResponseArgs
- func (DeepCreatedOriginResponseArgs) ElementType() reflect.Type
- func (i DeepCreatedOriginResponseArgs) ToDeepCreatedOriginResponseOutput() DeepCreatedOriginResponseOutput
- func (i DeepCreatedOriginResponseArgs) ToDeepCreatedOriginResponseOutputWithContext(ctx context.Context) DeepCreatedOriginResponseOutput
- type DeepCreatedOriginResponseArray
- func (DeepCreatedOriginResponseArray) ElementType() reflect.Type
- func (i DeepCreatedOriginResponseArray) ToDeepCreatedOriginResponseArrayOutput() DeepCreatedOriginResponseArrayOutput
- func (i DeepCreatedOriginResponseArray) ToDeepCreatedOriginResponseArrayOutputWithContext(ctx context.Context) DeepCreatedOriginResponseArrayOutput
- type DeepCreatedOriginResponseArrayInput
- type DeepCreatedOriginResponseArrayOutput
- func (DeepCreatedOriginResponseArrayOutput) ElementType() reflect.Type
- func (o DeepCreatedOriginResponseArrayOutput) Index(i pulumi.IntInput) DeepCreatedOriginResponseOutput
- func (o DeepCreatedOriginResponseArrayOutput) ToDeepCreatedOriginResponseArrayOutput() DeepCreatedOriginResponseArrayOutput
- func (o DeepCreatedOriginResponseArrayOutput) ToDeepCreatedOriginResponseArrayOutputWithContext(ctx context.Context) DeepCreatedOriginResponseArrayOutput
- type DeepCreatedOriginResponseInput
- type DeepCreatedOriginResponseOutput
- func (DeepCreatedOriginResponseOutput) ElementType() reflect.Type
- func (o DeepCreatedOriginResponseOutput) HostName() pulumi.StringOutput
- func (o DeepCreatedOriginResponseOutput) HttpPort() pulumi.IntPtrOutput
- func (o DeepCreatedOriginResponseOutput) HttpsPort() pulumi.IntPtrOutput
- func (o DeepCreatedOriginResponseOutput) Name() pulumi.StringOutput
- func (o DeepCreatedOriginResponseOutput) ToDeepCreatedOriginResponseOutput() DeepCreatedOriginResponseOutput
- func (o DeepCreatedOriginResponseOutput) ToDeepCreatedOriginResponseOutputWithContext(ctx context.Context) DeepCreatedOriginResponseOutput
- type Endpoint
- type EndpointArgs
- type EndpointState
- type GeoFilter
- type GeoFilterArgs
- type GeoFilterArray
- type GeoFilterArrayInput
- type GeoFilterArrayOutput
- func (GeoFilterArrayOutput) ElementType() reflect.Type
- func (o GeoFilterArrayOutput) Index(i pulumi.IntInput) GeoFilterOutput
- func (o GeoFilterArrayOutput) ToGeoFilterArrayOutput() GeoFilterArrayOutput
- func (o GeoFilterArrayOutput) ToGeoFilterArrayOutputWithContext(ctx context.Context) GeoFilterArrayOutput
- type GeoFilterInput
- type GeoFilterOutput
- func (o GeoFilterOutput) Action() pulumi.StringOutput
- func (o GeoFilterOutput) CountryCodes() pulumi.StringArrayOutput
- func (GeoFilterOutput) ElementType() reflect.Type
- func (o GeoFilterOutput) RelativePath() pulumi.StringOutput
- func (o GeoFilterOutput) ToGeoFilterOutput() GeoFilterOutput
- func (o GeoFilterOutput) ToGeoFilterOutputWithContext(ctx context.Context) GeoFilterOutput
- type GeoFilterResponse
- type GeoFilterResponseArgs
- type GeoFilterResponseArray
- type GeoFilterResponseArrayInput
- type GeoFilterResponseArrayOutput
- func (GeoFilterResponseArrayOutput) ElementType() reflect.Type
- func (o GeoFilterResponseArrayOutput) Index(i pulumi.IntInput) GeoFilterResponseOutput
- func (o GeoFilterResponseArrayOutput) ToGeoFilterResponseArrayOutput() GeoFilterResponseArrayOutput
- func (o GeoFilterResponseArrayOutput) ToGeoFilterResponseArrayOutputWithContext(ctx context.Context) GeoFilterResponseArrayOutput
- type GeoFilterResponseInput
- type GeoFilterResponseOutput
- func (o GeoFilterResponseOutput) Action() pulumi.StringOutput
- func (o GeoFilterResponseOutput) CountryCodes() pulumi.StringArrayOutput
- func (GeoFilterResponseOutput) ElementType() reflect.Type
- func (o GeoFilterResponseOutput) RelativePath() pulumi.StringOutput
- func (o GeoFilterResponseOutput) ToGeoFilterResponseOutput() GeoFilterResponseOutput
- func (o GeoFilterResponseOutput) ToGeoFilterResponseOutputWithContext(ctx context.Context) GeoFilterResponseOutput
- type GetProfileSupportedOptimizationTypesArgs
- type GetProfileSupportedOptimizationTypesResult
- type LookupCustomDomainArgs
- type LookupCustomDomainResult
- type LookupEndpointArgs
- type LookupEndpointResult
- type LookupProfileArgs
- type LookupProfileResult
- type Profile
- type ProfileArgs
- type ProfileState
- type Sku
- type SkuArgs
- type SkuInput
- type SkuOutput
- func (SkuOutput) ElementType() reflect.Type
- func (o SkuOutput) Name() pulumi.StringPtrOutput
- func (o SkuOutput) ToSkuOutput() SkuOutput
- func (o SkuOutput) ToSkuOutputWithContext(ctx context.Context) SkuOutput
- func (o SkuOutput) ToSkuPtrOutput() SkuPtrOutput
- func (o SkuOutput) ToSkuPtrOutputWithContext(ctx context.Context) SkuPtrOutput
- type SkuPtrInput
- type SkuPtrOutput
- type SkuResponse
- type SkuResponseArgs
- func (SkuResponseArgs) ElementType() reflect.Type
- func (i SkuResponseArgs) ToSkuResponseOutput() SkuResponseOutput
- func (i SkuResponseArgs) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
- func (i SkuResponseArgs) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (i SkuResponseArgs) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
- type SkuResponseInput
- type SkuResponseOutput
- func (SkuResponseOutput) ElementType() reflect.Type
- func (o SkuResponseOutput) Name() pulumi.StringPtrOutput
- func (o SkuResponseOutput) ToSkuResponseOutput() SkuResponseOutput
- func (o SkuResponseOutput) ToSkuResponseOutputWithContext(ctx context.Context) SkuResponseOutput
- func (o SkuResponseOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (o SkuResponseOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
- type SkuResponsePtrInput
- type SkuResponsePtrOutput
- func (o SkuResponsePtrOutput) Elem() SkuResponseOutput
- func (SkuResponsePtrOutput) ElementType() reflect.Type
- func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput
- func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
- func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomDomain ¶
type CustomDomain struct { pulumi.CustomResourceState // Provisioning state of Custom Https of the custom domain. CustomHttpsProvisioningState pulumi.StringOutput `pulumi:"customHttpsProvisioningState"` // The host name of the custom domain. Must be a domain name. HostName pulumi.StringOutput `pulumi:"hostName"` // Resource location. Location pulumi.StringOutput `pulumi:"location"` // 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 tags. Tags pulumi.StringMapOutput `pulumi:"tags"` // 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"` }
Customer provided domain 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.
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 CustomDomainState ¶
type CustomDomainState struct { // Provisioning state of Custom Https of the custom domain. CustomHttpsProvisioningState pulumi.StringPtrInput // The host name of the custom domain. Must be a domain name. HostName pulumi.StringPtrInput // Resource location. Location 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 tags. Tags pulumi.StringMapInput // 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 names, 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"` }
Origin to be added when creating a CDN endpoint.
type DeepCreatedOriginArgs ¶
type DeepCreatedOriginArgs struct { // The address of the origin. It can be a domain names, 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"` }
Origin to be 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) ElementType() reflect.Type
func (DeepCreatedOriginArrayOutput) Index ¶
func (o DeepCreatedOriginArrayOutput) Index(i pulumi.IntInput) DeepCreatedOriginOutput
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 }
Origin to be added when creating a CDN endpoint.
func (DeepCreatedOriginOutput) ElementType ¶
func (DeepCreatedOriginOutput) ElementType() reflect.Type
func (DeepCreatedOriginOutput) HostName ¶
func (o DeepCreatedOriginOutput) HostName() pulumi.StringOutput
The address of the origin. It can be a domain names, IPv4 address, or IPv6 address.
func (DeepCreatedOriginOutput) HttpPort ¶
func (o DeepCreatedOriginOutput) HttpPort() pulumi.IntPtrOutput
The value of the HTTP port. Must be between 1 and 65535
func (DeepCreatedOriginOutput) HttpsPort ¶
func (o DeepCreatedOriginOutput) HttpsPort() pulumi.IntPtrOutput
The value of the HTTPS port. Must be between 1 and 65535
func (DeepCreatedOriginOutput) Name ¶
func (o DeepCreatedOriginOutput) Name() pulumi.StringOutput
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 names, 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"` }
Origin to be added when creating a CDN endpoint.
type DeepCreatedOriginResponseArgs ¶
type DeepCreatedOriginResponseArgs struct { // The address of the origin. It can be a domain names, 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"` }
Origin to be added when creating a CDN endpoint.
func (DeepCreatedOriginResponseArgs) ElementType ¶
func (DeepCreatedOriginResponseArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeepCreatedOriginResponseArrayOutput) Index ¶
func (o DeepCreatedOriginResponseArrayOutput) Index(i pulumi.IntInput) DeepCreatedOriginResponseOutput
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 }
Origin to be added when creating a CDN endpoint.
func (DeepCreatedOriginResponseOutput) ElementType ¶
func (DeepCreatedOriginResponseOutput) ElementType() reflect.Type
func (DeepCreatedOriginResponseOutput) HostName ¶
func (o DeepCreatedOriginResponseOutput) HostName() pulumi.StringOutput
The address of the origin. It can be a domain names, IPv4 address, or IPv6 address.
func (DeepCreatedOriginResponseOutput) HttpPort ¶
func (o DeepCreatedOriginResponseOutput) HttpPort() pulumi.IntPtrOutput
The value of the HTTP port. Must be between 1 and 65535
func (DeepCreatedOriginResponseOutput) HttpsPort ¶
func (o DeepCreatedOriginResponseOutput) HttpsPort() pulumi.IntPtrOutput
The value of the HTTPS port. Must be between 1 and 65535
func (DeepCreatedOriginResponseOutput) Name ¶
func (o DeepCreatedOriginResponseOutput) Name() pulumi.StringOutput
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 user 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"` // Customer can specify what scenario they want this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. OptimizationType pulumi.StringPtrOutput `pulumi:"optimizationType"` // The host header CDN sends along with content requests to origin. The default value is the host name of the origin. OriginHostHeader pulumi.StringPtrOutput `pulumi:"originHostHeader"` // The path used when CDN sends request to origin. OriginPath pulumi.StringPtrOutput `pulumi:"originPath"` // The source of the content being delivered via CDN. 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 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.
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 user 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.StringInput // Customer can specify what scenario they want this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. OptimizationType pulumi.StringPtrInput // The host header CDN sends along with content requests to origin. The default value is the host name of the origin. OriginHostHeader pulumi.StringPtrInput // The path used when CDN sends request to origin. OriginPath pulumi.StringPtrInput // The source of the content being delivered via CDN. Origins DeepCreatedOriginArrayInput // Name of the CDN profile which is unique within the resource group. ProfileName pulumi.StringInput // Defines the query string caching behavior QueryStringCachingBehavior pulumi.StringPtrInput // 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 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 user 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 // Customer can specify what scenario they want this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. OptimizationType pulumi.StringPtrInput // The host header CDN sends along with content requests to origin. The default value is the host name of the origin. OriginHostHeader pulumi.StringPtrInput // The path used when CDN sends request to origin. OriginPath pulumi.StringPtrInput // The source of the content being delivered via CDN. 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 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 geo access within a CDN endpoint.
type GeoFilterArgs ¶
type GeoFilterArgs 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 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 (o GeoFilterArrayOutput) Index(i pulumi.IntInput) GeoFilterOutput
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 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 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 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) ElementType() reflect.Type
func (GeoFilterResponseArrayOutput) Index ¶
func (o GeoFilterResponseArrayOutput) Index(i pulumi.IntInput) GeoFilterResponseOutput
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 geo access within a CDN endpoint.
func (GeoFilterResponseOutput) Action ¶
func (o GeoFilterResponseOutput) Action() pulumi.StringOutput
Action of the geo filter, i.e. allow or block access.
func (GeoFilterResponseOutput) CountryCodes ¶
func (o GeoFilterResponseOutput) CountryCodes() pulumi.StringArrayOutput
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 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
func GetProfileSupportedOptimizationTypes ¶ added in v0.2.1
func GetProfileSupportedOptimizationTypes(ctx *pulumi.Context, args *GetProfileSupportedOptimizationTypesArgs, opts ...pulumi.InvokeOption) (*GetProfileSupportedOptimizationTypesResult, error)
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 state of Custom Https of the custom domain. CustomHttpsProvisioningState string `pulumi:"customHttpsProvisioningState"` // The host name of the custom domain. Must be a domain name. HostName string `pulumi:"hostName"` // Resource location. Location string `pulumi:"location"` // 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 tags. Tags map[string]string `pulumi:"tags"` // 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"` }
Customer provided domain for branding purposes, e.g. www.contoso.com.
func LookupCustomDomain ¶
func LookupCustomDomain(ctx *pulumi.Context, args *LookupCustomDomainArgs, opts ...pulumi.InvokeOption) (*LookupCustomDomainResult, error)
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 user 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"` // 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"` // Customer can specify what scenario they want this CDN endpoint to optimize, e.g. Download, Media services. With this information we can apply scenario driven optimization. OptimizationType *string `pulumi:"optimizationType"` // The host header CDN sends along with content requests to origin. The default value is the host name of the origin. OriginHostHeader *string `pulumi:"originHostHeader"` // The path used when CDN sends request to origin. OriginPath *string `pulumi:"originPath"` // The source of the content being delivered via CDN. 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 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 LookupProfileResult ¶
type LookupProfileResult struct { // 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 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 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 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.
type ProfileArgs ¶
type ProfileArgs struct { // Resource location. Location 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 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 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 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) ToSkuOutput ¶
func (SkuArgs) ToSkuOutputWithContext ¶
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 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) ToSkuOutput ¶
func (SkuOutput) ToSkuOutputWithContext ¶
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 ¶
func (o SkuPtrOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o SkuResponseOutput) Name() pulumi.StringPtrOutput
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 (o SkuResponsePtrOutput) Elem() SkuResponseOutput
func (SkuResponsePtrOutput) ElementType ¶
func (SkuResponsePtrOutput) ElementType() reflect.Type
func (SkuResponsePtrOutput) Name ¶
func (o SkuResponsePtrOutput) Name() pulumi.StringPtrOutput
Name of the pricing tier.
func (SkuResponsePtrOutput) ToSkuResponsePtrOutput ¶
func (o SkuResponsePtrOutput) ToSkuResponsePtrOutput() SkuResponsePtrOutput
func (SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext ¶
func (o SkuResponsePtrOutput) ToSkuResponsePtrOutputWithContext(ctx context.Context) SkuResponsePtrOutput