Documentation ¶
Index ¶
- type AccountId
- type CreateOrUpdateFirewallRuleParameters
- type CreateOrUpdateFirewallRuleProperties
- type CreateOrUpdateResponse
- type DeleteResponse
- type FirewallRule
- type FirewallRuleId
- type FirewallRulePredicate
- type FirewallRuleProperties
- type FirewallRulesClient
- func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, ...) (result CreateOrUpdateResponse, err error)
- func (c FirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteResponse, err error)
- func (c FirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetResponse, err error)
- func (c FirewallRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error)
- func (c FirewallRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
- func (c FirewallRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate FirewallRulePredicate) (resp ListByAccountCompleteResult, err error)
- func (c FirewallRulesClient) Update(ctx context.Context, id FirewallRuleId, input UpdateFirewallRuleParameters) (result UpdateResponse, err error)
- type GetResponse
- type ListByAccountCompleteResult
- type ListByAccountResponse
- type UpdateFirewallRuleParameters
- type UpdateFirewallRuleProperties
- type UpdateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountId ¶
func NewAccountID ¶
func ParseAccountID ¶
ParseAccountID parses a Account ID into an AccountId struct
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses an Account ID into an AccountId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseAccountID method should be used instead for validation etc.
type CreateOrUpdateFirewallRuleParameters ¶
type CreateOrUpdateFirewallRuleParameters struct {
Properties CreateOrUpdateFirewallRuleProperties `json:"properties"`
}
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { HttpResponse *http.Response Model *FirewallRule }
type DeleteResponse ¶
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 ResourceGroup string AccountName string Name string }
func NewFirewallRuleID ¶
func NewFirewallRuleID(subscriptionId, resourceGroup, accountName, name string) FirewallRuleId
func ParseFirewallRuleID ¶
func ParseFirewallRuleID(input string) (*FirewallRuleId, error)
ParseFirewallRuleID parses a FirewallRule ID into an FirewallRuleId struct
func ParseFirewallRuleIDInsensitively ¶
func ParseFirewallRuleIDInsensitively(input string) (*FirewallRuleId, error)
ParseFirewallRuleIDInsensitively parses an FirewallRule ID into an FirewallRuleId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseFirewallRuleID method should be used instead for validation etc.
func (FirewallRuleId) ID ¶
func (id FirewallRuleId) ID() string
func (FirewallRuleId) String ¶
func (id FirewallRuleId) String() string
type FirewallRulePredicate ¶
func (FirewallRulePredicate) Matches ¶
func (p FirewallRulePredicate) Matches(input FirewallRule) bool
type FirewallRuleProperties ¶
type FirewallRulesClient ¶
type FirewallRulesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewFirewallRulesClientWithBaseURI ¶
func NewFirewallRulesClientWithBaseURI(endpoint string) FirewallRulesClient
func (FirewallRulesClient) CreateOrUpdate ¶
func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input CreateOrUpdateFirewallRuleParameters) (result CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (FirewallRulesClient) Delete ¶
func (c FirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteResponse, err error)
Delete ...
func (FirewallRulesClient) Get ¶
func (c FirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetResponse, err error)
Get ...
func (FirewallRulesClient) ListByAccount ¶
func (c FirewallRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error)
ListByAccount ...
func (FirewallRulesClient) ListByAccountComplete ¶
func (c FirewallRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all of the results into a single object
func (FirewallRulesClient) ListByAccountCompleteMatchingPredicate ¶
func (c FirewallRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate FirewallRulePredicate) (resp ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (FirewallRulesClient) Update ¶
func (c FirewallRulesClient) Update(ctx context.Context, id FirewallRuleId, input UpdateFirewallRuleParameters) (result UpdateResponse, err error)
Update ...
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *FirewallRule }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct {
Items []FirewallRule
}
type ListByAccountResponse ¶
type ListByAccountResponse struct { HttpResponse *http.Response Model *[]FirewallRule // contains filtered or unexported fields }
func (ListByAccountResponse) HasMore ¶
func (r ListByAccountResponse) HasMore() bool
func (ListByAccountResponse) LoadMore ¶
func (r ListByAccountResponse) LoadMore(ctx context.Context) (resp ListByAccountResponse, err error)
type UpdateFirewallRuleParameters ¶
type UpdateFirewallRuleParameters struct {
Properties *UpdateFirewallRuleProperties `json:"properties,omitempty"`
}
type UpdateResponse ¶
type UpdateResponse struct { HttpResponse *http.Response Model *FirewallRule }
Source Files ¶
- client.go
- id_account.go
- id_firewallrule.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyaccount_autorest.go
- method_update_autorest.go
- model_createorupdatefirewallruleparameters.go
- model_createorupdatefirewallruleproperties.go
- model_firewallrule.go
- model_firewallruleproperties.go
- model_updatefirewallruleparameters.go
- model_updatefirewallruleproperties.go
- predicates.go
- version.go