azure-native.cdn.getAFDOrigin
Gets an existing origin within an origin group.
Uses Azure REST API version 2024-09-01.
Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2025-01-01-preview, 2025-04-15, 2025-06-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]. See the version guide for details.
Using getAFDOrigin
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAFDOrigin(args: GetAFDOriginArgs, opts?: InvokeOptions): Promise<GetAFDOriginResult>
function getAFDOriginOutput(args: GetAFDOriginOutputArgs, opts?: InvokeOptions): Output<GetAFDOriginResult>def get_afd_origin(origin_group_name: Optional[str] = None,
                   origin_name: Optional[str] = None,
                   profile_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAFDOriginResult
def get_afd_origin_output(origin_group_name: Optional[pulumi.Input[str]] = None,
                   origin_name: Optional[pulumi.Input[str]] = None,
                   profile_name: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAFDOriginResult]func LookupAFDOrigin(ctx *Context, args *LookupAFDOriginArgs, opts ...InvokeOption) (*LookupAFDOriginResult, error)
func LookupAFDOriginOutput(ctx *Context, args *LookupAFDOriginOutputArgs, opts ...InvokeOption) LookupAFDOriginResultOutput> Note: This function is named LookupAFDOrigin in the Go SDK.
public static class GetAFDOrigin 
{
    public static Task<GetAFDOriginResult> InvokeAsync(GetAFDOriginArgs args, InvokeOptions? opts = null)
    public static Output<GetAFDOriginResult> Invoke(GetAFDOriginInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAFDOriginResult> getAFDOrigin(GetAFDOriginArgs args, InvokeOptions options)
public static Output<GetAFDOriginResult> getAFDOrigin(GetAFDOriginArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cdn:getAFDOrigin
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OriginGroup stringName 
- Name of the origin group which is unique within the profile.
- OriginName string
- Name of the origin which is unique within the profile.
- ProfileName string
- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- OriginGroup stringName 
- Name of the origin group which is unique within the profile.
- OriginName string
- Name of the origin which is unique within the profile.
- ProfileName string
- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- originGroup StringName 
- Name of the origin group which is unique within the profile.
- originName String
- Name of the origin which is unique within the profile.
- profileName String
- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- originGroup stringName 
- Name of the origin group which is unique within the profile.
- originName string
- Name of the origin which is unique within the profile.
- profileName string
- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- origin_group_ strname 
- Name of the origin group which is unique within the profile.
- origin_name str
- Name of the origin which is unique within the profile.
- profile_name str
- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- originGroup StringName 
- Name of the origin group which is unique within the profile.
- originName String
- Name of the origin which is unique within the profile.
- profileName String
- Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
getAFDOrigin Result
The following output properties are available:
- AzureApi stringVersion 
- The Azure API version of the resource.
- DeploymentStatus string
- HostName string
- The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
- Id string
- Resource ID.
- Name string
- Resource name.
- OriginGroup stringName 
- The name of the origin group which contains this origin.
- ProvisioningState string
- Provisioning status
- SystemData Pulumi.Azure Native. Cdn. Outputs. System Data Response 
- Read only system data
- Type string
- Resource type.
- AzureOrigin Pulumi.Azure Native. Cdn. Outputs. Resource Reference Response 
- Resource reference to the Azure origin resource.
- EnabledState string
- Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
- EnforceCertificate boolName Check 
- Whether to enable certificate name check at origin level
- HttpPort int
- The value of the HTTP port. Must be between 1 and 65535.
- HttpsPort int
- The value of the HTTPS port. Must be between 1 and 65535.
- OriginHost stringHeader 
- The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
- 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
- 
Pulumi.Azure Native. Cdn. Outputs. Shared Private Link Resource Properties Response 
- The properties of the private link resource for private origin.
- Weight int
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- AzureApi stringVersion 
- The Azure API version of the resource.
- DeploymentStatus string
- HostName string
- The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
- Id string
- Resource ID.
- Name string
- Resource name.
- OriginGroup stringName 
- The name of the origin group which contains this origin.
- ProvisioningState string
- Provisioning status
- SystemData SystemData Response 
- Read only system data
- Type string
- Resource type.
- AzureOrigin ResourceReference Response 
- Resource reference to the Azure origin resource.
- EnabledState string
- Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
- EnforceCertificate boolName Check 
- Whether to enable certificate name check at origin level
- HttpPort int
- The value of the HTTP port. Must be between 1 and 65535.
- HttpsPort int
- The value of the HTTPS port. Must be between 1 and 65535.
- OriginHost stringHeader 
- The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
- 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
- 
SharedPrivate Link Resource Properties Response 
- The properties of the private link resource for private origin.
- Weight int
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- azureApi StringVersion 
- The Azure API version of the resource.
- deploymentStatus String
- hostName String
- The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
- id String
- Resource ID.
- name String
- Resource name.
- originGroup StringName 
- The name of the origin group which contains this origin.
- provisioningState String
- Provisioning status
- systemData SystemData Response 
- Read only system data
- type String
- Resource type.
- azureOrigin ResourceReference Response 
- Resource reference to the Azure origin resource.
- enabledState String
- Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
- enforceCertificate BooleanName Check 
- Whether to enable certificate name check at origin level
- httpPort Integer
- The value of the HTTP port. Must be between 1 and 65535.
- httpsPort Integer
- The value of the HTTPS port. Must be between 1 and 65535.
- originHost StringHeader 
- The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
- 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
- 
SharedPrivate Link Resource Properties Response 
- The properties of the private link resource for private origin.
- weight Integer
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- azureApi stringVersion 
- The Azure API version of the resource.
- deploymentStatus string
- hostName string
- The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
- id string
- Resource ID.
- name string
- Resource name.
- originGroup stringName 
- The name of the origin group which contains this origin.
- provisioningState string
- Provisioning status
- systemData SystemData Response 
- Read only system data
- type string
- Resource type.
- azureOrigin ResourceReference Response 
- Resource reference to the Azure origin resource.
- enabledState string
- Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
- enforceCertificate booleanName Check 
- Whether to enable certificate name check at origin level
- httpPort number
- The value of the HTTP port. Must be between 1 and 65535.
- httpsPort number
- The value of the HTTPS port. Must be between 1 and 65535.
- originHost stringHeader 
- The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
- 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
- 
SharedPrivate Link Resource Properties Response 
- The properties of the private link resource for private origin.
- weight number
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- azure_api_ strversion 
- The Azure API version of the resource.
- deployment_status str
- host_name str
- The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
- id str
- Resource ID.
- name str
- Resource name.
- origin_group_ strname 
- The name of the origin group which contains this origin.
- provisioning_state str
- Provisioning status
- system_data SystemData Response 
- Read only system data
- type str
- Resource type.
- azure_origin ResourceReference Response 
- Resource reference to the Azure origin resource.
- enabled_state str
- Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
- enforce_certificate_ boolname_ check 
- Whether to enable certificate name check at origin level
- http_port int
- The value of the HTTP port. Must be between 1 and 65535.
- https_port int
- The value of the HTTPS port. Must be between 1 and 65535.
- origin_host_ strheader 
- The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
- 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
- 
SharedPrivate Link Resource Properties Response 
- The properties of the private link resource for private origin.
- weight int
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- azureApi StringVersion 
- The Azure API version of the resource.
- deploymentStatus String
- hostName String
- The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
- id String
- Resource ID.
- name String
- Resource name.
- originGroup StringName 
- The name of the origin group which contains this origin.
- provisioningState String
- Provisioning status
- systemData Property Map
- Read only system data
- type String
- Resource type.
- azureOrigin Property Map
- Resource reference to the Azure origin resource.
- enabledState String
- Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
- enforceCertificate BooleanName Check 
- Whether to enable certificate name check at origin level
- httpPort Number
- The value of the HTTP port. Must be between 1 and 65535.
- httpsPort Number
- The value of the HTTPS port. Must be between 1 and 65535.
- originHost StringHeader 
- The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
- 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
- Property Map
- The properties of the private link resource for private origin.
- weight Number
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
Supporting Types
ResourceReferenceResponse  
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
SharedPrivateLinkResourcePropertiesResponse     
- GroupId string
- The group id from the provider of resource the shared private link resource is for.
- PrivateLink Pulumi.Azure Native. Cdn. Inputs. Resource Reference Response 
- The resource id of the resource the shared private link resource is for.
- PrivateLink stringLocation 
- The location of the shared private link resource
- RequestMessage string
- The request message for requesting approval of the shared private link resource.
- Status string
- Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
- GroupId string
- The group id from the provider of resource the shared private link resource is for.
- PrivateLink ResourceReference Response 
- The resource id of the resource the shared private link resource is for.
- PrivateLink stringLocation 
- The location of the shared private link resource
- RequestMessage string
- The request message for requesting approval of the shared private link resource.
- Status string
- Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
- groupId String
- The group id from the provider of resource the shared private link resource is for.
- privateLink ResourceReference Response 
- The resource id of the resource the shared private link resource is for.
- privateLink StringLocation 
- The location of the shared private link resource
- requestMessage String
- The request message for requesting approval of the shared private link resource.
- status String
- Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
- groupId string
- The group id from the provider of resource the shared private link resource is for.
- privateLink ResourceReference Response 
- The resource id of the resource the shared private link resource is for.
- privateLink stringLocation 
- The location of the shared private link resource
- requestMessage string
- The request message for requesting approval of the shared private link resource.
- status string
- Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
- group_id str
- The group id from the provider of resource the shared private link resource is for.
- private_link ResourceReference Response 
- The resource id of the resource the shared private link resource is for.
- private_link_ strlocation 
- The location of the shared private link resource
- request_message str
- The request message for requesting approval of the shared private link resource.
- status str
- Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
- groupId String
- The group id from the provider of resource the shared private link resource is for.
- privateLink Property Map
- The resource id of the resource the shared private link resource is for.
- privateLink StringLocation 
- The location of the shared private link resource
- requestMessage String
- The request message for requesting approval of the shared private link resource.
- status String
- Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- The type of identity that last modified the resource
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- The type of identity that last modified the resource
- createdAt String
- The timestamp of resource creation (UTC)
- createdBy String
- An identifier for the identity that created the resource
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
- createdAt string
- The timestamp of resource creation (UTC)
- createdBy string
- An identifier for the identity that created the resource
- createdBy stringType 
- The type of identity that created the resource
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- An identifier for the identity that last modified the resource
- lastModified stringBy Type 
- The type of identity that last modified the resource
- created_at str
- The timestamp of resource creation (UTC)
- created_by str
- An identifier for the identity that created the resource
- created_by_ strtype 
- The type of identity that created the resource
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- An identifier for the identity that last modified the resource
- last_modified_ strby_ type 
- The type of identity that last modified the resource
- createdAt String
- The timestamp of resource creation (UTC)
- createdBy String
- An identifier for the identity that created the resource
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
