UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

73 lines (72 loc) 2.31 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints. * Azure REST API version: 2022-08-01. * * Other available API versions: 2022-09-01-preview, 2023-03-01-preview. */ export declare function getContentType(args: GetContentTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetContentTypeResult>; export interface GetContentTypeArgs { /** * Content type identifier. */ contentTypeId: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the API Management service. */ serviceName: string; } /** * Content type contract details. */ export interface GetContentTypeResult { /** * Content type 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; /** * Content type schema. */ readonly schema?: any; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Content type version. */ readonly version?: string; } /** * Gets the details of the developer portal's content type. Content types describe content items' properties, validation rules, and constraints. * Azure REST API version: 2022-08-01. * * Other available API versions: 2022-09-01-preview, 2023-03-01-preview. */ export declare function getContentTypeOutput(args: GetContentTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetContentTypeResult>; export interface GetContentTypeOutputArgs { /** * Content type identifier. */ contentTypeId: 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>; }