Documentation ¶
Index ¶
- func PossibleValuesForAccess() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRouteFilterRuleType() []string
- func ValidateRouteFilterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRouteFilterRuleID(input interface{}, key string) (warnings []string, errors []error)
- type Access
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByRouteFilterCompleteResult
- type ListByRouteFilterOperationResponse
- type ProvisioningState
- type RouteFilterId
- type RouteFilterRule
- type RouteFilterRuleId
- type RouteFilterRuleOperationPredicate
- type RouteFilterRulePropertiesFormat
- type RouteFilterRuleType
- type RouteFilterRulesClient
- func (c RouteFilterRulesClient) CreateOrUpdate(ctx context.Context, id RouteFilterRuleId, input RouteFilterRule) (result CreateOrUpdateOperationResponse, err error)
- func (c RouteFilterRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id RouteFilterRuleId, input RouteFilterRule) error
- func (c RouteFilterRulesClient) Delete(ctx context.Context, id RouteFilterRuleId) (result DeleteOperationResponse, err error)
- func (c RouteFilterRulesClient) DeleteThenPoll(ctx context.Context, id RouteFilterRuleId) error
- func (c RouteFilterRulesClient) Get(ctx context.Context, id RouteFilterRuleId) (result GetOperationResponse, err error)
- func (c RouteFilterRulesClient) ListByRouteFilter(ctx context.Context, id RouteFilterId) (result ListByRouteFilterOperationResponse, err error)
- func (c RouteFilterRulesClient) ListByRouteFilterComplete(ctx context.Context, id RouteFilterId) (ListByRouteFilterCompleteResult, error)
- func (c RouteFilterRulesClient) ListByRouteFilterCompleteMatchingPredicate(ctx context.Context, id RouteFilterId, ...) (result ListByRouteFilterCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccess ¶
func PossibleValuesForAccess() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRouteFilterRuleType ¶
func PossibleValuesForRouteFilterRuleType() []string
func ValidateRouteFilterID ¶
ValidateRouteFilterID checks that 'input' can be parsed as a Route Filter ID
func ValidateRouteFilterRuleID ¶
ValidateRouteFilterRuleID checks that 'input' can be parsed as a Route Filter Rule ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RouteFilterRule }
type ListByRouteFilterCompleteResult ¶
type ListByRouteFilterCompleteResult struct {
Items []RouteFilterRule
}
type ListByRouteFilterOperationResponse ¶
type ListByRouteFilterOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RouteFilterRule }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RouteFilterId ¶
RouteFilterId is a struct representing the Resource ID for a Route Filter
func NewRouteFilterID ¶
func NewRouteFilterID(subscriptionId string, resourceGroupName string, routeFilterName string) RouteFilterId
NewRouteFilterID returns a new RouteFilterId struct
func ParseRouteFilterID ¶
func ParseRouteFilterID(input string) (*RouteFilterId, error)
ParseRouteFilterID parses 'input' into a RouteFilterId
func ParseRouteFilterIDInsensitively ¶
func ParseRouteFilterIDInsensitively(input string) (*RouteFilterId, error)
ParseRouteFilterIDInsensitively parses 'input' case-insensitively into a RouteFilterId note: this method should only be used for API response data and not user input
func (RouteFilterId) ID ¶
func (id RouteFilterId) ID() string
ID returns the formatted Route Filter ID
func (RouteFilterId) Segments ¶
func (id RouteFilterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Route Filter ID
func (RouteFilterId) String ¶
func (id RouteFilterId) String() string
String returns a human-readable description of this Route Filter ID
type RouteFilterRule ¶
type RouteFilterRule struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *RouteFilterRulePropertiesFormat `json:"properties,omitempty"` }
type RouteFilterRuleId ¶
type RouteFilterRuleId struct { SubscriptionId string ResourceGroupName string RouteFilterName string RouteFilterRuleName string }
RouteFilterRuleId is a struct representing the Resource ID for a Route Filter Rule
func NewRouteFilterRuleID ¶
func NewRouteFilterRuleID(subscriptionId string, resourceGroupName string, routeFilterName string, routeFilterRuleName string) RouteFilterRuleId
NewRouteFilterRuleID returns a new RouteFilterRuleId struct
func ParseRouteFilterRuleID ¶
func ParseRouteFilterRuleID(input string) (*RouteFilterRuleId, error)
ParseRouteFilterRuleID parses 'input' into a RouteFilterRuleId
func ParseRouteFilterRuleIDInsensitively ¶
func ParseRouteFilterRuleIDInsensitively(input string) (*RouteFilterRuleId, error)
ParseRouteFilterRuleIDInsensitively parses 'input' case-insensitively into a RouteFilterRuleId note: this method should only be used for API response data and not user input
func (RouteFilterRuleId) ID ¶
func (id RouteFilterRuleId) ID() string
ID returns the formatted Route Filter Rule ID
func (RouteFilterRuleId) Segments ¶
func (id RouteFilterRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Route Filter Rule ID
func (RouteFilterRuleId) String ¶
func (id RouteFilterRuleId) String() string
String returns a human-readable description of this Route Filter Rule ID
type RouteFilterRuleOperationPredicate ¶
type RouteFilterRuleOperationPredicate struct { Etag *string Id *string Location *string Name *string }
func (RouteFilterRuleOperationPredicate) Matches ¶
func (p RouteFilterRuleOperationPredicate) Matches(input RouteFilterRule) bool
type RouteFilterRulePropertiesFormat ¶
type RouteFilterRulePropertiesFormat struct { Access Access `json:"access"` Communities []string `json:"communities"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RouteFilterRuleType RouteFilterRuleType `json:"routeFilterRuleType"` }
type RouteFilterRuleType ¶
type RouteFilterRuleType string
const (
RouteFilterRuleTypeCommunity RouteFilterRuleType = "Community"
)
func (*RouteFilterRuleType) UnmarshalJSON ¶
func (s *RouteFilterRuleType) UnmarshalJSON(bytes []byte) error
type RouteFilterRulesClient ¶
type RouteFilterRulesClient struct {
Client *resourcemanager.Client
}
func NewRouteFilterRulesClientWithBaseURI ¶
func NewRouteFilterRulesClientWithBaseURI(api environments.Api) (*RouteFilterRulesClient, error)
func (RouteFilterRulesClient) CreateOrUpdate ¶
func (c RouteFilterRulesClient) CreateOrUpdate(ctx context.Context, id RouteFilterRuleId, input RouteFilterRule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RouteFilterRulesClient) CreateOrUpdateThenPoll ¶
func (c RouteFilterRulesClient) CreateOrUpdateThenPoll(ctx context.Context, id RouteFilterRuleId, input RouteFilterRule) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (RouteFilterRulesClient) Delete ¶
func (c RouteFilterRulesClient) Delete(ctx context.Context, id RouteFilterRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (RouteFilterRulesClient) DeleteThenPoll ¶
func (c RouteFilterRulesClient) DeleteThenPoll(ctx context.Context, id RouteFilterRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RouteFilterRulesClient) Get ¶
func (c RouteFilterRulesClient) Get(ctx context.Context, id RouteFilterRuleId) (result GetOperationResponse, err error)
Get ...
func (RouteFilterRulesClient) ListByRouteFilter ¶
func (c RouteFilterRulesClient) ListByRouteFilter(ctx context.Context, id RouteFilterId) (result ListByRouteFilterOperationResponse, err error)
ListByRouteFilter ...
func (RouteFilterRulesClient) ListByRouteFilterComplete ¶
func (c RouteFilterRulesClient) ListByRouteFilterComplete(ctx context.Context, id RouteFilterId) (ListByRouteFilterCompleteResult, error)
ListByRouteFilterComplete retrieves all the results into a single object
func (RouteFilterRulesClient) ListByRouteFilterCompleteMatchingPredicate ¶
func (c RouteFilterRulesClient) ListByRouteFilterCompleteMatchingPredicate(ctx context.Context, id RouteFilterId, predicate RouteFilterRuleOperationPredicate) (result ListByRouteFilterCompleteResult, err error)
ListByRouteFilterCompleteMatchingPredicate retrieves all the results and then applies the predicate