C# Class Elastacloud.AzureManagement.Fluent.Clients.VirtualNetworkClient

Creates a virtual networking client which has the capability to return information about the vnet and add things to it
Inheritance: IVirtualNetworkingClient
Show file Open project: azurecoder/fluent-management

Public Properties

Property Type Description
Namespace System.Xml.Linq.XNamespace

Public Methods

Method Description
AddSubnetToAddressRange ( string networkName, string addressRange, string subnetName ) : string

Creates an empty VNET to add address ranges and subnets

GetAllNetworkingConfig ( ) : string

Gets all of the networking config for the entire set of vnets

GetAvailableVirtualNetworks ( ) : IEnumerable

Used if all the locations should be returned instead of a single location

GetAvailableVirtualNetworks ( string location ) : IEnumerable

Gets the available virtual networks in the correct order binding the address ranges to the subnets

GetCloudServiceSubnetCollection ( string cloudServiceName ) : CloudServiceNetworking
IsIpAddressAvailable ( string vnet, string ipToCheck ) : AvailableIpAddresses

Checks to see whether an IP address in a virtual network is available

RemoveSubnet ( string networkName, string subnetName ) : void

Removes a subnet from the network configuration

VirtualNetworkClient ( string subscriptionId, X509Certificate2 managementCertificate ) : System

Private Methods

Method Description
AddXmlSubnetToExistingNetworkingDefinition ( SubnetTag tag ) : string

Method Details

AddSubnetToAddressRange() public method

Creates an empty VNET to add address ranges and subnets
public AddSubnetToAddressRange ( string networkName, string addressRange, string subnetName ) : string
networkName string
addressRange string
subnetName string
return string

GetAllNetworkingConfig() public method

Gets all of the networking config for the entire set of vnets
public GetAllNetworkingConfig ( ) : string
return string

GetAvailableVirtualNetworks() public method

Used if all the locations should be returned instead of a single location
public GetAvailableVirtualNetworks ( ) : IEnumerable
return IEnumerable

GetAvailableVirtualNetworks() public method

Gets the available virtual networks in the correct order binding the address ranges to the subnets
public GetAvailableVirtualNetworks ( string location ) : IEnumerable
location string
return IEnumerable

GetCloudServiceSubnetCollection() public method

public GetCloudServiceSubnetCollection ( string cloudServiceName ) : CloudServiceNetworking
cloudServiceName string
return Elastacloud.AzureManagement.Fluent.Types.VirtualNetworks.CloudServiceNetworking

IsIpAddressAvailable() public method

Checks to see whether an IP address in a virtual network is available
public IsIpAddressAvailable ( string vnet, string ipToCheck ) : AvailableIpAddresses
vnet string
ipToCheck string
return Elastacloud.AzureManagement.Fluent.Types.VirtualNetworks.AvailableIpAddresses

RemoveSubnet() public method

Removes a subnet from the network configuration
public RemoveSubnet ( string networkName, string subnetName ) : void
networkName string
subnetName string
return void

VirtualNetworkClient() public method

public VirtualNetworkClient ( string subscriptionId, X509Certificate2 managementCertificate ) : System
subscriptionId string
managementCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
return System

Property Details

Namespace public property

public XNamespace,System.Xml.Linq Namespace
return System.Xml.Linq.XNamespace