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

82 lines (81 loc) 1.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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: outputs.web.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>; }