applicationgatewaywafdynamicmanifests

package
v0.20230713.1092427 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-02-01/applicationgatewaywafdynamicmanifests Documentation

The applicationgatewaywafdynamicmanifests SDK allows for interaction with the Azure Resource Manager Service network (API Version 2023-02-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/2023-02-01/applicationgatewaywafdynamicmanifests"

Client Initialization

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

Example Usage: ApplicationGatewayWafDynamicManifestsClient.ApplicationGatewayWafDynamicManifestsDefaultGet

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

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

Example Usage: ApplicationGatewayWafDynamicManifestsClient.ApplicationGatewayWafDynamicManifestsGet

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

// alternatively `client.ApplicationGatewayWafDynamicManifestsGet(ctx, id)` can be used to do batched pagination
items, err := client.ApplicationGatewayWafDynamicManifestsGetComplete(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 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"`
	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(api environments.Api) (*ApplicationGatewayWafDynamicManifestsClient, error)

func (ApplicationGatewayWafDynamicManifestsClient) ApplicationGatewayWafDynamicManifestsDefaultGet

ApplicationGatewayWafDynamicManifestsDefaultGet ...

func (ApplicationGatewayWafDynamicManifestsClient) ApplicationGatewayWafDynamicManifestsGet

ApplicationGatewayWafDynamicManifestsGet ...

func (ApplicationGatewayWafDynamicManifestsClient) ApplicationGatewayWafDynamicManifestsGetComplete

ApplicationGatewayWafDynamicManifestsGetComplete retrieves all the results into a single object

func (ApplicationGatewayWafDynamicManifestsClient) ApplicationGatewayWafDynamicManifestsGetCompleteMatchingPredicate

ApplicationGatewayWafDynamicManifestsGetCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ApplicationGatewayWafDynamicManifestsDefaultGetOperationResponse

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

type ApplicationGatewayWafDynamicManifestsGetCompleteResult

type ApplicationGatewayWafDynamicManifestsGetCompleteResult struct {
	Items []ApplicationGatewayWafDynamicManifestResult
}

type ApplicationGatewayWafDynamicManifestsGetOperationResponse

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

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 ApplicationGatewayWafRuleStateTypes

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

func (*ApplicationGatewayWafRuleStateTypes) UnmarshalJSON

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

type DefaultRuleSetPropertyFormat

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

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) 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