Documentation ¶
Index ¶
- func PossibleValuesForActionEnum() []string
- func PossibleValuesForBooleanEnum() []string
- func PossibleValuesForDecryptionRuleTypeEnum() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStateEnum() []string
- func ValidateLocalRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocalRulestackID(input interface{}, key string) (warnings []string, errors []error)
- type ActionEnum
- type AppSeenData
- type AppSeenInfo
- type BooleanEnum
- type Category
- type CreateOrUpdateOperationResponse
- type DecryptionRuleTypeEnum
- type DeleteOperationResponse
- type DestinationAddr
- type GetCountersOperationOptions
- type GetCountersOperationResponse
- type GetOperationResponse
- type ListByLocalRulestacksCompleteResult
- type ListByLocalRulestacksCustomPager
- type ListByLocalRulestacksOperationResponse
- type LocalRuleId
- type LocalRulesClient
- func (c LocalRulesClient) CreateOrUpdate(ctx context.Context, id LocalRuleId, input LocalRulesResource) (result CreateOrUpdateOperationResponse, err error)
- func (c LocalRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id LocalRuleId, input LocalRulesResource) error
- func (c LocalRulesClient) Delete(ctx context.Context, id LocalRuleId) (result DeleteOperationResponse, err error)
- func (c LocalRulesClient) DeleteThenPoll(ctx context.Context, id LocalRuleId) error
- func (c LocalRulesClient) Get(ctx context.Context, id LocalRuleId) (result GetOperationResponse, err error)
- func (c LocalRulesClient) GetCounters(ctx context.Context, id LocalRuleId, options GetCountersOperationOptions) (result GetCountersOperationResponse, err error)
- func (c LocalRulesClient) ListByLocalRulestacks(ctx context.Context, id LocalRulestackId) (result ListByLocalRulestacksOperationResponse, err error)
- func (c LocalRulesClient) ListByLocalRulestacksComplete(ctx context.Context, id LocalRulestackId) (ListByLocalRulestacksCompleteResult, error)
- func (c LocalRulesClient) ListByLocalRulestacksCompleteMatchingPredicate(ctx context.Context, id LocalRulestackId, ...) (result ListByLocalRulestacksCompleteResult, err error)
- func (c LocalRulesClient) RefreshCounters(ctx context.Context, id LocalRuleId, options RefreshCountersOperationOptions) (result RefreshCountersOperationResponse, err error)
- func (c LocalRulesClient) ResetCounters(ctx context.Context, id LocalRuleId, options ResetCountersOperationOptions) (result ResetCountersOperationResponse, err error)
- type LocalRulesResource
- type LocalRulesResourceOperationPredicate
- type LocalRulestackId
- type ProvisioningState
- type RefreshCountersOperationOptions
- type RefreshCountersOperationResponse
- type ResetCountersOperationOptions
- type ResetCountersOperationResponse
- type RuleCounter
- func (o *RuleCounter) GetLastUpdatedTimestampAsTime() (*time.Time, error)
- func (o *RuleCounter) GetRequestTimestampAsTime() (*time.Time, error)
- func (o *RuleCounter) GetTimestampAsTime() (*time.Time, error)
- func (o *RuleCounter) SetLastUpdatedTimestampAsTime(input time.Time)
- func (o *RuleCounter) SetRequestTimestampAsTime(input time.Time)
- func (o *RuleCounter) SetTimestampAsTime(input time.Time)
- type RuleCounterReset
- type RuleEntry
- type SourceAddr
- type StateEnum
- type TagInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActionEnum ¶
func PossibleValuesForActionEnum() []string
func PossibleValuesForBooleanEnum ¶
func PossibleValuesForBooleanEnum() []string
func PossibleValuesForDecryptionRuleTypeEnum ¶
func PossibleValuesForDecryptionRuleTypeEnum() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStateEnum ¶
func PossibleValuesForStateEnum() []string
func ValidateLocalRuleID ¶
ValidateLocalRuleID checks that 'input' can be parsed as a Local Rule ID
func ValidateLocalRulestackID ¶
ValidateLocalRulestackID checks that 'input' can be parsed as a Local Rulestack ID
Types ¶
type ActionEnum ¶
type ActionEnum string
const ( ActionEnumAllow ActionEnum = "Allow" ActionEnumDenyResetBoth ActionEnum = "DenyResetBoth" ActionEnumDenyResetServer ActionEnum = "DenyResetServer" ActionEnumDenySilent ActionEnum = "DenySilent" )
func (*ActionEnum) UnmarshalJSON ¶
func (s *ActionEnum) UnmarshalJSON(bytes []byte) error
type AppSeenData ¶
type AppSeenData struct { AppSeenList []AppSeenInfo `json:"appSeenList"` Count int64 `json:"count"` }
type AppSeenInfo ¶
type BooleanEnum ¶
type BooleanEnum string
const ( BooleanEnumFALSE BooleanEnum = "FALSE" BooleanEnumTRUE BooleanEnum = "TRUE" )
func (*BooleanEnum) UnmarshalJSON ¶
func (s *BooleanEnum) UnmarshalJSON(bytes []byte) error
type DecryptionRuleTypeEnum ¶
type DecryptionRuleTypeEnum string
const ( DecryptionRuleTypeEnumNone DecryptionRuleTypeEnum = "None" DecryptionRuleTypeEnumSSLInboundInspection DecryptionRuleTypeEnum = "SSLInboundInspection" DecryptionRuleTypeEnumSSLOutboundInspection DecryptionRuleTypeEnum = "SSLOutboundInspection" )
func (*DecryptionRuleTypeEnum) UnmarshalJSON ¶
func (s *DecryptionRuleTypeEnum) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DestinationAddr ¶
type GetCountersOperationOptions ¶
type GetCountersOperationOptions struct {
FirewallName *string
}
func DefaultGetCountersOperationOptions ¶
func DefaultGetCountersOperationOptions() GetCountersOperationOptions
func (GetCountersOperationOptions) ToHeaders ¶
func (o GetCountersOperationOptions) ToHeaders() *client.Headers
func (GetCountersOperationOptions) ToOData ¶
func (o GetCountersOperationOptions) ToOData() *odata.Query
func (GetCountersOperationOptions) ToQuery ¶
func (o GetCountersOperationOptions) ToQuery() *client.QueryParams
type GetCountersOperationResponse ¶
type GetCountersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RuleCounter }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LocalRulesResource }
type ListByLocalRulestacksCompleteResult ¶
type ListByLocalRulestacksCompleteResult struct { LatestHttpResponse *http.Response Items []LocalRulesResource }
type ListByLocalRulestacksCustomPager ¶ added in v0.20240628.1153531
func (*ListByLocalRulestacksCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByLocalRulestacksCustomPager) NextPageLink() *odata.Link
type ListByLocalRulestacksOperationResponse ¶
type ListByLocalRulestacksOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LocalRulesResource }
type LocalRuleId ¶
type LocalRuleId struct { SubscriptionId string ResourceGroupName string LocalRulestackName string LocalRuleName string }
LocalRuleId is a struct representing the Resource ID for a Local Rule
func NewLocalRuleID ¶
func NewLocalRuleID(subscriptionId string, resourceGroupName string, localRulestackName string, localRuleName string) LocalRuleId
NewLocalRuleID returns a new LocalRuleId struct
func ParseLocalRuleID ¶
func ParseLocalRuleID(input string) (*LocalRuleId, error)
ParseLocalRuleID parses 'input' into a LocalRuleId
func ParseLocalRuleIDInsensitively ¶
func ParseLocalRuleIDInsensitively(input string) (*LocalRuleId, error)
ParseLocalRuleIDInsensitively parses 'input' case-insensitively into a LocalRuleId note: this method should only be used for API response data and not user input
func (*LocalRuleId) FromParseResult ¶
func (id *LocalRuleId) FromParseResult(input resourceids.ParseResult) error
func (LocalRuleId) Segments ¶
func (id LocalRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Local Rule ID
func (LocalRuleId) String ¶
func (id LocalRuleId) String() string
String returns a human-readable description of this Local Rule ID
type LocalRulesClient ¶
type LocalRulesClient struct {
Client *resourcemanager.Client
}
func NewLocalRulesClientWithBaseURI ¶
func NewLocalRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*LocalRulesClient, error)
func (LocalRulesClient) CreateOrUpdate ¶
func (c LocalRulesClient) CreateOrUpdate(ctx context.Context, id LocalRuleId, input LocalRulesResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LocalRulesClient) CreateOrUpdateThenPoll ¶
func (c LocalRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id LocalRuleId, input LocalRulesResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (LocalRulesClient) Delete ¶
func (c LocalRulesClient) Delete(ctx context.Context, id LocalRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (LocalRulesClient) DeleteThenPoll ¶
func (c LocalRulesClient) DeleteThenPoll(ctx context.Context, id LocalRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LocalRulesClient) Get ¶
func (c LocalRulesClient) Get(ctx context.Context, id LocalRuleId) (result GetOperationResponse, err error)
Get ...
func (LocalRulesClient) GetCounters ¶
func (c LocalRulesClient) GetCounters(ctx context.Context, id LocalRuleId, options GetCountersOperationOptions) (result GetCountersOperationResponse, err error)
GetCounters ...
func (LocalRulesClient) ListByLocalRulestacks ¶
func (c LocalRulesClient) ListByLocalRulestacks(ctx context.Context, id LocalRulestackId) (result ListByLocalRulestacksOperationResponse, err error)
ListByLocalRulestacks ...
func (LocalRulesClient) ListByLocalRulestacksComplete ¶
func (c LocalRulesClient) ListByLocalRulestacksComplete(ctx context.Context, id LocalRulestackId) (ListByLocalRulestacksCompleteResult, error)
ListByLocalRulestacksComplete retrieves all the results into a single object
func (LocalRulesClient) ListByLocalRulestacksCompleteMatchingPredicate ¶
func (c LocalRulesClient) ListByLocalRulestacksCompleteMatchingPredicate(ctx context.Context, id LocalRulestackId, predicate LocalRulesResourceOperationPredicate) (result ListByLocalRulestacksCompleteResult, err error)
ListByLocalRulestacksCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LocalRulesClient) RefreshCounters ¶
func (c LocalRulesClient) RefreshCounters(ctx context.Context, id LocalRuleId, options RefreshCountersOperationOptions) (result RefreshCountersOperationResponse, err error)
RefreshCounters ...
func (LocalRulesClient) ResetCounters ¶
func (c LocalRulesClient) ResetCounters(ctx context.Context, id LocalRuleId, options ResetCountersOperationOptions) (result ResetCountersOperationResponse, err error)
ResetCounters ...
type LocalRulesResource ¶
type LocalRulesResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties RuleEntry `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type LocalRulesResourceOperationPredicate ¶
func (LocalRulesResourceOperationPredicate) Matches ¶
func (p LocalRulesResourceOperationPredicate) Matches(input LocalRulesResource) bool
type LocalRulestackId ¶
type LocalRulestackId struct { SubscriptionId string ResourceGroupName string LocalRulestackName string }
LocalRulestackId is a struct representing the Resource ID for a Local Rulestack
func NewLocalRulestackID ¶
func NewLocalRulestackID(subscriptionId string, resourceGroupName string, localRulestackName string) LocalRulestackId
NewLocalRulestackID returns a new LocalRulestackId struct
func ParseLocalRulestackID ¶
func ParseLocalRulestackID(input string) (*LocalRulestackId, error)
ParseLocalRulestackID parses 'input' into a LocalRulestackId
func ParseLocalRulestackIDInsensitively ¶
func ParseLocalRulestackIDInsensitively(input string) (*LocalRulestackId, error)
ParseLocalRulestackIDInsensitively parses 'input' case-insensitively into a LocalRulestackId note: this method should only be used for API response data and not user input
func (*LocalRulestackId) FromParseResult ¶
func (id *LocalRulestackId) FromParseResult(input resourceids.ParseResult) error
func (LocalRulestackId) ID ¶
func (id LocalRulestackId) ID() string
ID returns the formatted Local Rulestack ID
func (LocalRulestackId) Segments ¶
func (id LocalRulestackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Local Rulestack ID
func (LocalRulestackId) String ¶
func (id LocalRulestackId) String() string
String returns a human-readable description of this Local Rulestack ID
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RefreshCountersOperationOptions ¶
type RefreshCountersOperationOptions struct {
FirewallName *string
}
func DefaultRefreshCountersOperationOptions ¶
func DefaultRefreshCountersOperationOptions() RefreshCountersOperationOptions
func (RefreshCountersOperationOptions) ToHeaders ¶
func (o RefreshCountersOperationOptions) ToHeaders() *client.Headers
func (RefreshCountersOperationOptions) ToOData ¶
func (o RefreshCountersOperationOptions) ToOData() *odata.Query
func (RefreshCountersOperationOptions) ToQuery ¶
func (o RefreshCountersOperationOptions) ToQuery() *client.QueryParams
type ResetCountersOperationOptions ¶
type ResetCountersOperationOptions struct {
FirewallName *string
}
func DefaultResetCountersOperationOptions ¶
func DefaultResetCountersOperationOptions() ResetCountersOperationOptions
func (ResetCountersOperationOptions) ToHeaders ¶
func (o ResetCountersOperationOptions) ToHeaders() *client.Headers
func (ResetCountersOperationOptions) ToOData ¶
func (o ResetCountersOperationOptions) ToOData() *odata.Query
func (ResetCountersOperationOptions) ToQuery ¶
func (o ResetCountersOperationOptions) ToQuery() *client.QueryParams
type ResetCountersOperationResponse ¶
type ResetCountersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RuleCounterReset }
type RuleCounter ¶
type RuleCounter struct { AppSeen *AppSeenData `json:"appSeen,omitempty"` FirewallName *string `json:"firewallName,omitempty"` HitCount *int64 `json:"hitCount,omitempty"` LastUpdatedTimestamp *string `json:"lastUpdatedTimestamp,omitempty"` Priority string `json:"priority"` RequestTimestamp *string `json:"requestTimestamp,omitempty"` RuleListName *string `json:"ruleListName,omitempty"` RuleName string `json:"ruleName"` RuleStackName *string `json:"ruleStackName,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
func (*RuleCounter) GetLastUpdatedTimestampAsTime ¶
func (o *RuleCounter) GetLastUpdatedTimestampAsTime() (*time.Time, error)
func (*RuleCounter) GetRequestTimestampAsTime ¶
func (o *RuleCounter) GetRequestTimestampAsTime() (*time.Time, error)
func (*RuleCounter) GetTimestampAsTime ¶
func (o *RuleCounter) GetTimestampAsTime() (*time.Time, error)
func (*RuleCounter) SetLastUpdatedTimestampAsTime ¶
func (o *RuleCounter) SetLastUpdatedTimestampAsTime(input time.Time)
func (*RuleCounter) SetRequestTimestampAsTime ¶
func (o *RuleCounter) SetRequestTimestampAsTime(input time.Time)
func (*RuleCounter) SetTimestampAsTime ¶
func (o *RuleCounter) SetTimestampAsTime(input time.Time)
type RuleCounterReset ¶
type RuleEntry ¶
type RuleEntry struct { ActionType *ActionEnum `json:"actionType,omitempty"` Applications *[]string `json:"applications,omitempty"` AuditComment *string `json:"auditComment,omitempty"` Category *Category `json:"category,omitempty"` DecryptionRuleType *DecryptionRuleTypeEnum `json:"decryptionRuleType,omitempty"` Description *string `json:"description,omitempty"` Destination *DestinationAddr `json:"destination,omitempty"` EnableLogging *StateEnum `json:"enableLogging,omitempty"` Etag *string `json:"etag,omitempty"` InboundInspectionCertificate *string `json:"inboundInspectionCertificate,omitempty"` NegateDestination *BooleanEnum `json:"negateDestination,omitempty"` NegateSource *BooleanEnum `json:"negateSource,omitempty"` Priority *int64 `json:"priority,omitempty"` Protocol *string `json:"protocol,omitempty"` ProtocolPortList *[]string `json:"protocolPortList,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RuleName string `json:"ruleName"` RuleState *StateEnum `json:"ruleState,omitempty"` Source *SourceAddr `json:"source,omitempty"` Tags *[]TagInfo `json:"tags,omitempty"` }
type SourceAddr ¶
Source Files ¶
- client.go
- constants.go
- id_localrule.go
- id_localrulestack.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getcounters.go
- method_listbylocalrulestacks.go
- method_refreshcounters.go
- method_resetcounters.go
- model_appseendata.go
- model_appseeninfo.go
- model_category.go
- model_destinationaddr.go
- model_localrulesresource.go
- model_rulecounter.go
- model_rulecounterreset.go
- model_ruleentry.go
- model_sourceaddr.go
- model_taginfo.go
- predicates.go
- version.go