UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

132 lines (131 loc) 4.58 kB
import * as pulumi from "@pulumi/pulumi"; import * as types from "./types"; /** * Backend details. * Azure REST API version: 2022-08-01. Prior API version in Azure Native 1.x: 2020-12-01. * * Other available API versions: 2016-07-07, 2016-10-10, 2018-01-01, 2022-09-01-preview, 2023-03-01-preview. */ export declare class Backend extends pulumi.CustomResource { /** * Get an existing Backend resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Backend; /** @internal */ static readonly __pulumiType = "azure-native:apimanagement:Backend"; /** * Returns true if the given object is an instance of Backend. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Backend; /** * Backend Credentials Contract Properties */ readonly credentials: pulumi.Output<types.outputs.BackendCredentialsContractResponse | undefined>; /** * Backend Description. */ readonly description: pulumi.Output<string | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Backend Properties contract */ readonly properties: pulumi.Output<types.outputs.BackendPropertiesResponse>; /** * Backend communication protocol. */ readonly protocol: pulumi.Output<string>; /** * Backend gateway Contract Properties */ readonly proxy: pulumi.Output<types.outputs.BackendProxyContractResponse | undefined>; /** * 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: pulumi.Output<string | undefined>; /** * Backend Title. */ readonly title: pulumi.Output<string | undefined>; /** * Backend TLS Properties */ readonly tls: pulumi.Output<types.outputs.BackendTlsPropertiesResponse | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Runtime Url of the Backend. */ readonly url: pulumi.Output<string>; /** * Create a Backend resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BackendArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Backend resource. */ export interface BackendArgs { /** * Identifier of the Backend entity. Must be unique in the current API Management service instance. */ backendId?: pulumi.Input<string>; /** * Backend Credentials Contract Properties */ credentials?: pulumi.Input<types.inputs.BackendCredentialsContractArgs>; /** * Backend Description. */ description?: pulumi.Input<string>; /** * Backend Properties contract */ properties?: pulumi.Input<types.inputs.BackendPropertiesArgs>; /** * Backend communication protocol. */ protocol: pulumi.Input<string | types.enums.BackendProtocol>; /** * Backend gateway Contract Properties */ proxy?: pulumi.Input<types.inputs.BackendProxyContractArgs>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Management Uri of the Resource in External System. This URL can be the Arm Resource Id of Logic Apps, Function Apps or API Apps. */ resourceId?: pulumi.Input<string>; /** * The name of the API Management service. */ serviceName: pulumi.Input<string>; /** * Backend Title. */ title?: pulumi.Input<string>; /** * Backend TLS Properties */ tls?: pulumi.Input<types.inputs.BackendTlsPropertiesArgs>; /** * Runtime Url of the Backend. */ url: pulumi.Input<string>; }