Versions in this module Expand all Collapse all v35 v35.1.0 Nov 1, 2019 v35.0.0 Oct 30, 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.v29 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.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.v47 gopkg.in/azure/azure-sdk-for-go.v48 gopkg.in/azure/azure-sdk-for-go.v49