1. Packages
  2. Azure Classic
  3. API Docs
  4. cdn
  5. FrontdoorCustomDomainAssociation

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

azure.cdn.FrontdoorCustomDomainAssociation

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi

    Manages the association between a Front Door (standard/premium) Custom Domain and one or more Front Door (standard/premium) Routes.

    Create FrontdoorCustomDomainAssociation Resource

    new FrontdoorCustomDomainAssociation(name: string, args: FrontdoorCustomDomainAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def FrontdoorCustomDomainAssociation(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         cdn_frontdoor_custom_domain_id: Optional[str] = None,
                                         cdn_frontdoor_route_ids: Optional[Sequence[str]] = None)
    @overload
    def FrontdoorCustomDomainAssociation(resource_name: str,
                                         args: FrontdoorCustomDomainAssociationArgs,
                                         opts: Optional[ResourceOptions] = None)
    func NewFrontdoorCustomDomainAssociation(ctx *Context, name string, args FrontdoorCustomDomainAssociationArgs, opts ...ResourceOption) (*FrontdoorCustomDomainAssociation, error)
    public FrontdoorCustomDomainAssociation(string name, FrontdoorCustomDomainAssociationArgs args, CustomResourceOptions? opts = null)
    public FrontdoorCustomDomainAssociation(String name, FrontdoorCustomDomainAssociationArgs args)
    public FrontdoorCustomDomainAssociation(String name, FrontdoorCustomDomainAssociationArgs args, CustomResourceOptions options)
    
    type: azure:cdn:FrontdoorCustomDomainAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FrontdoorCustomDomainAssociationArgs
    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 FrontdoorCustomDomainAssociationArgs
    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 FrontdoorCustomDomainAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FrontdoorCustomDomainAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FrontdoorCustomDomainAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    FrontdoorCustomDomainAssociation 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 FrontdoorCustomDomainAssociation resource accepts the following input properties:

    CdnFrontdoorCustomDomainId string

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    CdnFrontdoorRouteIds List<string>

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    CdnFrontdoorCustomDomainId string

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    CdnFrontdoorRouteIds []string

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdnFrontdoorCustomDomainId String

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdnFrontdoorRouteIds List<String>

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdnFrontdoorCustomDomainId string

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdnFrontdoorRouteIds string[]

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdn_frontdoor_custom_domain_id str

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdn_frontdoor_route_ids Sequence[str]

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdnFrontdoorCustomDomainId String

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdnFrontdoorRouteIds List<String>

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FrontdoorCustomDomainAssociation 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 Existing FrontdoorCustomDomainAssociation Resource

    Get an existing FrontdoorCustomDomainAssociation 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?: FrontdoorCustomDomainAssociationState, opts?: CustomResourceOptions): FrontdoorCustomDomainAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cdn_frontdoor_custom_domain_id: Optional[str] = None,
            cdn_frontdoor_route_ids: Optional[Sequence[str]] = None) -> FrontdoorCustomDomainAssociation
    func GetFrontdoorCustomDomainAssociation(ctx *Context, name string, id IDInput, state *FrontdoorCustomDomainAssociationState, opts ...ResourceOption) (*FrontdoorCustomDomainAssociation, error)
    public static FrontdoorCustomDomainAssociation Get(string name, Input<string> id, FrontdoorCustomDomainAssociationState? state, CustomResourceOptions? opts = null)
    public static FrontdoorCustomDomainAssociation get(String name, Output<String> id, FrontdoorCustomDomainAssociationState 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:
    CdnFrontdoorCustomDomainId string

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    CdnFrontdoorRouteIds List<string>

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    CdnFrontdoorCustomDomainId string

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    CdnFrontdoorRouteIds []string

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdnFrontdoorCustomDomainId String

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdnFrontdoorRouteIds List<String>

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdnFrontdoorCustomDomainId string

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdnFrontdoorRouteIds string[]

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdn_frontdoor_custom_domain_id str

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdn_frontdoor_route_ids Sequence[str]

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    cdnFrontdoorCustomDomainId String

    The ID of the Front Door Custom Domain that should be managed by the association resource. Changing this forces a new association resource to be created.

    cdnFrontdoorRouteIds List<String>

    One or more IDs of the Front Door Route to which the Front Door Custom Domain is associated with.

    NOTE: This should include all of the Front Door Route resources that the Front Door Custom Domain is associated with. If the list of Front Door Routes is not complete you will receive the service side error This resource is still associated with a route. Please delete the association with the route first before deleting this resource when you attempt to destroy/delete your Front Door Custom Domain.

    Import

    Front Door Custom Domain Associations can be imported using the resource id, e.g.

     $ pulumi import azure:cdn/frontdoorCustomDomainAssociation:FrontdoorCustomDomainAssociation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Cdn/profiles/profile1/associations/assoc1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.49.0 published on Tuesday, Aug 29, 2023 by Pulumi