Documentation ¶
Index ¶
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFirewallRuleID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CreateOrUpdateFirewallRuleParameters
- type CreateOrUpdateFirewallRuleProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FirewallRule
- type FirewallRuleId
- type FirewallRuleOperationPredicate
- type FirewallRuleProperties
- type FirewallRulesClient
- func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c FirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteOperationResponse, err error)
- func (c FirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetOperationResponse, err error)
- func (c FirewallRulesClient) ListByAccount(ctx context.Context, id AccountId) (result ListByAccountOperationResponse, err error)
- func (c FirewallRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
- func (c FirewallRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate FirewallRuleOperationPredicate) (result ListByAccountCompleteResult, err error)
- func (c FirewallRulesClient) Update(ctx context.Context, id FirewallRuleId, input UpdateFirewallRuleParameters) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type ListByAccountCompleteResult
- type ListByAccountOperationResponse
- type UpdateFirewallRuleParameters
- type UpdateFirewallRuleProperties
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateFirewallRuleID ¶
ValidateFirewallRuleID checks that 'input' can be parsed as a Firewall Rule ID
Types ¶
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type CreateOrUpdateFirewallRuleParameters ¶
type CreateOrUpdateFirewallRuleParameters struct {
Properties CreateOrUpdateFirewallRuleProperties `json:"properties"`
}
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRule }
type DeleteOperationResponse ¶
type FirewallRule ¶
type FirewallRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *FirewallRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type FirewallRuleId ¶
type FirewallRuleId struct { SubscriptionId string ResourceGroupName string AccountName string FirewallRuleName string }
FirewallRuleId is a struct representing the Resource ID for a Firewall Rule
func NewFirewallRuleID ¶
func NewFirewallRuleID(subscriptionId string, resourceGroupName string, accountName string, firewallRuleName string) FirewallRuleId
NewFirewallRuleID returns a new FirewallRuleId struct
func ParseFirewallRuleID ¶
func ParseFirewallRuleID(input string) (*FirewallRuleId, error)
ParseFirewallRuleID parses 'input' into a FirewallRuleId
func ParseFirewallRuleIDInsensitively ¶
func ParseFirewallRuleIDInsensitively(input string) (*FirewallRuleId, error)
ParseFirewallRuleIDInsensitively parses 'input' case-insensitively into a FirewallRuleId note: this method should only be used for API response data and not user input
func (*FirewallRuleId) FromParseResult ¶ added in v0.20231127.1171502
func (id *FirewallRuleId) FromParseResult(input resourceids.ParseResult) error
func (FirewallRuleId) ID ¶
func (id FirewallRuleId) ID() string
ID returns the formatted Firewall Rule ID
func (FirewallRuleId) Segments ¶
func (id FirewallRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Firewall Rule ID
func (FirewallRuleId) String ¶
func (id FirewallRuleId) String() string
String returns a human-readable description of this Firewall Rule ID
type FirewallRuleOperationPredicate ¶
func (FirewallRuleOperationPredicate) Matches ¶
func (p FirewallRuleOperationPredicate) Matches(input FirewallRule) bool
type FirewallRuleProperties ¶
type FirewallRulesClient ¶
type FirewallRulesClient struct {
Client *resourcemanager.Client
}
func NewFirewallRulesClientWithBaseURI ¶
func NewFirewallRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*FirewallRulesClient, error)
func (FirewallRulesClient) CreateOrUpdate ¶
func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input CreateOrUpdateFirewallRuleParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FirewallRulesClient) Delete ¶
func (c FirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (FirewallRulesClient) Get ¶
func (c FirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetOperationResponse, err error)
Get ...
func (FirewallRulesClient) ListByAccount ¶
func (c FirewallRulesClient) ListByAccount(ctx context.Context, id AccountId) (result ListByAccountOperationResponse, err error)
ListByAccount ...
func (FirewallRulesClient) ListByAccountComplete ¶
func (c FirewallRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all the results into a single object
func (FirewallRulesClient) ListByAccountCompleteMatchingPredicate ¶
func (c FirewallRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate FirewallRuleOperationPredicate) (result ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FirewallRulesClient) Update ¶
func (c FirewallRulesClient) Update(ctx context.Context, id FirewallRuleId, input UpdateFirewallRuleParameters) (result UpdateOperationResponse, err error)
Update ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRule }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct { LatestHttpResponse *http.Response Items []FirewallRule }
type ListByAccountOperationResponse ¶
type ListByAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FirewallRule }
type UpdateFirewallRuleParameters ¶
type UpdateFirewallRuleParameters struct {
Properties *UpdateFirewallRuleProperties `json:"properties,omitempty"`
}
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRule }
Source Files ¶
- client.go
- id_account.go
- id_firewallrule.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyaccount.go
- method_update.go
- model_createorupdatefirewallruleparameters.go
- model_createorupdatefirewallruleproperties.go
- model_firewallrule.go
- model_firewallruleproperties.go
- model_updatefirewallruleparameters.go
- model_updatefirewallruleproperties.go
- predicates.go
- version.go