Replication Networks - Get

取得具有指定伺服器識別碼和網路名稱的網路。
取得網路的詳細數據。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}?api-version=2023-02-01

URI 參數

名稱 位於 必要 類型 Description
fabricName
path True

string

伺服器識別碼。

networkName
path True

string

主要網路名稱。

resourceGroupName
path True

string

復原服務保存庫所在的資源組名。

resourceName
path True

string

復原服務保存庫的名稱。

subscriptionId
path True

string

訂用帳戶標識碼。

api-version
query True

string

用戶端 API 版本。

回應

名稱 類型 Description
200 OK

Network

確定

安全性

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名稱 Description
user_impersonation 模擬您的用戶帳戶。

範例

Gets a network with specified server id and network name.

Sample Request

GET https://management.azure.com/subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationFabrics/b0cef6e9a4437b81803d0b55ada4f700ab66caae59c35d62723a1589c0cd13ac/replicationNetworks/93ce99d7-1219-4914-aa61-73fe5023988e?api-version=2023-02-01

Sample Response

Azure-AsyncOperation: https://management.azure.com/Subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationOperationStatus/a93f3cd5-9035-4b1e-a2c9-b16df6d5d34b?api-version=2023-02-01
{
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks",
  "id": "/Subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationFabrics/b0cef6e9a4437b81803d0b55ada4f700ab66caae59c35d62723a1589c0cd13ac/replicationNetworks/93ce99d7-1219-4914-aa61-73fe5023988e",
  "name": "93ce99d7-1219-4914-aa61-73fe5023988e",
  "properties": {
    "fabricType": "VMM",
    "subnets": [],
    "friendlyName": "VSwitch_VLan",
    "networkType": "NoIsolation"
  }
}

定義

名稱 Description
Network

網路模型。

NetworkProperties

網路屬性。

Subnet

網路的子網。

Network

網路模型。

名稱 類型 Description
id

string

資源標識碼

location

string

Resource Location

name

string

資源名稱

properties

NetworkProperties

網路屬性。

type

string

資源類型

NetworkProperties

網路屬性。

名稱 類型 Description
fabricType

string

網狀架構類型。

friendlyName

string

易記名稱。

networkType

string

網路類型。

subnets

Subnet[]

子網清單。

Subnet

網路的子網。

名稱 類型 Description
addressList

string[]

子網的位址清單。

friendlyName

string

子網易記名稱。

name

string

子網路名稱。