UNPKG

@kengachu-pulumi/azure-native-web

Version:

Pulumi Azure Native package for web

82 lines (81 loc) 1.82 kB
import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * Gets a custom API by name for a specific subscription and resource group * * Uses Azure REST API version 2016-06-01. */ export declare function getCustomApi(args: GetCustomApiArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomApiResult>; export interface GetCustomApiArgs { /** * API name */ apiName: string; /** * The resource group */ resourceGroupName: string; /** * Subscription Id */ subscriptionId?: string; } /** * A custom API */ export interface GetCustomApiResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Resource ETag */ readonly etag?: string; /** * Resource id */ readonly id: string; /** * Resource location */ readonly location?: string; /** * Resource name */ readonly name: string; /** * Custom API properties */ readonly properties: types.outputs.CustomApiPropertiesDefinitionResponse; /** * Resource tags */ readonly tags?: { [key: string]: string; }; /** * Resource type */ readonly type: string; } /** * Gets a custom API by name for a specific subscription and resource group * * Uses Azure REST API version 2016-06-01. */ export declare function getCustomApiOutput(args: GetCustomApiOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomApiResult>; export interface GetCustomApiOutputArgs { /** * API name */ apiName: pulumi.Input<string>; /** * The resource group */ resourceGroupName: pulumi.Input<string>; /** * Subscription Id */ subscriptionId?: pulumi.Input<string>; }