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

101 lines (100 loc) 4.51 kB
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 2025-06-01. * * Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-01-preview. 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 or CDN profile which is unique within the resource group. */ profileName: string; /** * The name of the resource group. The name is case insensitive. */ 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 { /** * Authentication settings for origin in origin group. */ readonly authentication?: outputs.cdn.OriginAuthenticationPropertiesResponse; /** * 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; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Load balancing settings for a backend pool */ readonly loadBalancingSettings?: outputs.cdn.LoadBalancingSettingsParametersResponse; /** * The name of the resource */ 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; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ 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; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets an existing origin group within a profile. * * Uses Azure REST API version 2025-06-01. * * Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01, 2025-01-01-preview, 2025-04-15, 2025-07-01-preview, 2025-09-01-preview. 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 or CDN profile which is unique within the resource group. */ profileName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }