Documentation ¶
Index ¶
- func FindAvailabilitySetByPurpose(availabilitySets []azure.AvailabilitySet, purpose azure.Purpose) (*azure.AvailabilitySet, error)
- func FindRouteTableByPurpose(routeTables []azure.RouteTable, purpose azure.Purpose) (*azure.RouteTable, error)
- func FindSecurityGroupByPurpose(securityGroups []azure.SecurityGroup, purpose azure.Purpose) (*azure.SecurityGroup, error)
- func FindSubnetByPurpose(subnets []azure.Subnet, purpose azure.Purpose) (*azure.Subnet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAvailabilitySetByPurpose ¶
func FindAvailabilitySetByPurpose(availabilitySets []azure.AvailabilitySet, purpose azure.Purpose) (*azure.AvailabilitySet, error)
FindAvailabilitySetByPurpose takes a list of availability sets and tries to find the first entry whose purpose matches with the given purpose. If no such entry is found then an error will be returned.
func FindRouteTableByPurpose ¶
func FindRouteTableByPurpose(routeTables []azure.RouteTable, purpose azure.Purpose) (*azure.RouteTable, error)
FindRouteTableByPurpose takes a list of route tables and tries to find the first entry whose purpose matches with the given purpose. If no such entry is found then an error will be returned.
func FindSecurityGroupByPurpose ¶
func FindSecurityGroupByPurpose(securityGroups []azure.SecurityGroup, purpose azure.Purpose) (*azure.SecurityGroup, error)
FindSecurityGroupByPurpose takes a list of security groups and tries to find the first entry whose purpose matches with the given purpose. If no such entry is found then an error will be returned.
func FindSubnetByPurpose ¶
FindSubnetByPurpose takes a list of subnets and tries to find the first entry whose purpose matches with the given purpose. If no such entry is found then an error will be returned.
Types ¶
This section is empty.