UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

162 lines (161 loc) 7.62 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. * * Uses Azure REST API version 2024-09-01. In version 2.x of the Azure Native provider, it used API version 2023-05-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class AFDOrigin extends pulumi.CustomResource { /** * Get an existing AFDOrigin resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AFDOrigin; /** * Returns true if the given object is an instance of AFDOrigin. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AFDOrigin; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Resource reference to the Azure origin resource. */ readonly azureOrigin: pulumi.Output<outputs.cdn.ResourceReferenceResponse | undefined>; readonly deploymentStatus: pulumi.Output<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. */ readonly enabledState: pulumi.Output<string | undefined>; /** * Whether to enable certificate name check at origin level */ readonly enforceCertificateNameCheck: pulumi.Output<boolean | undefined>; /** * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ readonly hostName: pulumi.Output<string>; /** * The value of the HTTP port. Must be between 1 and 65535. */ readonly httpPort: pulumi.Output<number | undefined>; /** * The value of the HTTPS port. Must be between 1 and 65535. */ readonly httpsPort: pulumi.Output<number | undefined>; /** * Resource name. */ readonly name: pulumi.Output<string>; /** * The name of the origin group which contains this origin. */ readonly originGroupName: pulumi.Output<string>; /** * 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 */ readonly originHostHeader: pulumi.Output<string | undefined>; /** * 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 */ readonly priority: pulumi.Output<number | undefined>; /** * Provisioning status */ readonly provisioningState: pulumi.Output<string>; /** * The properties of the private link resource for private origin. */ readonly sharedPrivateLinkResource: pulumi.Output<outputs.cdn.SharedPrivateLinkResourcePropertiesResponse | undefined>; /** * Read only system data */ readonly systemData: pulumi.Output<outputs.cdn.SystemDataResponse>; /** * Resource type. */ readonly type: pulumi.Output<string>; /** * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ readonly weight: pulumi.Output<number | undefined>; /** * Create a AFDOrigin resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AFDOriginArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AFDOrigin resource. */ export interface AFDOriginArgs { /** * Resource reference to the Azure origin resource. */ azureOrigin?: pulumi.Input<inputs.cdn.ResourceReferenceArgs>; /** * 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. */ enabledState?: pulumi.Input<string | enums.cdn.EnabledState>; /** * Whether to enable certificate name check at origin level */ enforceCertificateNameCheck?: pulumi.Input<boolean>; /** * The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. */ hostName: pulumi.Input<string>; /** * The value of the HTTP port. Must be between 1 and 65535. */ httpPort?: pulumi.Input<number>; /** * The value of the HTTPS port. Must be between 1 and 65535. */ httpsPort?: pulumi.Input<number>; /** * Name of the origin group which is unique within the profile. */ originGroupName: pulumi.Input<string>; /** * 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 */ originHostHeader?: pulumi.Input<string>; /** * Name of the origin that is unique within the profile. */ originName?: pulumi.Input<string>; /** * 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 */ priority?: pulumi.Input<number>; /** * Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. */ profileName: pulumi.Input<string>; /** * Name of the Resource group within the Azure subscription. */ resourceGroupName: pulumi.Input<string>; /** * The properties of the private link resource for private origin. */ sharedPrivateLinkResource?: pulumi.Input<inputs.cdn.SharedPrivateLinkResourcePropertiesArgs>; /** * Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 */ weight?: pulumi.Input<number>; }