@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.67 kB
TypeScript
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>;
}