localrulestacks

package
v0.20240209.1120443 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 16 Imported by: 2

README

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

The localrulestacks 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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/paloaltonetworks/2022-08-29/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")

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

Example Usage: LocalRulestacksClient.ListAppIds

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

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

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

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

Example Usage: LocalRulestacksClient.ListFirewalls

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

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

Example Usage: LocalRulestacksClient.ListPredefinedUrlCategories

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

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

Example Usage: LocalRulestacksClient.ListSecurityServices

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

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

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 AdvSecurityObjectListResponse

type AdvSecurityObjectListResponse struct {
	NextLink *string                `json:"nextLink,omitempty"`
	Value    AdvSecurityObjectModel `json:"value"`
}

type AdvSecurityObjectModel

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

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 CountriesResponse

type CountriesResponse struct {
	NextLink *string   `json:"nextLink,omitempty"`
	Value    []Country `json:"value"`
}

type Country

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

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

type ListAppIdResponse

type ListAppIdResponse struct {
	NextLink *string  `json:"nextLink,omitempty"`
	Value    []string `json:"value"`
}

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

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

type ListFirewallsOperationResponse

type ListFirewallsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ListFirewallsResponse
}

type ListFirewallsResponse

type ListFirewallsResponse struct {
	NextLink *string  `json:"nextLink,omitempty"`
	Value    []string `json:"value"`
}

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

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

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

ListAppIds ...

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

ListFirewalls ...

func (LocalRulestacksClient) ListPredefinedUrlCategories

ListPredefinedUrlCategories ...

func (LocalRulestacksClient) ListSecurityServices

ListSecurityServices ...

func (LocalRulestacksClient) Revert

Revert ...

func (LocalRulestacksClient) Update

Update ...

type NameDescriptionObject

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

type PredefinedUrlCategoriesResponse

type PredefinedUrlCategoriesResponse struct {
	NextLink *string                 `json:"nextLink,omitempty"`
	Value    []PredefinedUrlCategory `json:"value"`
}

type PredefinedUrlCategory

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

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 SecurityServicesResponse

type SecurityServicesResponse struct {
	NextLink *string                  `json:"nextLink,omitempty"`
	Value    SecurityServicesTypeList `json:"value"`
}

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