Documentation ¶
Index ¶
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualNetworkRuleID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateVirtualNetworkRuleParameters
- type CreateOrUpdateVirtualNetworkRuleProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAccountCompleteResult
- type ListByAccountOperationResponse
- type UpdateOperationResponse
- type UpdateVirtualNetworkRuleParameters
- type UpdateVirtualNetworkRuleProperties
- type VirtualNetworkRule
- type VirtualNetworkRuleId
- type VirtualNetworkRuleOperationPredicate
- type VirtualNetworkRuleProperties
- type VirtualNetworkRulesClient
- func (c VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkRuleId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualNetworkRulesClient) Delete(ctx context.Context, id VirtualNetworkRuleId) (result DeleteOperationResponse, err error)
- func (c VirtualNetworkRulesClient) Get(ctx context.Context, id VirtualNetworkRuleId) (result GetOperationResponse, err error)
- func (c VirtualNetworkRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountOperationResponse, err error)
- func (c VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
- func (c VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, ...) (resp ListByAccountCompleteResult, err error)
- func (c VirtualNetworkRulesClient) Update(ctx context.Context, id VirtualNetworkRuleId, ...) (result UpdateOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account 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 AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *VirtualNetworkRule }
type CreateOrUpdateVirtualNetworkRuleParameters ¶
type CreateOrUpdateVirtualNetworkRuleParameters struct {
Properties CreateOrUpdateVirtualNetworkRuleProperties `json:"properties"`
}
type CreateOrUpdateVirtualNetworkRuleProperties ¶
type CreateOrUpdateVirtualNetworkRuleProperties struct {
SubnetId string `json:"subnetId"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *VirtualNetworkRule }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct {
Items []VirtualNetworkRule
}
type ListByAccountOperationResponse ¶
type ListByAccountOperationResponse struct { HttpResponse *http.Response Model *[]VirtualNetworkRule // contains filtered or unexported fields }
func (ListByAccountOperationResponse) HasMore ¶
func (r ListByAccountOperationResponse) HasMore() bool
func (ListByAccountOperationResponse) LoadMore ¶
func (r ListByAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByAccountOperationResponse, err error)
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *VirtualNetworkRule }
type UpdateVirtualNetworkRuleParameters ¶
type UpdateVirtualNetworkRuleParameters struct {
Properties *UpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}
type UpdateVirtualNetworkRuleProperties ¶
type UpdateVirtualNetworkRuleProperties struct {
SubnetId *string `json:"subnetId,omitempty"`
}
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualNetworkRuleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualNetworkRuleId ¶
type VirtualNetworkRuleId struct { SubscriptionId string ResourceGroupName string AccountName string VirtualNetworkRuleName string }
VirtualNetworkRuleId is a struct representing the Resource ID for a Virtual Network Rule
func NewVirtualNetworkRuleID ¶
func NewVirtualNetworkRuleID(subscriptionId string, resourceGroupName string, accountName 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 {
SubnetId *string `json:"subnetId,omitempty"`
}
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 CreateOrUpdateVirtualNetworkRuleParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualNetworkRulesClient) Delete ¶
func (c VirtualNetworkRulesClient) Delete(ctx context.Context, id VirtualNetworkRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualNetworkRulesClient) Get ¶
func (c VirtualNetworkRulesClient) Get(ctx context.Context, id VirtualNetworkRuleId) (result GetOperationResponse, err error)
Get ...
func (VirtualNetworkRulesClient) ListByAccount ¶
func (c VirtualNetworkRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountOperationResponse, err error)
ListByAccount ...
func (VirtualNetworkRulesClient) ListByAccountComplete ¶
func (c VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all of the results into a single object
func (VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate ¶
func (c VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate VirtualNetworkRuleOperationPredicate) (resp ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VirtualNetworkRulesClient) Update ¶
func (c VirtualNetworkRulesClient) Update(ctx context.Context, id VirtualNetworkRuleId, input UpdateVirtualNetworkRuleParameters) (result UpdateOperationResponse, err error)
Update ...
Source Files ¶
- client.go
- id_account.go
- id_virtualnetworkrule.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyaccount_autorest.go
- method_update_autorest.go
- model_createorupdatevirtualnetworkruleparameters.go
- model_createorupdatevirtualnetworkruleproperties.go
- model_updatevirtualnetworkruleparameters.go
- model_updatevirtualnetworkruleproperties.go
- model_virtualnetworkrule.go
- model_virtualnetworkruleproperties.go
- predicates.go
- version.go