virtualnetworkrules

package
v2.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAccountID

func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)

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

type AccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

AccountId is a struct representing the Resource ID for a Account

func NewAccountID

func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId

NewAccountID returns a new AccountId struct

func ParseAccountID

func ParseAccountID(input string) (*AccountId, error)

ParseAccountID parses 'input' into a AccountId

func ParseAccountIDInsensitively

func ParseAccountIDInsensitively(input string) (*AccountId, error)

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) ID

func (id AccountId) ID() string

ID returns the formatted Account ID

func (AccountId) Segments

func (id AccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Account ID

func (AccountId) String

func (id AccountId) String() string

String returns a human-readable description of 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 DeleteResponse struct {
	HttpResponse *http.Response
}

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

type VirtualNetworkRulePredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (VirtualNetworkRulePredicate) Matches

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

CreateOrUpdate ...

func (VirtualNetworkRulesClient) Delete

Delete ...

func (VirtualNetworkRulesClient) Get

Get ...

func (VirtualNetworkRulesClient) ListByAccount

func (c VirtualNetworkRulesClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error)

ListByAccount ...

func (VirtualNetworkRulesClient) ListByAccountComplete

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

Update ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL