你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmStorageMoverModelFactory.StorageMoverAgentData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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, 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> * 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 errorDetails As StorageMoverAgentPropertiesErrorDetails = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing) As StorageMoverAgentData
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- description
- String
代理的说明。
- agentVersion
- String
代理版本。
- arcResourceId
- String
代理的混合计算资源的完全限定资源 ID。
- arcVmUuid
- String
代理的混合计算资源的 VM UUID。
- agentStatus
- Nullable<StorageMoverAgentStatus>
代理状态。
- lastStatusUpdate
- Nullable<DateTimeOffset>
代理状态的上次更新时间。
- localIPAddress
- String
代理报告的本地 IP 地址。
- errorDetails
- StorageMoverAgentPropertiesErrorDetails
- provisioningState
- Nullable<StorageMoverProvisioningState>
此资源的预配状态。
返回
用于模拟的新 StorageMoverAgentData 实例。