UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

100 lines (99 loc) 3.28 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a SchemaVersion * * 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 getSchemaVersion(args: GetSchemaVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaVersionResult>; export interface GetSchemaVersionArgs { /** * 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 version name parameter. */ schemaVersionName: string; } /** * Schema version's definition. */ export interface GetSchemaVersionResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Human-readable description of the schema. */ readonly description?: string; /** * Hash of the schema content. */ readonly hash: 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; /** * Schema content. */ readonly schemaContent: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.deviceregistry.SystemDataResponse; /** * 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 SchemaVersion * * 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 getSchemaVersionOutput(args: GetSchemaVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSchemaVersionResult>; export interface GetSchemaVersionOutputArgs { /** * 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>; /** * Schema version name parameter. */ schemaVersionName: pulumi.Input<string>; }