Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForActionEnum() []string + func PossibleValuesForBooleanEnum() []string + func PossibleValuesForDecryptionRuleTypeEnum() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForStateEnum() []string + func ValidateGlobalRulestackID(input interface{}, key string) (warnings []string, errors []error) + func ValidatePostRuleID(input interface{}, key string) (warnings []string, errors []error) + type ActionEnum string + const ActionEnumAllow + const ActionEnumDenyResetBoth + const ActionEnumDenyResetServer + const ActionEnumDenySilent + func (s *ActionEnum) UnmarshalJSON(bytes []byte) error + type AppSeenData struct + AppSeenList []AppSeenInfo + Count int64 + type AppSeenInfo struct + Category string + Risk string + StandardPorts string + SubCategory string + Tag string + Technology string + Title string + type BooleanEnum string + const BooleanEnumFALSE + const BooleanEnumTRUE + func (s *BooleanEnum) UnmarshalJSON(bytes []byte) error + type Category struct + Feeds []string + UrlCustom []string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *PostRulesResource + OData *odata.OData + Poller pollers.Poller + type DecryptionRuleTypeEnum string + const DecryptionRuleTypeEnumNone + const DecryptionRuleTypeEnumSSLInboundInspection + const DecryptionRuleTypeEnumSSLOutboundInspection + func (s *DecryptionRuleTypeEnum) UnmarshalJSON(bytes []byte) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DestinationAddr struct + Cidrs *[]string + Countries *[]string + Feeds *[]string + FqdnLists *[]string + PrefixLists *[]string + type GetCountersOperationOptions struct + FirewallName *string + func DefaultGetCountersOperationOptions() GetCountersOperationOptions + func (o GetCountersOperationOptions) ToHeaders() *client.Headers + func (o GetCountersOperationOptions) ToOData() *odata.Query + func (o GetCountersOperationOptions) ToQuery() *client.QueryParams + type GetCountersOperationResponse struct + HttpResponse *http.Response + Model *RuleCounter + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *PostRulesResource + OData *odata.OData + type GlobalRulestackId struct + GlobalRulestackName string + func NewGlobalRulestackID(globalRulestackName string) GlobalRulestackId + func ParseGlobalRulestackID(input string) (*GlobalRulestackId, error) + func ParseGlobalRulestackIDInsensitively(input string) (*GlobalRulestackId, error) + func (id *GlobalRulestackId) FromParseResult(input resourceids.ParseResult) error + func (id GlobalRulestackId) ID() string + func (id GlobalRulestackId) Segments() []resourceids.Segment + func (id GlobalRulestackId) String() string + type ListCompleteResult struct + Items []PostRulesResource + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]PostRulesResource + OData *odata.OData + type PostRuleId struct + GlobalRulestackName string + PostRuleName string + func NewPostRuleID(globalRulestackName string, postRuleName string) PostRuleId + func ParsePostRuleID(input string) (*PostRuleId, error) + func ParsePostRuleIDInsensitively(input string) (*PostRuleId, error) + func (id *PostRuleId) FromParseResult(input resourceids.ParseResult) error + func (id PostRuleId) ID() string + func (id PostRuleId) Segments() []resourceids.Segment + func (id PostRuleId) String() string + type PostRulesClient struct + Client *resourcemanager.Client + func NewPostRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*PostRulesClient, error) + func (c PostRulesClient) CreateOrUpdate(ctx context.Context, id PostRuleId, input PostRulesResource) (result CreateOrUpdateOperationResponse, err error) + func (c PostRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id PostRuleId, input PostRulesResource) error + func (c PostRulesClient) Delete(ctx context.Context, id PostRuleId) (result DeleteOperationResponse, err error) + func (c PostRulesClient) DeleteThenPoll(ctx context.Context, id PostRuleId) error + func (c PostRulesClient) Get(ctx context.Context, id PostRuleId) (result GetOperationResponse, err error) + func (c PostRulesClient) GetCounters(ctx context.Context, id PostRuleId, options GetCountersOperationOptions) (result GetCountersOperationResponse, err error) + func (c PostRulesClient) List(ctx context.Context, id GlobalRulestackId) (result ListOperationResponse, err error) + func (c PostRulesClient) ListComplete(ctx context.Context, id GlobalRulestackId) (ListCompleteResult, error) + func (c PostRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, ...) (result ListCompleteResult, err error) + func (c PostRulesClient) RefreshCounters(ctx context.Context, id PostRuleId, options RefreshCountersOperationOptions) (result RefreshCountersOperationResponse, err error) + func (c PostRulesClient) ResetCounters(ctx context.Context, id PostRuleId, options ResetCountersOperationOptions) (result ResetCountersOperationResponse, err error) + type PostRulesResource struct + Id *string + Name *string + Properties RuleEntry + SystemData *systemdata.SystemData + Type *string + type PostRulesResourceOperationPredicate struct + Id *string + Name *string + Type *string + func (p PostRulesResourceOperationPredicate) Matches(input PostRulesResource) bool + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleted + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateNotSpecified + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RefreshCountersOperationOptions struct + FirewallName *string + func DefaultRefreshCountersOperationOptions() RefreshCountersOperationOptions + func (o RefreshCountersOperationOptions) ToHeaders() *client.Headers + func (o RefreshCountersOperationOptions) ToOData() *odata.Query + func (o RefreshCountersOperationOptions) ToQuery() *client.QueryParams + type RefreshCountersOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ResetCountersOperationOptions struct + FirewallName *string + func DefaultResetCountersOperationOptions() ResetCountersOperationOptions + func (o ResetCountersOperationOptions) ToHeaders() *client.Headers + func (o ResetCountersOperationOptions) ToOData() *odata.Query + func (o ResetCountersOperationOptions) ToQuery() *client.QueryParams + type ResetCountersOperationResponse struct + HttpResponse *http.Response + Model *RuleCounterReset + OData *odata.OData + type RuleCounter struct + AppSeen *AppSeenData + FirewallName *string + HitCount *int64 + LastUpdatedTimestamp *string + Priority string + RequestTimestamp *string + RuleListName *string + RuleName string + RuleStackName *string + Timestamp *string + 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 struct + FirewallName *string + Priority *string + RuleListName *string + RuleName *string + RuleStackName *string + type RuleEntry struct + ActionType *ActionEnum + Applications *[]string + AuditComment *string + Category *Category + DecryptionRuleType *DecryptionRuleTypeEnum + Description *string + Destination *DestinationAddr + EnableLogging *StateEnum + Etag *string + InboundInspectionCertificate *string + NegateDestination *BooleanEnum + NegateSource *BooleanEnum + Priority *int64 + Protocol *string + ProtocolPortList *[]string + ProvisioningState *ProvisioningState + RuleName string + RuleState *StateEnum + Source *SourceAddr + Tags *[]TagInfo + type SourceAddr struct + Cidrs *[]string + Countries *[]string + Feeds *[]string + PrefixLists *[]string + type StateEnum string + const StateEnumDISABLED + const StateEnumENABLED + func (s *StateEnum) UnmarshalJSON(bytes []byte) error + type TagInfo struct + Key string + Value string