README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/paloaltonetworks/2022-08-29/globalrulestack
Documentation
The globalrulestack
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/globalrulestack"
Client Initialization
client := globalrulestack.NewGlobalRulestackClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: GlobalRulestackClient.Commit
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
if err := client.CommitThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: GlobalRulestackClient.CreateOrUpdate
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
payload := globalrulestack.GlobalRulestackResource{
// ...
}
if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: GlobalRulestackClient.Delete
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
if err := client.DeleteThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: GlobalRulestackClient.Get
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
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: GlobalRulestackClient.GetChangeLog
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
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: GlobalRulestackClient.List
ctx := context.TODO()
// alternatively `client.List(ctx)` can be used to do batched pagination
items, err := client.ListComplete(ctx)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GlobalRulestackClient.ListAdvancedSecurityObjects
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
// alternatively `client.ListAdvancedSecurityObjects(ctx, id, globalrulestack.DefaultListAdvancedSecurityObjectsOperationOptions())` can be used to do batched pagination
items, err := client.ListAdvancedSecurityObjectsComplete(ctx, id, globalrulestack.DefaultListAdvancedSecurityObjectsOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GlobalRulestackClient.ListAppIds
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
// alternatively `client.ListAppIds(ctx, id, globalrulestack.DefaultListAppIdsOperationOptions())` can be used to do batched pagination
items, err := client.ListAppIdsComplete(ctx, id, globalrulestack.DefaultListAppIdsOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GlobalRulestackClient.ListCountries
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
// alternatively `client.ListCountries(ctx, id, globalrulestack.DefaultListCountriesOperationOptions())` can be used to do batched pagination
items, err := client.ListCountriesComplete(ctx, id, globalrulestack.DefaultListCountriesOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GlobalRulestackClient.ListFirewalls
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
// 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: GlobalRulestackClient.ListPredefinedUrlCategories
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
// alternatively `client.ListPredefinedUrlCategories(ctx, id, globalrulestack.DefaultListPredefinedUrlCategoriesOperationOptions())` can be used to do batched pagination
items, err := client.ListPredefinedUrlCategoriesComplete(ctx, id, globalrulestack.DefaultListPredefinedUrlCategoriesOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GlobalRulestackClient.ListSecurityServices
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
// alternatively `client.ListSecurityServices(ctx, id, globalrulestack.DefaultListSecurityServicesOperationOptions())` can be used to do batched pagination
items, err := client.ListSecurityServicesComplete(ctx, id, globalrulestack.DefaultListSecurityServicesOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: GlobalRulestackClient.Revert
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
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: GlobalRulestackClient.Update
ctx := context.TODO()
id := globalrulestack.NewGlobalRulestackID("globalRulestackValue")
payload := globalrulestack.GlobalRulestackResourceUpdate{
// ...
}
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 ¶
- func PossibleValuesForAdvSecurityObjectTypeEnum() []string
- func PossibleValuesForDefaultMode() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForScopeType() []string
- func PossibleValuesForSecurityServicesTypeEnum() []string
- func ValidateGlobalRulestackID(input interface{}, key string) (warnings []string, errors []error)
- type AdvSecurityObjectModel
- type AdvSecurityObjectModelOperationPredicate
- type AdvSecurityObjectTypeEnum
- type Changelog
- type CommitOperationResponse
- type Country
- type CountryOperationPredicate
- type CreateOrUpdateOperationResponse
- type DefaultMode
- type DeleteOperationResponse
- type GetChangeLogOperationResponse
- type GetOperationResponse
- type GlobalRulestackClient
- func (c GlobalRulestackClient) Commit(ctx context.Context, id GlobalRulestackId) (result CommitOperationResponse, err error)
- func (c GlobalRulestackClient) CommitThenPoll(ctx context.Context, id GlobalRulestackId) error
- func (c GlobalRulestackClient) CreateOrUpdate(ctx context.Context, id GlobalRulestackId, input GlobalRulestackResource) (result CreateOrUpdateOperationResponse, err error)
- func (c GlobalRulestackClient) CreateOrUpdateThenPoll(ctx context.Context, id GlobalRulestackId, input GlobalRulestackResource) error
- func (c GlobalRulestackClient) Delete(ctx context.Context, id GlobalRulestackId) (result DeleteOperationResponse, err error)
- func (c GlobalRulestackClient) DeleteThenPoll(ctx context.Context, id GlobalRulestackId) error
- func (c GlobalRulestackClient) Get(ctx context.Context, id GlobalRulestackId) (result GetOperationResponse, err error)
- func (c GlobalRulestackClient) GetChangeLog(ctx context.Context, id GlobalRulestackId) (result GetChangeLogOperationResponse, err error)
- func (c GlobalRulestackClient) List(ctx context.Context) (result ListOperationResponse, err error)
- func (c GlobalRulestackClient) ListAdvancedSecurityObjects(ctx context.Context, id GlobalRulestackId, ...) (result ListAdvancedSecurityObjectsOperationResponse, err error)
- func (c GlobalRulestackClient) ListAdvancedSecurityObjectsComplete(ctx context.Context, id GlobalRulestackId, ...) (ListAdvancedSecurityObjectsCompleteResult, error)
- func (c GlobalRulestackClient) ListAdvancedSecurityObjectsCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, ...) (result ListAdvancedSecurityObjectsCompleteResult, err error)
- func (c GlobalRulestackClient) ListAppIds(ctx context.Context, id GlobalRulestackId, options ListAppIdsOperationOptions) (result ListAppIdsOperationResponse, err error)
- func (c GlobalRulestackClient) ListAppIdsComplete(ctx context.Context, id GlobalRulestackId, options ListAppIdsOperationOptions) (result ListAppIdsCompleteResult, err error)
- func (c GlobalRulestackClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
- func (c GlobalRulestackClient) ListCompleteMatchingPredicate(ctx context.Context, predicate GlobalRulestackResourceOperationPredicate) (result ListCompleteResult, err error)
- func (c GlobalRulestackClient) ListCountries(ctx context.Context, id GlobalRulestackId, ...) (result ListCountriesOperationResponse, err error)
- func (c GlobalRulestackClient) ListCountriesComplete(ctx context.Context, id GlobalRulestackId, ...) (ListCountriesCompleteResult, error)
- func (c GlobalRulestackClient) ListCountriesCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, ...) (result ListCountriesCompleteResult, err error)
- func (c GlobalRulestackClient) ListFirewalls(ctx context.Context, id GlobalRulestackId) (result ListFirewallsOperationResponse, err error)
- func (c GlobalRulestackClient) ListFirewallsComplete(ctx context.Context, id GlobalRulestackId) (result ListFirewallsCompleteResult, err error)
- func (c GlobalRulestackClient) ListPredefinedUrlCategories(ctx context.Context, id GlobalRulestackId, ...) (result ListPredefinedUrlCategoriesOperationResponse, err error)
- func (c GlobalRulestackClient) ListPredefinedUrlCategoriesComplete(ctx context.Context, id GlobalRulestackId, ...) (ListPredefinedUrlCategoriesCompleteResult, error)
- func (c GlobalRulestackClient) ListPredefinedUrlCategoriesCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, ...) (result ListPredefinedUrlCategoriesCompleteResult, err error)
- func (c GlobalRulestackClient) ListSecurityServices(ctx context.Context, id GlobalRulestackId, ...) (result ListSecurityServicesOperationResponse, err error)
- func (c GlobalRulestackClient) ListSecurityServicesComplete(ctx context.Context, id GlobalRulestackId, ...) (ListSecurityServicesCompleteResult, error)
- func (c GlobalRulestackClient) ListSecurityServicesCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, ...) (result ListSecurityServicesCompleteResult, err error)
- func (c GlobalRulestackClient) Revert(ctx context.Context, id GlobalRulestackId) (result RevertOperationResponse, err error)
- func (c GlobalRulestackClient) Update(ctx context.Context, id GlobalRulestackId, input GlobalRulestackResourceUpdate) (result UpdateOperationResponse, err error)
- type GlobalRulestackId
- type GlobalRulestackResource
- type GlobalRulestackResourceOperationPredicate
- type GlobalRulestackResourceUpdate
- type GlobalRulestackResourceUpdateProperties
- type ListAdvancedSecurityObjectsCompleteResult
- type ListAdvancedSecurityObjectsCustomPager
- type ListAdvancedSecurityObjectsOperationOptions
- type ListAdvancedSecurityObjectsOperationResponse
- type ListAppIdsCompleteResult
- type ListAppIdsCustomPager
- type ListAppIdsOperationOptions
- type ListAppIdsOperationResponse
- type ListCompleteResult
- type ListCountriesCompleteResult
- type ListCountriesCustomPager
- type ListCountriesOperationOptions
- type ListCountriesOperationResponse
- type ListCustomPager
- type ListFirewallsCompleteResult
- type ListFirewallsCustomPager
- type ListFirewallsOperationResponse
- type ListOperationResponse
- type ListPredefinedUrlCategoriesCompleteResult
- type ListPredefinedUrlCategoriesCustomPager
- type ListPredefinedUrlCategoriesOperationOptions
- type ListPredefinedUrlCategoriesOperationResponse
- type ListSecurityServicesCompleteResult
- type ListSecurityServicesCustomPager
- type ListSecurityServicesOperationOptions
- type ListSecurityServicesOperationResponse
- type NameDescriptionObject
- type PredefinedUrlCategory
- type PredefinedUrlCategoryOperationPredicate
- type ProvisioningState
- type RevertOperationResponse
- type RulestackProperties
- type ScopeType
- type SecurityServices
- type SecurityServicesTypeEnum
- type SecurityServicesTypeList
- type SecurityServicesTypeListOperationPredicate
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAdvSecurityObjectTypeEnum ¶
func PossibleValuesForAdvSecurityObjectTypeEnum() []string
func PossibleValuesForDefaultMode ¶
func PossibleValuesForDefaultMode() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForScopeType ¶
func PossibleValuesForScopeType() []string
func PossibleValuesForSecurityServicesTypeEnum ¶
func PossibleValuesForSecurityServicesTypeEnum() []string
func ValidateGlobalRulestackID ¶
ValidateGlobalRulestackID checks that 'input' can be parsed as a Global 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
func (p AdvSecurityObjectModelOperationPredicate) Matches(input AdvSecurityObjectModel) bool
type AdvSecurityObjectTypeEnum ¶
type AdvSecurityObjectTypeEnum string
const ( AdvSecurityObjectTypeEnumFeeds AdvSecurityObjectTypeEnum = "feeds" AdvSecurityObjectTypeEnumUrlCustom AdvSecurityObjectTypeEnum = "urlCustom" )
func (*AdvSecurityObjectTypeEnum) UnmarshalJSON ¶
func (s *AdvSecurityObjectTypeEnum) 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 (*Changelog) GetLastModifiedAsTime ¶
func (*Changelog) SetLastCommittedAsTime ¶
func (*Changelog) SetLastModifiedAsTime ¶
type CommitOperationResponse ¶
type CountryOperationPredicate ¶ added in v0.20240227.1172434
func (CountryOperationPredicate) Matches ¶ added in v0.20240227.1172434
func (p CountryOperationPredicate) Matches(input Country) bool
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalRulestackResource }
type GlobalRulestackClient ¶
type GlobalRulestackClient struct {
Client *resourcemanager.Client
}
func NewGlobalRulestackClientWithBaseURI ¶
func NewGlobalRulestackClientWithBaseURI(sdkApi sdkEnv.Api) (*GlobalRulestackClient, error)
func (GlobalRulestackClient) Commit ¶
func (c GlobalRulestackClient) Commit(ctx context.Context, id GlobalRulestackId) (result CommitOperationResponse, err error)
Commit ...
func (GlobalRulestackClient) CommitThenPoll ¶
func (c GlobalRulestackClient) CommitThenPoll(ctx context.Context, id GlobalRulestackId) error
CommitThenPoll performs Commit then polls until it's completed
func (GlobalRulestackClient) CreateOrUpdate ¶
func (c GlobalRulestackClient) CreateOrUpdate(ctx context.Context, id GlobalRulestackId, input GlobalRulestackResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GlobalRulestackClient) CreateOrUpdateThenPoll ¶
func (c GlobalRulestackClient) CreateOrUpdateThenPoll(ctx context.Context, id GlobalRulestackId, input GlobalRulestackResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GlobalRulestackClient) Delete ¶
func (c GlobalRulestackClient) Delete(ctx context.Context, id GlobalRulestackId) (result DeleteOperationResponse, err error)
Delete ...
func (GlobalRulestackClient) DeleteThenPoll ¶
func (c GlobalRulestackClient) DeleteThenPoll(ctx context.Context, id GlobalRulestackId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GlobalRulestackClient) Get ¶
func (c GlobalRulestackClient) Get(ctx context.Context, id GlobalRulestackId) (result GetOperationResponse, err error)
Get ...
func (GlobalRulestackClient) GetChangeLog ¶
func (c GlobalRulestackClient) GetChangeLog(ctx context.Context, id GlobalRulestackId) (result GetChangeLogOperationResponse, err error)
GetChangeLog ...
func (GlobalRulestackClient) List ¶
func (c GlobalRulestackClient) List(ctx context.Context) (result ListOperationResponse, err error)
List ...
func (GlobalRulestackClient) ListAdvancedSecurityObjects ¶
func (c GlobalRulestackClient) ListAdvancedSecurityObjects(ctx context.Context, id GlobalRulestackId, options ListAdvancedSecurityObjectsOperationOptions) (result ListAdvancedSecurityObjectsOperationResponse, err error)
ListAdvancedSecurityObjects ...
func (GlobalRulestackClient) ListAdvancedSecurityObjectsComplete ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListAdvancedSecurityObjectsComplete(ctx context.Context, id GlobalRulestackId, options ListAdvancedSecurityObjectsOperationOptions) (ListAdvancedSecurityObjectsCompleteResult, error)
ListAdvancedSecurityObjectsComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListAdvancedSecurityObjectsCompleteMatchingPredicate ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListAdvancedSecurityObjectsCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, options ListAdvancedSecurityObjectsOperationOptions, predicate AdvSecurityObjectModelOperationPredicate) (result ListAdvancedSecurityObjectsCompleteResult, err error)
ListAdvancedSecurityObjectsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GlobalRulestackClient) ListAppIds ¶
func (c GlobalRulestackClient) ListAppIds(ctx context.Context, id GlobalRulestackId, options ListAppIdsOperationOptions) (result ListAppIdsOperationResponse, err error)
ListAppIds ...
func (GlobalRulestackClient) ListAppIdsComplete ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListAppIdsComplete(ctx context.Context, id GlobalRulestackId, options ListAppIdsOperationOptions) (result ListAppIdsCompleteResult, err error)
ListAppIdsComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListComplete ¶
func (c GlobalRulestackClient) ListComplete(ctx context.Context) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListCompleteMatchingPredicate ¶
func (c GlobalRulestackClient) ListCompleteMatchingPredicate(ctx context.Context, predicate GlobalRulestackResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GlobalRulestackClient) ListCountries ¶
func (c GlobalRulestackClient) ListCountries(ctx context.Context, id GlobalRulestackId, options ListCountriesOperationOptions) (result ListCountriesOperationResponse, err error)
ListCountries ...
func (GlobalRulestackClient) ListCountriesComplete ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListCountriesComplete(ctx context.Context, id GlobalRulestackId, options ListCountriesOperationOptions) (ListCountriesCompleteResult, error)
ListCountriesComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListCountriesCompleteMatchingPredicate ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListCountriesCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, options ListCountriesOperationOptions, predicate CountryOperationPredicate) (result ListCountriesCompleteResult, err error)
ListCountriesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GlobalRulestackClient) ListFirewalls ¶
func (c GlobalRulestackClient) ListFirewalls(ctx context.Context, id GlobalRulestackId) (result ListFirewallsOperationResponse, err error)
ListFirewalls ...
func (GlobalRulestackClient) ListFirewallsComplete ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListFirewallsComplete(ctx context.Context, id GlobalRulestackId) (result ListFirewallsCompleteResult, err error)
ListFirewallsComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListPredefinedUrlCategories ¶
func (c GlobalRulestackClient) ListPredefinedUrlCategories(ctx context.Context, id GlobalRulestackId, options ListPredefinedUrlCategoriesOperationOptions) (result ListPredefinedUrlCategoriesOperationResponse, err error)
ListPredefinedUrlCategories ...
func (GlobalRulestackClient) ListPredefinedUrlCategoriesComplete ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListPredefinedUrlCategoriesComplete(ctx context.Context, id GlobalRulestackId, options ListPredefinedUrlCategoriesOperationOptions) (ListPredefinedUrlCategoriesCompleteResult, error)
ListPredefinedUrlCategoriesComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListPredefinedUrlCategoriesCompleteMatchingPredicate ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListPredefinedUrlCategoriesCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, options ListPredefinedUrlCategoriesOperationOptions, predicate PredefinedUrlCategoryOperationPredicate) (result ListPredefinedUrlCategoriesCompleteResult, err error)
ListPredefinedUrlCategoriesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GlobalRulestackClient) ListSecurityServices ¶
func (c GlobalRulestackClient) ListSecurityServices(ctx context.Context, id GlobalRulestackId, options ListSecurityServicesOperationOptions) (result ListSecurityServicesOperationResponse, err error)
ListSecurityServices ...
func (GlobalRulestackClient) ListSecurityServicesComplete ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListSecurityServicesComplete(ctx context.Context, id GlobalRulestackId, options ListSecurityServicesOperationOptions) (ListSecurityServicesCompleteResult, error)
ListSecurityServicesComplete retrieves all the results into a single object
func (GlobalRulestackClient) ListSecurityServicesCompleteMatchingPredicate ¶ added in v0.20240227.1172434
func (c GlobalRulestackClient) ListSecurityServicesCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, options ListSecurityServicesOperationOptions, predicate SecurityServicesTypeListOperationPredicate) (result ListSecurityServicesCompleteResult, err error)
ListSecurityServicesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GlobalRulestackClient) Revert ¶
func (c GlobalRulestackClient) Revert(ctx context.Context, id GlobalRulestackId) (result RevertOperationResponse, err error)
Revert ...
func (GlobalRulestackClient) Update ¶
func (c GlobalRulestackClient) Update(ctx context.Context, id GlobalRulestackId, input GlobalRulestackResourceUpdate) (result UpdateOperationResponse, err error)
Update ...
type GlobalRulestackId ¶
type GlobalRulestackId struct {
GlobalRulestackName string
}
GlobalRulestackId is a struct representing the Resource ID for a Global Rulestack
func NewGlobalRulestackID ¶
func NewGlobalRulestackID(globalRulestackName string) GlobalRulestackId
NewGlobalRulestackID returns a new GlobalRulestackId struct
func ParseGlobalRulestackID ¶
func ParseGlobalRulestackID(input string) (*GlobalRulestackId, error)
ParseGlobalRulestackID parses 'input' into a GlobalRulestackId
func ParseGlobalRulestackIDInsensitively ¶
func ParseGlobalRulestackIDInsensitively(input string) (*GlobalRulestackId, error)
ParseGlobalRulestackIDInsensitively parses 'input' case-insensitively into a GlobalRulestackId note: this method should only be used for API response data and not user input
func (*GlobalRulestackId) FromParseResult ¶
func (id *GlobalRulestackId) FromParseResult(input resourceids.ParseResult) error
func (GlobalRulestackId) ID ¶
func (id GlobalRulestackId) ID() string
ID returns the formatted Global Rulestack ID
func (GlobalRulestackId) Segments ¶
func (id GlobalRulestackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Global Rulestack ID
func (GlobalRulestackId) String ¶
func (id GlobalRulestackId) String() string
String returns a human-readable description of this Global Rulestack ID
type GlobalRulestackResource ¶
type GlobalRulestackResource 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"` Type *string `json:"type,omitempty"` }
type GlobalRulestackResourceOperationPredicate ¶
type GlobalRulestackResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (GlobalRulestackResourceOperationPredicate) Matches ¶
func (p GlobalRulestackResourceOperationPredicate) Matches(input GlobalRulestackResource) bool
type GlobalRulestackResourceUpdate ¶
type GlobalRulestackResourceUpdate struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Properties *GlobalRulestackResourceUpdateProperties `json:"properties,omitempty"` }
type GlobalRulestackResourceUpdateProperties ¶
type GlobalRulestackResourceUpdateProperties 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 ListAdvancedSecurityObjectsCompleteResult ¶ added in v0.20240227.1172434
type ListAdvancedSecurityObjectsCompleteResult struct { LatestHttpResponse *http.Response Items []AdvSecurityObjectModel }
type ListAdvancedSecurityObjectsCustomPager ¶ added in v0.20240628.1153531
func (*ListAdvancedSecurityObjectsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListAdvancedSecurityObjectsCustomPager) NextPageLink() *odata.Link
type ListAdvancedSecurityObjectsOperationOptions ¶
type ListAdvancedSecurityObjectsOperationOptions struct { Skip *string Top *int64 Type *AdvSecurityObjectTypeEnum }
func DefaultListAdvancedSecurityObjectsOperationOptions ¶
func DefaultListAdvancedSecurityObjectsOperationOptions() ListAdvancedSecurityObjectsOperationOptions
func (ListAdvancedSecurityObjectsOperationOptions) ToHeaders ¶
func (o ListAdvancedSecurityObjectsOperationOptions) ToHeaders() *client.Headers
func (ListAdvancedSecurityObjectsOperationOptions) ToOData ¶
func (o ListAdvancedSecurityObjectsOperationOptions) ToOData() *odata.Query
func (ListAdvancedSecurityObjectsOperationOptions) ToQuery ¶
func (o ListAdvancedSecurityObjectsOperationOptions) ToQuery() *client.QueryParams
type ListAdvancedSecurityObjectsOperationResponse ¶
type ListAdvancedSecurityObjectsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AdvSecurityObjectModel }
type ListAppIdsCompleteResult ¶ added in v0.20240227.1172434
type ListAppIdsCustomPager ¶ added in v0.20240628.1153531
func (*ListAppIdsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListAppIdsCustomPager) NextPageLink() *odata.Link
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 ¶
func (o ListAppIdsOperationOptions) ToQuery() *client.QueryParams
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []GlobalRulestackResource }
type ListCountriesCompleteResult ¶ added in v0.20240227.1172434
type ListCountriesCustomPager ¶ added in v0.20240628.1153531
func (*ListCountriesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCountriesCustomPager) NextPageLink() *odata.Link
type ListCountriesOperationOptions ¶
func DefaultListCountriesOperationOptions ¶
func DefaultListCountriesOperationOptions() ListCountriesOperationOptions
func (ListCountriesOperationOptions) ToHeaders ¶
func (o ListCountriesOperationOptions) ToHeaders() *client.Headers
func (ListCountriesOperationOptions) ToOData ¶
func (o ListCountriesOperationOptions) ToOData() *odata.Query
func (ListCountriesOperationOptions) ToQuery ¶
func (o ListCountriesOperationOptions) ToQuery() *client.QueryParams
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListFirewallsCompleteResult ¶ added in v0.20240227.1172434
type ListFirewallsCustomPager ¶ added in v0.20240628.1153531
func (*ListFirewallsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListFirewallsCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GlobalRulestackResource }
type ListPredefinedUrlCategoriesCompleteResult ¶ added in v0.20240227.1172434
type ListPredefinedUrlCategoriesCompleteResult struct { LatestHttpResponse *http.Response Items []PredefinedUrlCategory }
type ListPredefinedUrlCategoriesCustomPager ¶ added in v0.20240628.1153531
func (*ListPredefinedUrlCategoriesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListPredefinedUrlCategoriesCustomPager) NextPageLink() *odata.Link
type ListPredefinedUrlCategoriesOperationOptions ¶
func DefaultListPredefinedUrlCategoriesOperationOptions ¶
func DefaultListPredefinedUrlCategoriesOperationOptions() ListPredefinedUrlCategoriesOperationOptions
func (ListPredefinedUrlCategoriesOperationOptions) ToHeaders ¶
func (o ListPredefinedUrlCategoriesOperationOptions) ToHeaders() *client.Headers
func (ListPredefinedUrlCategoriesOperationOptions) ToOData ¶
func (o ListPredefinedUrlCategoriesOperationOptions) ToOData() *odata.Query
func (ListPredefinedUrlCategoriesOperationOptions) ToQuery ¶
func (o ListPredefinedUrlCategoriesOperationOptions) ToQuery() *client.QueryParams
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 ListSecurityServicesCustomPager ¶ added in v0.20240628.1153531
func (*ListSecurityServicesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListSecurityServicesCustomPager) NextPageLink() *odata.Link
type ListSecurityServicesOperationOptions ¶
type ListSecurityServicesOperationOptions struct { Skip *string Top *int64 Type *SecurityServicesTypeEnum }
func DefaultListSecurityServicesOperationOptions ¶
func DefaultListSecurityServicesOperationOptions() ListSecurityServicesOperationOptions
func (ListSecurityServicesOperationOptions) ToHeaders ¶
func (o ListSecurityServicesOperationOptions) ToHeaders() *client.Headers
func (ListSecurityServicesOperationOptions) ToOData ¶
func (o ListSecurityServicesOperationOptions) ToOData() *odata.Query
func (ListSecurityServicesOperationOptions) ToQuery ¶
func (o ListSecurityServicesOperationOptions) ToQuery() *client.QueryParams
type ListSecurityServicesOperationResponse ¶
type ListSecurityServicesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SecurityServicesTypeList }
type NameDescriptionObject ¶
type PredefinedUrlCategory ¶
type PredefinedUrlCategoryOperationPredicate ¶ added in v0.20240227.1172434
func (PredefinedUrlCategoryOperationPredicate) Matches ¶ added in v0.20240227.1172434
func (p PredefinedUrlCategoryOperationPredicate) Matches(input PredefinedUrlCategory) bool
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 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 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
func (p SecurityServicesTypeListOperationPredicate) Matches(input SecurityServicesTypeList) bool
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalRulestackResource }
Source Files ¶
- client.go
- constants.go
- id_globalrulestack.go
- method_commit.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getchangelog.go
- method_list.go
- method_listadvancedsecurityobjects.go
- method_listappids.go
- method_listcountries.go
- method_listfirewalls.go
- method_listpredefinedurlcategories.go
- method_listsecurityservices.go
- method_revert.go
- method_update.go
- model_advsecurityobjectmodel.go
- model_changelog.go
- model_country.go
- model_globalrulestackresource.go
- model_globalrulestackresourceupdate.go
- model_globalrulestackresourceupdateproperties.go
- model_namedescriptionobject.go
- model_predefinedurlcategory.go
- model_rulestackproperties.go
- model_securityservices.go
- model_securityservicestypelist.go
- predicates.go
- version.go