@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
117 lines (116 loc) • 4.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as types from "./types";
/**
* API details.
*/
export declare class ProductApi extends pulumi.CustomResource {
/**
* Get an existing ProductApi 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): ProductApi;
/** @internal */
static readonly __pulumiType = "azure-native:apimanagement/v20170301:ProductApi";
/**
* Returns true if the given object is an instance of ProductApi. 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 ProductApi;
/**
* Describes the Revision of the Api. If no value is provided, default revision 1 is created
*/
readonly apiRevision: pulumi.Output<string | undefined>;
/**
* Type of API.
*/
readonly apiType: pulumi.Output<string | undefined>;
/**
* Indicates the Version identifier of the API if the API is versioned
*/
readonly apiVersion: pulumi.Output<string | undefined>;
/**
* Api Version Set Contract details.
*/
readonly apiVersionSet: pulumi.Output<types.outputs.ApiVersionSetContractResponse | undefined>;
/**
* A resource identifier for the related ApiVersionSet.
*/
readonly apiVersionSetId: pulumi.Output<string | undefined>;
/**
* Collection of authentication settings included into this API.
*/
readonly authenticationSettings: pulumi.Output<types.outputs.AuthenticationSettingsContractResponse | undefined>;
/**
* Description of the API. May include HTML formatting tags.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* API name.
*/
readonly displayName: pulumi.Output<string | undefined>;
/**
* Indicates if API revision is current api revision.
*/
readonly isCurrent: pulumi.Output<boolean>;
/**
* Indicates if API revision is accessible via the gateway.
*/
readonly isOnline: pulumi.Output<boolean>;
/**
* Resource name.
*/
readonly name: pulumi.Output<string>;
/**
* Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
*/
readonly path: pulumi.Output<string>;
/**
* Describes on which protocols the operations in this API can be invoked.
*/
readonly protocols: pulumi.Output<string[] | undefined>;
/**
* Absolute URL of the backend service implementing this API.
*/
readonly serviceUrl: pulumi.Output<string | undefined>;
/**
* Protocols over which API is made available.
*/
readonly subscriptionKeyParameterNames: pulumi.Output<types.outputs.SubscriptionKeyParameterNamesContractResponse | undefined>;
/**
* Resource type for API Management resource.
*/
readonly type: pulumi.Output<string>;
/**
* Create a ProductApi 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: ProductApiArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ProductApi resource.
*/
export interface ProductApiArgs {
/**
* API identifier. Must be unique in the current API Management service instance.
*/
apiId?: pulumi.Input<string>;
/**
* Product identifier. Must be unique in the current API Management service instance.
*/
productId: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the API Management service.
*/
serviceName: pulumi.Input<string>;
}