共用方式為


Network class

代表網路的類別。

建構函式

Network(ServiceFabricMeshManagementClientContext)

建立網路。

方法

create(string, string, NetworkResourceDescription, RequestOptionsBase)

建立具有指定名稱、描述和屬性的網路資源。 如果具有相同名稱的網路資源存在,則會使用指定的描述和屬性來更新。

create(string, string, NetworkResourceDescription, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)
create(string, string, NetworkResourceDescription, ServiceCallback<NetworkResourceDescription>)
deleteMethod(string, string, RequestOptionsBase)

刪除名稱所識別的網路資源。

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)

取得具有指定名稱的網路資源相關資訊。 此資訊包括網路的描述和其他屬性。

get(string, string, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)
get(string, string, ServiceCallback<NetworkResourceDescription>)
listByResourceGroup(string, RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 資訊包括網路的描述與其他屬性。

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listByResourceGroup(string, ServiceCallback<NetworkResourceDescriptionList>)
listByResourceGroupNext(string, RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 資訊包括網路的描述與其他屬性。

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listByResourceGroupNext(string, ServiceCallback<NetworkResourceDescriptionList>)
listBySubscription(RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 此資訊包括網路的描述和其他屬性。

listBySubscription(RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listBySubscription(ServiceCallback<NetworkResourceDescriptionList>)
listBySubscriptionNext(string, RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 此資訊包括網路的描述和其他屬性。

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
listBySubscriptionNext(string, ServiceCallback<NetworkResourceDescriptionList>)

建構函式詳細資料

Network(ServiceFabricMeshManagementClientContext)

建立網路。

new Network(client: ServiceFabricMeshManagementClientContext)

參數

client
ServiceFabricMeshManagementClientContext

服務用戶端的參考。

方法詳細資料

create(string, string, NetworkResourceDescription, RequestOptionsBase)

建立具有指定名稱、描述和屬性的網路資源。 如果具有相同名稱的網路資源存在,則會使用指定的描述和屬性來更新。

function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, options?: RequestOptionsBase): Promise<NetworkCreateResponse>

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

networkResourceDescription
NetworkResourceDescription

建立網路資源的描述。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.NetworkCreateResponse>

create(string, string, NetworkResourceDescription, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)

function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescription>)

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

networkResourceDescription
NetworkResourceDescription

建立網路資源的描述。

options
RequestOptionsBase

選擇性參數

create(string, string, NetworkResourceDescription, ServiceCallback<NetworkResourceDescription>)

function create(resourceGroupName: string, networkResourceName: string, networkResourceDescription: NetworkResourceDescription, callback: ServiceCallback<NetworkResourceDescription>)

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

networkResourceDescription
NetworkResourceDescription

建立網路資源的描述。

deleteMethod(string, string, RequestOptionsBase)

刪除名稱所識別的網路資源。

function deleteMethod(resourceGroupName: string, networkResourceName: string, options?: RequestOptionsBase): Promise<RestResponse>

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

options
RequestOptionsBase

選擇性參數

傳回

Promise<RestResponse>

Promise < msRest.RestResponse>

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, networkResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<void>

回呼

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, networkResourceName: string, callback: ServiceCallback<void>)

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

callback

ServiceCallback<void>

回呼

get(string, string, RequestOptionsBase)

取得具有指定名稱的網路資源相關資訊。 此資訊包括網路的描述和其他屬性。

function get(resourceGroupName: string, networkResourceName: string, options?: RequestOptionsBase): Promise<NetworkGetResponse>

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.NetworkGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<NetworkResourceDescription>)

function get(resourceGroupName: string, networkResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescription>)

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

options
RequestOptionsBase

選擇性參數

get(string, string, ServiceCallback<NetworkResourceDescription>)

function get(resourceGroupName: string, networkResourceName: string, callback: ServiceCallback<NetworkResourceDescription>)

參數

resourceGroupName

string

Azure 資源群組名稱

networkResourceName

string

網路的身分識別。

listByResourceGroup(string, RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 資訊包括網路的描述與其他屬性。

function listByResourceGroup(resourceGroupName: string, options?: RequestOptionsBase): Promise<NetworkListByResourceGroupResponse>

參數

resourceGroupName

string

Azure 資源群組名稱

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.NetworkListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

resourceGroupName

string

Azure 資源群組名稱

options
RequestOptionsBase

選擇性參數

listByResourceGroup(string, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

resourceGroupName

string

Azure 資源群組名稱

listByResourceGroupNext(string, RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 資訊包括網路的描述與其他屬性。

function listByResourceGroupNext(nextPageLink: string, options?: RequestOptionsBase): Promise<NetworkListByResourceGroupNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.NetworkListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listByResourceGroupNext(string, ServiceCallback<NetworkResourceDescriptionList>)

function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

listBySubscription(RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 此資訊包括網路的描述和其他屬性。

function listBySubscription(options?: RequestOptionsBase): Promise<NetworkListBySubscriptionResponse>

參數

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.NetworkListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

options
RequestOptionsBase

選擇性參數

listBySubscription(ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscription(callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

listBySubscriptionNext(string, RequestOptionsBase)

可取得指定資源群組中所有網路資源的相關資訊。 此資訊包括網路的描述和其他屬性。

function listBySubscriptionNext(nextPageLink: string, options?: RequestOptionsBase): Promise<NetworkListBySubscriptionNextResponse>

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

傳回

Promise < Models.NetworkListBySubscriptionNextResponse>

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。

options
RequestOptionsBase

選擇性參數

listBySubscriptionNext(string, ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<NetworkResourceDescriptionList>)

參數

nextPageLink

string

上一次成功呼叫 List 作業的 NextLink。