Documentation ¶
Index ¶
- func ValidateFirewallRuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FirewallRule
- type FirewallRuleId
- type FirewallRuleListResult
- type FirewallRuleProperties
- type FirewallRulesClient
- func (c FirewallRulesClient) CreateOrUpdate(ctx context.Context, id FirewallRuleId, input FirewallRule) (result CreateOrUpdateOperationResponse, err error)
- func (c FirewallRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallRuleId, input FirewallRule) error
- func (c FirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteOperationResponse, err error)
- func (c FirewallRulesClient) DeleteThenPoll(ctx context.Context, id FirewallRuleId) error
- func (c FirewallRulesClient) Get(ctx context.Context, id FirewallRuleId) (result GetOperationResponse, err error)
- func (c FirewallRulesClient) ListByServer(ctx context.Context, id ServerId) (result ListByServerOperationResponse, err error)
- type GetOperationResponse
- type ListByServerOperationResponse
- type ServerId
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 ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type DeleteOperationResponse ¶
type FirewallRule ¶
type FirewallRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties FirewallRuleProperties `json:"properties"` 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 FirewallRuleListResult ¶
type FirewallRuleListResult struct {
Value *[]FirewallRule `json:"value,omitempty"`
}
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 FirewallRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FirewallRulesClient) CreateOrUpdateThenPoll ¶
func (c FirewallRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id FirewallRuleId, input FirewallRule) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FirewallRulesClient) Delete ¶
func (c FirewallRulesClient) Delete(ctx context.Context, id FirewallRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (FirewallRulesClient) DeleteThenPoll ¶
func (c FirewallRulesClient) DeleteThenPoll(ctx context.Context, id FirewallRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
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 ServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRule }
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FirewallRuleListResult }
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (*ServerId) FromParseResult ¶
func (id *ServerId) FromParseResult(input resourceids.ParseResult) error
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID