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

100 lines (99 loc) 3.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Implements GuestAgent GET method. * * Uses Azure REST API version 2023-04-01-preview. * * Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01, 2025-03-13. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native scvmm [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGuestAgent(args: GetGuestAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetGuestAgentResult>; export interface GetGuestAgentArgs { /** * Name of the GuestAgent. */ guestAgentName: string; /** * The name of the resource group. */ resourceGroupName: string; /** * Name of the vm. */ virtualMachineName: string; } /** * Defines the GuestAgent. */ export interface GetGuestAgentResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Username / Password Credentials to provision guest agent. */ readonly credentials?: outputs.scvmm.GuestCredentialResponse; /** * Gets the name of the corresponding resource in Kubernetes. */ readonly customResourceName: string; /** * HTTP Proxy configuration for the VM. */ readonly httpProxyConfig?: outputs.scvmm.HttpProxyConfigurationResponse; /** * 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; /** * Gets or sets the guest agent provisioning action. */ readonly provisioningAction?: string; /** * Gets or sets the provisioning state. */ readonly provisioningState: string; /** * Gets or sets the guest agent status. */ readonly status: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.scvmm.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Gets or sets a unique identifier for this resource. */ readonly uuid: string; } /** * Implements GuestAgent GET method. * * Uses Azure REST API version 2023-04-01-preview. * * Other available API versions: 2022-05-21-preview, 2023-10-07, 2024-06-01, 2025-03-13. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native scvmm [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGuestAgentOutput(args: GetGuestAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGuestAgentResult>; export interface GetGuestAgentOutputArgs { /** * Name of the GuestAgent. */ guestAgentName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * Name of the vm. */ virtualMachineName: pulumi.Input<string>; }