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

104 lines (103 loc) 3.67 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Deployment. '.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 getDeployment(args: GetDeploymentArgs, opts?: pulumi.InvokeOptions): Promise<GetDeploymentResult>; export interface GetDeploymentArgs { /** * Name of catalog */ catalogName: string; /** * Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group. */ deploymentName: 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 deployment resource belonging to a device group resource. */ export interface GetDeploymentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Images deployed */ readonly deployedImages?: outputs.azuresphere.ImageResponse[]; /** * Deployment date UTC */ readonly deploymentDateUtc: string; /** * Deployment ID */ readonly deploymentId?: string; /** * 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; /** * The status of the last operation. */ readonly provisioningState: 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; } /** * Get a Deployment. '.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 getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeploymentResult>; export interface GetDeploymentOutputArgs { /** * Name of catalog */ catalogName: pulumi.Input<string>; /** * Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group. */ deploymentName: 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>; }