Documentation ¶
Index ¶
- func IsNotFound(err error) bool
- func NewNetworkProfile(name, location, subnetID string) *network.Profile
- func NewSubnetWithContainerInstanceDelegation(name, addressPrefix string) *network.Subnet
- type Client
- func (c *Client) CreateOrUpdateProfile(resourceGroup string, p *network.Profile) (*network.Profile, error)
- func (c *Client) CreateOrUpdateSubnet(resourceGroup, vnet string, s *network.Subnet) (*network.Subnet, error)
- func (c *Client) GetProfile(resourceGroup, name string) (*network.Profile, error)
- func (c *Client) GetSubnet(resourceGroup, vnet, name string) (*network.Subnet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
IsNotFound determines if the passed in error is a not found error from the API.
func NewNetworkProfile ¶ added in v0.6.3
NewNetworkProfile creates a new instance of network profile
func NewSubnetWithContainerInstanceDelegation ¶ added in v0.6.3
NewSubnetWithContainerInstanceDelegation creates the subnet instance with ACI delegation
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for interacting with Azure networking
func NewClient ¶
func NewClient(azAuth *azure.Authentication) (*Client, error)
NewClient creates a new client for interacting with azure networking
func (*Client) CreateOrUpdateProfile ¶
func (c *Client) CreateOrUpdateProfile(resourceGroup string, p *network.Profile) (*network.Profile, error)
CreateOrUpdateProfile creates or updates an Azure network profile
func (*Client) CreateOrUpdateSubnet ¶
func (c *Client) CreateOrUpdateSubnet(resourceGroup, vnet string, s *network.Subnet) (*network.Subnet, error)
CreateOrUpdateSubnet creates a new or updates an existing subnet in the defined resourcegroup/vnet
func (*Client) GetProfile ¶
GetProfile gets the network profile with the provided name
Click to show internal directories.
Click to hide internal directories.