@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a Schema
*
* Uses Azure REST API version 2024-09-01-preview.
*
* Other available API versions: 2025-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native deviceregistry [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
export interface GetSchemaArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Schema name parameter.
*/
schemaName: string;
/**
* Schema registry name parameter.
*/
schemaRegistryName: string;
}
/**
* Schema definition.
*/
export interface GetSchemaResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Human-readable description of the schema.
*/
readonly description?: string;
/**
* Human-readable display name.
*/
readonly displayName?: string;
/**
* Format of the schema.
*/
readonly format: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Provisioning state of the resource.
*/
readonly provisioningState: string;
/**
* Type of the schema.
*/
readonly schemaType: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.deviceregistry.SystemDataResponse;
/**
* Schema tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Globally unique, immutable, non-reusable id.
*/
readonly uuid: string;
}
/**
* Get a Schema
*
* Uses Azure REST API version 2024-09-01-preview.
*
* Other available API versions: 2025-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native deviceregistry [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSchemaResult>;
export interface GetSchemaOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Schema name parameter.
*/
schemaName: pulumi.Input<string>;
/**
* Schema registry name parameter.
*/
schemaRegistryName: pulumi.Input<string>;
}