Click or drag to resize

SolidFireElementModifyVirtualNetworkAsync Method (CancellationToken, NullableInt64, NullableInt64, String, AddressBlockParams, String, String, String, NullableBoolean, Hashtable)

You can use ModifyVirtualNetwork to change the attributes of an existing virtual network. This method enables you to add or remove address blocks, change the netmask, or modify the name or description of the virtual network. You can also use it to enable or disable namespaces, as well as add or remove a gateway if namespaces are enabled on the virtual network. Note: This method requires either the VirtualNetworkID or the VirtualNetworkTag as a parameter, but not both. Caution: Enabling or disabling the Routable Storage VLANs functionality for an existing virtual network by changing the "namespace" parameter disrupts any traffic handled by the virtual network. NetApp strongly recommends changing the "namespace" parameter only during a scheduled maintenance window.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public Task<AddVirtualNetworkResult> ModifyVirtualNetworkAsync(
	CancellationToken cancellationToken,
	Nullable<long> VirtualNetworkID = null,
	Nullable<long> VirtualNetworkTag = null,
	string Name = null,
	AddressBlockParams[] AddressBlocks = null,
	string Netmask = null,
	string Svip = null,
	string Gateway = null,
	Nullable<bool> Namespace = null,
	Hashtable Attributes = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
VirtualNetworkID (Optional)
Type: SystemNullableInt64
VirtualNetworkTag (Optional)
Type: SystemNullableInt64
Name (Optional)
Type: SystemString
AddressBlocks (Optional)
Type: SolidFire.Element.ApiAddressBlockParams
Netmask (Optional)
Type: SystemString
Svip (Optional)
Type: SystemString
Gateway (Optional)
Type: SystemString
Namespace (Optional)
Type: SystemNullableBoolean
Attributes (Optional)
Type: System.CollectionsHashtable

Return Value

Type: TaskAddVirtualNetworkResult

Implements

ISolidFireElementModifyVirtualNetworkAsync(CancellationToken, NullableInt64, NullableInt64, String, AddressBlockParams, String, String, String, NullableBoolean, Hashtable)
See Also