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.getAFDOrigin
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 origin group. API Version: 2020-09-01.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:cdn:getAFDOrigin
arguments:
# arguments dictionary
The following arguments are supported:
- Origin
Group stringName - Name of the origin group which is unique within the profile.
- Origin
Name string - Name of the origin which is unique within the profile.
- 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.
- Origin
Group stringName - Name of the origin group which is unique within the profile.
- Origin
Name string - Name of the origin which is unique within the profile.
- 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.
- origin
Group StringName - Name of the origin group which is unique within the profile.
- origin
Name String - Name of the origin which is unique within the profile.
- 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.
- origin
Group stringName - Name of the origin group which is unique within the profile.
- origin
Name string - Name of the origin which is unique within the profile.
- 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.
- 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 CDN profile which is unique within the resource group.
- resource_
group_ strname - Name of the Resource group within the Azure subscription.
- origin
Group StringName - Name of the origin group which is unique within the profile.
- origin
Name String - Name of the origin which is unique within the profile.
- 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.
getAFDOrigin Result
The following output properties are available:
- Deployment
Status string - 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.
- Provisioning
State string - Provisioning status
- System
Data Pulumi.Azure Native. Cdn. Outputs. System Data Response - Read only system data
- Type string
- Resource type.
- Azure
Origin Pulumi.Azure Native. Cdn. Outputs. Resource Reference Response - Resource reference to the Azure origin resource.
- Enabled
State 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.
- 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
- 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
- Deployment
Status string - 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.
- Provisioning
State string - Provisioning status
- System
Data SystemData Response - Read only system data
- Type string
- Resource type.
- Azure
Origin ResourceReference Response - Resource reference to the Azure origin resource.
- Enabled
State 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.
- 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
- 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
- deployment
Status String - 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.
- provisioning
State String - Provisioning status
- system
Data SystemData Response - Read only system data
- type String
- Resource type.
- azure
Origin ResourceReference Response - Resource reference to the Azure origin resource.
- enabled
State 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.
- 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
- Shared
Private 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
- deployment
Status string - 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.
- provisioning
State string - Provisioning status
- system
Data SystemData Response - Read only system data
- type string
- Resource type.
- azure
Origin ResourceReference Response - Resource reference to the Azure origin resource.
- enabled
State 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.
- 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
- Shared
Private 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
- 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.
- 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.
- 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
- 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
- deployment
Status String - 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.
- provisioning
State String - Provisioning status
- system
Data Property Map - Read only system data
- type String
- Resource type.
- azure
Origin Property Map - Resource reference to the Azure origin resource.
- enabled
State 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.
- 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
- 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
- Group
Id string - The group id from the provider of resource the shared private link resource is for.
- Private
Link Pulumi.Azure Native. Cdn. Inputs. Resource Reference Response - The resource id of the resource the shared private link resource is for.
- Private
Link stringLocation - The location of the shared private link resource
- Request
Message 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 string - 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 stringLocation - The location of the shared private link resource
- Request
Message 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 String - 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 StringLocation - The location of the shared private link resource
- request
Message 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 string - 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 stringLocation - The location of the shared private link resource
- request
Message 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.
- group
Id String - The group id from the provider of resource the shared private link resource is for.
- private
Link Property Map - The resource id of the resource the shared private link resource is for.
- private
Link StringLocation - The location of the shared private link resource
- request
Message 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
- 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