@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.59 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Description for Gets existing backups of an app.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 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 listWebAppSiteBackupsSlot(args: ListWebAppSiteBackupsSlotArgs, opts?: pulumi.InvokeOptions): Promise<ListWebAppSiteBackupsSlotResult>;
export interface ListWebAppSiteBackupsSlotArgs {
/**
* Name of the app.
*/
name: string;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: string;
/**
* Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
*/
slot: string;
}
/**
* Collection of backup items.
*/
export interface ListWebAppSiteBackupsSlotResult {
/**
* Link to next page of resources.
*/
readonly nextLink: string;
/**
* Collection of resources.
*/
readonly value: outputs.web.BackupItemResponse[];
}
/**
* Description for Gets existing backups of an app.
*
* Uses Azure REST API version 2024-04-01.
*
* Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 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 listWebAppSiteBackupsSlotOutput(args: ListWebAppSiteBackupsSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListWebAppSiteBackupsSlotResult>;
export interface ListWebAppSiteBackupsSlotOutputArgs {
/**
* Name of the app.
*/
name: pulumi.Input<string>;
/**
* Name of the resource group to which the resource belongs.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
*/
slot: pulumi.Input<string>;
}