azurefirewalls

package
v0.20240417.1084633 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-05-01/azurefirewalls Documentation

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

Client Initialization

client := azurefirewalls.NewAzureFirewallsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AzureFirewallsClient.AzureFirewallsListLearnedPrefixes

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

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

Example Usage: AzureFirewallsClient.CreateOrUpdate

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

payload := azurefirewalls.AzureFirewall{
	// ...
}


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

Example Usage: AzureFirewallsClient.Delete

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

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

Example Usage: AzureFirewallsClient.Get

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

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

Example Usage: AzureFirewallsClient.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: AzureFirewallsClient.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: AzureFirewallsClient.PacketCapture

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

payload := azurefirewalls.FirewallPacketCaptureParameters{
	// ...
}


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

Example Usage: AzureFirewallsClient.UpdateTags

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

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


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAzureFirewallApplicationRuleProtocolType

func PossibleValuesForAzureFirewallApplicationRuleProtocolType() []string

func PossibleValuesForAzureFirewallNatRCActionType

func PossibleValuesForAzureFirewallNatRCActionType() []string

func PossibleValuesForAzureFirewallNetworkRuleProtocol

func PossibleValuesForAzureFirewallNetworkRuleProtocol() []string

func PossibleValuesForAzureFirewallPacketCaptureFlagsType

func PossibleValuesForAzureFirewallPacketCaptureFlagsType() []string

func PossibleValuesForAzureFirewallRCActionType

func PossibleValuesForAzureFirewallRCActionType() []string

func PossibleValuesForAzureFirewallSkuName

func PossibleValuesForAzureFirewallSkuName() []string

func PossibleValuesForAzureFirewallSkuTier

func PossibleValuesForAzureFirewallSkuTier() []string

func PossibleValuesForAzureFirewallThreatIntelMode

func PossibleValuesForAzureFirewallThreatIntelMode() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func ValidateAzureFirewallID

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

ValidateAzureFirewallID checks that 'input' can be parsed as a Azure Firewall ID

Types

type AzureFirewall

type AzureFirewall struct {
	Etag       *string                        `json:"etag,omitempty"`
	Id         *string                        `json:"id,omitempty"`
	Location   *string                        `json:"location,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *AzureFirewallPropertiesFormat `json:"properties,omitempty"`
	Tags       *map[string]string             `json:"tags,omitempty"`
	Type       *string                        `json:"type,omitempty"`
	Zones      *zones.Schema                  `json:"zones,omitempty"`
}

type AzureFirewallApplicationRule

type AzureFirewallApplicationRule struct {
	Description     *string                                 `json:"description,omitempty"`
	FqdnTags        *[]string                               `json:"fqdnTags,omitempty"`
	Name            *string                                 `json:"name,omitempty"`
	Protocols       *[]AzureFirewallApplicationRuleProtocol `json:"protocols,omitempty"`
	SourceAddresses *[]string                               `json:"sourceAddresses,omitempty"`
	SourceIPGroups  *[]string                               `json:"sourceIpGroups,omitempty"`
	TargetFqdns     *[]string                               `json:"targetFqdns,omitempty"`
}

type AzureFirewallApplicationRuleCollection

type AzureFirewallApplicationRuleCollection struct {
	Etag       *string                                                 `json:"etag,omitempty"`
	Id         *string                                                 `json:"id,omitempty"`
	Name       *string                                                 `json:"name,omitempty"`
	Properties *AzureFirewallApplicationRuleCollectionPropertiesFormat `json:"properties,omitempty"`
}

type AzureFirewallApplicationRuleCollectionPropertiesFormat

type AzureFirewallApplicationRuleCollectionPropertiesFormat struct {
	Action            *AzureFirewallRCAction          `json:"action,omitempty"`
	Priority          *int64                          `json:"priority,omitempty"`
	ProvisioningState *ProvisioningState              `json:"provisioningState,omitempty"`
	Rules             *[]AzureFirewallApplicationRule `json:"rules,omitempty"`
}

type AzureFirewallApplicationRuleProtocol

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

type AzureFirewallApplicationRuleProtocolType

type AzureFirewallApplicationRuleProtocolType string
const (
	AzureFirewallApplicationRuleProtocolTypeHTTP  AzureFirewallApplicationRuleProtocolType = "Http"
	AzureFirewallApplicationRuleProtocolTypeHTTPS AzureFirewallApplicationRuleProtocolType = "Https"
	AzureFirewallApplicationRuleProtocolTypeMssql AzureFirewallApplicationRuleProtocolType = "Mssql"
)

func (*AzureFirewallApplicationRuleProtocolType) UnmarshalJSON

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

type AzureFirewallIPConfiguration

type AzureFirewallIPConfiguration struct {
	Etag       *string                                       `json:"etag,omitempty"`
	Id         *string                                       `json:"id,omitempty"`
	Name       *string                                       `json:"name,omitempty"`
	Properties *AzureFirewallIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Type       *string                                       `json:"type,omitempty"`
}

type AzureFirewallIPConfigurationPropertiesFormat

type AzureFirewallIPConfigurationPropertiesFormat struct {
	PrivateIPAddress  *string            `json:"privateIPAddress,omitempty"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	PublicIPAddress   *SubResource       `json:"publicIPAddress,omitempty"`
	Subnet            *SubResource       `json:"subnet,omitempty"`
}

type AzureFirewallIPGroups

type AzureFirewallIPGroups struct {
	ChangeNumber *string `json:"changeNumber,omitempty"`
	Id           *string `json:"id,omitempty"`
}

type AzureFirewallId

type AzureFirewallId struct {
	SubscriptionId    string
	ResourceGroupName string
	AzureFirewallName string
}

AzureFirewallId is a struct representing the Resource ID for a Azure Firewall

func NewAzureFirewallID

func NewAzureFirewallID(subscriptionId string, resourceGroupName string, azureFirewallName string) AzureFirewallId

NewAzureFirewallID returns a new AzureFirewallId struct

func ParseAzureFirewallID

func ParseAzureFirewallID(input string) (*AzureFirewallId, error)

ParseAzureFirewallID parses 'input' into a AzureFirewallId

func ParseAzureFirewallIDInsensitively

func ParseAzureFirewallIDInsensitively(input string) (*AzureFirewallId, error)

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

func (*AzureFirewallId) FromParseResult

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

func (AzureFirewallId) ID

func (id AzureFirewallId) ID() string

ID returns the formatted Azure Firewall ID

func (AzureFirewallId) Segments

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

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

func (AzureFirewallId) String

func (id AzureFirewallId) String() string

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

type AzureFirewallNatRCAction

type AzureFirewallNatRCAction struct {
	Type *AzureFirewallNatRCActionType `json:"type,omitempty"`
}

type AzureFirewallNatRCActionType

type AzureFirewallNatRCActionType string
const (
	AzureFirewallNatRCActionTypeDnat AzureFirewallNatRCActionType = "Dnat"
	AzureFirewallNatRCActionTypeSnat AzureFirewallNatRCActionType = "Snat"
)

func (*AzureFirewallNatRCActionType) UnmarshalJSON

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

type AzureFirewallNatRule

type AzureFirewallNatRule struct {
	Description          *string                             `json:"description,omitempty"`
	DestinationAddresses *[]string                           `json:"destinationAddresses,omitempty"`
	DestinationPorts     *[]string                           `json:"destinationPorts,omitempty"`
	Name                 *string                             `json:"name,omitempty"`
	Protocols            *[]AzureFirewallNetworkRuleProtocol `json:"protocols,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"`
}

type AzureFirewallNatRuleCollection

type AzureFirewallNatRuleCollection struct {
	Etag       *string                                   `json:"etag,omitempty"`
	Id         *string                                   `json:"id,omitempty"`
	Name       *string                                   `json:"name,omitempty"`
	Properties *AzureFirewallNatRuleCollectionProperties `json:"properties,omitempty"`
}

type AzureFirewallNatRuleCollectionProperties

type AzureFirewallNatRuleCollectionProperties struct {
	Action            *AzureFirewallNatRCAction `json:"action,omitempty"`
	Priority          *int64                    `json:"priority,omitempty"`
	ProvisioningState *ProvisioningState        `json:"provisioningState,omitempty"`
	Rules             *[]AzureFirewallNatRule   `json:"rules,omitempty"`
}

type AzureFirewallNetworkRule

type AzureFirewallNetworkRule struct {
	Description          *string                             `json:"description,omitempty"`
	DestinationAddresses *[]string                           `json:"destinationAddresses,omitempty"`
	DestinationFqdns     *[]string                           `json:"destinationFqdns,omitempty"`
	DestinationIPGroups  *[]string                           `json:"destinationIpGroups,omitempty"`
	DestinationPorts     *[]string                           `json:"destinationPorts,omitempty"`
	Name                 *string                             `json:"name,omitempty"`
	Protocols            *[]AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"`
	SourceAddresses      *[]string                           `json:"sourceAddresses,omitempty"`
	SourceIPGroups       *[]string                           `json:"sourceIpGroups,omitempty"`
}

type AzureFirewallNetworkRuleCollection

type AzureFirewallNetworkRuleCollection struct {
	Etag       *string                                             `json:"etag,omitempty"`
	Id         *string                                             `json:"id,omitempty"`
	Name       *string                                             `json:"name,omitempty"`
	Properties *AzureFirewallNetworkRuleCollectionPropertiesFormat `json:"properties,omitempty"`
}

type AzureFirewallNetworkRuleCollectionPropertiesFormat

type AzureFirewallNetworkRuleCollectionPropertiesFormat struct {
	Action            *AzureFirewallRCAction      `json:"action,omitempty"`
	Priority          *int64                      `json:"priority,omitempty"`
	ProvisioningState *ProvisioningState          `json:"provisioningState,omitempty"`
	Rules             *[]AzureFirewallNetworkRule `json:"rules,omitempty"`
}

type AzureFirewallNetworkRuleProtocol

type AzureFirewallNetworkRuleProtocol string
const (
	AzureFirewallNetworkRuleProtocolAny  AzureFirewallNetworkRuleProtocol = "Any"
	AzureFirewallNetworkRuleProtocolICMP AzureFirewallNetworkRuleProtocol = "ICMP"
	AzureFirewallNetworkRuleProtocolTCP  AzureFirewallNetworkRuleProtocol = "TCP"
	AzureFirewallNetworkRuleProtocolUDP  AzureFirewallNetworkRuleProtocol = "UDP"
)

func (*AzureFirewallNetworkRuleProtocol) UnmarshalJSON

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

type AzureFirewallOperationPredicate

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

func (AzureFirewallOperationPredicate) Matches

type AzureFirewallPacketCaptureFlags

type AzureFirewallPacketCaptureFlags struct {
	Type *AzureFirewallPacketCaptureFlagsType `json:"type,omitempty"`
}

type AzureFirewallPacketCaptureFlagsType

type AzureFirewallPacketCaptureFlagsType string
const (
	AzureFirewallPacketCaptureFlagsTypeAck  AzureFirewallPacketCaptureFlagsType = "ack"
	AzureFirewallPacketCaptureFlagsTypeFin  AzureFirewallPacketCaptureFlagsType = "fin"
	AzureFirewallPacketCaptureFlagsTypePush AzureFirewallPacketCaptureFlagsType = "push"
	AzureFirewallPacketCaptureFlagsTypeRst  AzureFirewallPacketCaptureFlagsType = "rst"
	AzureFirewallPacketCaptureFlagsTypeSyn  AzureFirewallPacketCaptureFlagsType = "syn"
	AzureFirewallPacketCaptureFlagsTypeUrg  AzureFirewallPacketCaptureFlagsType = "urg"
)

func (*AzureFirewallPacketCaptureFlagsType) UnmarshalJSON

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

type AzureFirewallPacketCaptureRule

type AzureFirewallPacketCaptureRule struct {
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
	Destinations     *[]string `json:"destinations,omitempty"`
	Sources          *[]string `json:"sources,omitempty"`
}

type AzureFirewallPropertiesFormat

type AzureFirewallPropertiesFormat struct {
	AdditionalProperties       *map[string]string                        `json:"additionalProperties,omitempty"`
	ApplicationRuleCollections *[]AzureFirewallApplicationRuleCollection `json:"applicationRuleCollections,omitempty"`
	FirewallPolicy             *SubResource                              `json:"firewallPolicy,omitempty"`
	HubIPAddresses             *HubIPAddresses                           `json:"hubIPAddresses,omitempty"`
	IPConfigurations           *[]AzureFirewallIPConfiguration           `json:"ipConfigurations,omitempty"`
	IPGroups                   *[]AzureFirewallIPGroups                  `json:"ipGroups,omitempty"`
	ManagementIPConfiguration  *AzureFirewallIPConfiguration             `json:"managementIpConfiguration,omitempty"`
	NatRuleCollections         *[]AzureFirewallNatRuleCollection         `json:"natRuleCollections,omitempty"`
	NetworkRuleCollections     *[]AzureFirewallNetworkRuleCollection     `json:"networkRuleCollections,omitempty"`
	ProvisioningState          *ProvisioningState                        `json:"provisioningState,omitempty"`
	Sku                        *AzureFirewallSku                         `json:"sku,omitempty"`
	ThreatIntelMode            *AzureFirewallThreatIntelMode             `json:"threatIntelMode,omitempty"`
	VirtualHub                 *SubResource                              `json:"virtualHub,omitempty"`
}

type AzureFirewallPublicIPAddress

type AzureFirewallPublicIPAddress struct {
	Address *string `json:"address,omitempty"`
}

type AzureFirewallRCAction

type AzureFirewallRCAction struct {
	Type *AzureFirewallRCActionType `json:"type,omitempty"`
}

type AzureFirewallRCActionType

type AzureFirewallRCActionType string
const (
	AzureFirewallRCActionTypeAllow AzureFirewallRCActionType = "Allow"
	AzureFirewallRCActionTypeDeny  AzureFirewallRCActionType = "Deny"
)

func (*AzureFirewallRCActionType) UnmarshalJSON

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

type AzureFirewallSku

type AzureFirewallSku struct {
	Name *AzureFirewallSkuName `json:"name,omitempty"`
	Tier *AzureFirewallSkuTier `json:"tier,omitempty"`
}

type AzureFirewallSkuName

type AzureFirewallSkuName string
const (
	AzureFirewallSkuNameAZFWHub  AzureFirewallSkuName = "AZFW_Hub"
	AzureFirewallSkuNameAZFWVNet AzureFirewallSkuName = "AZFW_VNet"
)

func (*AzureFirewallSkuName) UnmarshalJSON

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

type AzureFirewallSkuTier

type AzureFirewallSkuTier string
const (
	AzureFirewallSkuTierBasic    AzureFirewallSkuTier = "Basic"
	AzureFirewallSkuTierPremium  AzureFirewallSkuTier = "Premium"
	AzureFirewallSkuTierStandard AzureFirewallSkuTier = "Standard"
)

func (*AzureFirewallSkuTier) UnmarshalJSON

func (s *AzureFirewallSkuTier) 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 AzureFirewallsClient

type AzureFirewallsClient struct {
	Client *resourcemanager.Client
}

func NewAzureFirewallsClientWithBaseURI

func NewAzureFirewallsClientWithBaseURI(sdkApi sdkEnv.Api) (*AzureFirewallsClient, error)

func (AzureFirewallsClient) AzureFirewallsListLearnedPrefixes

func (c AzureFirewallsClient) AzureFirewallsListLearnedPrefixes(ctx context.Context, id AzureFirewallId) (result AzureFirewallsListLearnedPrefixesOperationResponse, err error)

AzureFirewallsListLearnedPrefixes ...

func (AzureFirewallsClient) AzureFirewallsListLearnedPrefixesThenPoll

func (c AzureFirewallsClient) AzureFirewallsListLearnedPrefixesThenPoll(ctx context.Context, id AzureFirewallId) error

AzureFirewallsListLearnedPrefixesThenPoll performs AzureFirewallsListLearnedPrefixes then polls until it's completed

func (AzureFirewallsClient) CreateOrUpdate

CreateOrUpdate ...

func (AzureFirewallsClient) CreateOrUpdateThenPoll

func (c AzureFirewallsClient) CreateOrUpdateThenPoll(ctx context.Context, id AzureFirewallId, input AzureFirewall) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (AzureFirewallsClient) Delete

Delete ...

func (AzureFirewallsClient) DeleteThenPoll

func (c AzureFirewallsClient) DeleteThenPoll(ctx context.Context, id AzureFirewallId) error

DeleteThenPoll performs Delete then polls until it's completed

func (AzureFirewallsClient) Get

Get ...

func (AzureFirewallsClient) List

List ...

func (AzureFirewallsClient) ListAll

ListAll ...

func (AzureFirewallsClient) ListAllComplete

ListAllComplete retrieves all the results into a single object

func (AzureFirewallsClient) ListAllCompleteMatchingPredicate

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

ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AzureFirewallsClient) ListComplete

ListComplete retrieves all the results into a single object

func (AzureFirewallsClient) ListCompleteMatchingPredicate

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

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AzureFirewallsClient) PacketCapture

PacketCapture ...

func (AzureFirewallsClient) PacketCaptureThenPoll

PacketCaptureThenPoll performs PacketCapture then polls until it's completed

func (AzureFirewallsClient) UpdateTags

UpdateTags ...

func (AzureFirewallsClient) UpdateTagsThenPoll

func (c AzureFirewallsClient) UpdateTagsThenPoll(ctx context.Context, id AzureFirewallId, input TagsObject) error

UpdateTagsThenPoll performs UpdateTags then polls until it's completed

type AzureFirewallsListLearnedPrefixesOperationResponse

type AzureFirewallsListLearnedPrefixesOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *IPPrefixesList
}

type CreateOrUpdateOperationResponse

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

type DeleteOperationResponse

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

type FirewallPacketCaptureParameters

type FirewallPacketCaptureParameters struct {
	Id         *string                                `json:"id,omitempty"`
	Properties *FirewallPacketCaptureParametersFormat `json:"properties,omitempty"`
}

type FirewallPacketCaptureParametersFormat

type FirewallPacketCaptureParametersFormat struct {
	DurationInSeconds        *int64                             `json:"durationInSeconds,omitempty"`
	FileName                 *string                            `json:"fileName,omitempty"`
	Filters                  *[]AzureFirewallPacketCaptureRule  `json:"filters,omitempty"`
	Flags                    *[]AzureFirewallPacketCaptureFlags `json:"flags,omitempty"`
	NumberOfPacketsToCapture *int64                             `json:"numberOfPacketsToCapture,omitempty"`
	Protocol                 *AzureFirewallNetworkRuleProtocol  `json:"protocol,omitempty"`
	SasUrl                   *string                            `json:"sasUrl,omitempty"`
}

type GetOperationResponse

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

type HubIPAddresses

type HubIPAddresses struct {
	PrivateIPAddress *string               `json:"privateIPAddress,omitempty"`
	PublicIPs        *HubPublicIPAddresses `json:"publicIPs,omitempty"`
}

type HubPublicIPAddresses

type HubPublicIPAddresses struct {
	Addresses *[]AzureFirewallPublicIPAddress `json:"addresses,omitempty"`
	Count     *int64                          `json:"count,omitempty"`
}

type IPPrefixesList

type IPPrefixesList struct {
	IPPrefixes *[]string `json:"ipPrefixes,omitempty"`
}

type ListAllCompleteResult

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

type ListAllOperationResponse

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

type ListCompleteResult

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

type ListOperationResponse

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

type PacketCaptureOperationResponse

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

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 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 {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AzureFirewall
}

Jump to

Keyboard shortcuts

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