localrulestacks

package
v0.20240606.1065251 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/paloaltonetworks/2023-09-01/localrulestacks Documentation

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

Client Initialization

client := localrulestacks.NewLocalRulestacksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: LocalRulestacksClient.Commit

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

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

Example Usage: LocalRulestacksClient.CreateOrUpdate

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

payload := localrulestacks.LocalRulestackResource{
	// ...
}


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

Example Usage: LocalRulestacksClient.Delete

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

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

Example Usage: LocalRulestacksClient.Get

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

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: LocalRulestacksClient.GetChangeLog

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

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

Example Usage: LocalRulestacksClient.GetSupportInfo

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

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

Example Usage: LocalRulestacksClient.ListAdvancedSecurityObjects

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

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

Example Usage: LocalRulestacksClient.ListAppIds

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

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

Example Usage: LocalRulestacksClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.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: LocalRulestacksClient.ListBySubscription

ctx := context.TODO()
id := commonids.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: LocalRulestacksClient.ListCountries

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

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

Example Usage: LocalRulestacksClient.ListFirewalls

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

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

Example Usage: LocalRulestacksClient.ListPredefinedUrlCategories

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

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

Example Usage: LocalRulestacksClient.ListSecurityServices

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

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

Example Usage: LocalRulestacksClient.Revert

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

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

Example Usage: LocalRulestacksClient.Update

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

payload := localrulestacks.LocalRulestackResourceUpdate{
	// ...
}


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 PossibleValuesForAdvSecurityObjectTypeEnum

func PossibleValuesForAdvSecurityObjectTypeEnum() []string

func PossibleValuesForBooleanEnum

func PossibleValuesForBooleanEnum() []string

func PossibleValuesForDefaultMode

func PossibleValuesForDefaultMode() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForScopeType

func PossibleValuesForScopeType() []string

func PossibleValuesForSecurityServicesTypeEnum

func PossibleValuesForSecurityServicesTypeEnum() []string

func ValidateLocalRulestackID

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

ValidateLocalRulestackID checks that 'input' can be parsed as a Local Rulestack ID

Types

type AdvSecurityObjectModel

type AdvSecurityObjectModel struct {
	Entry []NameDescriptionObject `json:"entry"`
	Type  *string                 `json:"type,omitempty"`
}

type AdvSecurityObjectModelOperationPredicate added in v0.20240227.1172434

type AdvSecurityObjectModelOperationPredicate struct {
	Type *string
}

func (AdvSecurityObjectModelOperationPredicate) Matches added in v0.20240227.1172434

type AdvSecurityObjectTypeEnum

type AdvSecurityObjectTypeEnum string
const (
	AdvSecurityObjectTypeEnumFeeds     AdvSecurityObjectTypeEnum = "feeds"
	AdvSecurityObjectTypeEnumUrlCustom AdvSecurityObjectTypeEnum = "urlCustom"
)

func (*AdvSecurityObjectTypeEnum) UnmarshalJSON

func (s *AdvSecurityObjectTypeEnum) 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 Changelog

type Changelog struct {
	Changes       []string `json:"changes"`
	LastCommitted *string  `json:"lastCommitted,omitempty"`
	LastModified  *string  `json:"lastModified,omitempty"`
}

func (*Changelog) GetLastCommittedAsTime

func (o *Changelog) GetLastCommittedAsTime() (*time.Time, error)

func (*Changelog) GetLastModifiedAsTime

func (o *Changelog) GetLastModifiedAsTime() (*time.Time, error)

func (*Changelog) SetLastCommittedAsTime

func (o *Changelog) SetLastCommittedAsTime(input time.Time)

func (*Changelog) SetLastModifiedAsTime

func (o *Changelog) SetLastModifiedAsTime(input time.Time)

type CommitOperationResponse

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

type Country

type Country struct {
	Code        string  `json:"code"`
	Description *string `json:"description,omitempty"`
}

type CountryOperationPredicate

type CountryOperationPredicate struct {
	Code        *string
	Description *string
}

func (CountryOperationPredicate) Matches

func (p CountryOperationPredicate) Matches(input Country) bool

type CreateOrUpdateOperationResponse

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

type DefaultMode

type DefaultMode string
const (
	DefaultModeFIREWALL DefaultMode = "FIREWALL"
	DefaultModeIPS      DefaultMode = "IPS"
	DefaultModeNONE     DefaultMode = "NONE"
)

func (*DefaultMode) UnmarshalJSON

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

type DeleteOperationResponse

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

type GetChangeLogOperationResponse

type GetChangeLogOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Changelog
}

type GetOperationResponse

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

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 ListAdvancedSecurityObjectsCompleteResult added in v0.20240227.1172434

type ListAdvancedSecurityObjectsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AdvSecurityObjectModel
}

type ListAdvancedSecurityObjectsOperationOptions

type ListAdvancedSecurityObjectsOperationOptions struct {
	Skip *string
	Top  *int64
	Type *AdvSecurityObjectTypeEnum
}

func DefaultListAdvancedSecurityObjectsOperationOptions

func DefaultListAdvancedSecurityObjectsOperationOptions() ListAdvancedSecurityObjectsOperationOptions

func (ListAdvancedSecurityObjectsOperationOptions) ToHeaders

func (ListAdvancedSecurityObjectsOperationOptions) ToOData

func (ListAdvancedSecurityObjectsOperationOptions) ToQuery

type ListAdvancedSecurityObjectsOperationResponse

type ListAdvancedSecurityObjectsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AdvSecurityObjectModel
}

type ListAppIdsCompleteResult

type ListAppIdsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type ListAppIdsOperationOptions

type ListAppIdsOperationOptions struct {
	AppIdVersion *string
	AppPrefix    *string
	Skip         *string
	Top          *int64
}

func DefaultListAppIdsOperationOptions

func DefaultListAppIdsOperationOptions() ListAppIdsOperationOptions

func (ListAppIdsOperationOptions) ToHeaders

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

func (ListAppIdsOperationOptions) ToOData

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

func (ListAppIdsOperationOptions) ToQuery

type ListAppIdsOperationResponse

type ListAppIdsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []LocalRulestackResource
}

type ListByResourceGroupOperationResponse

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

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []LocalRulestackResource
}

type ListBySubscriptionOperationResponse

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

type ListCountriesCompleteResult

type ListCountriesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Country
}

type ListCountriesOperationOptions

type ListCountriesOperationOptions struct {
	Skip *string
	Top  *int64
}

func DefaultListCountriesOperationOptions

func DefaultListCountriesOperationOptions() ListCountriesOperationOptions

func (ListCountriesOperationOptions) ToHeaders

func (ListCountriesOperationOptions) ToOData

func (ListCountriesOperationOptions) ToQuery

type ListCountriesOperationResponse

type ListCountriesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Country
}

type ListFirewallsCompleteResult added in v0.20240227.1172434

type ListFirewallsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []string
}

type ListFirewallsOperationResponse

type ListFirewallsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]string
}

type ListPredefinedUrlCategoriesCompleteResult

type ListPredefinedUrlCategoriesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []PredefinedUrlCategory
}

type ListPredefinedUrlCategoriesOperationOptions

type ListPredefinedUrlCategoriesOperationOptions struct {
	Skip *string
	Top  *int64
}

func DefaultListPredefinedUrlCategoriesOperationOptions

func DefaultListPredefinedUrlCategoriesOperationOptions() ListPredefinedUrlCategoriesOperationOptions

func (ListPredefinedUrlCategoriesOperationOptions) ToHeaders

func (ListPredefinedUrlCategoriesOperationOptions) ToOData

func (ListPredefinedUrlCategoriesOperationOptions) ToQuery

type ListPredefinedUrlCategoriesOperationResponse

type ListPredefinedUrlCategoriesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PredefinedUrlCategory
}

type ListSecurityServicesCompleteResult added in v0.20240227.1172434

type ListSecurityServicesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []SecurityServicesTypeList
}

type ListSecurityServicesOperationOptions

type ListSecurityServicesOperationOptions struct {
	Skip *string
	Top  *int64
	Type *SecurityServicesTypeEnum
}

func DefaultListSecurityServicesOperationOptions

func DefaultListSecurityServicesOperationOptions() ListSecurityServicesOperationOptions

func (ListSecurityServicesOperationOptions) ToHeaders

func (ListSecurityServicesOperationOptions) ToOData

func (ListSecurityServicesOperationOptions) ToQuery

type ListSecurityServicesOperationResponse

type ListSecurityServicesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]SecurityServicesTypeList
}

type LocalRulestackId

type LocalRulestackId struct {
	SubscriptionId     string
	ResourceGroupName  string
	LocalRulestackName string
}

LocalRulestackId is a struct representing the Resource ID for a Local Rulestack

func NewLocalRulestackID

func NewLocalRulestackID(subscriptionId string, resourceGroupName string, localRulestackName string) LocalRulestackId

NewLocalRulestackID returns a new LocalRulestackId struct

func ParseLocalRulestackID

func ParseLocalRulestackID(input string) (*LocalRulestackId, error)

ParseLocalRulestackID parses 'input' into a LocalRulestackId

func ParseLocalRulestackIDInsensitively

func ParseLocalRulestackIDInsensitively(input string) (*LocalRulestackId, error)

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

func (*LocalRulestackId) FromParseResult

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

func (LocalRulestackId) ID

func (id LocalRulestackId) ID() string

ID returns the formatted Local Rulestack ID

func (LocalRulestackId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Local Rulestack ID

func (LocalRulestackId) String

func (id LocalRulestackId) String() string

String returns a human-readable description of this Local Rulestack ID

type LocalRulestackResource

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

type LocalRulestackResourceOperationPredicate

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

func (LocalRulestackResourceOperationPredicate) Matches

type LocalRulestackResourceUpdate

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

type LocalRulestackResourceUpdateProperties

type LocalRulestackResourceUpdateProperties struct {
	AssociatedSubscriptions *[]string         `json:"associatedSubscriptions,omitempty"`
	DefaultMode             *DefaultMode      `json:"defaultMode,omitempty"`
	Description             *string           `json:"description,omitempty"`
	MinAppIdVersion         *string           `json:"minAppIdVersion,omitempty"`
	PanEtag                 *string           `json:"panEtag,omitempty"`
	PanLocation             *string           `json:"panLocation,omitempty"`
	Scope                   *ScopeType        `json:"scope,omitempty"`
	SecurityServices        *SecurityServices `json:"securityServices,omitempty"`
}

type LocalRulestacksClient

type LocalRulestacksClient struct {
	Client *resourcemanager.Client
}

func NewLocalRulestacksClientWithBaseURI

func NewLocalRulestacksClientWithBaseURI(sdkApi sdkEnv.Api) (*LocalRulestacksClient, error)

func (LocalRulestacksClient) Commit

Commit ...

func (LocalRulestacksClient) CommitThenPoll

func (c LocalRulestacksClient) CommitThenPoll(ctx context.Context, id LocalRulestackId) error

CommitThenPoll performs Commit then polls until it's completed

func (LocalRulestacksClient) CreateOrUpdate

CreateOrUpdate ...

func (LocalRulestacksClient) CreateOrUpdateThenPoll

func (c LocalRulestacksClient) CreateOrUpdateThenPoll(ctx context.Context, id LocalRulestackId, input LocalRulestackResource) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (LocalRulestacksClient) Delete

Delete ...

func (LocalRulestacksClient) DeleteThenPoll

func (c LocalRulestacksClient) DeleteThenPoll(ctx context.Context, id LocalRulestackId) error

DeleteThenPoll performs Delete then polls until it's completed

func (LocalRulestacksClient) Get

Get ...

func (LocalRulestacksClient) GetChangeLog

GetChangeLog ...

func (LocalRulestacksClient) GetSupportInfo

GetSupportInfo ...

func (LocalRulestacksClient) ListAdvancedSecurityObjects

ListAdvancedSecurityObjects ...

func (LocalRulestacksClient) ListAdvancedSecurityObjectsComplete added in v0.20240227.1172434

ListAdvancedSecurityObjectsComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListAdvancedSecurityObjectsCompleteMatchingPredicate added in v0.20240227.1172434

ListAdvancedSecurityObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LocalRulestacksClient) ListAppIds

ListAppIds ...

func (LocalRulestacksClient) ListAppIdsComplete

ListAppIdsComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListByResourceGroup

ListByResourceGroup ...

func (LocalRulestacksClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListByResourceGroupCompleteMatchingPredicate

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

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LocalRulestacksClient) ListBySubscription

ListBySubscription ...

func (LocalRulestacksClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListBySubscriptionCompleteMatchingPredicate

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

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LocalRulestacksClient) ListCountries

ListCountries ...

func (LocalRulestacksClient) ListCountriesComplete

ListCountriesComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListCountriesCompleteMatchingPredicate

func (c LocalRulestacksClient) ListCountriesCompleteMatchingPredicate(ctx context.Context, id LocalRulestackId, options ListCountriesOperationOptions, predicate CountryOperationPredicate) (result ListCountriesCompleteResult, err error)

ListCountriesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LocalRulestacksClient) ListFirewalls

ListFirewalls ...

func (LocalRulestacksClient) ListFirewallsComplete added in v0.20240227.1172434

func (c LocalRulestacksClient) ListFirewallsComplete(ctx context.Context, id LocalRulestackId) (result ListFirewallsCompleteResult, err error)

ListFirewallsComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListPredefinedUrlCategories

ListPredefinedUrlCategories ...

func (LocalRulestacksClient) ListPredefinedUrlCategoriesComplete

ListPredefinedUrlCategoriesComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListPredefinedUrlCategoriesCompleteMatchingPredicate

ListPredefinedUrlCategoriesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LocalRulestacksClient) ListSecurityServices

ListSecurityServices ...

func (LocalRulestacksClient) ListSecurityServicesComplete added in v0.20240227.1172434

ListSecurityServicesComplete retrieves all the results into a single object

func (LocalRulestacksClient) ListSecurityServicesCompleteMatchingPredicate added in v0.20240227.1172434

ListSecurityServicesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (LocalRulestacksClient) Revert

Revert ...

func (LocalRulestacksClient) Update

Update ...

type NameDescriptionObject

type NameDescriptionObject struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
}

type PredefinedUrlCategory

type PredefinedUrlCategory struct {
	Action string `json:"action"`
	Name   string `json:"name"`
}

type PredefinedUrlCategoryOperationPredicate

type PredefinedUrlCategoryOperationPredicate struct {
	Action *string
	Name   *string
}

func (PredefinedUrlCategoryOperationPredicate) Matches

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 RevertOperationResponse

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

type RulestackProperties

type RulestackProperties struct {
	AssociatedSubscriptions *[]string          `json:"associatedSubscriptions,omitempty"`
	DefaultMode             *DefaultMode       `json:"defaultMode,omitempty"`
	Description             *string            `json:"description,omitempty"`
	MinAppIdVersion         *string            `json:"minAppIdVersion,omitempty"`
	PanEtag                 *string            `json:"panEtag,omitempty"`
	PanLocation             *string            `json:"panLocation,omitempty"`
	ProvisioningState       *ProvisioningState `json:"provisioningState,omitempty"`
	Scope                   *ScopeType         `json:"scope,omitempty"`
	SecurityServices        *SecurityServices  `json:"securityServices,omitempty"`
}

type ScopeType

type ScopeType string
const (
	ScopeTypeGLOBAL ScopeType = "GLOBAL"
	ScopeTypeLOCAL  ScopeType = "LOCAL"
)

func (*ScopeType) UnmarshalJSON

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

type SecurityServices

type SecurityServices struct {
	AntiSpywareProfile         *string `json:"antiSpywareProfile,omitempty"`
	AntiVirusProfile           *string `json:"antiVirusProfile,omitempty"`
	DnsSubscription            *string `json:"dnsSubscription,omitempty"`
	FileBlockingProfile        *string `json:"fileBlockingProfile,omitempty"`
	OutboundTrustCertificate   *string `json:"outboundTrustCertificate,omitempty"`
	OutboundUnTrustCertificate *string `json:"outboundUnTrustCertificate,omitempty"`
	UrlFilteringProfile        *string `json:"urlFilteringProfile,omitempty"`
	VulnerabilityProfile       *string `json:"vulnerabilityProfile,omitempty"`
}

type SecurityServicesTypeEnum

type SecurityServicesTypeEnum string
const (
	SecurityServicesTypeEnumAntiSpyware      SecurityServicesTypeEnum = "antiSpyware"
	SecurityServicesTypeEnumAntiVirus        SecurityServicesTypeEnum = "antiVirus"
	SecurityServicesTypeEnumDnsSubscription  SecurityServicesTypeEnum = "dnsSubscription"
	SecurityServicesTypeEnumFileBlocking     SecurityServicesTypeEnum = "fileBlocking"
	SecurityServicesTypeEnumIPsVulnerability SecurityServicesTypeEnum = "ipsVulnerability"
	SecurityServicesTypeEnumUrlFiltering     SecurityServicesTypeEnum = "urlFiltering"
)

func (*SecurityServicesTypeEnum) UnmarshalJSON

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

type SecurityServicesTypeList

type SecurityServicesTypeList struct {
	Entry []NameDescriptionObject `json:"entry"`
	Type  *string                 `json:"type,omitempty"`
}

type SecurityServicesTypeListOperationPredicate added in v0.20240227.1172434

type SecurityServicesTypeListOperationPredicate struct {
	Type *string
}

func (SecurityServicesTypeListOperationPredicate) Matches added in v0.20240227.1172434

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        *LocalRulestackResource
}

Jump to

Keyboard shortcuts

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