Documentation ¶
Index ¶
- func ValidateFirewallRuleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FirewallRule
- type FirewallRuleId
- type FirewallRuleList
- type FirewallRuleOperationPredicate
- type FirewallRulesClient
- func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input FirewallRule) (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) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
- func (c FirewallRulesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
- func (c FirewallRulesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
- func (c FirewallRulesClient) Replace(ctx context.Context, id commonids.SqlServerId, input FirewallRuleList) (result ReplaceOperationResponse, err error)
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerCustomPager
- type ListByServerOperationResponse
- type ReplaceOperationResponse
- type ServerFirewallRuleProperties
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
Types ¶
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 *ServerFirewallRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type FirewallRuleId ¶
type FirewallRuleId struct { SubscriptionId string ResourceGroupName string ServerName string FirewallRuleName string }
FirewallRuleId is a struct representing the Resource ID for a Firewall Rule
func NewFirewallRuleID ¶
func NewFirewallRuleID(subscriptionId string, resourceGroupName string, serverName 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 ¶
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 FirewallRuleList ¶
type FirewallRuleList struct {
Values *[]FirewallRule `json:"values,omitempty"`
}
type FirewallRuleOperationPredicate ¶
func (FirewallRuleOperationPredicate) Matches ¶
func (p FirewallRuleOperationPredicate) Matches(input FirewallRule) bool
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 FirewallRule) (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) ListByServer ¶
func (c FirewallRulesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (FirewallRulesClient) ListByServerComplete ¶
func (c FirewallRulesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (FirewallRulesClient) ListByServerCompleteMatchingPredicate ¶
func (c FirewallRulesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate FirewallRuleOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FirewallRulesClient) Replace ¶
func (c FirewallRulesClient) Replace(ctx context.Context, id commonids.SqlServerId, input FirewallRuleList) (result ReplaceOperationResponse, err error)
Replace ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRule }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []FirewallRule }
type ListByServerCustomPager ¶
func (*ListByServerCustomPager) NextPageLink ¶
func (p *ListByServerCustomPager) NextPageLink() *odata.Link
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FirewallRule }
type ReplaceOperationResponse ¶
type ReplaceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRule }