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 ListByAccountCustomPager
- 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) (result ListByAccountOperationResponse, err error)
- func (c VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
- func (c VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, ...) (result 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) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData 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 OData *odata.OData Model *VirtualNetworkRule }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualNetworkRule }
type ListByAccountCustomPager ¶
func (*ListByAccountCustomPager) NextPageLink ¶
func (p *ListByAccountCustomPager) NextPageLink() *odata.Link
type ListByAccountOperationResponse ¶
type ListByAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualNetworkRule }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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) FromParseResult ¶
func (id *VirtualNetworkRuleId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewVirtualNetworkRulesClientWithBaseURI ¶
func NewVirtualNetworkRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualNetworkRulesClient, error)
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) (result ListByAccountOperationResponse, err error)
ListByAccount ...
func (VirtualNetworkRulesClient) ListByAccountComplete ¶
func (c VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all the results into a single object
func (VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate ¶
func (c VirtualNetworkRulesClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate VirtualNetworkRuleOperationPredicate) (result ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all the results and then applies 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.go
- method_delete.go
- method_get.go
- method_listbyaccount.go
- method_update.go
- model_createorupdatevirtualnetworkruleparameters.go
- model_createorupdatevirtualnetworkruleproperties.go
- model_updatevirtualnetworkruleparameters.go
- model_updatevirtualnetworkruleproperties.go
- model_virtualnetworkrule.go
- model_virtualnetworkruleproperties.go
- predicates.go
- version.go