ArmStorageMoverModelFactory.StorageMoverAgentData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPropertiesErrorDetails errorDetails = default, Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageMover.Models.UploadLimitWeeklyRecurrence> uploadLimitScheduleWeeklyRecurrences = 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 * Azure.ResourceManager.StorageMover.Models.StorageMoverAgentPropertiesErrorDetails * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState> * seq<Azure.ResourceManager.StorageMover.Models.UploadLimitWeeklyRecurrence> -> 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 errorDetails As StorageMoverAgentPropertiesErrorDetails = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing, Optional uploadLimitScheduleWeeklyRecurrences As IEnumerable(Of UploadLimitWeeklyRecurrence) = Nothing) As StorageMoverAgentData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- timeZone
- String
The agent's local time zone represented in Windows format.
- errorDetails
- StorageMoverAgentPropertiesErrorDetails
Gets the ErrorDetails.
- provisioningState
- Nullable<StorageMoverProvisioningState>
The provisioning state of this resource.
- uploadLimitScheduleWeeklyRecurrences
- IEnumerable<UploadLimitWeeklyRecurrence>
The set of weekly repeating recurrences of the WAN-link upload limit schedule.
Returns
A new StorageMoverAgentData instance for mocking.
Exceptions
arcResourceId or arcVmUuid is null.