Documentation ¶
Index ¶
- func ValidateFirewallRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRediID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FirewallRuleId
- type FirewallRulesClient
- func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input RedisFirewallRule) (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) List(ctx context.Context, id RediId) (result ListOperationResponse, err error)
- func (c FirewallRulesClient) ListComplete(ctx context.Context, id RediId) (ListCompleteResult, error)
- func (c FirewallRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisFirewallRuleOperationPredicate) (result ListCompleteResult, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type RediId
- type RedisFirewallRule
- type RedisFirewallRuleOperationPredicate
- type RedisFirewallRuleProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFirewallRuleID ¶
ValidateFirewallRuleID checks that 'input' can be parsed as a Firewall Rule ID
func ValidateRediID ¶
ValidateRediID checks that 'input' can be parsed as a Redi ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisFirewallRule }
type DeleteOperationResponse ¶
type FirewallRuleId ¶
type FirewallRuleId struct { SubscriptionId string ResourceGroupName string RedisName string FirewallRuleName string }
FirewallRuleId is a struct representing the Resource ID for a Firewall Rule
func NewFirewallRuleID ¶
func NewFirewallRuleID(subscriptionId string, resourceGroupName string, redisName 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) 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 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 RedisFirewallRule) (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) List ¶
func (c FirewallRulesClient) List(ctx context.Context, id RediId) (result ListOperationResponse, err error)
List ...
func (FirewallRulesClient) ListComplete ¶
func (c FirewallRulesClient) ListComplete(ctx context.Context, id RediId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FirewallRulesClient) ListCompleteMatchingPredicate ¶
func (c FirewallRulesClient) ListCompleteMatchingPredicate(ctx context.Context, id RediId, predicate RedisFirewallRuleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RedisFirewallRule }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []RedisFirewallRule
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RedisFirewallRule }
type RediId ¶
RediId is a struct representing the Resource ID for a Redi
func ParseRediID ¶
ParseRediID parses 'input' into a RediId
func ParseRediIDInsensitively ¶
ParseRediIDInsensitively parses 'input' case-insensitively into a RediId note: this method should only be used for API response data and not user input
func (RediId) Segments ¶
func (id RediId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Redi ID
type RedisFirewallRule ¶
type RedisFirewallRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties RedisFirewallRuleProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type RedisFirewallRuleOperationPredicate ¶
func (RedisFirewallRuleOperationPredicate) Matches ¶
func (p RedisFirewallRuleOperationPredicate) Matches(input RedisFirewallRule) bool