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

66 lines (65 loc) 1.96 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the details of the serviceGroup * * Uses Azure REST API version 2024-02-01-preview. */ export declare function getServiceGroup(args: GetServiceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceGroupResult>; export interface GetServiceGroupArgs { /** * ServiceGroup Name. */ serviceGroupName: string; } /** * The serviceGroup details. */ export interface GetServiceGroupResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The kind of the serviceGroup. */ readonly kind?: string; /** * The name of the resource */ readonly name: string; /** * ServiceGroup creation request body parameters. */ readonly properties: outputs.management.ServiceGroupPropertiesResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.management.SystemDataResponse; /** * The serviceGroup tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get the details of the serviceGroup * * Uses Azure REST API version 2024-02-01-preview. */ export declare function getServiceGroupOutput(args: GetServiceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceGroupResult>; export interface GetServiceGroupOutputArgs { /** * ServiceGroup Name. */ serviceGroupName: pulumi.Input<string>; }