@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.14 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Static Site Linked Backend ARM resource.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getStaticSiteLinkedBackendForBuild(args: GetStaticSiteLinkedBackendForBuildArgs, opts?: pulumi.InvokeOptions): Promise<GetStaticSiteLinkedBackendForBuildResult>;
export interface GetStaticSiteLinkedBackendForBuildArgs {
/**
* The stage site identifier
*/
environmentName: string;
/**
* Name of the linked backend that should be retrieved
*/
linkedBackendName: string;
/**
* Name of the static site
*/
name: string;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: string;
}
/**
* Static Site Linked Backend ARM resource.
*/
export interface GetStaticSiteLinkedBackendForBuildResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The resource id of the backend linked to the static site
*/
readonly backendResourceId?: string;
/**
* The date and time on which the backend was linked to the static site.
*/
readonly createdOn: string;
/**
* Resource Id.
*/
readonly id: string;
/**
* Kind of resource.
*/
readonly kind?: string;
/**
* Resource Name.
*/
readonly name: string;
/**
* The provisioning state of the linking process.
*/
readonly provisioningState: string;
/**
* The region of the backend linked to the static site
*/
readonly region?: string;
/**
* Resource type.
*/
readonly type: string;
}
/**
* Static Site Linked Backend ARM resource.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getStaticSiteLinkedBackendForBuildOutput(args: GetStaticSiteLinkedBackendForBuildOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStaticSiteLinkedBackendForBuildResult>;
export interface GetStaticSiteLinkedBackendForBuildOutputArgs {
/**
* The stage site identifier
*/
environmentName: pulumi.Input<string>;
/**
* Name of the linked backend that should be retrieved
*/
linkedBackendName: pulumi.Input<string>;
/**
* Name of the static site
*/
name: pulumi.Input<string>;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: pulumi.Input<string>;
}