FabricClient.NetworkManagementClient.CreateNetworkAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateNetworkAsync(String, NetworkDescription) |
Creates the specific Service Fabric container network. |
CreateNetworkAsync(String, NetworkDescription, TimeSpan, CancellationToken) |
Creates the specific Service Fabric container network. |
CreateNetworkAsync(String, NetworkDescription)
Creates the specific Service Fabric container network.
public System.Threading.Tasks.Task CreateNetworkAsync (string networkName, System.Fabric.Description.NetworkDescription networkDescription);
member this.CreateNetworkAsync : string * System.Fabric.Description.NetworkDescription -> System.Threading.Tasks.Task
Public Function CreateNetworkAsync (networkName As String, networkDescription As NetworkDescription) As Task
Parameters
- networkName
- String
The name of the container network.
- networkDescription
- NetworkDescription
The description of the container network.
Returns
A Task representing the operation.
Applies to
CreateNetworkAsync(String, NetworkDescription, TimeSpan, CancellationToken)
Creates the specific Service Fabric container network.
public System.Threading.Tasks.Task CreateNetworkAsync (string networkName, System.Fabric.Description.NetworkDescription networkDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.CreateNetworkAsync : string * System.Fabric.Description.NetworkDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateNetworkAsync (networkName As String, networkDescription As NetworkDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task
Parameters
- networkName
- String
The name of the container network.
- networkDescription
- NetworkDescription
The description of the container network.
- timeout
- TimeSpan
- cancellationToken
- CancellationToken
The CancellationToken that the operation is observing. It can be used to propagate notification that the operation should be canceled.
Returns
A Task representing the operation.
Applies to
Azure SDK for .NET