@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.83 kB
TypeScript
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>;
}