Documentation ¶
Index ¶
- func CreateNetworkInterface(cntx context.Context, ...) (nic network.Interface, err error)
- func CreateNetworkSecurityGroup(cntx context.Context, ...) (nsg network.SecurityGroup, err error)
- func CreatePublicIP(cntx context.Context, ...) (ip network.PublicIPAddress, err error)
- func CreateVirtualNetworkAndSubnets(cntx context.Context, ...) (vnet network.VirtualNetwork, err error)
- func GetNetworkSecurityGroup(cntx context.Context, ...) (network.SecurityGroup, error)
- func GetNic(cntx context.Context, ...) (network.Interface, error)
- func GetPublicIP(cntx context.Context, ...) (network.PublicIPAddress, error)
- func GetVirtualNetworkSubnet(cntx context.Context, vnetName string, ...) (network.Subnet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNetworkInterface ¶
func CreateNetworkInterface(cntx context.Context, netInterfaceName, nsgName, vnetName, subnetName, ipName, tenantID, clientID, clientSecret, armEndpoint, subscriptionID, rgName, location string) (nic network.Interface, err error)
CreateNetworkInterface creates a new network interface
func CreateNetworkSecurityGroup ¶
func CreateNetworkSecurityGroup(cntx context.Context, nsgName, tenantID, clientID, clientSecret, armEndpoint, subscriptionID, rgName, location string) (nsg network.SecurityGroup, err error)
CreateNetworkSecurityGroup creates a new network security group
func CreatePublicIP ¶
func CreatePublicIP(cntx context.Context, ipName, tenantID, clientID, clientSecret, armEndpoint, subscriptionID, rgName, location string) (ip network.PublicIPAddress, err error)
CreatePublicIP creates a new public IP
func CreateVirtualNetworkAndSubnets ¶
func CreateVirtualNetworkAndSubnets(cntx context.Context, vnetName, subnetName, tenantID, clientID, clientSecret, armEndpoint, subscriptionID, rgName, location string) (vnet network.VirtualNetwork, err error)
CreateVirtualNetworkAndSubnets creates a virtual network with two subnets
func GetNetworkSecurityGroup ¶
func GetPublicIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.