firewallpolicies

package
v0.20241118.1115603 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-01-01/firewallpolicies Documentation

The firewallpolicies SDK allows for interaction with Azure Resource Manager network (API Version 2024-01-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-01-01/firewallpolicies"

Client Initialization

client := firewallpolicies.NewFirewallPoliciesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FirewallPoliciesClient.CreateOrUpdate

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.FirewallPolicy{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: FirewallPoliciesClient.Delete

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: FirewallPoliciesClient.FirewallPolicyDeploymentsDeploy

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

if err := client.FirewallPolicyDeploymentsDeployThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: FirewallPoliciesClient.FirewallPolicyDraftsCreateOrUpdate

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.FirewallPolicyDraft{
	// ...
}


read, err := client.FirewallPolicyDraftsCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyDraftsDelete

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

read, err := client.FirewallPolicyDraftsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyDraftsGet

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

read, err := client.FirewallPolicyDraftsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyIdpsSignaturesFilterValuesList

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.SignatureOverridesFilterValuesQuery{
	// ...
}


read, err := client.FirewallPolicyIdpsSignaturesFilterValuesList(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyIdpsSignaturesList

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.IDPSQueryObject{
	// ...
}


read, err := client.FirewallPolicyIdpsSignaturesList(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesGet

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

read, err := client.FirewallPolicyIdpsSignaturesOverridesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesList

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

read, err := client.FirewallPolicyIdpsSignaturesOverridesList(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesPatch

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.SignaturesOverrides{
	// ...
}


read, err := client.FirewallPolicyIdpsSignaturesOverridesPatch(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyIdpsSignaturesOverridesPut

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.SignaturesOverrides{
	// ...
}


read, err := client.FirewallPolicyIdpsSignaturesOverridesPut(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate

ctx := context.TODO()
id := firewallpolicies.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName")

payload := firewallpolicies.FirewallPolicyRuleCollectionGroupDraft{
	// ...
}


read, err := client.FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyRuleCollectionGroupDraftsDelete

ctx := context.TODO()
id := firewallpolicies.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName")

read, err := client.FirewallPolicyRuleCollectionGroupDraftsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.FirewallPolicyRuleCollectionGroupDraftsGet

ctx := context.TODO()
id := firewallpolicies.NewRuleCollectionGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName", "ruleCollectionGroupName")

read, err := client.FirewallPolicyRuleCollectionGroupDraftsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.Get

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

read, err := client.Get(ctx, id, firewallpolicies.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FirewallPoliciesClient.List

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: FirewallPoliciesClient.ListAll

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListAll(ctx, id)` can be used to do batched pagination
items, err := client.ListAllComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: FirewallPoliciesClient.UpdateTags

ctx := context.TODO()
id := firewallpolicies.NewFirewallPolicyID("12345678-1234-9876-4563-123456789012", "example-resource-group", "firewallPolicyName")

payload := firewallpolicies.TagsObject{
	// ...
}


read, err := client.UpdateTags(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAutoLearnPrivateRangesMode

func PossibleValuesForAutoLearnPrivateRangesMode() []string

func PossibleValuesForAzureFirewallThreatIntelMode

func PossibleValuesForAzureFirewallThreatIntelMode() []string

func PossibleValuesForFirewallPolicyFilterRuleCollectionActionType

func PossibleValuesForFirewallPolicyFilterRuleCollectionActionType() []string

func PossibleValuesForFirewallPolicyIDPSQuerySortOrder

func PossibleValuesForFirewallPolicyIDPSQuerySortOrder() []string

func PossibleValuesForFirewallPolicyIDPSSignatureDirection

func PossibleValuesForFirewallPolicyIDPSSignatureDirection() []int64

func PossibleValuesForFirewallPolicyIDPSSignatureMode

func PossibleValuesForFirewallPolicyIDPSSignatureMode() []int64

func PossibleValuesForFirewallPolicyIDPSSignatureSeverity

func PossibleValuesForFirewallPolicyIDPSSignatureSeverity() []int64

func PossibleValuesForFirewallPolicyIntrusionDetectionProfileType

func PossibleValuesForFirewallPolicyIntrusionDetectionProfileType() []string

func PossibleValuesForFirewallPolicyIntrusionDetectionProtocol

func PossibleValuesForFirewallPolicyIntrusionDetectionProtocol() []string

func PossibleValuesForFirewallPolicyIntrusionDetectionStateType

func PossibleValuesForFirewallPolicyIntrusionDetectionStateType() []string

func PossibleValuesForFirewallPolicyNatRuleCollectionActionType

func PossibleValuesForFirewallPolicyNatRuleCollectionActionType() []string

func PossibleValuesForFirewallPolicyRuleApplicationProtocolType

func PossibleValuesForFirewallPolicyRuleApplicationProtocolType() []string

func PossibleValuesForFirewallPolicyRuleCollectionType

func PossibleValuesForFirewallPolicyRuleCollectionType() []string

func PossibleValuesForFirewallPolicyRuleNetworkProtocol

func PossibleValuesForFirewallPolicyRuleNetworkProtocol() []string

func PossibleValuesForFirewallPolicyRuleType

func PossibleValuesForFirewallPolicyRuleType() []string

func PossibleValuesForFirewallPolicySkuTier

func PossibleValuesForFirewallPolicySkuTier() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func ValidateFirewallPolicyID

func ValidateFirewallPolicyID(input interface{}, key string) (warnings []string, errors []error)

ValidateFirewallPolicyID checks that 'input' can be parsed as a Firewall Policy ID

func ValidateRuleCollectionGroupID

func ValidateRuleCollectionGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateRuleCollectionGroupID checks that 'input' can be parsed as a Rule Collection Group ID

Types

type ApplicationRule

type ApplicationRule struct {
	DestinationAddresses *[]string                                `json:"destinationAddresses,omitempty"`
	FqdnTags             *[]string                                `json:"fqdnTags,omitempty"`
	HTTPHeadersToInsert  *[]FirewallPolicyHTTPHeaderToInsert      `json:"httpHeadersToInsert,omitempty"`
	Protocols            *[]FirewallPolicyRuleApplicationProtocol `json:"protocols,omitempty"`
	SourceAddresses      *[]string                                `json:"sourceAddresses,omitempty"`
	SourceIPGroups       *[]string                                `json:"sourceIpGroups,omitempty"`
	TargetFqdns          *[]string                                `json:"targetFqdns,omitempty"`
	TargetURLs           *[]string                                `json:"targetUrls,omitempty"`
	TerminateTLS         *bool                                    `json:"terminateTLS,omitempty"`
	WebCategories        *[]string                                `json:"webCategories,omitempty"`

	Description *string                `json:"description,omitempty"`
	Name        *string                `json:"name,omitempty"`
	RuleType    FirewallPolicyRuleType `json:"ruleType"`
}

func (ApplicationRule) FirewallPolicyRule added in v0.20240920.1135249

func (s ApplicationRule) FirewallPolicyRule() BaseFirewallPolicyRuleImpl

func (ApplicationRule) MarshalJSON

func (s ApplicationRule) MarshalJSON() ([]byte, error)

type AutoLearnPrivateRangesMode

type AutoLearnPrivateRangesMode string
const (
	AutoLearnPrivateRangesModeDisabled AutoLearnPrivateRangesMode = "Disabled"
	AutoLearnPrivateRangesModeEnabled  AutoLearnPrivateRangesMode = "Enabled"
)

func (*AutoLearnPrivateRangesMode) UnmarshalJSON

func (s *AutoLearnPrivateRangesMode) UnmarshalJSON(bytes []byte) error

type AzureFirewallThreatIntelMode

type AzureFirewallThreatIntelMode string
const (
	AzureFirewallThreatIntelModeAlert AzureFirewallThreatIntelMode = "Alert"
	AzureFirewallThreatIntelModeDeny  AzureFirewallThreatIntelMode = "Deny"
	AzureFirewallThreatIntelModeOff   AzureFirewallThreatIntelMode = "Off"
)

func (*AzureFirewallThreatIntelMode) UnmarshalJSON

func (s *AzureFirewallThreatIntelMode) UnmarshalJSON(bytes []byte) error

type BaseFirewallPolicyRuleCollectionImpl added in v0.20240920.1135249

type BaseFirewallPolicyRuleCollectionImpl struct {
	Name               *string                          `json:"name,omitempty"`
	Priority           *int64                           `json:"priority,omitempty"`
	RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"`
}

func (BaseFirewallPolicyRuleCollectionImpl) FirewallPolicyRuleCollection added in v0.20240920.1135249

type BaseFirewallPolicyRuleImpl added in v0.20240920.1135249

type BaseFirewallPolicyRuleImpl struct {
	Description *string                `json:"description,omitempty"`
	Name        *string                `json:"name,omitempty"`
	RuleType    FirewallPolicyRuleType `json:"ruleType"`
}

func (BaseFirewallPolicyRuleImpl) FirewallPolicyRule added in v0.20240920.1135249

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicy
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DnsSettings

type DnsSettings struct {
	EnableProxy                 *bool     `json:"enableProxy,omitempty"`
	RequireProxyForNetworkRules *bool     `json:"requireProxyForNetworkRules,omitempty"`
	Servers                     *[]string `json:"servers,omitempty"`
}

type ExplicitProxy

type ExplicitProxy struct {
	EnableExplicitProxy *bool   `json:"enableExplicitProxy,omitempty"`
	EnablePacFile       *bool   `json:"enablePacFile,omitempty"`
	HTTPPort            *int64  `json:"httpPort,omitempty"`
	HTTPSPort           *int64  `json:"httpsPort,omitempty"`
	PacFile             *string `json:"pacFile,omitempty"`
	PacFilePort         *int64  `json:"pacFilePort,omitempty"`
}

type FilterItems

type FilterItems struct {
	Field  *string   `json:"field,omitempty"`
	Values *[]string `json:"values,omitempty"`
}

type FirewallPoliciesClient

type FirewallPoliciesClient struct {
	Client *resourcemanager.Client
}

func NewFirewallPoliciesClientWithBaseURI

func NewFirewallPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*FirewallPoliciesClient, error)

func (FirewallPoliciesClient) CreateOrUpdate

CreateOrUpdate ...

func (FirewallPoliciesClient) CreateOrUpdateThenPoll

func (c FirewallPoliciesClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallPolicyId, input FirewallPolicy) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FirewallPoliciesClient) Delete

Delete ...

func (FirewallPoliciesClient) DeleteThenPoll

func (c FirewallPoliciesClient) DeleteThenPoll(ctx context.Context, id FirewallPolicyId) error

DeleteThenPoll performs Delete then polls until it's completed

func (FirewallPoliciesClient) FirewallPolicyDeploymentsDeploy

func (c FirewallPoliciesClient) FirewallPolicyDeploymentsDeploy(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyDeploymentsDeployOperationResponse, err error)

FirewallPolicyDeploymentsDeploy ...

func (FirewallPoliciesClient) FirewallPolicyDeploymentsDeployThenPoll

func (c FirewallPoliciesClient) FirewallPolicyDeploymentsDeployThenPoll(ctx context.Context, id FirewallPolicyId) error

FirewallPolicyDeploymentsDeployThenPoll performs FirewallPolicyDeploymentsDeploy then polls until it's completed

func (FirewallPoliciesClient) FirewallPolicyDraftsCreateOrUpdate

FirewallPolicyDraftsCreateOrUpdate ...

func (FirewallPoliciesClient) FirewallPolicyDraftsDelete

FirewallPolicyDraftsDelete ...

func (FirewallPoliciesClient) FirewallPolicyDraftsGet

FirewallPolicyDraftsGet ...

func (FirewallPoliciesClient) FirewallPolicyIdpsSignaturesFilterValuesList

FirewallPolicyIdpsSignaturesFilterValuesList ...

func (FirewallPoliciesClient) FirewallPolicyIdpsSignaturesList

FirewallPolicyIdpsSignaturesList ...

func (FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesGet

func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesGet(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyIdpsSignaturesOverridesGetOperationResponse, err error)

FirewallPolicyIdpsSignaturesOverridesGet ...

func (FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesList

func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesList(ctx context.Context, id FirewallPolicyId) (result FirewallPolicyIdpsSignaturesOverridesListOperationResponse, err error)

FirewallPolicyIdpsSignaturesOverridesList ...

func (FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesPatch

func (c FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesPatch(ctx context.Context, id FirewallPolicyId, input SignaturesOverrides) (result FirewallPolicyIdpsSignaturesOverridesPatchOperationResponse, err error)

FirewallPolicyIdpsSignaturesOverridesPatch ...

func (FirewallPoliciesClient) FirewallPolicyIdpsSignaturesOverridesPut

FirewallPolicyIdpsSignaturesOverridesPut ...

func (FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate

FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdate ...

func (FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsDelete

func (c FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsDelete(ctx context.Context, id RuleCollectionGroupId) (result FirewallPolicyRuleCollectionGroupDraftsDeleteOperationResponse, err error)

FirewallPolicyRuleCollectionGroupDraftsDelete ...

func (FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsGet

func (c FirewallPoliciesClient) FirewallPolicyRuleCollectionGroupDraftsGet(ctx context.Context, id RuleCollectionGroupId) (result FirewallPolicyRuleCollectionGroupDraftsGetOperationResponse, err error)

FirewallPolicyRuleCollectionGroupDraftsGet ...

func (FirewallPoliciesClient) Get

Get ...

func (FirewallPoliciesClient) List

List ...

func (FirewallPoliciesClient) ListAll

ListAll ...

func (FirewallPoliciesClient) ListAllComplete

ListAllComplete retrieves all the results into a single object

func (FirewallPoliciesClient) ListAllCompleteMatchingPredicate

func (c FirewallPoliciesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FirewallPolicyOperationPredicate) (result ListAllCompleteResult, err error)

ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FirewallPoliciesClient) ListComplete

ListComplete retrieves all the results into a single object

func (FirewallPoliciesClient) ListCompleteMatchingPredicate

func (c FirewallPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FirewallPolicyOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FirewallPoliciesClient) UpdateTags

UpdateTags ...

type FirewallPolicy

type FirewallPolicy struct {
	Etag       *string                            `json:"etag,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *FirewallPolicyPropertiesFormat    `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type FirewallPolicyCertificateAuthority

type FirewallPolicyCertificateAuthority struct {
	KeyVaultSecretId *string `json:"keyVaultSecretId,omitempty"`
	Name             *string `json:"name,omitempty"`
}

type FirewallPolicyDeploymentsDeployOperationResponse

type FirewallPolicyDeploymentsDeployOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type FirewallPolicyDraft

type FirewallPolicyDraft struct {
	Id         *string                        `json:"id,omitempty"`
	Location   *string                        `json:"location,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *FirewallPolicyDraftProperties `json:"properties,omitempty"`
	Tags       *map[string]string             `json:"tags,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type FirewallPolicyDraftProperties

type FirewallPolicyDraftProperties struct {
	BasePolicy           *SubResource                        `json:"basePolicy,omitempty"`
	DnsSettings          *DnsSettings                        `json:"dnsSettings,omitempty"`
	ExplicitProxy        *ExplicitProxy                      `json:"explicitProxy,omitempty"`
	Insights             *FirewallPolicyInsights             `json:"insights,omitempty"`
	IntrusionDetection   *FirewallPolicyIntrusionDetection   `json:"intrusionDetection,omitempty"`
	Snat                 *FirewallPolicySNAT                 `json:"snat,omitempty"`
	Sql                  *FirewallPolicySQL                  `json:"sql,omitempty"`
	ThreatIntelMode      *AzureFirewallThreatIntelMode       `json:"threatIntelMode,omitempty"`
	ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"`
}

type FirewallPolicyDraftsCreateOrUpdateOperationResponse

type FirewallPolicyDraftsCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicyDraft
}

type FirewallPolicyDraftsDeleteOperationResponse

type FirewallPolicyDraftsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type FirewallPolicyDraftsGetOperationResponse

type FirewallPolicyDraftsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicyDraft
}

type FirewallPolicyFilterRuleCollection

type FirewallPolicyFilterRuleCollection struct {
	Action *FirewallPolicyFilterRuleCollectionAction `json:"action,omitempty"`
	Rules  *[]FirewallPolicyRule                     `json:"rules,omitempty"`

	Name               *string                          `json:"name,omitempty"`
	Priority           *int64                           `json:"priority,omitempty"`
	RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"`
}

func (FirewallPolicyFilterRuleCollection) FirewallPolicyRuleCollection added in v0.20240920.1135249

func (FirewallPolicyFilterRuleCollection) MarshalJSON

func (s FirewallPolicyFilterRuleCollection) MarshalJSON() ([]byte, error)

func (*FirewallPolicyFilterRuleCollection) UnmarshalJSON

func (s *FirewallPolicyFilterRuleCollection) UnmarshalJSON(bytes []byte) error

type FirewallPolicyFilterRuleCollectionAction

type FirewallPolicyFilterRuleCollectionAction struct {
	Type *FirewallPolicyFilterRuleCollectionActionType `json:"type,omitempty"`
}

type FirewallPolicyFilterRuleCollectionActionType

type FirewallPolicyFilterRuleCollectionActionType string
const (
	FirewallPolicyFilterRuleCollectionActionTypeAllow FirewallPolicyFilterRuleCollectionActionType = "Allow"
	FirewallPolicyFilterRuleCollectionActionTypeDeny  FirewallPolicyFilterRuleCollectionActionType = "Deny"
)

func (*FirewallPolicyFilterRuleCollectionActionType) UnmarshalJSON

func (s *FirewallPolicyFilterRuleCollectionActionType) UnmarshalJSON(bytes []byte) error

type FirewallPolicyHTTPHeaderToInsert

type FirewallPolicyHTTPHeaderToInsert struct {
	HeaderName  *string `json:"headerName,omitempty"`
	HeaderValue *string `json:"headerValue,omitempty"`
}

type FirewallPolicyIDPSQuerySortOrder

type FirewallPolicyIDPSQuerySortOrder string
const (
	FirewallPolicyIDPSQuerySortOrderAscending  FirewallPolicyIDPSQuerySortOrder = "Ascending"
	FirewallPolicyIDPSQuerySortOrderDescending FirewallPolicyIDPSQuerySortOrder = "Descending"
)

func (*FirewallPolicyIDPSQuerySortOrder) UnmarshalJSON

func (s *FirewallPolicyIDPSQuerySortOrder) UnmarshalJSON(bytes []byte) error

type FirewallPolicyIDPSSignatureDirection

type FirewallPolicyIDPSSignatureDirection int64
const (
	FirewallPolicyIDPSSignatureDirectionFour  FirewallPolicyIDPSSignatureDirection = 4
	FirewallPolicyIDPSSignatureDirectionOne   FirewallPolicyIDPSSignatureDirection = 1
	FirewallPolicyIDPSSignatureDirectionThree FirewallPolicyIDPSSignatureDirection = 3
	FirewallPolicyIDPSSignatureDirectionTwo   FirewallPolicyIDPSSignatureDirection = 2
	FirewallPolicyIDPSSignatureDirectionZero  FirewallPolicyIDPSSignatureDirection = 0
)

type FirewallPolicyIDPSSignatureMode

type FirewallPolicyIDPSSignatureMode int64
const (
	FirewallPolicyIDPSSignatureModeOne  FirewallPolicyIDPSSignatureMode = 1
	FirewallPolicyIDPSSignatureModeTwo  FirewallPolicyIDPSSignatureMode = 2
	FirewallPolicyIDPSSignatureModeZero FirewallPolicyIDPSSignatureMode = 0
)

type FirewallPolicyIDPSSignatureSeverity

type FirewallPolicyIDPSSignatureSeverity int64
const (
	FirewallPolicyIDPSSignatureSeverityOne   FirewallPolicyIDPSSignatureSeverity = 1
	FirewallPolicyIDPSSignatureSeverityThree FirewallPolicyIDPSSignatureSeverity = 3
	FirewallPolicyIDPSSignatureSeverityTwo   FirewallPolicyIDPSSignatureSeverity = 2
)

type FirewallPolicyId

type FirewallPolicyId struct {
	SubscriptionId     string
	ResourceGroupName  string
	FirewallPolicyName string
}

FirewallPolicyId is a struct representing the Resource ID for a Firewall Policy

func NewFirewallPolicyID

func NewFirewallPolicyID(subscriptionId string, resourceGroupName string, firewallPolicyName string) FirewallPolicyId

NewFirewallPolicyID returns a new FirewallPolicyId struct

func ParseFirewallPolicyID

func ParseFirewallPolicyID(input string) (*FirewallPolicyId, error)

ParseFirewallPolicyID parses 'input' into a FirewallPolicyId

func ParseFirewallPolicyIDInsensitively

func ParseFirewallPolicyIDInsensitively(input string) (*FirewallPolicyId, error)

ParseFirewallPolicyIDInsensitively parses 'input' case-insensitively into a FirewallPolicyId note: this method should only be used for API response data and not user input

func (*FirewallPolicyId) FromParseResult

func (id *FirewallPolicyId) FromParseResult(input resourceids.ParseResult) error

func (FirewallPolicyId) ID

func (id FirewallPolicyId) ID() string

ID returns the formatted Firewall Policy ID

func (FirewallPolicyId) Segments

func (id FirewallPolicyId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Firewall Policy ID

func (FirewallPolicyId) String

func (id FirewallPolicyId) String() string

String returns a human-readable description of this Firewall Policy ID

type FirewallPolicyIdpsSignaturesFilterValuesListOperationResponse

type FirewallPolicyIdpsSignaturesFilterValuesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SignatureOverridesFilterValuesResponse
}

type FirewallPolicyIdpsSignaturesListOperationResponse

type FirewallPolicyIdpsSignaturesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *QueryResults
}

type FirewallPolicyIdpsSignaturesOverridesGetOperationResponse

type FirewallPolicyIdpsSignaturesOverridesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SignaturesOverrides
}

type FirewallPolicyIdpsSignaturesOverridesListOperationResponse

type FirewallPolicyIdpsSignaturesOverridesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SignaturesOverridesList
}

type FirewallPolicyIdpsSignaturesOverridesPatchOperationResponse

type FirewallPolicyIdpsSignaturesOverridesPatchOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SignaturesOverrides
}

type FirewallPolicyIdpsSignaturesOverridesPutOperationResponse

type FirewallPolicyIdpsSignaturesOverridesPutOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SignaturesOverrides
}

type FirewallPolicyInsights

type FirewallPolicyInsights struct {
	IsEnabled             *bool                                `json:"isEnabled,omitempty"`
	LogAnalyticsResources *FirewallPolicyLogAnalyticsResources `json:"logAnalyticsResources,omitempty"`
	RetentionDays         *int64                               `json:"retentionDays,omitempty"`
}

type FirewallPolicyIntrusionDetection

type FirewallPolicyIntrusionDetection struct {
	Configuration *FirewallPolicyIntrusionDetectionConfiguration `json:"configuration,omitempty"`
	Mode          *FirewallPolicyIntrusionDetectionStateType     `json:"mode,omitempty"`
	Profile       *FirewallPolicyIntrusionDetectionProfileType   `json:"profile,omitempty"`
}

type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications

type FirewallPolicyIntrusionDetectionBypassTrafficSpecifications struct {
	Description          *string                                   `json:"description,omitempty"`
	DestinationAddresses *[]string                                 `json:"destinationAddresses,omitempty"`
	DestinationIPGroups  *[]string                                 `json:"destinationIpGroups,omitempty"`
	DestinationPorts     *[]string                                 `json:"destinationPorts,omitempty"`
	Name                 *string                                   `json:"name,omitempty"`
	Protocol             *FirewallPolicyIntrusionDetectionProtocol `json:"protocol,omitempty"`
	SourceAddresses      *[]string                                 `json:"sourceAddresses,omitempty"`
	SourceIPGroups       *[]string                                 `json:"sourceIpGroups,omitempty"`
}

type FirewallPolicyIntrusionDetectionConfiguration

type FirewallPolicyIntrusionDetectionConfiguration struct {
	BypassTrafficSettings *[]FirewallPolicyIntrusionDetectionBypassTrafficSpecifications `json:"bypassTrafficSettings,omitempty"`
	PrivateRanges         *[]string                                                      `json:"privateRanges,omitempty"`
	SignatureOverrides    *[]FirewallPolicyIntrusionDetectionSignatureSpecification      `json:"signatureOverrides,omitempty"`
}

type FirewallPolicyIntrusionDetectionProfileType

type FirewallPolicyIntrusionDetectionProfileType string
const (
	FirewallPolicyIntrusionDetectionProfileTypeAdvanced FirewallPolicyIntrusionDetectionProfileType = "Advanced"
	FirewallPolicyIntrusionDetectionProfileTypeBasic    FirewallPolicyIntrusionDetectionProfileType = "Basic"
	FirewallPolicyIntrusionDetectionProfileTypeExtended FirewallPolicyIntrusionDetectionProfileType = "Extended"
	FirewallPolicyIntrusionDetectionProfileTypeStandard FirewallPolicyIntrusionDetectionProfileType = "Standard"
)

func (*FirewallPolicyIntrusionDetectionProfileType) UnmarshalJSON

func (s *FirewallPolicyIntrusionDetectionProfileType) UnmarshalJSON(bytes []byte) error

type FirewallPolicyIntrusionDetectionProtocol

type FirewallPolicyIntrusionDetectionProtocol string
const (
	FirewallPolicyIntrusionDetectionProtocolANY  FirewallPolicyIntrusionDetectionProtocol = "ANY"
	FirewallPolicyIntrusionDetectionProtocolICMP FirewallPolicyIntrusionDetectionProtocol = "ICMP"
	FirewallPolicyIntrusionDetectionProtocolTCP  FirewallPolicyIntrusionDetectionProtocol = "TCP"
	FirewallPolicyIntrusionDetectionProtocolUDP  FirewallPolicyIntrusionDetectionProtocol = "UDP"
)

func (*FirewallPolicyIntrusionDetectionProtocol) UnmarshalJSON

func (s *FirewallPolicyIntrusionDetectionProtocol) UnmarshalJSON(bytes []byte) error

type FirewallPolicyIntrusionDetectionSignatureSpecification

type FirewallPolicyIntrusionDetectionSignatureSpecification struct {
	Id   *string                                    `json:"id,omitempty"`
	Mode *FirewallPolicyIntrusionDetectionStateType `json:"mode,omitempty"`
}

type FirewallPolicyIntrusionDetectionStateType

type FirewallPolicyIntrusionDetectionStateType string
const (
	FirewallPolicyIntrusionDetectionStateTypeAlert FirewallPolicyIntrusionDetectionStateType = "Alert"
	FirewallPolicyIntrusionDetectionStateTypeDeny  FirewallPolicyIntrusionDetectionStateType = "Deny"
	FirewallPolicyIntrusionDetectionStateTypeOff   FirewallPolicyIntrusionDetectionStateType = "Off"
)

func (*FirewallPolicyIntrusionDetectionStateType) UnmarshalJSON

func (s *FirewallPolicyIntrusionDetectionStateType) UnmarshalJSON(bytes []byte) error

type FirewallPolicyLogAnalyticsResources

type FirewallPolicyLogAnalyticsResources struct {
	DefaultWorkspaceId *SubResource                           `json:"defaultWorkspaceId,omitempty"`
	Workspaces         *[]FirewallPolicyLogAnalyticsWorkspace `json:"workspaces,omitempty"`
}

type FirewallPolicyLogAnalyticsWorkspace

type FirewallPolicyLogAnalyticsWorkspace struct {
	Region      *string      `json:"region,omitempty"`
	WorkspaceId *SubResource `json:"workspaceId,omitempty"`
}

type FirewallPolicyNatRuleCollection

type FirewallPolicyNatRuleCollection struct {
	Action *FirewallPolicyNatRuleCollectionAction `json:"action,omitempty"`
	Rules  *[]FirewallPolicyRule                  `json:"rules,omitempty"`

	Name               *string                          `json:"name,omitempty"`
	Priority           *int64                           `json:"priority,omitempty"`
	RuleCollectionType FirewallPolicyRuleCollectionType `json:"ruleCollectionType"`
}

func (FirewallPolicyNatRuleCollection) FirewallPolicyRuleCollection added in v0.20240920.1135249

func (FirewallPolicyNatRuleCollection) MarshalJSON

func (s FirewallPolicyNatRuleCollection) MarshalJSON() ([]byte, error)

func (*FirewallPolicyNatRuleCollection) UnmarshalJSON

func (s *FirewallPolicyNatRuleCollection) UnmarshalJSON(bytes []byte) error

type FirewallPolicyNatRuleCollectionAction

type FirewallPolicyNatRuleCollectionAction struct {
	Type *FirewallPolicyNatRuleCollectionActionType `json:"type,omitempty"`
}

type FirewallPolicyNatRuleCollectionActionType

type FirewallPolicyNatRuleCollectionActionType string
const (
	FirewallPolicyNatRuleCollectionActionTypeDNAT FirewallPolicyNatRuleCollectionActionType = "DNAT"
)

func (*FirewallPolicyNatRuleCollectionActionType) UnmarshalJSON

func (s *FirewallPolicyNatRuleCollectionActionType) UnmarshalJSON(bytes []byte) error

type FirewallPolicyOperationPredicate

type FirewallPolicyOperationPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (FirewallPolicyOperationPredicate) Matches

type FirewallPolicyPropertiesFormat

type FirewallPolicyPropertiesFormat struct {
	BasePolicy           *SubResource                        `json:"basePolicy,omitempty"`
	ChildPolicies        *[]SubResource                      `json:"childPolicies,omitempty"`
	DnsSettings          *DnsSettings                        `json:"dnsSettings,omitempty"`
	ExplicitProxy        *ExplicitProxy                      `json:"explicitProxy,omitempty"`
	Firewalls            *[]SubResource                      `json:"firewalls,omitempty"`
	Insights             *FirewallPolicyInsights             `json:"insights,omitempty"`
	IntrusionDetection   *FirewallPolicyIntrusionDetection   `json:"intrusionDetection,omitempty"`
	ProvisioningState    *ProvisioningState                  `json:"provisioningState,omitempty"`
	RuleCollectionGroups *[]SubResource                      `json:"ruleCollectionGroups,omitempty"`
	Size                 *string                             `json:"size,omitempty"`
	Sku                  *FirewallPolicySku                  `json:"sku,omitempty"`
	Snat                 *FirewallPolicySNAT                 `json:"snat,omitempty"`
	Sql                  *FirewallPolicySQL                  `json:"sql,omitempty"`
	ThreatIntelMode      *AzureFirewallThreatIntelMode       `json:"threatIntelMode,omitempty"`
	ThreatIntelWhitelist *FirewallPolicyThreatIntelWhitelist `json:"threatIntelWhitelist,omitempty"`
	TransportSecurity    *FirewallPolicyTransportSecurity    `json:"transportSecurity,omitempty"`
}

type FirewallPolicyRule

type FirewallPolicyRule interface {
	FirewallPolicyRule() BaseFirewallPolicyRuleImpl
}

func UnmarshalFirewallPolicyRuleImplementation added in v0.20240920.1135249

func UnmarshalFirewallPolicyRuleImplementation(input []byte) (FirewallPolicyRule, error)

type FirewallPolicyRuleApplicationProtocol

type FirewallPolicyRuleApplicationProtocol struct {
	Port         *int64                                     `json:"port,omitempty"`
	ProtocolType *FirewallPolicyRuleApplicationProtocolType `json:"protocolType,omitempty"`
}

type FirewallPolicyRuleApplicationProtocolType

type FirewallPolicyRuleApplicationProtocolType string
const (
	FirewallPolicyRuleApplicationProtocolTypeHTTP  FirewallPolicyRuleApplicationProtocolType = "Http"
	FirewallPolicyRuleApplicationProtocolTypeHTTPS FirewallPolicyRuleApplicationProtocolType = "Https"
)

func (*FirewallPolicyRuleApplicationProtocolType) UnmarshalJSON

func (s *FirewallPolicyRuleApplicationProtocolType) UnmarshalJSON(bytes []byte) error

type FirewallPolicyRuleCollection

type FirewallPolicyRuleCollection interface {
	FirewallPolicyRuleCollection() BaseFirewallPolicyRuleCollectionImpl
}

func UnmarshalFirewallPolicyRuleCollectionImplementation added in v0.20240920.1135249

func UnmarshalFirewallPolicyRuleCollectionImplementation(input []byte) (FirewallPolicyRuleCollection, error)

type FirewallPolicyRuleCollectionGroupDraft

type FirewallPolicyRuleCollectionGroupDraft struct {
	Id         *string                                           `json:"id,omitempty"`
	Name       *string                                           `json:"name,omitempty"`
	Properties *FirewallPolicyRuleCollectionGroupDraftProperties `json:"properties,omitempty"`
	Type       *string                                           `json:"type,omitempty"`
}

type FirewallPolicyRuleCollectionGroupDraftProperties

type FirewallPolicyRuleCollectionGroupDraftProperties struct {
	Priority        *int64                          `json:"priority,omitempty"`
	RuleCollections *[]FirewallPolicyRuleCollection `json:"ruleCollections,omitempty"`
	Size            *string                         `json:"size,omitempty"`
}

func (*FirewallPolicyRuleCollectionGroupDraftProperties) UnmarshalJSON

type FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateOperationResponse

type FirewallPolicyRuleCollectionGroupDraftsCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicyRuleCollectionGroupDraft
}

type FirewallPolicyRuleCollectionGroupDraftsDeleteOperationResponse

type FirewallPolicyRuleCollectionGroupDraftsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type FirewallPolicyRuleCollectionGroupDraftsGetOperationResponse

type FirewallPolicyRuleCollectionGroupDraftsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicyRuleCollectionGroupDraft
}

type FirewallPolicyRuleCollectionType

type FirewallPolicyRuleCollectionType string
const (
	FirewallPolicyRuleCollectionTypeFirewallPolicyFilterRuleCollection FirewallPolicyRuleCollectionType = "FirewallPolicyFilterRuleCollection"
	FirewallPolicyRuleCollectionTypeFirewallPolicyNatRuleCollection    FirewallPolicyRuleCollectionType = "FirewallPolicyNatRuleCollection"
)

func (*FirewallPolicyRuleCollectionType) UnmarshalJSON

func (s *FirewallPolicyRuleCollectionType) UnmarshalJSON(bytes []byte) error

type FirewallPolicyRuleNetworkProtocol

type FirewallPolicyRuleNetworkProtocol string
const (
	FirewallPolicyRuleNetworkProtocolAny  FirewallPolicyRuleNetworkProtocol = "Any"
	FirewallPolicyRuleNetworkProtocolICMP FirewallPolicyRuleNetworkProtocol = "ICMP"
	FirewallPolicyRuleNetworkProtocolTCP  FirewallPolicyRuleNetworkProtocol = "TCP"
	FirewallPolicyRuleNetworkProtocolUDP  FirewallPolicyRuleNetworkProtocol = "UDP"
)

func (*FirewallPolicyRuleNetworkProtocol) UnmarshalJSON

func (s *FirewallPolicyRuleNetworkProtocol) UnmarshalJSON(bytes []byte) error

type FirewallPolicyRuleType

type FirewallPolicyRuleType string
const (
	FirewallPolicyRuleTypeApplicationRule FirewallPolicyRuleType = "ApplicationRule"
	FirewallPolicyRuleTypeNatRule         FirewallPolicyRuleType = "NatRule"
	FirewallPolicyRuleTypeNetworkRule     FirewallPolicyRuleType = "NetworkRule"
)

func (*FirewallPolicyRuleType) UnmarshalJSON

func (s *FirewallPolicyRuleType) UnmarshalJSON(bytes []byte) error

type FirewallPolicySNAT

type FirewallPolicySNAT struct {
	AutoLearnPrivateRanges *AutoLearnPrivateRangesMode `json:"autoLearnPrivateRanges,omitempty"`
	PrivateRanges          *[]string                   `json:"privateRanges,omitempty"`
}

type FirewallPolicySQL

type FirewallPolicySQL struct {
	AllowSqlRedirect *bool `json:"allowSqlRedirect,omitempty"`
}

type FirewallPolicySku

type FirewallPolicySku struct {
	Tier *FirewallPolicySkuTier `json:"tier,omitempty"`
}

type FirewallPolicySkuTier

type FirewallPolicySkuTier string
const (
	FirewallPolicySkuTierBasic    FirewallPolicySkuTier = "Basic"
	FirewallPolicySkuTierPremium  FirewallPolicySkuTier = "Premium"
	FirewallPolicySkuTierStandard FirewallPolicySkuTier = "Standard"
)

func (*FirewallPolicySkuTier) UnmarshalJSON

func (s *FirewallPolicySkuTier) UnmarshalJSON(bytes []byte) error

type FirewallPolicyThreatIntelWhitelist

type FirewallPolicyThreatIntelWhitelist struct {
	Fqdns       *[]string `json:"fqdns,omitempty"`
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
}

type FirewallPolicyTransportSecurity

type FirewallPolicyTransportSecurity struct {
	CertificateAuthority *FirewallPolicyCertificateAuthority `json:"certificateAuthority,omitempty"`
}

type GetOperationOptions

type GetOperationOptions struct {
	Expand *string
}

func DefaultGetOperationOptions

func DefaultGetOperationOptions() GetOperationOptions

func (GetOperationOptions) ToHeaders

func (o GetOperationOptions) ToHeaders() *client.Headers

func (GetOperationOptions) ToOData

func (o GetOperationOptions) ToOData() *odata.Query

func (GetOperationOptions) ToQuery

func (o GetOperationOptions) ToQuery() *client.QueryParams

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicy
}

type IDPSQueryObject

type IDPSQueryObject struct {
	Filters        *[]FilterItems `json:"filters,omitempty"`
	OrderBy        *OrderBy       `json:"orderBy,omitempty"`
	ResultsPerPage *int64         `json:"resultsPerPage,omitempty"`
	Search         *string        `json:"search,omitempty"`
	Skip           *int64         `json:"skip,omitempty"`
}

type ListAllCompleteResult

type ListAllCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []FirewallPolicy
}

type ListAllCustomPager added in v0.20240628.1153531

type ListAllCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListAllCustomPager) NextPageLink() *odata.Link

type ListAllOperationResponse

type ListAllOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FirewallPolicy
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []FirewallPolicy
}

type ListCustomPager added in v0.20240628.1153531

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FirewallPolicy
}

type NatRule

type NatRule struct {
	DestinationAddresses *[]string                            `json:"destinationAddresses,omitempty"`
	DestinationPorts     *[]string                            `json:"destinationPorts,omitempty"`
	IPProtocols          *[]FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"`
	SourceAddresses      *[]string                            `json:"sourceAddresses,omitempty"`
	SourceIPGroups       *[]string                            `json:"sourceIpGroups,omitempty"`
	TranslatedAddress    *string                              `json:"translatedAddress,omitempty"`
	TranslatedFqdn       *string                              `json:"translatedFqdn,omitempty"`
	TranslatedPort       *string                              `json:"translatedPort,omitempty"`

	Description *string                `json:"description,omitempty"`
	Name        *string                `json:"name,omitempty"`
	RuleType    FirewallPolicyRuleType `json:"ruleType"`
}

func (NatRule) FirewallPolicyRule added in v0.20240920.1135249

func (s NatRule) FirewallPolicyRule() BaseFirewallPolicyRuleImpl

func (NatRule) MarshalJSON

func (s NatRule) MarshalJSON() ([]byte, error)

type NetworkRule

type NetworkRule struct {
	DestinationAddresses *[]string                            `json:"destinationAddresses,omitempty"`
	DestinationFqdns     *[]string                            `json:"destinationFqdns,omitempty"`
	DestinationIPGroups  *[]string                            `json:"destinationIpGroups,omitempty"`
	DestinationPorts     *[]string                            `json:"destinationPorts,omitempty"`
	IPProtocols          *[]FirewallPolicyRuleNetworkProtocol `json:"ipProtocols,omitempty"`
	SourceAddresses      *[]string                            `json:"sourceAddresses,omitempty"`
	SourceIPGroups       *[]string                            `json:"sourceIpGroups,omitempty"`

	Description *string                `json:"description,omitempty"`
	Name        *string                `json:"name,omitempty"`
	RuleType    FirewallPolicyRuleType `json:"ruleType"`
}

func (NetworkRule) FirewallPolicyRule added in v0.20240920.1135249

func (s NetworkRule) FirewallPolicyRule() BaseFirewallPolicyRuleImpl

func (NetworkRule) MarshalJSON

func (s NetworkRule) MarshalJSON() ([]byte, error)

type OrderBy

type OrderBy struct {
	Field *string                           `json:"field,omitempty"`
	Order *FirewallPolicyIDPSQuerySortOrder `json:"order,omitempty"`
}

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 QueryResults

type QueryResults struct {
	MatchingRecordsCount *int64               `json:"matchingRecordsCount,omitempty"`
	Signatures           *[]SingleQueryResult `json:"signatures,omitempty"`
}

type RawFirewallPolicyRuleCollectionImpl

type RawFirewallPolicyRuleCollectionImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawFirewallPolicyRuleCollectionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawFirewallPolicyRuleCollectionImpl) FirewallPolicyRuleCollection added in v0.20240920.1135249

type RawFirewallPolicyRuleImpl

type RawFirewallPolicyRuleImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawFirewallPolicyRuleImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawFirewallPolicyRuleImpl) FirewallPolicyRule added in v0.20240920.1135249

type RuleCollectionGroupId

type RuleCollectionGroupId struct {
	SubscriptionId          string
	ResourceGroupName       string
	FirewallPolicyName      string
	RuleCollectionGroupName string
}

RuleCollectionGroupId is a struct representing the Resource ID for a Rule Collection Group

func NewRuleCollectionGroupID

func NewRuleCollectionGroupID(subscriptionId string, resourceGroupName string, firewallPolicyName string, ruleCollectionGroupName string) RuleCollectionGroupId

NewRuleCollectionGroupID returns a new RuleCollectionGroupId struct

func ParseRuleCollectionGroupID

func ParseRuleCollectionGroupID(input string) (*RuleCollectionGroupId, error)

ParseRuleCollectionGroupID parses 'input' into a RuleCollectionGroupId

func ParseRuleCollectionGroupIDInsensitively

func ParseRuleCollectionGroupIDInsensitively(input string) (*RuleCollectionGroupId, error)

ParseRuleCollectionGroupIDInsensitively parses 'input' case-insensitively into a RuleCollectionGroupId note: this method should only be used for API response data and not user input

func (*RuleCollectionGroupId) FromParseResult

func (id *RuleCollectionGroupId) FromParseResult(input resourceids.ParseResult) error

func (RuleCollectionGroupId) ID

func (id RuleCollectionGroupId) ID() string

ID returns the formatted Rule Collection Group ID

func (RuleCollectionGroupId) Segments

func (id RuleCollectionGroupId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Rule Collection Group ID

func (RuleCollectionGroupId) String

func (id RuleCollectionGroupId) String() string

String returns a human-readable description of this Rule Collection Group ID

type SignatureOverridesFilterValuesQuery

type SignatureOverridesFilterValuesQuery struct {
	FilterName *string `json:"filterName,omitempty"`
}

type SignatureOverridesFilterValuesResponse

type SignatureOverridesFilterValuesResponse struct {
	FilterValues *[]string `json:"filterValues,omitempty"`
}

type SignaturesOverrides

type SignaturesOverrides struct {
	Id         *string                        `json:"id,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *SignaturesOverridesProperties `json:"properties,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type SignaturesOverridesList

type SignaturesOverridesList struct {
	Value *[]SignaturesOverrides `json:"value,omitempty"`
}

type SignaturesOverridesProperties

type SignaturesOverridesProperties struct {
	Signatures *map[string]string `json:"signatures,omitempty"`
}

type SingleQueryResult

type SingleQueryResult struct {
	Description               *string                               `json:"description,omitempty"`
	DestinationPorts          *[]string                             `json:"destinationPorts,omitempty"`
	Direction                 *FirewallPolicyIDPSSignatureDirection `json:"direction,omitempty"`
	Group                     *string                               `json:"group,omitempty"`
	InheritedFromParentPolicy *bool                                 `json:"inheritedFromParentPolicy,omitempty"`
	LastUpdated               *string                               `json:"lastUpdated,omitempty"`
	Mode                      *FirewallPolicyIDPSSignatureMode      `json:"mode,omitempty"`
	Protocol                  *string                               `json:"protocol,omitempty"`
	Severity                  *FirewallPolicyIDPSSignatureSeverity  `json:"severity,omitempty"`
	SignatureId               *int64                                `json:"signatureId,omitempty"`
	SourcePorts               *[]string                             `json:"sourcePorts,omitempty"`
}

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type TagsObject

type TagsObject struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type UpdateTagsOperationResponse

type UpdateTagsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallPolicy
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL