This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.cdn.getOrigin
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets an existing origin within an endpoint. Azure REST API version: 2023-05-01.
Other available API versions: 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01.
Using getOrigin
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 getOrigin(args: GetOriginArgs, opts?: InvokeOptions): Promise<GetOriginResult>
function getOriginOutput(args: GetOriginOutputArgs, opts?: InvokeOptions): Output<GetOriginResult>def get_origin(endpoint_name: Optional[str] = None,
               origin_name: Optional[str] = None,
               profile_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetOriginResult
def get_origin_output(endpoint_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[GetOriginResult]func LookupOrigin(ctx *Context, args *LookupOriginArgs, opts ...InvokeOption) (*LookupOriginResult, error)
func LookupOriginOutput(ctx *Context, args *LookupOriginOutputArgs, opts ...InvokeOption) LookupOriginResultOutput> Note: This function is named LookupOrigin in the Go SDK.
public static class GetOrigin 
{
    public static Task<GetOriginResult> InvokeAsync(GetOriginArgs args, InvokeOptions? opts = null)
    public static Output<GetOriginResult> Invoke(GetOriginInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOriginResult> getOrigin(GetOriginArgs args, InvokeOptions options)
public static Output<GetOriginResult> getOrigin(GetOriginArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cdn:getOrigin
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EndpointName string
- Name of the endpoint under the profile which is unique globally.
- OriginName string
- Name of the origin which is unique within the endpoint.
- ProfileName string
- Name of the CDN profile which is unique within the resource group.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- EndpointName string
- Name of the endpoint under the profile which is unique globally.
- OriginName string
- Name of the origin which is unique within the endpoint.
- ProfileName string
- Name of the CDN profile which is unique within the resource group.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- endpointName String
- Name of the endpoint under the profile which is unique globally.
- originName String
- Name of the origin which is unique within the endpoint.
- profileName String
- Name of the CDN profile which is unique within the resource group.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- endpointName string
- Name of the endpoint under the profile which is unique globally.
- originName string
- Name of the origin which is unique within the endpoint.
- profileName string
- Name of the CDN profile which is unique within the resource group.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- endpoint_name str
- Name of the endpoint under the profile which is unique globally.
- origin_name str
- Name of the origin which is unique within the endpoint.
- profile_name str
- Name of the CDN profile which is unique within the resource group.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- endpointName String
- Name of the endpoint under the profile which is unique globally.
- originName String
- Name of the origin which is unique within the endpoint.
- profileName String
- Name of the CDN profile which is unique within the resource group.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
getOrigin Result
The following output properties are available:
- 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.
- PrivateEndpoint stringStatus 
- The approval status for the connection to the Private Link
- ProvisioningState string
- Provisioning status of the origin.
- ResourceState string
- Resource status of the origin.
- SystemData Pulumi.Azure Native. Cdn. Outputs. System Data Response 
- Read only system data
- Type string
- Resource type.
- Enabled bool
- Origin is enabled for load balancing or not
- 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 CDN 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
- PrivateLink stringAlias 
- The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- PrivateLink stringApproval Message 
- A custom message to be included in the approval request to connect to the Private Link.
- PrivateLink stringLocation 
- The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- PrivateLink stringResource Id 
- The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
- Weight int
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- 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.
- PrivateEndpoint stringStatus 
- The approval status for the connection to the Private Link
- ProvisioningState string
- Provisioning status of the origin.
- ResourceState string
- Resource status of the origin.
- SystemData SystemData Response 
- Read only system data
- Type string
- Resource type.
- Enabled bool
- Origin is enabled for load balancing or not
- 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 CDN 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
- PrivateLink stringAlias 
- The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- PrivateLink stringApproval Message 
- A custom message to be included in the approval request to connect to the Private Link.
- PrivateLink stringLocation 
- The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- PrivateLink stringResource Id 
- The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
- Weight int
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- 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.
- privateEndpoint StringStatus 
- The approval status for the connection to the Private Link
- provisioningState String
- Provisioning status of the origin.
- resourceState String
- Resource status of the origin.
- systemData SystemData Response 
- Read only system data
- type String
- Resource type.
- enabled Boolean
- Origin is enabled for load balancing or not
- 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 CDN 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
- privateLink StringAlias 
- The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- privateLink StringApproval Message 
- A custom message to be included in the approval request to connect to the Private Link.
- privateLink StringLocation 
- The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- privateLink StringResource Id 
- The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
- weight Integer
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- 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.
- privateEndpoint stringStatus 
- The approval status for the connection to the Private Link
- provisioningState string
- Provisioning status of the origin.
- resourceState string
- Resource status of the origin.
- systemData SystemData Response 
- Read only system data
- type string
- Resource type.
- enabled boolean
- Origin is enabled for load balancing or not
- 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 CDN 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
- privateLink stringAlias 
- The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- privateLink stringApproval Message 
- A custom message to be included in the approval request to connect to the Private Link.
- privateLink stringLocation 
- The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- privateLink stringResource Id 
- The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
- weight number
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- 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.
- private_endpoint_ strstatus 
- The approval status for the connection to the Private Link
- provisioning_state str
- Provisioning status of the origin.
- resource_state str
- Resource status of the origin.
- system_data SystemData Response 
- Read only system data
- type str
- Resource type.
- enabled bool
- Origin is enabled for load balancing or not
- 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 CDN 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
- private_link_ stralias 
- The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- private_link_ strapproval_ message 
- A custom message to be included in the approval request to connect to the Private Link.
- private_link_ strlocation 
- The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- private_link_ strresource_ id 
- The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
- weight int
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
- 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.
- privateEndpoint StringStatus 
- The approval status for the connection to the Private Link
- provisioningState String
- Provisioning status of the origin.
- resourceState String
- Resource status of the origin.
- systemData Property Map
- Read only system data
- type String
- Resource type.
- enabled Boolean
- Origin is enabled for load balancing or not
- 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 CDN 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
- privateLink StringAlias 
- The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- privateLink StringApproval Message 
- A custom message to be included in the approval request to connect to the Private Link.
- privateLink StringLocation 
- The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- privateLink StringResource Id 
- The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
- weight Number
- Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
Supporting Types
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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi