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

94 lines (93 loc) 3.23 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a WorkloadResource * * Uses Azure REST API version 2025-05-01-preview. * * Other available API versions: 2024-06-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native mission [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWorkload(args: GetWorkloadArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkloadResult>; export interface GetWorkloadArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the enclaveResource Resource */ virtualEnclaveName: string; /** * The name of the workloadResource Resource */ workloadName: string; } /** * Workload Model Resource */ export interface GetWorkloadResult { /** * 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 geo-location where the resource lives */ readonly location: string; /** * Managed On Behalf Of Configuration. */ readonly managedOnBehalfOfConfiguration: outputs.mission.ManagedOnBehalfOfConfigurationResponse; /** * The name of the resource */ readonly name: string; /** * Provisioning State. */ readonly provisioningState: string; /** * List of resource group ids. */ readonly resourceGroupCollection?: string[]; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.mission.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a WorkloadResource * * Uses Azure REST API version 2025-05-01-preview. * * Other available API versions: 2024-06-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native mission [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWorkloadOutput(args: GetWorkloadOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkloadResult>; export interface GetWorkloadOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the enclaveResource Resource */ virtualEnclaveName: pulumi.Input<string>; /** * The name of the workloadResource Resource */ workloadName: pulumi.Input<string>; }