/// <inheritdoc cref="OpenStack.Synchronous.NetworkingServiceExtensions.CreateNetwork"/> public static Network CreateNetwork(this CloudNetworkService cloudNetworkService, NetworkDefinition network) { return cloudNetworkService.CreateNetworkAsync(network).ForceSynchronous(); }
/// <summary> /// Creates a network. /// </summary> /// <param name="networkingService">The networking service.</param> /// <param name="network">The network definition.</param> /// <returns> /// The created network. /// </returns> public static Network CreateNetwork(this NetworkingService networkingService, NetworkDefinition network) { return networkingService.CreateNetworkAsync(network).ForceSynchronous(); }