firewalls

package
v0.20230714.1170806 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MPL-2.0 Imports: 16 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/paloaltonetworks/2022-08-29/firewalls Documentation

The firewalls SDK allows for interaction with the Azure Resource Manager Service paloaltonetworks (API Version 2022-08-29).

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/paloaltonetworks/2022-08-29/firewalls"

Client Initialization

client := firewalls.NewFirewallsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FirewallsClient.AveLogProfile

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

payload := firewalls.LogSettings{
	// ...
}


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

Example Usage: FirewallsClient.CreateOrUpdate

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

payload := firewalls.FirewallResource{
	// ...
}


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

Example Usage: FirewallsClient.Delete

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

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

Example Usage: FirewallsClient.Get

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

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: FirewallsClient.GetGlobalRulestack

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

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

Example Usage: FirewallsClient.GetLogProfile

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

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

Example Usage: FirewallsClient.GetSupportInfo

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

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

Example Usage: FirewallsClient.ListByResourceGroup

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

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

Example Usage: FirewallsClient.ListBySubscription

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

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

Example Usage: FirewallsClient.Update

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

payload := firewalls.FirewallResourceUpdate{
	// ...
}


read, err := client.Update(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 PossibleValuesForBillingCycle

func PossibleValuesForBillingCycle() []string

func PossibleValuesForBooleanEnum

func PossibleValuesForBooleanEnum() []string

func PossibleValuesForDNSProxy

func PossibleValuesForDNSProxy() []string

func PossibleValuesForEgressNat

func PossibleValuesForEgressNat() []string

func PossibleValuesForEnabledDNSType

func PossibleValuesForEnabledDNSType() []string

func PossibleValuesForLogOption

func PossibleValuesForLogOption() []string

func PossibleValuesForLogType

func PossibleValuesForLogType() []string

func PossibleValuesForMarketplaceSubscriptionStatus

func PossibleValuesForMarketplaceSubscriptionStatus() []string

func PossibleValuesForNetworkType

func PossibleValuesForNetworkType() []string

func PossibleValuesForProtocolType

func PossibleValuesForProtocolType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForUsageType

func PossibleValuesForUsageType() []string

func ValidateFirewallID

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

ValidateFirewallID checks that 'input' can be parsed as a Firewall ID

Types

type ApplicationInsights

type ApplicationInsights struct {
	Id  *string `json:"id,omitempty"`
	Key *string `json:"key,omitempty"`
}

type AveLogProfileOperationResponse

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

type BillingCycle

type BillingCycle string
const (
	BillingCycleMONTHLY BillingCycle = "MONTHLY"
	BillingCycleWEEKLY  BillingCycle = "WEEKLY"
)

func (*BillingCycle) UnmarshalJSON

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

type BooleanEnum

type BooleanEnum string
const (
	BooleanEnumFALSE BooleanEnum = "FALSE"
	BooleanEnumTRUE  BooleanEnum = "TRUE"
)

func (*BooleanEnum) UnmarshalJSON

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

type CreateOrUpdateOperationResponse

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

type DNSProxy

type DNSProxy string
const (
	DNSProxyDISABLED DNSProxy = "DISABLED"
	DNSProxyENABLED  DNSProxy = "ENABLED"
)

func (*DNSProxy) UnmarshalJSON

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

type DNSSettings

type DNSSettings struct {
	DnsServers     *[]IPAddress    `json:"dnsServers,omitempty"`
	EnableDnsProxy *DNSProxy       `json:"enableDnsProxy,omitempty"`
	EnabledDnsType *EnabledDNSType `json:"enabledDnsType,omitempty"`
}

type DeleteOperationResponse

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

type EgressNat

type EgressNat string
const (
	EgressNatDISABLED EgressNat = "DISABLED"
	EgressNatENABLED  EgressNat = "ENABLED"
)

func (*EgressNat) UnmarshalJSON

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

type EnabledDNSType

type EnabledDNSType string
const (
	EnabledDNSTypeAZURE  EnabledDNSType = "AZURE"
	EnabledDNSTypeCUSTOM EnabledDNSType = "CUSTOM"
)

func (*EnabledDNSType) UnmarshalJSON

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

type EndpointConfiguration

type EndpointConfiguration struct {
	Address IPAddress `json:"address"`
	Port    string    `json:"port"`
}

type EventHub

type EventHub struct {
	Id             *string `json:"id,omitempty"`
	Name           *string `json:"name,omitempty"`
	NameSpace      *string `json:"nameSpace,omitempty"`
	PolicyName     *string `json:"policyName,omitempty"`
	SubscriptionId *string `json:"subscriptionId,omitempty"`
}

type FirewallDeploymentProperties

type FirewallDeploymentProperties struct {
	AssociatedRulestack *RulestackDetails  `json:"associatedRulestack,omitempty"`
	DnsSettings         DNSSettings        `json:"dnsSettings"`
	FrontEndSettings    *[]FrontendSetting `json:"frontEndSettings,omitempty"`
	IsPanoramaManaged   *BooleanEnum       `json:"isPanoramaManaged,omitempty"`
	MarketplaceDetails  MarketplaceDetails `json:"marketplaceDetails"`
	NetworkProfile      NetworkProfile     `json:"networkProfile"`
	PanEtag             *string            `json:"panEtag,omitempty"`
	PanoramaConfig      *PanoramaConfig    `json:"panoramaConfig,omitempty"`
	PlanData            PlanData           `json:"planData"`
	ProvisioningState   *ProvisioningState `json:"provisioningState,omitempty"`
}

type FirewallId

type FirewallId struct {
	SubscriptionId    string
	ResourceGroupName string
	FirewallName      string
}

FirewallId is a struct representing the Resource ID for a Firewall

func NewFirewallID

func NewFirewallID(subscriptionId string, resourceGroupName string, firewallName string) FirewallId

NewFirewallID returns a new FirewallId struct

func ParseFirewallID

func ParseFirewallID(input string) (*FirewallId, error)

ParseFirewallID parses 'input' into a FirewallId

func ParseFirewallIDInsensitively

func ParseFirewallIDInsensitively(input string) (*FirewallId, error)

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

func (FirewallId) ID

func (id FirewallId) ID() string

ID returns the formatted Firewall ID

func (FirewallId) Segments

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

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

func (FirewallId) String

func (id FirewallId) String() string

String returns a human-readable description of this Firewall ID

type FirewallResource

type FirewallResource struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   string                                   `json:"location"`
	Name       *string                                  `json:"name,omitempty"`
	Properties FirewallDeploymentProperties             `json:"properties"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type FirewallResourceOperationPredicate

type FirewallResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (FirewallResourceOperationPredicate) Matches

type FirewallResourceUpdate

type FirewallResourceUpdate struct {
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Properties *FirewallResourceUpdateProperties        `json:"properties,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
}

type FirewallResourceUpdateProperties

type FirewallResourceUpdateProperties struct {
	AssociatedRulestack *RulestackDetails   `json:"associatedRulestack,omitempty"`
	DnsSettings         *DNSSettings        `json:"dnsSettings,omitempty"`
	FrontEndSettings    *[]FrontendSetting  `json:"frontEndSettings,omitempty"`
	IsPanoramaManaged   *BooleanEnum        `json:"isPanoramaManaged,omitempty"`
	MarketplaceDetails  *MarketplaceDetails `json:"marketplaceDetails,omitempty"`
	NetworkProfile      *NetworkProfile     `json:"networkProfile,omitempty"`
	PanEtag             *string             `json:"panEtag,omitempty"`
	PanoramaConfig      *PanoramaConfig     `json:"panoramaConfig,omitempty"`
	PlanData            *PlanData           `json:"planData,omitempty"`
}

type FirewallsClient

type FirewallsClient struct {
	Client *resourcemanager.Client
}

func NewFirewallsClientWithBaseURI

func NewFirewallsClientWithBaseURI(api environments.Api) (*FirewallsClient, error)

func (FirewallsClient) AveLogProfile

func (c FirewallsClient) AveLogProfile(ctx context.Context, id FirewallId, input LogSettings) (result AveLogProfileOperationResponse, err error)

AveLogProfile ...

func (FirewallsClient) CreateOrUpdate

func (c FirewallsClient) CreateOrUpdate(ctx context.Context, id FirewallId, input FirewallResource) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (FirewallsClient) CreateOrUpdateThenPoll

func (c FirewallsClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallId, input FirewallResource) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FirewallsClient) Delete

func (c FirewallsClient) Delete(ctx context.Context, id FirewallId) (result DeleteOperationResponse, err error)

Delete ...

func (FirewallsClient) DeleteThenPoll

func (c FirewallsClient) DeleteThenPoll(ctx context.Context, id FirewallId) error

DeleteThenPoll performs Delete then polls until it's completed

func (FirewallsClient) Get

func (c FirewallsClient) Get(ctx context.Context, id FirewallId) (result GetOperationResponse, err error)

Get ...

func (FirewallsClient) GetGlobalRulestack

func (c FirewallsClient) GetGlobalRulestack(ctx context.Context, id FirewallId) (result GetGlobalRulestackOperationResponse, err error)

GetGlobalRulestack ...

func (FirewallsClient) GetLogProfile

func (c FirewallsClient) GetLogProfile(ctx context.Context, id FirewallId) (result GetLogProfileOperationResponse, err error)

GetLogProfile ...

func (FirewallsClient) GetSupportInfo

GetSupportInfo ...

func (FirewallsClient) ListByResourceGroup

ListByResourceGroup ...

func (FirewallsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (FirewallsClient) ListByResourceGroupCompleteMatchingPredicate

func (c FirewallsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FirewallResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FirewallsClient) ListBySubscription

ListBySubscription ...

func (FirewallsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (FirewallsClient) ListBySubscriptionCompleteMatchingPredicate

func (c FirewallsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FirewallResourceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FirewallsClient) Update

Update ...

type FrontendSetting

type FrontendSetting struct {
	BackendConfiguration  EndpointConfiguration `json:"backendConfiguration"`
	FrontendConfiguration EndpointConfiguration `json:"frontendConfiguration"`
	Name                  string                `json:"name"`
	Protocol              ProtocolType          `json:"protocol"`
}

type GetGlobalRulestackOperationResponse

type GetGlobalRulestackOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *GlobalRulestackInfo
}

type GetLogProfileOperationResponse

type GetLogProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *LogSettings
}

type GetOperationResponse

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

type GetSupportInfoOperationOptions

type GetSupportInfoOperationOptions struct {
	Email *string
}

func DefaultGetSupportInfoOperationOptions

func DefaultGetSupportInfoOperationOptions() GetSupportInfoOperationOptions

func (GetSupportInfoOperationOptions) ToHeaders

func (GetSupportInfoOperationOptions) ToOData

func (GetSupportInfoOperationOptions) ToQuery

type GetSupportInfoOperationResponse

type GetSupportInfoOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SupportInfo
}

type GlobalRulestackInfo

type GlobalRulestackInfo struct {
	AzureId string `json:"azureId"`
}

type IPAddress

type IPAddress struct {
	Address    *string `json:"address,omitempty"`
	ResourceId *string `json:"resourceId,omitempty"`
}

type IPAddressSpace

type IPAddressSpace struct {
	AddressSpace *string `json:"addressSpace,omitempty"`
	ResourceId   *string `json:"resourceId,omitempty"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []FirewallResource
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FirewallResource
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []FirewallResource
}

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FirewallResource
}

type LogDestination

type LogDestination struct {
	EventHubConfigurations *EventHub       `json:"eventHubConfigurations,omitempty"`
	MonitorConfigurations  *MonitorLog     `json:"monitorConfigurations,omitempty"`
	StorageConfigurations  *StorageAccount `json:"storageConfigurations,omitempty"`
}

type LogOption

type LogOption string
const (
	LogOptionINDIVIDUALDESTINATION LogOption = "INDIVIDUAL_DESTINATION"
	LogOptionSAMEDESTINATION       LogOption = "SAME_DESTINATION"
)

func (*LogOption) UnmarshalJSON

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

type LogSettings

type LogSettings struct {
	ApplicationInsights   *ApplicationInsights `json:"applicationInsights,omitempty"`
	CommonDestination     *LogDestination      `json:"commonDestination,omitempty"`
	DecryptLogDestination *LogDestination      `json:"decryptLogDestination,omitempty"`
	LogOption             *LogOption           `json:"logOption,omitempty"`
	LogType               *LogType             `json:"logType,omitempty"`
	ThreatLogDestination  *LogDestination      `json:"threatLogDestination,omitempty"`
	TrafficLogDestination *LogDestination      `json:"trafficLogDestination,omitempty"`
}

type LogType

type LogType string
const (
	LogTypeAUDIT      LogType = "AUDIT"
	LogTypeDECRYPTION LogType = "DECRYPTION"
	LogTypeDLP        LogType = "DLP"
	LogTypeTHREAT     LogType = "THREAT"
	LogTypeTRAFFIC    LogType = "TRAFFIC"
	LogTypeWILDFIRE   LogType = "WILDFIRE"
)

func (*LogType) UnmarshalJSON

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

type MarketplaceDetails

type MarketplaceDetails struct {
	MarketplaceSubscriptionId     *string                        `json:"marketplaceSubscriptionId,omitempty"`
	MarketplaceSubscriptionStatus *MarketplaceSubscriptionStatus `json:"marketplaceSubscriptionStatus,omitempty"`
	OfferId                       string                         `json:"offerId"`
	PublisherId                   string                         `json:"publisherId"`
}

type MarketplaceSubscriptionStatus

type MarketplaceSubscriptionStatus string
const (
	MarketplaceSubscriptionStatusFulfillmentRequested    MarketplaceSubscriptionStatus = "FulfillmentRequested"
	MarketplaceSubscriptionStatusNotStarted              MarketplaceSubscriptionStatus = "NotStarted"
	MarketplaceSubscriptionStatusPendingFulfillmentStart MarketplaceSubscriptionStatus = "PendingFulfillmentStart"
	MarketplaceSubscriptionStatusSubscribed              MarketplaceSubscriptionStatus = "Subscribed"
	MarketplaceSubscriptionStatusSuspended               MarketplaceSubscriptionStatus = "Suspended"
	MarketplaceSubscriptionStatusUnsubscribed            MarketplaceSubscriptionStatus = "Unsubscribed"
)

func (*MarketplaceSubscriptionStatus) UnmarshalJSON

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

type MonitorLog

type MonitorLog struct {
	Id             *string `json:"id,omitempty"`
	PrimaryKey     *string `json:"primaryKey,omitempty"`
	SecondaryKey   *string `json:"secondaryKey,omitempty"`
	SubscriptionId *string `json:"subscriptionId,omitempty"`
	Workspace      *string `json:"workspace,omitempty"`
}

type NetworkProfile

type NetworkProfile struct {
	EgressNatIP       *[]IPAddress       `json:"egressNatIp,omitempty"`
	EnableEgressNat   EgressNat          `json:"enableEgressNat"`
	NetworkType       NetworkType        `json:"networkType"`
	PublicIPs         []IPAddress        `json:"publicIps"`
	VnetConfiguration *VnetConfiguration `json:"vnetConfiguration,omitempty"`
	VwanConfiguration *VwanConfiguration `json:"vwanConfiguration,omitempty"`
}

type NetworkType

type NetworkType string
const (
	NetworkTypeVNET NetworkType = "VNET"
	NetworkTypeVWAN NetworkType = "VWAN"
)

func (*NetworkType) UnmarshalJSON

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

type PanoramaConfig

type PanoramaConfig struct {
	CgName          *string `json:"cgName,omitempty"`
	ConfigString    string  `json:"configString"`
	DgName          *string `json:"dgName,omitempty"`
	HostName        *string `json:"hostName,omitempty"`
	PanoramaServer  *string `json:"panoramaServer,omitempty"`
	PanoramaServer2 *string `json:"panoramaServer2,omitempty"`
	TplName         *string `json:"tplName,omitempty"`
	VMAuthKey       *string `json:"vmAuthKey,omitempty"`
}

type PlanData

type PlanData struct {
	BillingCycle  BillingCycle `json:"billingCycle"`
	EffectiveDate *string      `json:"effectiveDate,omitempty"`
	PlanId        string       `json:"planId"`
	UsageType     *UsageType   `json:"usageType,omitempty"`
}

func (*PlanData) GetEffectiveDateAsTime

func (o *PlanData) GetEffectiveDateAsTime() (*time.Time, error)

func (*PlanData) SetEffectiveDateAsTime

func (o *PlanData) SetEffectiveDateAsTime(input time.Time)

type ProtocolType

type ProtocolType string
const (
	ProtocolTypeTCP ProtocolType = "TCP"
	ProtocolTypeUDP ProtocolType = "UDP"
)

func (*ProtocolType) UnmarshalJSON

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

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateCreating     ProvisioningState = "Creating"
	ProvisioningStateDeleted      ProvisioningState = "Deleted"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

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

type RulestackDetails

type RulestackDetails struct {
	Location    *string `json:"location,omitempty"`
	ResourceId  *string `json:"resourceId,omitempty"`
	RulestackId *string `json:"rulestackId,omitempty"`
}

type StorageAccount

type StorageAccount struct {
	AccountName    *string `json:"accountName,omitempty"`
	Id             *string `json:"id,omitempty"`
	SubscriptionId *string `json:"subscriptionId,omitempty"`
}

type SupportInfo

type SupportInfo struct {
	AccountId           *string      `json:"accountId,omitempty"`
	AccountRegistered   *BooleanEnum `json:"accountRegistered,omitempty"`
	FreeTrial           *BooleanEnum `json:"freeTrial,omitempty"`
	FreeTrialCreditLeft *int64       `json:"freeTrialCreditLeft,omitempty"`
	FreeTrialDaysLeft   *int64       `json:"freeTrialDaysLeft,omitempty"`
	HelpURL             *string      `json:"helpURL,omitempty"`
	ProductSerial       *string      `json:"productSerial,omitempty"`
	ProductSku          *string      `json:"productSku,omitempty"`
	RegisterURL         *string      `json:"registerURL,omitempty"`
	SupportURL          *string      `json:"supportURL,omitempty"`
	UserDomainSupported *BooleanEnum `json:"userDomainSupported,omitempty"`
	UserRegistered      *BooleanEnum `json:"userRegistered,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FirewallResource
}

type UsageType

type UsageType string
const (
	UsageTypeCOMMITTED UsageType = "COMMITTED"
	UsageTypePAYG      UsageType = "PAYG"
)

func (*UsageType) UnmarshalJSON

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

type VnetConfiguration

type VnetConfiguration struct {
	IPOfTrustSubnetForUdr *IPAddress     `json:"ipOfTrustSubnetForUdr,omitempty"`
	TrustSubnet           IPAddressSpace `json:"trustSubnet"`
	UnTrustSubnet         IPAddressSpace `json:"unTrustSubnet"`
	Vnet                  IPAddressSpace `json:"vnet"`
}

type VwanConfiguration

type VwanConfiguration struct {
	IPOfTrustSubnetForUdr     *IPAddress      `json:"ipOfTrustSubnetForUdr,omitempty"`
	NetworkVirtualApplianceId *string         `json:"networkVirtualApplianceId,omitempty"`
	TrustSubnet               *IPAddressSpace `json:"trustSubnet,omitempty"`
	UnTrustSubnet             *IPAddressSpace `json:"unTrustSubnet,omitempty"`
	VHub                      IPAddressSpace  `json:"vHub"`
}

Jump to

Keyboard shortcuts

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