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

102 lines (101 loc) 3.63 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the properties of the specified NGroups resource. * * Uses Azure REST API version 2025-09-01. * * Other available API versions: 2024-09-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native containerinstance [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNGroup(args: GetNGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetNGroupResult>; export interface GetNGroupArgs { /** * The NGroups name. */ ngroupsName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Describes the NGroups resource. */ export interface GetNGroupResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The Container Group Profiles that could be used in the NGroups resource. */ readonly containerGroupProfiles?: outputs.containerinstance.ContainerGroupProfileStubResponse[]; /** * The elastic profile. */ readonly elasticProfile?: outputs.containerinstance.ElasticProfileResponse; /** * The resource id. */ readonly id: string; /** * The identity of the NGroup, if configured. */ readonly identity?: outputs.containerinstance.NGroupIdentityResponse; /** * The resource location. */ readonly location?: string; /** * The resource name. */ readonly name: string; /** * Provides options w.r.t allocation and management w.r.t certain placement policies. These utilize capabilities provided by the underlying Azure infrastructure. They are typically used for high availability scenarios. E.g., distributing CGs across fault domains. */ readonly placementProfile?: outputs.containerinstance.PlacementProfileResponse; /** * The provisioning state, which only appears in the response. */ readonly provisioningState: string; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.containerinstance.SystemDataResponse; /** * The resource tags. */ readonly tags?: { [key: string]: string; }; /** * The resource type. */ readonly type: string; /** * Used by the customer to specify the way to update the Container Groups in NGroup. */ readonly updateProfile?: outputs.containerinstance.UpdateProfileResponse; /** * The zones for the container group. */ readonly zones?: string[]; } /** * Get the properties of the specified NGroups resource. * * Uses Azure REST API version 2025-09-01. * * Other available API versions: 2024-09-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native containerinstance [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNGroupOutput(args: GetNGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNGroupResult>; export interface GetNGroupOutputArgs { /** * The NGroups name. */ ngroupsName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }