Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.14.0 published on Thursday, Jul 28, 2022 by Pulumi

FrontdoorOrigin

Import

CDN FrontDoor Origin can be imported using the resource id, e.g.

 $ pulumi import azure:cdn/frontdoorOrigin:FrontdoorOrigin example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/originGroups/originGroup1/origins/origin1

Create a FrontdoorOrigin Resource

new FrontdoorOrigin(name: string, args: FrontdoorOriginArgs, opts?: CustomResourceOptions);
@overload
def FrontdoorOrigin(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    cdn_frontdoor_origin_group_id: Optional[str] = None,
                    certificate_name_check_enabled: Optional[bool] = None,
                    health_probes_enabled: Optional[bool] = None,
                    host_name: Optional[str] = None,
                    http_port: Optional[int] = None,
                    https_port: Optional[int] = None,
                    name: Optional[str] = None,
                    origin_host_header: Optional[str] = None,
                    priority: Optional[int] = None,
                    private_link: Optional[FrontdoorOriginPrivateLinkArgs] = None,
                    weight: Optional[int] = None)
@overload
def FrontdoorOrigin(resource_name: str,
                    args: FrontdoorOriginArgs,
                    opts: Optional[ResourceOptions] = None)
func NewFrontdoorOrigin(ctx *Context, name string, args FrontdoorOriginArgs, opts ...ResourceOption) (*FrontdoorOrigin, error)
public FrontdoorOrigin(string name, FrontdoorOriginArgs args, CustomResourceOptions? opts = null)
public FrontdoorOrigin(String name, FrontdoorOriginArgs args)
public FrontdoorOrigin(String name, FrontdoorOriginArgs args, CustomResourceOptions options)
type: azure:cdn:FrontdoorOrigin
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FrontdoorOriginArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args FrontdoorOriginArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args FrontdoorOriginArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FrontdoorOriginArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FrontdoorOriginArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FrontdoorOrigin Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FrontdoorOrigin resource accepts the following input properties:

CdnFrontdoorOriginGroupId string

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

CertificateNameCheckEnabled bool

Specifies whether certificate name checks are enabled for this origin.

HostName string

The IPv4 address, IPv6 address or Domain name of the Origin.

HealthProbesEnabled bool

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

HttpPort int

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

HttpsPort int

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

Name string

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

OriginHostHeader string

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

Priority int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

PrivateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

Weight int

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

CdnFrontdoorOriginGroupId string

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

CertificateNameCheckEnabled bool

Specifies whether certificate name checks are enabled for this origin.

HostName string

The IPv4 address, IPv6 address or Domain name of the Origin.

HealthProbesEnabled bool

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

HttpPort int

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

HttpsPort int

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

Name string

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

OriginHostHeader string

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

Priority int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

PrivateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

Weight int

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdnFrontdoorOriginGroupId String

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificateNameCheckEnabled Boolean

Specifies whether certificate name checks are enabled for this origin.

hostName String

The IPv4 address, IPv6 address or Domain name of the Origin.

healthProbesEnabled Boolean

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

httpPort Integer

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

httpsPort Integer

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

name String

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

originHostHeader String

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority Integer

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

privateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

weight Integer

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdnFrontdoorOriginGroupId string

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificateNameCheckEnabled boolean

Specifies whether certificate name checks are enabled for this origin.

hostName string

The IPv4 address, IPv6 address or Domain name of the Origin.

healthProbesEnabled boolean

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

httpPort number

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

httpsPort number

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

name string

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

originHostHeader string

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority number

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

privateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

weight number

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdn_frontdoor_origin_group_id str

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificate_name_check_enabled bool

Specifies whether certificate name checks are enabled for this origin.

host_name str

The IPv4 address, IPv6 address or Domain name of the Origin.

health_probes_enabled bool

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

http_port int

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

https_port int

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

name str

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

origin_host_header str

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

private_link FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

weight int

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdnFrontdoorOriginGroupId String

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificateNameCheckEnabled Boolean

Specifies whether certificate name checks are enabled for this origin.

hostName String

The IPv4 address, IPv6 address or Domain name of the Origin.

healthProbesEnabled Boolean

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

httpPort Number

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

httpsPort Number

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

name String

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

originHostHeader String

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority Number

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

privateLink Property Map

A private_link block as defined below.

weight Number

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

Outputs

All input properties are implicitly available as output properties. Additionally, the FrontdoorOrigin resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing FrontdoorOrigin Resource

Get an existing FrontdoorOrigin resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: FrontdoorOriginState, opts?: CustomResourceOptions): FrontdoorOrigin
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cdn_frontdoor_origin_group_id: Optional[str] = None,
        certificate_name_check_enabled: Optional[bool] = None,
        health_probes_enabled: Optional[bool] = None,
        host_name: Optional[str] = None,
        http_port: Optional[int] = None,
        https_port: Optional[int] = None,
        name: Optional[str] = None,
        origin_host_header: Optional[str] = None,
        priority: Optional[int] = None,
        private_link: Optional[FrontdoorOriginPrivateLinkArgs] = None,
        weight: Optional[int] = None) -> FrontdoorOrigin
func GetFrontdoorOrigin(ctx *Context, name string, id IDInput, state *FrontdoorOriginState, opts ...ResourceOption) (*FrontdoorOrigin, error)
public static FrontdoorOrigin Get(string name, Input<string> id, FrontdoorOriginState? state, CustomResourceOptions? opts = null)
public static FrontdoorOrigin get(String name, Output<String> id, FrontdoorOriginState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CdnFrontdoorOriginGroupId string

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

CertificateNameCheckEnabled bool

Specifies whether certificate name checks are enabled for this origin.

HealthProbesEnabled bool

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

HostName string

The IPv4 address, IPv6 address or Domain name of the Origin.

HttpPort int

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

HttpsPort int

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

Name string

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

OriginHostHeader string

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

Priority int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

PrivateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

Weight int

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

CdnFrontdoorOriginGroupId string

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

CertificateNameCheckEnabled bool

Specifies whether certificate name checks are enabled for this origin.

HealthProbesEnabled bool

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

HostName string

The IPv4 address, IPv6 address or Domain name of the Origin.

HttpPort int

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

HttpsPort int

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

Name string

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

OriginHostHeader string

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

Priority int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

PrivateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

Weight int

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdnFrontdoorOriginGroupId String

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificateNameCheckEnabled Boolean

Specifies whether certificate name checks are enabled for this origin.

healthProbesEnabled Boolean

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

hostName String

The IPv4 address, IPv6 address or Domain name of the Origin.

httpPort Integer

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

httpsPort Integer

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

name String

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

originHostHeader String

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority Integer

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

privateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

weight Integer

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdnFrontdoorOriginGroupId string

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificateNameCheckEnabled boolean

Specifies whether certificate name checks are enabled for this origin.

healthProbesEnabled boolean

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

hostName string

The IPv4 address, IPv6 address or Domain name of the Origin.

httpPort number

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

httpsPort number

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

name string

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

originHostHeader string

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority number

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

privateLink FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

weight number

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdn_frontdoor_origin_group_id str

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificate_name_check_enabled bool

Specifies whether certificate name checks are enabled for this origin.

health_probes_enabled bool

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

host_name str

The IPv4 address, IPv6 address or Domain name of the Origin.

http_port int

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

https_port int

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

name str

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

origin_host_header str

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority int

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

private_link FrontdoorOriginPrivateLinkArgs

A private_link block as defined below.

weight int

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

cdnFrontdoorOriginGroupId String

The ID of the CDN FrontDoor Origin Group within which this CDN FrontDoor Origin should exist. Changing this forces a new CDN FrontDoor Origin to be created.

certificateNameCheckEnabled Boolean

Specifies whether certificate name checks are enabled for this origin.

healthProbesEnabled Boolean

Should the health probes be enabled against the origins defined within the origin group? Possible values are true or false. Defaults to true.

hostName String

The IPv4 address, IPv6 address or Domain name of the Origin.

httpPort Number

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

httpsPort Number

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

name String

The name which should be used for this CDN FrontDoor Origin. Changing this forces a new CDN FrontDoor Origin to be created.

originHostHeader String

The host header value (an IPv4 address, IPv6 address or Domain name) which is sent to the origin with each request. If unspecified the hostname from the request will be used.

priority Number

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy. Must be between 1 and 5 (inclusive). Defaults to 1.

privateLink Property Map

A private_link block as defined below.

weight Number

The weight of the origin in a given origin group for load balancing. Must be between 1 and 1000. Defaults to 500.

Supporting Types

Location string

Specifies the location where the Private Link resource should exist.

PrivateLinkTargetId string

The ID of the Azure Resource to connect to via the Private Link.

RequestMessage string

Specifies the request message that will be submitted to the private_link_target_id when requesting the private link endpoint connection. Values must be between 1 and 140 characters in length. Defaults to Access request for CDN Frontdoor Private Link Origin.

TargetType string

Specifies the type of target for this Private Link Endpoint. Possible values are blob, blob_secondary, web and sites.

Location string

Specifies the location where the Private Link resource should exist.

PrivateLinkTargetId string

The ID of the Azure Resource to connect to via the Private Link.

RequestMessage string

Specifies the request message that will be submitted to the private_link_target_id when requesting the private link endpoint connection. Values must be between 1 and 140 characters in length. Defaults to Access request for CDN Frontdoor Private Link Origin.

TargetType string

Specifies the type of target for this Private Link Endpoint. Possible values are blob, blob_secondary, web and sites.

location String

Specifies the location where the Private Link resource should exist.

privateLinkTargetId String

The ID of the Azure Resource to connect to via the Private Link.

requestMessage String

Specifies the request message that will be submitted to the private_link_target_id when requesting the private link endpoint connection. Values must be between 1 and 140 characters in length. Defaults to Access request for CDN Frontdoor Private Link Origin.

targetType String

Specifies the type of target for this Private Link Endpoint. Possible values are blob, blob_secondary, web and sites.

location string

Specifies the location where the Private Link resource should exist.

privateLinkTargetId string

The ID of the Azure Resource to connect to via the Private Link.

requestMessage string

Specifies the request message that will be submitted to the private_link_target_id when requesting the private link endpoint connection. Values must be between 1 and 140 characters in length. Defaults to Access request for CDN Frontdoor Private Link Origin.

targetType string

Specifies the type of target for this Private Link Endpoint. Possible values are blob, blob_secondary, web and sites.

location str

Specifies the location where the Private Link resource should exist.

private_link_target_id str

The ID of the Azure Resource to connect to via the Private Link.

request_message str

Specifies the request message that will be submitted to the private_link_target_id when requesting the private link endpoint connection. Values must be between 1 and 140 characters in length. Defaults to Access request for CDN Frontdoor Private Link Origin.

target_type str

Specifies the type of target for this Private Link Endpoint. Possible values are blob, blob_secondary, web and sites.

location String

Specifies the location where the Private Link resource should exist.

privateLinkTargetId String

The ID of the Azure Resource to connect to via the Private Link.

requestMessage String

Specifies the request message that will be submitted to the private_link_target_id when requesting the private link endpoint connection. Values must be between 1 and 140 characters in length. Defaults to Access request for CDN Frontdoor Private Link Origin.

targetType String

Specifies the type of target for this Private Link Endpoint. Possible values are blob, blob_secondary, web and sites.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.