Network class

Class representing a Network.

Constructors

Network(ServiceFabricMeshManagementClientContext)

Create a Network.

Methods

create(string, string, NetworkResourceDescription, RequestOptionsBase)

Creates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties.

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

Deletes the network resource identified by the name.

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

Gets the information about the network resource with the given name. The information include the description and other properties of the network.

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

Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.

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

Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.

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

Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

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

Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

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

Constructor Details

Network(ServiceFabricMeshManagementClientContext)

Create a Network.

new Network(client: ServiceFabricMeshManagementClientContext)

Parameters

client
ServiceFabricMeshManagementClientContext

Reference to the service client.

Method Details

create(string, string, NetworkResourceDescription, RequestOptionsBase)

Creates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties.

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

networkResourceDescription
NetworkResourceDescription

Description for creating a Network resource.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.NetworkCreateResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

networkResourceDescription
NetworkResourceDescription

Description for creating a Network resource.

options
RequestOptionsBase

The optional parameters

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

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

networkResourceDescription
NetworkResourceDescription

Description for creating a Network resource.

deleteMethod(string, string, RequestOptionsBase)

Deletes the network resource identified by the name.

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

Gets the information about the network resource with the given name. The information include the description and other properties of the network.

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.NetworkGetResponse>

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

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

options
RequestOptionsBase

The optional parameters

get(string, string, ServiceCallback<NetworkResourceDescription>)

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

Parameters

resourceGroupName

string

Azure resource group name

networkResourceName

string

The identity of the network.

listByResourceGroup(string, RequestOptionsBase)

Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.

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

Parameters

resourceGroupName

string

Azure resource group name

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.NetworkListByResourceGroupResponse>

listByResourceGroup(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

resourceGroupName

string

Azure resource group name

options
RequestOptionsBase

The optional parameters

listByResourceGroup(string, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

resourceGroupName

string

Azure resource group name

listByResourceGroupNext(string, RequestOptionsBase)

Gets the information about all network resources in a given resource group. The information include the description and other properties of the Network.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.NetworkListByResourceGroupNextResponse>

listByResourceGroupNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listByResourceGroupNext(string, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

listBySubscription(RequestOptionsBase)

Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

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

Parameters

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.NetworkListBySubscriptionResponse>

listBySubscription(RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

options
RequestOptionsBase

The optional parameters

listBySubscription(ServiceCallback<NetworkResourceDescriptionList>)

function listBySubscription(callback: ServiceCallback<NetworkResourceDescriptionList>)

Parameters

listBySubscriptionNext(string, RequestOptionsBase)

Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.NetworkListBySubscriptionNextResponse>

listBySubscriptionNext(string, RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

listBySubscriptionNext(string, ServiceCallback<NetworkResourceDescriptionList>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.