Network class
Class representing a Network.
Constructors
Network(Service |
Create a Network. |
Methods
Constructor Details
Network(ServiceFabricMeshManagementClientContext)
Create a Network.
new Network(client: ServiceFabricMeshManagementClientContext)
Parameters
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<NetworkCreateResponse>
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
- callback
The callback
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.
- callback
The callback
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<NetworkGetResponse>
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
- callback
The callback
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.
- callback
The callback
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<NetworkListByResourceGroupResponse>
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
The callback
listByResourceGroup(string, ServiceCallback<NetworkResourceDescriptionList>)
function listByResourceGroup(resourceGroupName: string, callback: ServiceCallback<NetworkResourceDescriptionList>)
Parameters
- resourceGroupName
-
string
Azure resource group name
The callback
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
The callback
listByResourceGroupNext(string, ServiceCallback<NetworkResourceDescriptionList>)
function listByResourceGroupNext(nextPageLink: string, callback: ServiceCallback<NetworkResourceDescriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback
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<NetworkListBySubscriptionResponse>
Promise<Models.NetworkListBySubscriptionResponse>
listBySubscription(RequestOptionsBase, ServiceCallback<NetworkResourceDescriptionList>)
function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<NetworkResourceDescriptionList>)
Parameters
- options
- RequestOptionsBase
The optional parameters
The callback
listBySubscription(ServiceCallback<NetworkResourceDescriptionList>)
function listBySubscription(callback: ServiceCallback<NetworkResourceDescriptionList>)
Parameters
The callback
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
The callback
listBySubscriptionNext(string, ServiceCallback<NetworkResourceDescriptionList>)
function listBySubscriptionNext(nextPageLink: string, callback: ServiceCallback<NetworkResourceDescriptionList>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
The callback