applicationgatewaywafdynamicmanifests

package
v0.20241009.1142232 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

README

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

The applicationgatewaywafdynamicmanifests SDK allows for interaction with Azure Resource Manager network (API Version 2024-03-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-sdk/resource-manager/network/2024-03-01/applicationgatewaywafdynamicmanifests"

Client Initialization

client := applicationgatewaywafdynamicmanifests.NewApplicationGatewayWafDynamicManifestsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ApplicationGatewayWafDynamicManifestsClient.DefaultGet

ctx := context.TODO()
id := applicationgatewaywafdynamicmanifests.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

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

Example Usage: ApplicationGatewayWafDynamicManifestsClient.Get

ctx := context.TODO()
id := applicationgatewaywafdynamicmanifests.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForApplicationGatewayRuleSetStatusOptions

func PossibleValuesForApplicationGatewayRuleSetStatusOptions() []string

func PossibleValuesForApplicationGatewayTierTypes

func PossibleValuesForApplicationGatewayTierTypes() []string

func PossibleValuesForApplicationGatewayWafRuleActionTypes

func PossibleValuesForApplicationGatewayWafRuleActionTypes() []string

func PossibleValuesForApplicationGatewayWafRuleSensitivityTypes

func PossibleValuesForApplicationGatewayWafRuleSensitivityTypes() []string

func PossibleValuesForApplicationGatewayWafRuleStateTypes

func PossibleValuesForApplicationGatewayWafRuleStateTypes() []string

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

Types

type ApplicationGatewayFirewallManifestRuleSet

type ApplicationGatewayFirewallManifestRuleSet struct {
	RuleGroups     []ApplicationGatewayFirewallRuleGroup   `json:"ruleGroups"`
	RuleSetType    string                                  `json:"ruleSetType"`
	RuleSetVersion string                                  `json:"ruleSetVersion"`
	Status         *ApplicationGatewayRuleSetStatusOptions `json:"status,omitempty"`
	Tiers          *[]ApplicationGatewayTierTypes          `json:"tiers,omitempty"`
}

type ApplicationGatewayFirewallRule

type ApplicationGatewayFirewallRule struct {
	Action       *ApplicationGatewayWafRuleActionTypes      `json:"action,omitempty"`
	Description  *string                                    `json:"description,omitempty"`
	RuleId       int64                                      `json:"ruleId"`
	RuleIdString *string                                    `json:"ruleIdString,omitempty"`
	Sensitivity  *ApplicationGatewayWafRuleSensitivityTypes `json:"sensitivity,omitempty"`
	State        *ApplicationGatewayWafRuleStateTypes       `json:"state,omitempty"`
}

type ApplicationGatewayFirewallRuleGroup

type ApplicationGatewayFirewallRuleGroup struct {
	Description   *string                          `json:"description,omitempty"`
	RuleGroupName string                           `json:"ruleGroupName"`
	Rules         []ApplicationGatewayFirewallRule `json:"rules"`
}

type ApplicationGatewayRuleSetStatusOptions

type ApplicationGatewayRuleSetStatusOptions string
const (
	ApplicationGatewayRuleSetStatusOptionsDeprecated ApplicationGatewayRuleSetStatusOptions = "Deprecated"
	ApplicationGatewayRuleSetStatusOptionsGA         ApplicationGatewayRuleSetStatusOptions = "GA"
	ApplicationGatewayRuleSetStatusOptionsPreview    ApplicationGatewayRuleSetStatusOptions = "Preview"
	ApplicationGatewayRuleSetStatusOptionsSupported  ApplicationGatewayRuleSetStatusOptions = "Supported"
)

func (*ApplicationGatewayRuleSetStatusOptions) UnmarshalJSON

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

type ApplicationGatewayTierTypes

type ApplicationGatewayTierTypes string
const (
	ApplicationGatewayTierTypesStandard     ApplicationGatewayTierTypes = "Standard"
	ApplicationGatewayTierTypesStandardVTwo ApplicationGatewayTierTypes = "Standard_v2"
	ApplicationGatewayTierTypesWAF          ApplicationGatewayTierTypes = "WAF"
	ApplicationGatewayTierTypesWAFVTwo      ApplicationGatewayTierTypes = "WAF_v2"
)

func (*ApplicationGatewayTierTypes) UnmarshalJSON

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

type ApplicationGatewayWafDynamicManifestPropertiesResult

type ApplicationGatewayWafDynamicManifestPropertiesResult struct {
	AvailableRuleSets *[]ApplicationGatewayFirewallManifestRuleSet `json:"availableRuleSets,omitempty"`
	DefaultRuleSet    *DefaultRuleSetPropertyFormat                `json:"defaultRuleSet,omitempty"`
}

type ApplicationGatewayWafDynamicManifestResult

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

type ApplicationGatewayWafDynamicManifestResultOperationPredicate

type ApplicationGatewayWafDynamicManifestResultOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ApplicationGatewayWafDynamicManifestResultOperationPredicate) Matches

type ApplicationGatewayWafDynamicManifestsClient

type ApplicationGatewayWafDynamicManifestsClient struct {
	Client *resourcemanager.Client
}

func NewApplicationGatewayWafDynamicManifestsClientWithBaseURI

func NewApplicationGatewayWafDynamicManifestsClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationGatewayWafDynamicManifestsClient, error)

func (ApplicationGatewayWafDynamicManifestsClient) DefaultGet

DefaultGet ...

func (ApplicationGatewayWafDynamicManifestsClient) Get

Get ...

func (ApplicationGatewayWafDynamicManifestsClient) GetComplete

GetComplete retrieves all the results into a single object

func (ApplicationGatewayWafDynamicManifestsClient) GetCompleteMatchingPredicate

GetCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ApplicationGatewayWafRuleActionTypes

type ApplicationGatewayWafRuleActionTypes string
const (
	ApplicationGatewayWafRuleActionTypesAllow          ApplicationGatewayWafRuleActionTypes = "Allow"
	ApplicationGatewayWafRuleActionTypesAnomalyScoring ApplicationGatewayWafRuleActionTypes = "AnomalyScoring"
	ApplicationGatewayWafRuleActionTypesBlock          ApplicationGatewayWafRuleActionTypes = "Block"
	ApplicationGatewayWafRuleActionTypesLog            ApplicationGatewayWafRuleActionTypes = "Log"
	ApplicationGatewayWafRuleActionTypesNone           ApplicationGatewayWafRuleActionTypes = "None"
)

func (*ApplicationGatewayWafRuleActionTypes) UnmarshalJSON

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

type ApplicationGatewayWafRuleSensitivityTypes

type ApplicationGatewayWafRuleSensitivityTypes string
const (
	ApplicationGatewayWafRuleSensitivityTypesHigh   ApplicationGatewayWafRuleSensitivityTypes = "High"
	ApplicationGatewayWafRuleSensitivityTypesLow    ApplicationGatewayWafRuleSensitivityTypes = "Low"
	ApplicationGatewayWafRuleSensitivityTypesMedium ApplicationGatewayWafRuleSensitivityTypes = "Medium"
	ApplicationGatewayWafRuleSensitivityTypesNone   ApplicationGatewayWafRuleSensitivityTypes = "None"
)

func (*ApplicationGatewayWafRuleSensitivityTypes) UnmarshalJSON

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

type ApplicationGatewayWafRuleStateTypes

type ApplicationGatewayWafRuleStateTypes string
const (
	ApplicationGatewayWafRuleStateTypesDisabled ApplicationGatewayWafRuleStateTypes = "Disabled"
	ApplicationGatewayWafRuleStateTypesEnabled  ApplicationGatewayWafRuleStateTypes = "Enabled"
)

func (*ApplicationGatewayWafRuleStateTypes) UnmarshalJSON

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

type DefaultGetOperationResponse

type DefaultGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApplicationGatewayWafDynamicManifestResult
}

type DefaultRuleSetPropertyFormat

type DefaultRuleSetPropertyFormat struct {
	RuleSetType    *string `json:"ruleSetType,omitempty"`
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
}

type GetCompleteResult

type GetCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ApplicationGatewayWafDynamicManifestResult
}

type GetCustomPager

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

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ApplicationGatewayWafDynamicManifestResult
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (*LocationId) FromParseResult

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

Jump to

Keyboard shortcuts

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