共用方式為


ArmStorageMoverModelFactory.StorageMoverAgentData Method

Definition

Initializes a new instance of StorageMoverAgentData.

public static Azure.ResourceManager.StorageMover.StorageMoverAgentData StorageMoverAgentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string agentVersion = default, string arcResourceId = default, string arcVmUuid = default, Azure.ResourceManager.StorageMover.Models.StorageMoverAgentStatus? agentStatus = default, DateTimeOffset? lastStatusUpdate = default, string localIPAddress = default, long? memoryInMB = default, long? numberOfCores = default, long? uptimeInSeconds = default, string timeZone = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageMover.Models.UploadLimitWeeklyRecurrence> uploadLimitScheduleWeeklyRecurrences = default, Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPropertiesErrorDetails errorDetails = default, Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState? provisioningState = default);
static member StorageMoverAgentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverAgentStatus> * Nullable<DateTimeOffset> * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * string * seq<Azure.ResourceManager.StorageMover.Models.UploadLimitWeeklyRecurrence> * Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPropertiesErrorDetails * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState> -> Azure.ResourceManager.StorageMover.StorageMoverAgentData
Public Shared Function StorageMoverAgentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional agentVersion As String = Nothing, Optional arcResourceId As String = Nothing, Optional arcVmUuid As String = Nothing, Optional agentStatus As Nullable(Of StorageMoverAgentStatus) = Nothing, Optional lastStatusUpdate As Nullable(Of DateTimeOffset) = Nothing, Optional localIPAddress As String = Nothing, Optional memoryInMB As Nullable(Of Long) = Nothing, Optional numberOfCores As Nullable(Of Long) = Nothing, Optional uptimeInSeconds As Nullable(Of Long) = Nothing, Optional timeZone As String = Nothing, Optional uploadLimitScheduleWeeklyRecurrences As IEnumerable(Of UploadLimitWeeklyRecurrence) = Nothing, Optional errorDetails As StorageMoverAgentPropertiesErrorDetails = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing) As StorageMoverAgentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

A description for the Agent.

agentVersion
String

The Agent version.

arcResourceId
String

The fully qualified resource ID of the Hybrid Compute resource for the Agent.

arcVmUuid
String

The VM UUID of the Hybrid Compute resource for the Agent.

agentStatus
Nullable<StorageMoverAgentStatus>

The Agent status.

lastStatusUpdate
Nullable<DateTimeOffset>

The last updated time of the Agent status.

localIPAddress
String

Local IP address reported by the Agent.

memoryInMB
Nullable<Int64>

Available memory reported by the Agent, in MB.

numberOfCores
Nullable<Int64>

Available compute cores reported by the Agent.

uptimeInSeconds
Nullable<Int64>

Uptime of the Agent in seconds.

timeZone
String

The agent's local time zone represented in Windows format.

uploadLimitScheduleWeeklyRecurrences
IEnumerable<UploadLimitWeeklyRecurrence>

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.

provisioningState
Nullable<StorageMoverProvisioningState>

The provisioning state of this resource.

Returns

A new StorageMoverAgentData instance for mocking.

Applies to