Documentation ¶
Index ¶
- func ListAllNIC() (nic []network.Interface, err error)
- func ListAllNetworkSecurityGroup() (nsg []network.SecurityGroup, err error)
- func ListAllVirtualNetwork() (vnet []network.VirtualNetwork, err error)
- type IpIn
- func (pubip IpIn) CreatePublicIP() (ip network.PublicIPAddress, err error)
- func (pubip IpIn) DeletePublicIP() (ar autorest.Response, err error)
- func (pubip IpIn) GetPublicIP() (ip network.PublicIPAddress, err error)
- func (pubip IpIn) ListAllPublicIP() (ip []network.PublicIPAddress, err error)
- func (pubip IpIn) ListPublicIP() (ip []network.PublicIPAddress, err error)
- type NicIn
- type NsgIn
- func (ns NsgIn) CreateNetworkSecurityGroup() (nsg network.SecurityGroup, err error)
- func (ns NsgIn) DeleteNetworkSecurityGroup() (ar autorest.Response, err error)
- func (ns NsgIn) GetNetworkSecurityGroup() (nsg network.SecurityGroup, err error)
- func (ns NsgIn) ListNetworkSecurityGroup() (nsg []network.SecurityGroup, err error)
- type SecurityRuleIn
- type SubnetIn
- func (sub SubnetIn) CreateVirtualNetworkSubnet() (subnet network.Subnet, err error)
- func (sub SubnetIn) DeleteVirtualNetworkSubnet() (ar autorest.Response, err error)
- func (sub SubnetIn) GetVirtualNetworkSubnet() (subnet network.Subnet, err error)
- func (sub SubnetIn) ListVirtualNetworkSubnet() (subnet []network.Subnet, err error)
- type VnetIn
- func (net VnetIn) CreateVirtualNetwork() (vnet network.VirtualNetwork, err error)
- func (net VnetIn) DeleteVirtualNetwork() (ar autorest.Response, err error)
- func (net VnetIn) GetVirtualNetwork() (vnet network.VirtualNetwork, err error)
- func (net VnetIn) ListVirtualNetwork() (vnet []network.VirtualNetwork, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAllNIC ¶
func ListAllNetworkSecurityGroup ¶
func ListAllNetworkSecurityGroup() (nsg []network.SecurityGroup, err error)
func ListAllVirtualNetwork ¶
func ListAllVirtualNetwork() (vnet []network.VirtualNetwork, err error)
// CreateVirtualNetwork lists all virtual networks
Types ¶
type IpIn ¶
type IpIn struct { ResourceGroup string IpName string `json:"ipname,omitempty"` Location string `json:"location,omitempty"` }
func (IpIn) CreatePublicIP ¶
func (pubip IpIn) CreatePublicIP() (ip network.PublicIPAddress, err error)
func (IpIn) GetPublicIP ¶
func (pubip IpIn) GetPublicIP() (ip network.PublicIPAddress, err error)
func (IpIn) ListAllPublicIP ¶
func (pubip IpIn) ListAllPublicIP() (ip []network.PublicIPAddress, err error)
func (IpIn) ListPublicIP ¶
func (pubip IpIn) ListPublicIP() (ip []network.PublicIPAddress, err error)
type NicIn ¶
type NsgIn ¶
type NsgIn struct { ResourceGroup string NsgName string `json:"nsgname,omitempty"` // SubnetID string `json:"subnet,omitempty"` Location string `json:"location,omitempty"` }
func (NsgIn) CreateNetworkSecurityGroup ¶
func (ns NsgIn) CreateNetworkSecurityGroup() (nsg network.SecurityGroup, err error)
func (NsgIn) DeleteNetworkSecurityGroup ¶
func (NsgIn) GetNetworkSecurityGroup ¶
func (ns NsgIn) GetNetworkSecurityGroup() (nsg network.SecurityGroup, err error)
func (NsgIn) ListNetworkSecurityGroup ¶
func (ns NsgIn) ListNetworkSecurityGroup() (nsg []network.SecurityGroup, err error)
type SecurityRuleIn ¶
type SecurityRuleIn struct { ResourceGroup string NsgName string `json:"nsgname,omitempty"` RuleName string `json:"rulename,omitempty"` Port string `json:"port,omitempty"` Priority int32 `json:"priority,omitempty"` }
func (SecurityRuleIn) CreateNetworkSecurityRule ¶
func (rule SecurityRuleIn) CreateNetworkSecurityRule() (nsgrule network.SecurityRule, err error)
type SubnetIn ¶
type SubnetIn struct { ResourceGroup string VnetName string `json:"vnetname,omitempty"` SubnetName string `json:"subnetname,omitempty"` SubnetCidr string `json:"cidr,omitempty"` NsgID string `json:nsg,omitempty` }
func (SubnetIn) CreateVirtualNetworkSubnet ¶
func (SubnetIn) DeleteVirtualNetworkSubnet ¶
func (SubnetIn) GetVirtualNetworkSubnet ¶
type VnetIn ¶
type VnetIn struct { ResourceGroup string VnetName string `json:"vnetname,omitempty"` Cidr string `json:"cidr,omitempty"` Location string `json:"location,omitempty"` }
func (VnetIn) CreateVirtualNetwork ¶
func (net VnetIn) CreateVirtualNetwork() (vnet network.VirtualNetwork, err error)
CreateVirtualNetwork creates a virtual network func CreateVirtualNetwork(resourceGroup string, vnetName string, cidr string, location string) (vnet network.VirtualNetwork, err error) {
func (VnetIn) DeleteVirtualNetwork ¶
CreateVirtualNetwork deletes a virtual network
func (VnetIn) GetVirtualNetwork ¶
func (net VnetIn) GetVirtualNetwork() (vnet network.VirtualNetwork, err error)
CreateVirtualNetwork gets a virtual network
func (VnetIn) ListVirtualNetwork ¶
func (net VnetIn) ListVirtualNetwork() (vnet []network.VirtualNetwork, err error)
CreateVirtualNetwork lists a virtual network
Click to show internal directories.
Click to hide internal directories.