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

137 lines (136 loc) 5.47 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The Agent resource. * * Uses Azure REST API version 2024-07-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01. * * Other available API versions: 2023-03-01, 2023-07-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storagemover [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Agent extends pulumi.CustomResource { /** * Get an existing Agent resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Agent; /** * Returns true if the given object is an instance of Agent. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Agent; /** * The Agent status. */ readonly agentStatus: pulumi.Output<string>; /** * The Agent version. */ readonly agentVersion: pulumi.Output<string>; /** * The fully qualified resource ID of the Hybrid Compute resource for the Agent. */ readonly arcResourceId: pulumi.Output<string>; /** * The VM UUID of the Hybrid Compute resource for the Agent. */ readonly arcVmUuid: pulumi.Output<string>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * A description for the Agent. */ readonly description: pulumi.Output<string | undefined>; readonly errorDetails: pulumi.Output<outputs.storagemover.AgentPropertiesErrorDetailsResponse>; /** * The last updated time of the Agent status. */ readonly lastStatusUpdate: pulumi.Output<string>; /** * Local IP address reported by the Agent. */ readonly localIPAddress: pulumi.Output<string>; /** * Available memory reported by the Agent, in MB. */ readonly memoryInMB: pulumi.Output<number>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Available compute cores reported by the Agent. */ readonly numberOfCores: pulumi.Output<number>; /** * The provisioning state of this resource. */ readonly provisioningState: pulumi.Output<string>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.storagemover.SystemDataResponse>; /** * The agent's local time zone represented in Windows format. */ readonly timeZone: pulumi.Output<string>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time. */ readonly uploadLimitSchedule: pulumi.Output<outputs.storagemover.UploadLimitScheduleResponse | undefined>; /** * Uptime of the Agent in seconds. */ readonly uptimeInSeconds: pulumi.Output<number>; /** * Create a Agent resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AgentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Agent resource. */ export interface AgentArgs { /** * The name of the Agent resource. */ agentName?: pulumi.Input<string>; /** * The fully qualified resource ID of the Hybrid Compute resource for the Agent. */ arcResourceId: pulumi.Input<string>; /** * The VM UUID of the Hybrid Compute resource for the Agent. */ arcVmUuid: pulumi.Input<string>; /** * A description for the Agent. */ description?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Storage Mover resource. */ storageMoverName: pulumi.Input<string>; /** * The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The schedule is interpreted with the agent's local time. */ uploadLimitSchedule?: pulumi.Input<inputs.storagemover.UploadLimitScheduleArgs>; }