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

108 lines (107 loc) 3.69 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2022-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azuresphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getDeviceGroup(args: GetDeviceGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetDeviceGroupResult>; export interface GetDeviceGroupArgs { /** * Name of catalog */ catalogName: string; /** * Name of device group. */ deviceGroupName: string; /** * Name of product. */ productName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * An device group resource belonging to a product resource. */ export interface GetDeviceGroupResult { /** * Flag to define if the user allows for crash dump collection. */ readonly allowCrashDumpsCollection?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Description of the device group. */ readonly description?: string; /** * Deployment status for the device group. */ readonly hasDeployment: boolean; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * Operating system feed type of the device group. */ readonly osFeedType?: string; /** * The status of the last operation. */ readonly provisioningState: string; /** * Regional data boundary for the device group. */ readonly regionalDataBoundary?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.azuresphere.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Update policy of the device group. */ readonly updatePolicy?: string; } /** * Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2022-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azuresphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getDeviceGroupOutput(args: GetDeviceGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeviceGroupResult>; export interface GetDeviceGroupOutputArgs { /** * Name of catalog */ catalogName: pulumi.Input<string>; /** * Name of device group. */ deviceGroupName: pulumi.Input<string>; /** * Name of product. */ productName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }