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

90 lines (89 loc) 3.15 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the metadata of a service instance. * * Uses Azure REST API version 2024-03-31. * * Other available API versions: 2022-10-01-preview, 2022-12-01, 2023-02-28, 2023-09-06, 2023-11-01, 2023-12-01, 2024-03-01, 2025-03-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthcareapis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>; export interface GetServiceArgs { /** * The name of the resource group that contains the service instance. */ resourceGroupName: string; /** * The name of the service instance. */ resourceName: string; } /** * The description of the service. */ export interface GetServiceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * An etag associated with the resource, used for optimistic concurrency when editing it. */ readonly etag?: string; /** * The resource identifier. */ readonly id: string; /** * Setting indicating whether the service has a managed identity associated with it. */ readonly identity?: outputs.healthcareapis.ServicesResourceResponseIdentity; /** * The kind of the service. */ readonly kind: string; /** * The resource location. */ readonly location: string; /** * The resource name. */ readonly name: string; /** * The common properties of a service. */ readonly properties: outputs.healthcareapis.ServicesPropertiesResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.healthcareapis.SystemDataResponse; /** * The resource tags. */ readonly tags?: { [key: string]: string; }; /** * The resource type. */ readonly type: string; } /** * Get the metadata of a service instance. * * Uses Azure REST API version 2024-03-31. * * Other available API versions: 2022-10-01-preview, 2022-12-01, 2023-02-28, 2023-09-06, 2023-11-01, 2023-12-01, 2024-03-01, 2025-03-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthcareapis [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceResult>; export interface GetServiceOutputArgs { /** * The name of the resource group that contains the service instance. */ resourceGroupName: pulumi.Input<string>; /** * The name of the service instance. */ resourceName: pulumi.Input<string>; }