These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.cdn.getOrigin
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets an existing origin within an endpoint. API Version: 2020-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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:cdn:getOrigin
arguments:
# arguments dictionary
The following arguments are supported:
- Endpoint
Name string - Name of the endpoint under the profile which is unique globally.
- Origin
Name string - Name of the origin which is unique within the endpoint.
- Profile
Name string - Name of the CDN profile which is unique within the resource group.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Endpoint
Name string - Name of the endpoint under the profile which is unique globally.
- Origin
Name string - Name of the origin which is unique within the endpoint.
- Profile
Name string - Name of the CDN profile which is unique within the resource group.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- endpoint
Name String - Name of the endpoint under the profile which is unique globally.
- origin
Name String - Name of the origin which is unique within the endpoint.
- profile
Name String - Name of the CDN profile which is unique within the resource group.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- endpoint
Name string - Name of the endpoint under the profile which is unique globally.
- origin
Name string - Name of the origin which is unique within the endpoint.
- profile
Name string - Name of the CDN profile which is unique within the resource group.
- resource
Group 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.
- endpoint
Name String - Name of the endpoint under the profile which is unique globally.
- origin
Name String - Name of the origin which is unique within the endpoint.
- profile
Name String - Name of the CDN profile which is unique within the resource group.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
getOrigin Result
The following output properties are available:
- Host
Name 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.
- Private
Endpoint stringStatus - The approval status for the connection to the Private Link
- Provisioning
State string - Provisioning status of the origin.
- Resource
State string - Resource status of the origin.
- System
Data 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
- 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 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
- Private
Link stringAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- Private
Link stringApproval Message - A custom message to be included in the approval request to connect to the Private Link.
- Private
Link stringLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- Private
Link 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
- Host
Name 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.
- Private
Endpoint stringStatus - The approval status for the connection to the Private Link
- Provisioning
State string - Provisioning status of the origin.
- Resource
State string - Resource status of the origin.
- System
Data SystemData Response - Read only system data
- Type string
- 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 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
- Private
Link stringAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- Private
Link stringApproval Message - A custom message to be included in the approval request to connect to the Private Link.
- Private
Link stringLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- Private
Link 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
- host
Name 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.
- private
Endpoint StringStatus - The approval status for the connection to the Private Link
- provisioning
State String - Provisioning status of the origin.
- resource
State String - Resource status of the origin.
- system
Data SystemData Response - Read only system data
- type String
- Resource type.
- enabled Boolean
- Origin is enabled for load balancing or not
- http
Port Integer - The value of the HTTP port. Must be between 1 and 65535.
- https
Port Integer - The value of the HTTPS port. Must be between 1 and 65535.
- origin
Host 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
- private
Link StringAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- private
Link StringApproval Message - A custom message to be included in the approval request to connect to the Private Link.
- private
Link StringLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- private
Link 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
- host
Name 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.
- private
Endpoint stringStatus - The approval status for the connection to the Private Link
- provisioning
State string - Provisioning status of the origin.
- resource
State string - Resource status of the origin.
- system
Data SystemData Response - Read only system data
- type string
- Resource type.
- enabled boolean
- Origin is enabled for load balancing or not
- http
Port number - The value of the HTTP port. Must be between 1 and 65535.
- https
Port number - The value of the HTTPS port. Must be between 1 and 65535.
- origin
Host 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
- private
Link stringAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- private
Link stringApproval Message - A custom message to be included in the approval request to connect to the Private Link.
- private
Link stringLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- private
Link 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
- host
Name 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.
- private
Endpoint StringStatus - The approval status for the connection to the Private Link
- provisioning
State String - Provisioning status of the origin.
- resource
State String - Resource status of the origin.
- system
Data Property Map - Read only system data
- type String
- Resource type.
- enabled Boolean
- Origin is enabled for load balancing or not
- http
Port Number - The value of the HTTP port. Must be between 1 and 65535.
- https
Port Number - The value of the HTTPS port. Must be between 1 and 65535.
- origin
Host 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
- private
Link StringAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
- private
Link StringApproval Message - A custom message to be included in the approval request to connect to the Private Link.
- private
Link StringLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
- private
Link 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
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for the identity that created the resource
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - An identifier for the identity that last modified the resource
- Last
Modified stringBy Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - An identifier for the identity that created the resource
- created
By stringType - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - An identifier for the identity that last modified the resource
- last
Modified 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
- created
At String - The timestamp of resource creation (UTC)
- created
By String - An identifier for the identity that created the resource
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - An identifier for the identity that last modified the resource
- last
Modified StringBy Type - The type of identity that last modified the resource
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi