Documentation ¶
Index ¶
- func PossibleValuesForAddressPrefixType() []string
- func PossibleValuesForEffectiveAdminRuleKind() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSecurityConfigurationRuleAccess() []string
- func PossibleValuesForSecurityConfigurationRuleDirection() []string
- func PossibleValuesForSecurityConfigurationRuleProtocol() []string
- func ValidateVirtualNetworkID(input interface{}, key string) (warnings []string, errors []error)
- type AddressPrefixItem
- type AddressPrefixType
- type AdminPropertiesFormat
- type ConfigurationGroup
- type DefaultAdminPropertiesFormat
- type EffectiveAdminRuleKind
- type EffectiveBaseSecurityAdminRule
- type EffectiveDefaultSecurityAdminRule
- type EffectiveSecurityAdminRule
- type ListNetworkManagerEffectiveSecurityAdminRulesOperationResponse
- type NetworkGroupProperties
- type NetworkManagerEffectiveSecurityAdminRulesClient
- type NetworkManagerEffectiveSecurityAdminRulesListResult
- type NetworkManagerSecurityGroupItem
- type ProvisioningState
- type QueryRequestOptions
- type SecurityConfigurationRuleAccess
- type SecurityConfigurationRuleDirection
- type SecurityConfigurationRuleProtocol
- type VirtualNetworkId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAddressPrefixType ¶
func PossibleValuesForAddressPrefixType() []string
func PossibleValuesForEffectiveAdminRuleKind ¶
func PossibleValuesForEffectiveAdminRuleKind() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSecurityConfigurationRuleAccess ¶
func PossibleValuesForSecurityConfigurationRuleAccess() []string
func PossibleValuesForSecurityConfigurationRuleDirection ¶
func PossibleValuesForSecurityConfigurationRuleDirection() []string
func PossibleValuesForSecurityConfigurationRuleProtocol ¶
func PossibleValuesForSecurityConfigurationRuleProtocol() []string
func ValidateVirtualNetworkID ¶
ValidateVirtualNetworkID checks that 'input' can be parsed as a Virtual Network ID
Types ¶
type AddressPrefixItem ¶
type AddressPrefixItem struct { AddressPrefix *string `json:"addressPrefix,omitempty"` AddressPrefixType *AddressPrefixType `json:"addressPrefixType,omitempty"` }
type AddressPrefixType ¶
type AddressPrefixType string
const ( AddressPrefixTypeIPPrefix AddressPrefixType = "IPPrefix" AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" )
func (*AddressPrefixType) UnmarshalJSON ¶
func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error
type AdminPropertiesFormat ¶
type AdminPropertiesFormat struct { Access SecurityConfigurationRuleAccess `json:"access"` Description *string `json:"description,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Destinations *[]AddressPrefixItem `json:"destinations,omitempty"` Direction SecurityConfigurationRuleDirection `json:"direction"` Priority int64 `json:"priority"` Protocol SecurityConfigurationRuleProtocol `json:"protocol"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` Sources *[]AddressPrefixItem `json:"sources,omitempty"` }
type ConfigurationGroup ¶
type ConfigurationGroup struct { Id *string `json:"id,omitempty"` Properties *NetworkGroupProperties `json:"properties,omitempty"` }
type DefaultAdminPropertiesFormat ¶
type DefaultAdminPropertiesFormat struct { Access *SecurityConfigurationRuleAccess `json:"access,omitempty"` Description *string `json:"description,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Destinations *[]AddressPrefixItem `json:"destinations,omitempty"` Direction *SecurityConfigurationRuleDirection `json:"direction,omitempty"` Flag *string `json:"flag,omitempty"` Priority *int64 `json:"priority,omitempty"` Protocol *SecurityConfigurationRuleProtocol `json:"protocol,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` Sources *[]AddressPrefixItem `json:"sources,omitempty"` }
type EffectiveAdminRuleKind ¶
type EffectiveAdminRuleKind string
const ( EffectiveAdminRuleKindCustom EffectiveAdminRuleKind = "Custom" EffectiveAdminRuleKindDefault EffectiveAdminRuleKind = "Default" )
func (*EffectiveAdminRuleKind) UnmarshalJSON ¶
func (s *EffectiveAdminRuleKind) UnmarshalJSON(bytes []byte) error
type EffectiveBaseSecurityAdminRule ¶
type EffectiveBaseSecurityAdminRule interface { }
type EffectiveDefaultSecurityAdminRule ¶
type EffectiveDefaultSecurityAdminRule struct { Properties *DefaultAdminPropertiesFormat `json:"properties,omitempty"` // Fields inherited from EffectiveBaseSecurityAdminRule ConfigurationDescription *string `json:"configurationDescription,omitempty"` Id *string `json:"id,omitempty"` RuleCollectionAppliesToGroups *[]NetworkManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` RuleGroups *[]ConfigurationGroup `json:"ruleGroups,omitempty"` }
func (EffectiveDefaultSecurityAdminRule) MarshalJSON ¶
func (s EffectiveDefaultSecurityAdminRule) MarshalJSON() ([]byte, error)
type EffectiveSecurityAdminRule ¶
type EffectiveSecurityAdminRule struct { Properties *AdminPropertiesFormat `json:"properties,omitempty"` // Fields inherited from EffectiveBaseSecurityAdminRule ConfigurationDescription *string `json:"configurationDescription,omitempty"` Id *string `json:"id,omitempty"` RuleCollectionAppliesToGroups *[]NetworkManagerSecurityGroupItem `json:"ruleCollectionAppliesToGroups,omitempty"` RuleCollectionDescription *string `json:"ruleCollectionDescription,omitempty"` RuleGroups *[]ConfigurationGroup `json:"ruleGroups,omitempty"` }
func (EffectiveSecurityAdminRule) MarshalJSON ¶
func (s EffectiveSecurityAdminRule) MarshalJSON() ([]byte, error)
type ListNetworkManagerEffectiveSecurityAdminRulesOperationResponse ¶
type ListNetworkManagerEffectiveSecurityAdminRulesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NetworkManagerEffectiveSecurityAdminRulesListResult }
type NetworkGroupProperties ¶
type NetworkGroupProperties struct { Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type NetworkManagerEffectiveSecurityAdminRulesClient ¶
type NetworkManagerEffectiveSecurityAdminRulesClient struct {
Client *resourcemanager.Client
}
func NewNetworkManagerEffectiveSecurityAdminRulesClientWithBaseURI ¶
func NewNetworkManagerEffectiveSecurityAdminRulesClientWithBaseURI(api environments.Api) (*NetworkManagerEffectiveSecurityAdminRulesClient, error)
func (NetworkManagerEffectiveSecurityAdminRulesClient) ListNetworkManagerEffectiveSecurityAdminRules ¶
func (c NetworkManagerEffectiveSecurityAdminRulesClient) ListNetworkManagerEffectiveSecurityAdminRules(ctx context.Context, id VirtualNetworkId, input QueryRequestOptions) (result ListNetworkManagerEffectiveSecurityAdminRulesOperationResponse, err error)
ListNetworkManagerEffectiveSecurityAdminRules ...
type NetworkManagerEffectiveSecurityAdminRulesListResult ¶
type NetworkManagerEffectiveSecurityAdminRulesListResult struct { SkipToken *string `json:"skipToken,omitempty"` Value *[]EffectiveBaseSecurityAdminRule `json:"value,omitempty"` }
func (*NetworkManagerEffectiveSecurityAdminRulesListResult) UnmarshalJSON ¶
func (s *NetworkManagerEffectiveSecurityAdminRulesListResult) UnmarshalJSON(bytes []byte) error
type NetworkManagerSecurityGroupItem ¶
type NetworkManagerSecurityGroupItem struct {
NetworkGroupId string `json:"networkGroupId"`
}
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type QueryRequestOptions ¶
type QueryRequestOptions struct {
SkipToken *string `json:"skipToken,omitempty"`
}
type SecurityConfigurationRuleAccess ¶
type SecurityConfigurationRuleAccess string
const ( SecurityConfigurationRuleAccessAllow SecurityConfigurationRuleAccess = "Allow" SecurityConfigurationRuleAccessAlwaysAllow SecurityConfigurationRuleAccess = "AlwaysAllow" SecurityConfigurationRuleAccessDeny SecurityConfigurationRuleAccess = "Deny" )
func (*SecurityConfigurationRuleAccess) UnmarshalJSON ¶
func (s *SecurityConfigurationRuleAccess) UnmarshalJSON(bytes []byte) error
type SecurityConfigurationRuleDirection ¶
type SecurityConfigurationRuleDirection string
const ( SecurityConfigurationRuleDirectionInbound SecurityConfigurationRuleDirection = "Inbound" SecurityConfigurationRuleDirectionOutbound SecurityConfigurationRuleDirection = "Outbound" )
func (*SecurityConfigurationRuleDirection) UnmarshalJSON ¶
func (s *SecurityConfigurationRuleDirection) UnmarshalJSON(bytes []byte) error
type SecurityConfigurationRuleProtocol ¶
type SecurityConfigurationRuleProtocol string
const ( SecurityConfigurationRuleProtocolAh SecurityConfigurationRuleProtocol = "Ah" SecurityConfigurationRuleProtocolAny SecurityConfigurationRuleProtocol = "Any" SecurityConfigurationRuleProtocolEsp SecurityConfigurationRuleProtocol = "Esp" SecurityConfigurationRuleProtocolIcmp SecurityConfigurationRuleProtocol = "Icmp" SecurityConfigurationRuleProtocolTcp SecurityConfigurationRuleProtocol = "Tcp" SecurityConfigurationRuleProtocolUdp SecurityConfigurationRuleProtocol = "Udp" )
func (*SecurityConfigurationRuleProtocol) UnmarshalJSON ¶
func (s *SecurityConfigurationRuleProtocol) UnmarshalJSON(bytes []byte) error
type VirtualNetworkId ¶
type VirtualNetworkId struct { SubscriptionId string ResourceGroupName string VirtualNetworkName string }
VirtualNetworkId is a struct representing the Resource ID for a Virtual Network
func NewVirtualNetworkID ¶
func NewVirtualNetworkID(subscriptionId string, resourceGroupName string, virtualNetworkName string) VirtualNetworkId
NewVirtualNetworkID returns a new VirtualNetworkId struct
func ParseVirtualNetworkID ¶
func ParseVirtualNetworkID(input string) (*VirtualNetworkId, error)
ParseVirtualNetworkID parses 'input' into a VirtualNetworkId
func ParseVirtualNetworkIDInsensitively ¶
func ParseVirtualNetworkIDInsensitively(input string) (*VirtualNetworkId, error)
ParseVirtualNetworkIDInsensitively parses 'input' case-insensitively into a VirtualNetworkId note: this method should only be used for API response data and not user input
func (VirtualNetworkId) ID ¶
func (id VirtualNetworkId) ID() string
ID returns the formatted Virtual Network ID
func (VirtualNetworkId) Segments ¶
func (id VirtualNetworkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Network ID
func (VirtualNetworkId) String ¶
func (id VirtualNetworkId) String() string
String returns a human-readable description of this Virtual Network ID
Source Files ¶
- client.go
- constants.go
- id_virtualnetwork.go
- method_listnetworkmanagereffectivesecurityadminrules.go
- model_addressprefixitem.go
- model_adminpropertiesformat.go
- model_configurationgroup.go
- model_defaultadminpropertiesformat.go
- model_effectivebasesecurityadminrule.go
- model_effectivedefaultsecurityadminrule.go
- model_effectivesecurityadminrule.go
- model_networkgroupproperties.go
- model_networkmanagereffectivesecurityadminruleslistresult.go
- model_networkmanagersecuritygroupitem.go
- model_queryrequestoptions.go
- version.go