INetworksProviderCreateNetwork Method |
Namespace: net.openstack.Core.Providers
CloudNetwork CreateNetwork( string cidr, string label, string region = null, CloudIdentity identity = null )
Exception | Condition |
---|---|
ArgumentNullException |
If cidr is .
-or- If label is . |
ArgumentNullException |
If cidr is empty.
-or- If label is empty. |
CidrFormatException | If cidr is not in the correct format. |
NotSupportedException |
If the provider does not support the given identity type.
-or- The specified region is not supported. |
InvalidOperationException |
If identity is and no default identity is available for the provider.
-or- If region is and no default region is available for the provider. |
ResponseException | If the REST API request failed. |