Versions in this module Expand all Collapse all v29 v29.0.0 May 6, 2019 Changes in this version + type RuleAction string + const RuleActionAllow + const RuleActionDeny + type RuleProtocol string + const RuleProtocolAll + const RuleProtocolTCP + const RuleProtocolUDP + type RuleRequest struct + Action RuleAction + DestinationAddressPrefix string + DestinationPortRange string + Name string + Priority int + Protocol RuleProtocol + SourceAddressPrefix string + SourcePortRange string + Type RuleType + XMLName xml.Name + type RuleResponse struct + Action RuleAction + DestinationAddressPrefix string + DestinationPortRange string + IsDefault bool + Name string + Priority int + Protocol RuleProtocol + SourceAddressPrefix string + SourcePortRange string + State string + Type RuleType + XMLName xml.Name + type RuleType string + const RuleTypeInbound + const RuleTypeOutbound + type SecurityGroupClient struct + func NewClient(client management.Client) SecurityGroupClient + func (sg SecurityGroupClient) AddNetworkSecurityToSubnet(name string, subnet string, virtualNetwork string) (management.OperationID, error) + func (sg SecurityGroupClient) CreateNetworkSecurityGroup(name string, label string, location string) (management.OperationID, error) + func (sg SecurityGroupClient) DeleteNetworkSecurityGroup(name string) (management.OperationID, error) + func (sg SecurityGroupClient) DeleteNetworkSecurityGroupRule(securityGroup string, rule string) (management.OperationID, error) + func (sg SecurityGroupClient) GetNetworkSecurityGroup(name string) (SecurityGroupResponse, error) + func (sg SecurityGroupClient) GetNetworkSecurityGroupForSubnet(subnet string, virtualNetwork string) (SecurityGroupResponse, error) + func (sg SecurityGroupClient) ListNetworkSecurityGroups() (SecurityGroupList, error) + func (sg SecurityGroupClient) RemoveNetworkSecurityGroupFromSubnet(name string, subnet string, virtualNetwork string) (management.OperationID, error) + func (sg SecurityGroupClient) SetNetworkSecurityGroupRule(securityGroup string, rule RuleRequest) (management.OperationID, error) + type SecurityGroupList []SecurityGroupResponse + type SecurityGroupRequest struct + Label string + Location string + Name string + XMLName xml.Name + type SecurityGroupResponse struct + Label string + Location string + Name string + Rules []RuleResponse + State SecurityGroupState + XMLName xml.Name + type SecurityGroupState string + const SecurityGroupStateCreated + const SecurityGroupStateCreating + const SecurityGroupStateDeleting + const SecurityGroupStateUnavailable + const SecurityGroupStateUpdating Other modules containing this package gopkg.in/Azure/azure-sdk-for-go.v15 gopkg.in/Azure/azure-sdk-for-go.v16 gopkg.in/Azure/azure-sdk-for-go.v17 gopkg.in/Azure/azure-sdk-for-go.v18 gopkg.in/Azure/azure-sdk-for-go.v19 gopkg.in/Azure/azure-sdk-for-go.v20 gopkg.in/Azure/azure-sdk-for-go.v21 gopkg.in/Azure/azure-sdk-for-go.v22 gopkg.in/Azure/azure-sdk-for-go.v23 gopkg.in/Azure/azure-sdk-for-go.v24 gopkg.in/Azure/azure-sdk-for-go.v25 gopkg.in/Azure/azure-sdk-for-go.v26 gopkg.in/Azure/azure-sdk-for-go.v27 gopkg.in/Azure/azure-sdk-for-go.v28 gopkg.in/Azure/azure-sdk-for-go.v30 gopkg.in/Azure/azure-sdk-for-go.v31 gopkg.in/Azure/azure-sdk-for-go.v32 gopkg.in/Azure/azure-sdk-for-go.v33 gopkg.in/Azure/azure-sdk-for-go.v34 gopkg.in/Azure/azure-sdk-for-go.v35 gopkg.in/Azure/azure-sdk-for-go.v36 gopkg.in/Azure/azure-sdk-for-go.v37 gopkg.in/Azure/azure-sdk-for-go.v38 gopkg.in/Azure/azure-sdk-for-go.v39 gopkg.in/Azure/azure-sdk-for-go.v40 gopkg.in/Azure/azure-sdk-for-go.v41 gopkg.in/Azure/azure-sdk-for-go.v42 gopkg.in/Azure/azure-sdk-for-go.v43 gopkg.in/Azure/azure-sdk-for-go.v44 gopkg.in/Azure/azure-sdk-for-go.v45 gopkg.in/Azure/azure-sdk-for-go.v46 gopkg.in/Azure/azure-sdk-for-go.v48