Documentation ¶
Index ¶
- func PossibleValuesForAddressPrefixType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSecurityConfigurationRuleDirection() []string
- func PossibleValuesForSecurityConfigurationRuleProtocol() []string
- func ValidateRuleCollectionRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSecurityUserConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error)
- type AddressPrefixItem
- type AddressPrefixType
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningState
- type RuleCollectionRuleId
- type SecurityConfigurationRuleDirection
- type SecurityConfigurationRuleProtocol
- type SecurityUserConfigurationRuleCollectionId
- func NewSecurityUserConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, ...) SecurityUserConfigurationRuleCollectionId
- func ParseSecurityUserConfigurationRuleCollectionID(input string) (*SecurityUserConfigurationRuleCollectionId, error)
- func ParseSecurityUserConfigurationRuleCollectionIDInsensitively(input string) (*SecurityUserConfigurationRuleCollectionId, error)
- func (id *SecurityUserConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error
- func (id SecurityUserConfigurationRuleCollectionId) ID() string
- func (id SecurityUserConfigurationRuleCollectionId) Segments() []resourceids.Segment
- func (id SecurityUserConfigurationRuleCollectionId) String() string
- type SecurityUserRule
- type SecurityUserRuleOperationPredicate
- type SecurityUserRulePropertiesFormat
- type SecurityUserRulesClient
- func (c SecurityUserRulesClient) CreateOrUpdate(ctx context.Context, id RuleCollectionRuleId, input SecurityUserRule) (result CreateOrUpdateOperationResponse, err error)
- func (c SecurityUserRulesClient) Delete(ctx context.Context, id RuleCollectionRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c SecurityUserRulesClient) DeleteThenPoll(ctx context.Context, id RuleCollectionRuleId, options DeleteOperationOptions) error
- func (c SecurityUserRulesClient) Get(ctx context.Context, id RuleCollectionRuleId) (result GetOperationResponse, err error)
- func (c SecurityUserRulesClient) List(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (result ListOperationResponse, err error)
- func (c SecurityUserRulesClient) ListComplete(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (ListCompleteResult, error)
- func (c SecurityUserRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityUserConfigurationRuleCollectionId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAddressPrefixType ¶
func PossibleValuesForAddressPrefixType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSecurityConfigurationRuleDirection ¶
func PossibleValuesForSecurityConfigurationRuleDirection() []string
func PossibleValuesForSecurityConfigurationRuleProtocol ¶
func PossibleValuesForSecurityConfigurationRuleProtocol() []string
func ValidateRuleCollectionRuleID ¶
func ValidateRuleCollectionRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateRuleCollectionRuleID checks that 'input' can be parsed as a Rule Collection Rule ID
func ValidateSecurityUserConfigurationRuleCollectionID ¶
func ValidateSecurityUserConfigurationRuleCollectionID(input interface{}, key string) (warnings []string, errors []error)
ValidateSecurityUserConfigurationRuleCollectionID checks that 'input' can be parsed as a Security User Configuration Rule Collection 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" AddressPrefixTypeNetworkGroup AddressPrefixType = "NetworkGroup" AddressPrefixTypeServiceTag AddressPrefixType = "ServiceTag" )
func (*AddressPrefixType) UnmarshalJSON ¶
func (s *AddressPrefixType) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityUserRule }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SecurityUserRule }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []SecurityUserRule }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityUserRule }
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 RuleCollectionRuleId ¶
type RuleCollectionRuleId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string SecurityUserConfigurationName string RuleCollectionName string RuleName string }
RuleCollectionRuleId is a struct representing the Resource ID for a Rule Collection Rule
func NewRuleCollectionRuleID ¶
func NewRuleCollectionRuleID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string, ruleCollectionName string, ruleName string) RuleCollectionRuleId
NewRuleCollectionRuleID returns a new RuleCollectionRuleId struct
func ParseRuleCollectionRuleID ¶
func ParseRuleCollectionRuleID(input string) (*RuleCollectionRuleId, error)
ParseRuleCollectionRuleID parses 'input' into a RuleCollectionRuleId
func ParseRuleCollectionRuleIDInsensitively ¶
func ParseRuleCollectionRuleIDInsensitively(input string) (*RuleCollectionRuleId, error)
ParseRuleCollectionRuleIDInsensitively parses 'input' case-insensitively into a RuleCollectionRuleId note: this method should only be used for API response data and not user input
func (*RuleCollectionRuleId) FromParseResult ¶
func (id *RuleCollectionRuleId) FromParseResult(input resourceids.ParseResult) error
func (RuleCollectionRuleId) ID ¶
func (id RuleCollectionRuleId) ID() string
ID returns the formatted Rule Collection Rule ID
func (RuleCollectionRuleId) Segments ¶
func (id RuleCollectionRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rule Collection Rule ID
func (RuleCollectionRuleId) String ¶
func (id RuleCollectionRuleId) String() string
String returns a human-readable description of this Rule Collection Rule ID
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 SecurityUserConfigurationRuleCollectionId ¶
type SecurityUserConfigurationRuleCollectionId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string SecurityUserConfigurationName string RuleCollectionName string }
SecurityUserConfigurationRuleCollectionId is a struct representing the Resource ID for a Security User Configuration Rule Collection
func NewSecurityUserConfigurationRuleCollectionID ¶
func NewSecurityUserConfigurationRuleCollectionID(subscriptionId string, resourceGroupName string, networkManagerName string, securityUserConfigurationName string, ruleCollectionName string) SecurityUserConfigurationRuleCollectionId
NewSecurityUserConfigurationRuleCollectionID returns a new SecurityUserConfigurationRuleCollectionId struct
func ParseSecurityUserConfigurationRuleCollectionID ¶
func ParseSecurityUserConfigurationRuleCollectionID(input string) (*SecurityUserConfigurationRuleCollectionId, error)
ParseSecurityUserConfigurationRuleCollectionID parses 'input' into a SecurityUserConfigurationRuleCollectionId
func ParseSecurityUserConfigurationRuleCollectionIDInsensitively ¶
func ParseSecurityUserConfigurationRuleCollectionIDInsensitively(input string) (*SecurityUserConfigurationRuleCollectionId, error)
ParseSecurityUserConfigurationRuleCollectionIDInsensitively parses 'input' case-insensitively into a SecurityUserConfigurationRuleCollectionId note: this method should only be used for API response data and not user input
func (*SecurityUserConfigurationRuleCollectionId) FromParseResult ¶
func (id *SecurityUserConfigurationRuleCollectionId) FromParseResult(input resourceids.ParseResult) error
func (SecurityUserConfigurationRuleCollectionId) ID ¶
func (id SecurityUserConfigurationRuleCollectionId) ID() string
ID returns the formatted Security User Configuration Rule Collection ID
func (SecurityUserConfigurationRuleCollectionId) Segments ¶
func (id SecurityUserConfigurationRuleCollectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Security User Configuration Rule Collection ID
func (SecurityUserConfigurationRuleCollectionId) String ¶
func (id SecurityUserConfigurationRuleCollectionId) String() string
String returns a human-readable description of this Security User Configuration Rule Collection ID
type SecurityUserRule ¶
type SecurityUserRule struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SecurityUserRulePropertiesFormat `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SecurityUserRuleOperationPredicate ¶
type SecurityUserRuleOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (SecurityUserRuleOperationPredicate) Matches ¶
func (p SecurityUserRuleOperationPredicate) Matches(input SecurityUserRule) bool
type SecurityUserRulePropertiesFormat ¶
type SecurityUserRulePropertiesFormat struct { Description *string `json:"description,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Destinations *[]AddressPrefixItem `json:"destinations,omitempty"` Direction SecurityConfigurationRuleDirection `json:"direction"` Protocol SecurityConfigurationRuleProtocol `json:"protocol"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` Sources *[]AddressPrefixItem `json:"sources,omitempty"` }
type SecurityUserRulesClient ¶
type SecurityUserRulesClient struct {
Client *resourcemanager.Client
}
func NewSecurityUserRulesClientWithBaseURI ¶
func NewSecurityUserRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*SecurityUserRulesClient, error)
func (SecurityUserRulesClient) CreateOrUpdate ¶
func (c SecurityUserRulesClient) CreateOrUpdate(ctx context.Context, id RuleCollectionRuleId, input SecurityUserRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SecurityUserRulesClient) Delete ¶
func (c SecurityUserRulesClient) Delete(ctx context.Context, id RuleCollectionRuleId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (SecurityUserRulesClient) DeleteThenPoll ¶
func (c SecurityUserRulesClient) DeleteThenPoll(ctx context.Context, id RuleCollectionRuleId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (SecurityUserRulesClient) Get ¶
func (c SecurityUserRulesClient) Get(ctx context.Context, id RuleCollectionRuleId) (result GetOperationResponse, err error)
Get ...
func (SecurityUserRulesClient) List ¶
func (c SecurityUserRulesClient) List(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (result ListOperationResponse, err error)
List ...
func (SecurityUserRulesClient) ListComplete ¶
func (c SecurityUserRulesClient) ListComplete(ctx context.Context, id SecurityUserConfigurationRuleCollectionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SecurityUserRulesClient) ListCompleteMatchingPredicate ¶
func (c SecurityUserRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id SecurityUserConfigurationRuleCollectionId, predicate SecurityUserRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate