Documentation
¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type Endpoint
- type EndpointArgs
- type EndpointGeoFilter
- type EndpointGeoFilterArgs
- type EndpointGeoFilterArray
- type EndpointGeoFilterArrayInput
- type EndpointGeoFilterArrayOutput
- func (EndpointGeoFilterArrayOutput) ElementType() reflect.Type
- func (o EndpointGeoFilterArrayOutput) Index(i pulumi.IntInput) EndpointGeoFilterOutput
- func (o EndpointGeoFilterArrayOutput) ToEndpointGeoFilterArrayOutput() EndpointGeoFilterArrayOutput
- func (o EndpointGeoFilterArrayOutput) ToEndpointGeoFilterArrayOutputWithContext(ctx context.Context) EndpointGeoFilterArrayOutput
- type EndpointGeoFilterInput
- type EndpointGeoFilterOutput
- func (o EndpointGeoFilterOutput) Action() pulumi.StringOutput
- func (o EndpointGeoFilterOutput) CountryCodes() pulumi.StringArrayOutput
- func (EndpointGeoFilterOutput) ElementType() reflect.Type
- func (o EndpointGeoFilterOutput) RelativePath() pulumi.StringOutput
- func (o EndpointGeoFilterOutput) ToEndpointGeoFilterOutput() EndpointGeoFilterOutput
- func (o EndpointGeoFilterOutput) ToEndpointGeoFilterOutputWithContext(ctx context.Context) EndpointGeoFilterOutput
- type EndpointOrigin
- type EndpointOriginArgs
- type EndpointOriginArray
- type EndpointOriginArrayInput
- type EndpointOriginArrayOutput
- func (EndpointOriginArrayOutput) ElementType() reflect.Type
- func (o EndpointOriginArrayOutput) Index(i pulumi.IntInput) EndpointOriginOutput
- func (o EndpointOriginArrayOutput) ToEndpointOriginArrayOutput() EndpointOriginArrayOutput
- func (o EndpointOriginArrayOutput) ToEndpointOriginArrayOutputWithContext(ctx context.Context) EndpointOriginArrayOutput
- type EndpointOriginInput
- type EndpointOriginOutput
- func (EndpointOriginOutput) ElementType() reflect.Type
- func (o EndpointOriginOutput) HostName() pulumi.StringOutput
- func (o EndpointOriginOutput) HttpPort() pulumi.IntPtrOutput
- func (o EndpointOriginOutput) HttpsPort() pulumi.IntPtrOutput
- func (o EndpointOriginOutput) Name() pulumi.StringOutput
- func (o EndpointOriginOutput) ToEndpointOriginOutput() EndpointOriginOutput
- func (o EndpointOriginOutput) ToEndpointOriginOutputWithContext(ctx context.Context) EndpointOriginOutput
- type EndpointState
- type LookupProfileArgs
- type LookupProfileResult
- type Profile
- type ProfileArgs
- type ProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { pulumi.CustomResourceState // An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types. ContentTypesToCompresses pulumi.StringArrayOutput `pulumi:"contentTypesToCompresses"` // A set of Geo Filters for this CDN Endpoint. Each `geoFilter` block supports fields documented below. GeoFilters EndpointGeoFilterArrayOutput `pulumi:"geoFilters"` // A string that determines the hostname/IP address of the origin server. This string can be a domain name, Storage Account endpoint, Web App endpoint, IPv4 address or IPv6 address. Changing this forces a new resource to be created. HostName pulumi.StringOutput `pulumi:"hostName"` // Indicates whether compression is to be enabled. Defaults to false. IsCompressionEnabled pulumi.BoolPtrOutput `pulumi:"isCompressionEnabled"` // Defaults to `true`. IsHttpAllowed pulumi.BoolPtrOutput `pulumi:"isHttpAllowed"` // Defaults to `true`. IsHttpsAllowed pulumi.BoolPtrOutput `pulumi:"isHttpsAllowed"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // What types of optimization should this CDN Endpoint optimize for? Possible values include `DynamicSiteAcceleration`, `GeneralMediaStreaming`, `GeneralWebDelivery`, `LargeFileDownload` and `VideoOnDemandMediaStreaming`. OptimizationType pulumi.StringPtrOutput `pulumi:"optimizationType"` // The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin. OriginHostHeader pulumi.StringOutput `pulumi:"originHostHeader"` // The path used at for origin requests. OriginPath pulumi.StringOutput `pulumi:"originPath"` // The set of origins of the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options. Each `origin` block supports fields documented below. Origins EndpointOriginArrayOutput `pulumi:"origins"` // the path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the `originPath`. ProbePath pulumi.StringOutput `pulumi:"probePath"` // The CDN Profile to which to attach the CDN Endpoint. ProfileName pulumi.StringOutput `pulumi:"profileName"` // Sets query string caching behavior. Allowed values are `IgnoreQueryString`, `BypassCaching` and `UseQueryString`. Defaults to `IgnoreQueryString`. QuerystringCachingBehaviour pulumi.StringPtrOutput `pulumi:"querystringCachingBehaviour"` // The name of the resource group in which to create the CDN Endpoint. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
A CDN Endpoint is the entity within a CDN Profile containing configuration information regarding caching behaviors and origins. The CDN Endpoint is exposed using the URL format <endpointname>.azureedge.net.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cdn_endpoint.html.markdown.
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 { // An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types. ContentTypesToCompresses pulumi.StringArrayInput // A set of Geo Filters for this CDN Endpoint. Each `geoFilter` block supports fields documented below. GeoFilters EndpointGeoFilterArrayInput // Indicates whether compression is to be enabled. Defaults to false. IsCompressionEnabled pulumi.BoolPtrInput // Defaults to `true`. IsHttpAllowed pulumi.BoolPtrInput // Defaults to `true`. IsHttpsAllowed pulumi.BoolPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // What types of optimization should this CDN Endpoint optimize for? Possible values include `DynamicSiteAcceleration`, `GeneralMediaStreaming`, `GeneralWebDelivery`, `LargeFileDownload` and `VideoOnDemandMediaStreaming`. OptimizationType pulumi.StringPtrInput // The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin. OriginHostHeader pulumi.StringPtrInput // The path used at for origin requests. OriginPath pulumi.StringPtrInput // The set of origins of the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options. Each `origin` block supports fields documented below. Origins EndpointOriginArrayInput // the path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the `originPath`. ProbePath pulumi.StringPtrInput // The CDN Profile to which to attach the CDN Endpoint. ProfileName pulumi.StringInput // Sets query string caching behavior. Allowed values are `IgnoreQueryString`, `BypassCaching` and `UseQueryString`. Defaults to `IgnoreQueryString`. QuerystringCachingBehaviour pulumi.StringPtrInput // The name of the resource group in which to create the CDN Endpoint. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Endpoint resource.
func (EndpointArgs) ElementType ¶
func (EndpointArgs) ElementType() reflect.Type
type EndpointGeoFilter ¶
type EndpointGeoFilter struct { // The Action of the Geo Filter. Possible values include `Allow` and `Block`. Action string `pulumi:"action"` // A List of two letter country codes (e.g. `US`, `GB`) to be associated with this Geo Filter. CountryCodes []string `pulumi:"countryCodes"` // The relative path applicable to geo filter. RelativePath string `pulumi:"relativePath"` }
type EndpointGeoFilterArgs ¶
type EndpointGeoFilterArgs struct { // The Action of the Geo Filter. Possible values include `Allow` and `Block`. Action pulumi.StringInput `pulumi:"action"` // A List of two letter country codes (e.g. `US`, `GB`) to be associated with this Geo Filter. CountryCodes pulumi.StringArrayInput `pulumi:"countryCodes"` // The relative path applicable to geo filter. RelativePath pulumi.StringInput `pulumi:"relativePath"` }
func (EndpointGeoFilterArgs) ElementType ¶
func (EndpointGeoFilterArgs) ElementType() reflect.Type
func (EndpointGeoFilterArgs) ToEndpointGeoFilterOutput ¶
func (i EndpointGeoFilterArgs) ToEndpointGeoFilterOutput() EndpointGeoFilterOutput
func (EndpointGeoFilterArgs) ToEndpointGeoFilterOutputWithContext ¶
func (i EndpointGeoFilterArgs) ToEndpointGeoFilterOutputWithContext(ctx context.Context) EndpointGeoFilterOutput
type EndpointGeoFilterArray ¶
type EndpointGeoFilterArray []EndpointGeoFilterInput
func (EndpointGeoFilterArray) ElementType ¶
func (EndpointGeoFilterArray) ElementType() reflect.Type
func (EndpointGeoFilterArray) ToEndpointGeoFilterArrayOutput ¶
func (i EndpointGeoFilterArray) ToEndpointGeoFilterArrayOutput() EndpointGeoFilterArrayOutput
func (EndpointGeoFilterArray) ToEndpointGeoFilterArrayOutputWithContext ¶
func (i EndpointGeoFilterArray) ToEndpointGeoFilterArrayOutputWithContext(ctx context.Context) EndpointGeoFilterArrayOutput
type EndpointGeoFilterArrayInput ¶
type EndpointGeoFilterArrayInput interface { pulumi.Input ToEndpointGeoFilterArrayOutput() EndpointGeoFilterArrayOutput ToEndpointGeoFilterArrayOutputWithContext(context.Context) EndpointGeoFilterArrayOutput }
type EndpointGeoFilterArrayOutput ¶
type EndpointGeoFilterArrayOutput struct{ *pulumi.OutputState }
func (EndpointGeoFilterArrayOutput) ElementType ¶
func (EndpointGeoFilterArrayOutput) ElementType() reflect.Type
func (EndpointGeoFilterArrayOutput) Index ¶
func (o EndpointGeoFilterArrayOutput) Index(i pulumi.IntInput) EndpointGeoFilterOutput
func (EndpointGeoFilterArrayOutput) ToEndpointGeoFilterArrayOutput ¶
func (o EndpointGeoFilterArrayOutput) ToEndpointGeoFilterArrayOutput() EndpointGeoFilterArrayOutput
func (EndpointGeoFilterArrayOutput) ToEndpointGeoFilterArrayOutputWithContext ¶
func (o EndpointGeoFilterArrayOutput) ToEndpointGeoFilterArrayOutputWithContext(ctx context.Context) EndpointGeoFilterArrayOutput
type EndpointGeoFilterInput ¶
type EndpointGeoFilterInput interface { pulumi.Input ToEndpointGeoFilterOutput() EndpointGeoFilterOutput ToEndpointGeoFilterOutputWithContext(context.Context) EndpointGeoFilterOutput }
type EndpointGeoFilterOutput ¶
type EndpointGeoFilterOutput struct{ *pulumi.OutputState }
func (EndpointGeoFilterOutput) Action ¶
func (o EndpointGeoFilterOutput) Action() pulumi.StringOutput
The Action of the Geo Filter. Possible values include `Allow` and `Block`.
func (EndpointGeoFilterOutput) CountryCodes ¶
func (o EndpointGeoFilterOutput) CountryCodes() pulumi.StringArrayOutput
A List of two letter country codes (e.g. `US`, `GB`) to be associated with this Geo Filter.
func (EndpointGeoFilterOutput) ElementType ¶
func (EndpointGeoFilterOutput) ElementType() reflect.Type
func (EndpointGeoFilterOutput) RelativePath ¶
func (o EndpointGeoFilterOutput) RelativePath() pulumi.StringOutput
The relative path applicable to geo filter.
func (EndpointGeoFilterOutput) ToEndpointGeoFilterOutput ¶
func (o EndpointGeoFilterOutput) ToEndpointGeoFilterOutput() EndpointGeoFilterOutput
func (EndpointGeoFilterOutput) ToEndpointGeoFilterOutputWithContext ¶
func (o EndpointGeoFilterOutput) ToEndpointGeoFilterOutputWithContext(ctx context.Context) EndpointGeoFilterOutput
type EndpointOrigin ¶
type EndpointOrigin struct { // A string that determines the hostname/IP address of the origin server. This string can be a domain name, Storage Account endpoint, Web App endpoint, IPv4 address or IPv6 address. Changing this forces a new resource to be created. HostName string `pulumi:"hostName"` // The HTTP port of the origin. Defaults to `80`. Changing this forces a new resource to be created. HttpPort *int `pulumi:"httpPort"` // The HTTPS port of the origin. Defaults to `443`. Changing this forces a new resource to be created. HttpsPort *int `pulumi:"httpsPort"` // The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created. Name string `pulumi:"name"` }
type EndpointOriginArgs ¶
type EndpointOriginArgs struct { // A string that determines the hostname/IP address of the origin server. This string can be a domain name, Storage Account endpoint, Web App endpoint, IPv4 address or IPv6 address. Changing this forces a new resource to be created. HostName pulumi.StringInput `pulumi:"hostName"` // The HTTP port of the origin. Defaults to `80`. Changing this forces a new resource to be created. HttpPort pulumi.IntPtrInput `pulumi:"httpPort"` // The HTTPS port of the origin. Defaults to `443`. Changing this forces a new resource to be created. HttpsPort pulumi.IntPtrInput `pulumi:"httpsPort"` // The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` }
func (EndpointOriginArgs) ElementType ¶
func (EndpointOriginArgs) ElementType() reflect.Type
func (EndpointOriginArgs) ToEndpointOriginOutput ¶
func (i EndpointOriginArgs) ToEndpointOriginOutput() EndpointOriginOutput
func (EndpointOriginArgs) ToEndpointOriginOutputWithContext ¶
func (i EndpointOriginArgs) ToEndpointOriginOutputWithContext(ctx context.Context) EndpointOriginOutput
type EndpointOriginArray ¶
type EndpointOriginArray []EndpointOriginInput
func (EndpointOriginArray) ElementType ¶
func (EndpointOriginArray) ElementType() reflect.Type
func (EndpointOriginArray) ToEndpointOriginArrayOutput ¶
func (i EndpointOriginArray) ToEndpointOriginArrayOutput() EndpointOriginArrayOutput
func (EndpointOriginArray) ToEndpointOriginArrayOutputWithContext ¶
func (i EndpointOriginArray) ToEndpointOriginArrayOutputWithContext(ctx context.Context) EndpointOriginArrayOutput
type EndpointOriginArrayInput ¶
type EndpointOriginArrayInput interface { pulumi.Input ToEndpointOriginArrayOutput() EndpointOriginArrayOutput ToEndpointOriginArrayOutputWithContext(context.Context) EndpointOriginArrayOutput }
type EndpointOriginArrayOutput ¶
type EndpointOriginArrayOutput struct{ *pulumi.OutputState }
func (EndpointOriginArrayOutput) ElementType ¶
func (EndpointOriginArrayOutput) ElementType() reflect.Type
func (EndpointOriginArrayOutput) Index ¶
func (o EndpointOriginArrayOutput) Index(i pulumi.IntInput) EndpointOriginOutput
func (EndpointOriginArrayOutput) ToEndpointOriginArrayOutput ¶
func (o EndpointOriginArrayOutput) ToEndpointOriginArrayOutput() EndpointOriginArrayOutput
func (EndpointOriginArrayOutput) ToEndpointOriginArrayOutputWithContext ¶
func (o EndpointOriginArrayOutput) ToEndpointOriginArrayOutputWithContext(ctx context.Context) EndpointOriginArrayOutput
type EndpointOriginInput ¶
type EndpointOriginInput interface { pulumi.Input ToEndpointOriginOutput() EndpointOriginOutput ToEndpointOriginOutputWithContext(context.Context) EndpointOriginOutput }
type EndpointOriginOutput ¶
type EndpointOriginOutput struct{ *pulumi.OutputState }
func (EndpointOriginOutput) ElementType ¶
func (EndpointOriginOutput) ElementType() reflect.Type
func (EndpointOriginOutput) HostName ¶
func (o EndpointOriginOutput) HostName() pulumi.StringOutput
A string that determines the hostname/IP address of the origin server. This string can be a domain name, Storage Account endpoint, Web App endpoint, IPv4 address or IPv6 address. Changing this forces a new resource to be created.
func (EndpointOriginOutput) HttpPort ¶
func (o EndpointOriginOutput) HttpPort() pulumi.IntPtrOutput
The HTTP port of the origin. Defaults to `80`. Changing this forces a new resource to be created.
func (EndpointOriginOutput) HttpsPort ¶
func (o EndpointOriginOutput) HttpsPort() pulumi.IntPtrOutput
The HTTPS port of the origin. Defaults to `443`. Changing this forces a new resource to be created.
func (EndpointOriginOutput) Name ¶
func (o EndpointOriginOutput) Name() pulumi.StringOutput
The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created.
func (EndpointOriginOutput) ToEndpointOriginOutput ¶
func (o EndpointOriginOutput) ToEndpointOriginOutput() EndpointOriginOutput
func (EndpointOriginOutput) ToEndpointOriginOutputWithContext ¶
func (o EndpointOriginOutput) ToEndpointOriginOutputWithContext(ctx context.Context) EndpointOriginOutput
type EndpointState ¶
type EndpointState struct { // An array of strings that indicates a content types on which compression will be applied. The value for the elements should be MIME types. ContentTypesToCompresses pulumi.StringArrayInput // A set of Geo Filters for this CDN Endpoint. Each `geoFilter` block supports fields documented below. GeoFilters EndpointGeoFilterArrayInput // A string that determines the hostname/IP address of the origin server. This string can be a domain name, Storage Account endpoint, Web App endpoint, IPv4 address or IPv6 address. Changing this forces a new resource to be created. HostName pulumi.StringPtrInput // Indicates whether compression is to be enabled. Defaults to false. IsCompressionEnabled pulumi.BoolPtrInput // Defaults to `true`. IsHttpAllowed pulumi.BoolPtrInput // Defaults to `true`. IsHttpsAllowed pulumi.BoolPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the origin. This is an arbitrary value. However, this value needs to be unique under the endpoint. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // What types of optimization should this CDN Endpoint optimize for? Possible values include `DynamicSiteAcceleration`, `GeneralMediaStreaming`, `GeneralWebDelivery`, `LargeFileDownload` and `VideoOnDemandMediaStreaming`. OptimizationType pulumi.StringPtrInput // The host header CDN provider will send along with content requests to origins. Defaults to the host name of the origin. OriginHostHeader pulumi.StringPtrInput // The path used at for origin requests. OriginPath pulumi.StringPtrInput // The set of origins of the CDN endpoint. When multiple origins exist, the first origin will be used as primary and rest will be used as failover options. Each `origin` block supports fields documented below. Origins EndpointOriginArrayInput // the path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the `originPath`. ProbePath pulumi.StringPtrInput // The CDN Profile to which to attach the CDN Endpoint. ProfileName pulumi.StringPtrInput // Sets query string caching behavior. Allowed values are `IgnoreQueryString`, `BypassCaching` and `UseQueryString`. Defaults to `IgnoreQueryString`. QuerystringCachingBehaviour pulumi.StringPtrInput // The name of the resource group in which to create the CDN Endpoint. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (EndpointState) ElementType ¶
func (EndpointState) ElementType() reflect.Type
type LookupProfileArgs ¶
type LookupProfileArgs struct { // The name of the CDN Profile. Name string `pulumi:"name"` // The name of the resource group in which the CDN Profile exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getProfile.
type LookupProfileResult ¶
type LookupProfileResult struct { // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the resource exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The pricing related information of current CDN profile. Sku string `pulumi:"sku"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getProfile.
func LookupProfile ¶
func LookupProfile(ctx *pulumi.Context, args *LookupProfileArgs, opts ...pulumi.InvokeOption) (*LookupProfileResult, error)
Use this data source to access information about an existing CDN Profile.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/cdn_profile.html.markdown.
type Profile ¶
type Profile struct { pulumi.CustomResourceState // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the CDN Profile. Changing this forces a // new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to // create the CDN Profile. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The pricing related information of current CDN profile. Accepted values are `Standard_Akamai`, `Standard_ChinaCdn`, `Standard_Microsoft`, `Standard_Verizon` or `Premium_Verizon`. Sku pulumi.StringOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a CDN Profile to create a collection of CDN Endpoints.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/cdn_profile.html.markdown.
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 { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the CDN Profile. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the CDN Profile. ResourceGroupName pulumi.StringInput // The pricing related information of current CDN profile. Accepted values are `Standard_Akamai`, `Standard_ChinaCdn`, `Standard_Microsoft`, `Standard_Verizon` or `Premium_Verizon`. Sku pulumi.StringInput // A mapping of tags to assign to the resource. 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 { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the CDN Profile. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the CDN Profile. ResourceGroupName pulumi.StringPtrInput // The pricing related information of current CDN profile. Accepted values are `Standard_Akamai`, `Standard_ChinaCdn`, `Standard_Microsoft`, `Standard_Verizon` or `Premium_Verizon`. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (ProfileState) ElementType ¶
func (ProfileState) ElementType() reflect.Type