Documentation ¶
Index ¶
- func PossibleValuesForVirtualNetworkRuleState() []string
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualNetworkRuleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type ServerId
- type VirtualNetworkRule
- type VirtualNetworkRuleId
- type VirtualNetworkRuleOperationPredicate
- type VirtualNetworkRuleProperties
- type VirtualNetworkRuleState
- type VirtualNetworkRulesClient
- func (c VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkRuleId, input VirtualNetworkRule) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualNetworkRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkRuleId, input VirtualNetworkRule) error
- func (c VirtualNetworkRulesClient) Delete(ctx context.Context, id VirtualNetworkRuleId) (result DeleteOperationResponse, err error)
- func (c VirtualNetworkRulesClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkRuleId) error
- func (c VirtualNetworkRulesClient) Get(ctx context.Context, id VirtualNetworkRuleId) (result GetOperationResponse, err error)
- func (c VirtualNetworkRulesClient) ListByServer(ctx context.Context, id ServerId) (resp ListByServerOperationResponse, err error)
- func (c VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
- func (c VirtualNetworkRulesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, ...) (resp ListByServerCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVirtualNetworkRuleState ¶
func PossibleValuesForVirtualNetworkRuleState() []string
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
func ValidateVirtualNetworkRuleID ¶
func ValidateVirtualNetworkRuleID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualNetworkRuleID checks that 'input' can be parsed as a Virtual Network Rule ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *VirtualNetworkRule }
type ListByServerCompleteResult ¶
type ListByServerCompleteResult struct {
Items []VirtualNetworkRule
}
type ListByServerOperationResponse ¶
type ListByServerOperationResponse struct { HttpResponse *http.Response Model *[]VirtualNetworkRule // contains filtered or unexported fields }
func (ListByServerOperationResponse) HasMore ¶
func (r ListByServerOperationResponse) HasMore() bool
func (ListByServerOperationResponse) LoadMore ¶
func (r ListByServerOperationResponse) LoadMore(ctx context.Context) (resp ListByServerOperationResponse, err error)
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) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualNetworkRuleProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type VirtualNetworkRuleId ¶
type VirtualNetworkRuleId struct { SubscriptionId string ResourceGroupName string ServerName string VirtualNetworkRuleName string }
VirtualNetworkRuleId is a struct representing the Resource ID for a Virtual Network Rule
func NewVirtualNetworkRuleID ¶
func NewVirtualNetworkRuleID(subscriptionId string, resourceGroupName string, serverName string, virtualNetworkRuleName string) VirtualNetworkRuleId
NewVirtualNetworkRuleID returns a new VirtualNetworkRuleId struct
func ParseVirtualNetworkRuleID ¶
func ParseVirtualNetworkRuleID(input string) (*VirtualNetworkRuleId, error)
ParseVirtualNetworkRuleID parses 'input' into a VirtualNetworkRuleId
func ParseVirtualNetworkRuleIDInsensitively ¶
func ParseVirtualNetworkRuleIDInsensitively(input string) (*VirtualNetworkRuleId, error)
ParseVirtualNetworkRuleIDInsensitively parses 'input' case-insensitively into a VirtualNetworkRuleId note: this method should only be used for API response data and not user input
func (VirtualNetworkRuleId) ID ¶
func (id VirtualNetworkRuleId) ID() string
ID returns the formatted Virtual Network Rule ID
func (VirtualNetworkRuleId) Segments ¶
func (id VirtualNetworkRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Network Rule ID
func (VirtualNetworkRuleId) String ¶
func (id VirtualNetworkRuleId) String() string
String returns a human-readable description of this Virtual Network Rule ID
type VirtualNetworkRuleOperationPredicate ¶
func (VirtualNetworkRuleOperationPredicate) Matches ¶
func (p VirtualNetworkRuleOperationPredicate) Matches(input VirtualNetworkRule) bool
type VirtualNetworkRuleProperties ¶
type VirtualNetworkRuleProperties struct { IgnoreMissingVnetServiceEndpoint *bool `json:"ignoreMissingVnetServiceEndpoint,omitempty"` State *VirtualNetworkRuleState `json:"state,omitempty"` VirtualNetworkSubnetId string `json:"virtualNetworkSubnetId"` }
type VirtualNetworkRuleState ¶
type VirtualNetworkRuleState string
const ( VirtualNetworkRuleStateDeleting VirtualNetworkRuleState = "Deleting" VirtualNetworkRuleStateInProgress VirtualNetworkRuleState = "InProgress" VirtualNetworkRuleStateInitializing VirtualNetworkRuleState = "Initializing" VirtualNetworkRuleStateReady VirtualNetworkRuleState = "Ready" VirtualNetworkRuleStateUnknown VirtualNetworkRuleState = "Unknown" )
type VirtualNetworkRulesClient ¶
type VirtualNetworkRulesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewVirtualNetworkRulesClientWithBaseURI ¶
func NewVirtualNetworkRulesClientWithBaseURI(endpoint string) VirtualNetworkRulesClient
func (VirtualNetworkRulesClient) CreateOrUpdate ¶
func (c VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkRuleId, input VirtualNetworkRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualNetworkRulesClient) CreateOrUpdateThenPoll ¶
func (c VirtualNetworkRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualNetworkRuleId, input VirtualNetworkRule) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualNetworkRulesClient) Delete ¶
func (c VirtualNetworkRulesClient) Delete(ctx context.Context, id VirtualNetworkRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualNetworkRulesClient) DeleteThenPoll ¶
func (c VirtualNetworkRulesClient) DeleteThenPoll(ctx context.Context, id VirtualNetworkRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualNetworkRulesClient) Get ¶
func (c VirtualNetworkRulesClient) Get(ctx context.Context, id VirtualNetworkRuleId) (result GetOperationResponse, err error)
Get ...
func (VirtualNetworkRulesClient) ListByServer ¶
func (c VirtualNetworkRulesClient) ListByServer(ctx context.Context, id ServerId) (resp ListByServerOperationResponse, err error)
ListByServer ...
func (VirtualNetworkRulesClient) ListByServerComplete ¶
func (c VirtualNetworkRulesClient) ListByServerComplete(ctx context.Context, id ServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all of the results into a single object
func (VirtualNetworkRulesClient) ListByServerCompleteMatchingPredicate ¶
func (c VirtualNetworkRulesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate VirtualNetworkRuleOperationPredicate) (resp ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all of the results and then applied the predicate