@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets an existing origin group within a profile.
*
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAFDOriginGroup(args: GetAFDOriginGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetAFDOriginGroupResult>;
export interface GetAFDOriginGroupArgs {
/**
* Name of the origin group which is unique within the endpoint.
*/
originGroupName: string;
/**
* Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
*/
profileName: string;
/**
* Name of the Resource group within the Azure subscription.
*/
resourceGroupName: string;
}
/**
* AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door.
*/
export interface GetAFDOriginGroupResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
readonly deploymentStatus: string;
/**
* Health probe settings to the origin that is used to determine the health of the origin.
*/
readonly healthProbeSettings?: outputs.cdn.HealthProbeParametersResponse;
/**
* Resource ID.
*/
readonly id: string;
/**
* Load balancing settings for a backend pool
*/
readonly loadBalancingSettings?: outputs.cdn.LoadBalancingSettingsParametersResponse;
/**
* Resource name.
*/
readonly name: string;
/**
* The name of the profile which holds the origin group.
*/
readonly profileName: string;
/**
* Provisioning status
*/
readonly provisioningState: string;
/**
* Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
*/
readonly sessionAffinityState?: string;
/**
* Read only system data
*/
readonly systemData: outputs.cdn.SystemDataResponse;
/**
* Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
*/
readonly trafficRestorationTimeToHealedOrNewEndpointsInMinutes?: number;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Gets an existing origin group within a profile.
*
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getAFDOriginGroupOutput(args: GetAFDOriginGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAFDOriginGroupResult>;
export interface GetAFDOriginGroupOutputArgs {
/**
* Name of the origin group which is unique within the endpoint.
*/
originGroupName: pulumi.Input<string>;
/**
* 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>;
}