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 CreateOrUpdateResponse
- type CreateOrUpdateVirtualNetworkRuleParameters
- type CreateOrUpdateVirtualNetworkRuleProperties
- type DeleteResponse
- type GetResponse
- type ListByAccountCompleteResult
- type ListByAccountResponse
- type UpdateResponse
- type UpdateVirtualNetworkRuleParameters
- type UpdateVirtualNetworkRuleProperties
- type VirtualNetworkRule
- type VirtualNetworkRuleId
- type VirtualNetworkRulePredicate
- type VirtualNetworkRuleProperties
- type VirtualNetworkRulesClient
- func (c VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, id VirtualNetworkRuleId, ...) (result CreateOrUpdateResponse, err error)
- func (c VirtualNetworkRulesClient) Delete(ctx context.Context, id VirtualNetworkRuleId) (result DeleteResponse, err error)
- func (c VirtualNetworkRulesClient) Get(ctx context.Context, id VirtualNetworkRuleId) (result GetResponse, err error)
- func (c VirtualNetworkRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error)
- func (c VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
- func (c VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate VirtualNetworkRulePredicate) (resp ListByAccountCompleteResult, err error)
- func (c VirtualNetworkRulesClient) Update(ctx context.Context, id VirtualNetworkRuleId, ...) (result UpdateResponse, 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 CreateOrUpdateResponse ¶
type CreateOrUpdateResponse 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 DeleteResponse ¶
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *VirtualNetworkRule }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct {
Items []VirtualNetworkRule
}
type ListByAccountResponse ¶
type ListByAccountResponse struct { HttpResponse *http.Response Model *[]VirtualNetworkRule // contains filtered or unexported fields }
func (ListByAccountResponse) HasMore ¶
func (r ListByAccountResponse) HasMore() bool
func (ListByAccountResponse) LoadMore ¶
func (r ListByAccountResponse) LoadMore(ctx context.Context) (resp ListByAccountResponse, err error)
type UpdateResponse ¶
type UpdateResponse 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 VirtualNetworkRulePredicate ¶
func (VirtualNetworkRulePredicate) Matches ¶
func (p VirtualNetworkRulePredicate) 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 CreateOrUpdateResponse, err error)
CreateOrUpdate ...
func (VirtualNetworkRulesClient) Delete ¶
func (c VirtualNetworkRulesClient) Delete(ctx context.Context, id VirtualNetworkRuleId) (result DeleteResponse, err error)
Delete ...
func (VirtualNetworkRulesClient) Get ¶
func (c VirtualNetworkRulesClient) Get(ctx context.Context, id VirtualNetworkRuleId) (result GetResponse, err error)
Get ...
func (VirtualNetworkRulesClient) ListByAccount ¶
func (c VirtualNetworkRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, 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 VirtualNetworkRulePredicate) (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 UpdateResponse, 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