你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataBoxEdgeDeviceResource.GetNetworkSettingsAsync(CancellationToken) 方法

定义

获取指定 Data Box Edge/Data Box Gateway 设备的网络设置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default
  • 操作IdDevices_GetNetworkSettings
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceNetworkSettings>> GetNetworkSettingsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkSettingsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceNetworkSettings>>
override this.GetNetworkSettingsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDeviceNetworkSettings>>
Public Overridable Function GetNetworkSettingsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataBoxEdgeDeviceNetworkSettings))

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于