@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
98 lines (97 loc) • 3.1 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* Gets the details of the backend specified by its identifier.
* Azure REST API version: 2022-08-01.
*
* Other available API versions: 2016-07-07, 2016-10-10, 2018-01-01, 2022-09-01-preview, 2023-03-01-preview.
*/
export declare function getBackend(args: GetBackendArgs, opts?: pulumi.InvokeOptions): Promise<GetBackendResult>;
export interface GetBackendArgs {
/**
* Identifier of the Backend entity. Must be unique in the current API Management service instance.
*/
backendId: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the API Management service.
*/
serviceName: string;
}
/**
* Backend details.
*/
export interface GetBackendResult {
/**
* Backend Credentials Contract Properties
*/
readonly credentials?: types.outputs.BackendCredentialsContractResponse;
/**
* Backend Description.
*/
readonly description?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Backend Properties contract
*/
readonly properties: types.outputs.BackendPropertiesResponse;
/**
* Backend communication protocol.
*/
readonly protocol: string;
/**
* Backend gateway Contract Properties
*/
readonly proxy?: types.outputs.BackendProxyContractResponse;
/**
* Management Uri of the Resource in External System. This URL can be the Arm Resource Id of Logic Apps, Function Apps or API Apps.
*/
readonly resourceId?: string;
/**
* Backend Title.
*/
readonly title?: string;
/**
* Backend TLS Properties
*/
readonly tls?: types.outputs.BackendTlsPropertiesResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Runtime Url of the Backend.
*/
readonly url: string;
}
/**
* Gets the details of the backend specified by its identifier.
* Azure REST API version: 2022-08-01.
*
* Other available API versions: 2016-07-07, 2016-10-10, 2018-01-01, 2022-09-01-preview, 2023-03-01-preview.
*/
export declare function getBackendOutput(args: GetBackendOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackendResult>;
export interface GetBackendOutputArgs {
/**
* Identifier of the Backend entity. Must be unique in the current API Management service instance.
*/
backendId: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the API Management service.
*/
serviceName: pulumi.Input<string>;
}