@kengachu-pulumi/azure-native-apimanagement
Version:
Pulumi Azure Native package for apimanagement
69 lines (68 loc) • 2.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the details of the Schema specified by its identifier.
* Azure REST API version: 2021-04-01-preview.
*/
export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
export interface GetSchemaArgs {
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* Schema id identifier. Must be unique in the current API Management service instance.
*/
schemaId: string;
/**
* The name of the API Management service.
*/
serviceName: string;
}
/**
* Schema Contract details.
*/
export interface GetSchemaResult {
/**
* Free-form schema entity 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;
/**
* Schema Type. Immutable.
*/
readonly schemaType: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Json-encoded string for non json-based schema.
*/
readonly value?: string;
}
/**
* Gets the details of the Schema specified by its identifier.
* Azure REST API version: 2021-04-01-preview.
*/
export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaResult>;
export interface GetSchemaOutputArgs {
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Schema id identifier. Must be unique in the current API Management service instance.
*/
schemaId: pulumi.Input<string>;
/**
* The name of the API Management service.
*/
serviceName: pulumi.Input<string>;
}