@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Implements InventoryItem GET method.
*
* Uses Azure REST API version 2023-12-01.
*
* Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native connectedvmwarevsphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getInventoryItem(args: GetInventoryItemArgs, opts?: pulumi.InvokeOptions): Promise<GetInventoryItemResult>;
export interface GetInventoryItemArgs {
/**
* Name of the inventoryItem.
*/
inventoryItemName: string;
/**
* The Resource Group Name.
*/
resourceGroupName: string;
/**
* Name of the vCenter.
*/
vcenterName: string;
}
/**
* Defines the inventory item.
*/
export interface GetInventoryItemResult {
/**
* 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;
/**
* They inventory type.
*/
readonly inventoryType: string;
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*/
readonly kind?: string;
/**
* Gets or sets the tracked resource id corresponding to the inventory resource.
*/
readonly managedResourceId?: string;
/**
* Gets or sets the vCenter Managed Object name for the inventory item.
*/
readonly moName?: string;
/**
* Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.
*/
readonly moRefId?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Gets the provisioning state.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.connectedvmwarevsphere.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Implements InventoryItem GET method.
*
* Uses Azure REST API version 2023-12-01.
*
* Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native connectedvmwarevsphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getInventoryItemOutput(args: GetInventoryItemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInventoryItemResult>;
export interface GetInventoryItemOutputArgs {
/**
* Name of the inventoryItem.
*/
inventoryItemName: pulumi.Input<string>;
/**
* The Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the vCenter.
*/
vcenterName: pulumi.Input<string>;
}