Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForRouteNextHopType() []string
- func ValidateRouteID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRouteTableID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type Route
- type RouteId
- type RouteNextHopType
- type RouteOperationPredicate
- type RoutePropertiesFormat
- type RouteTableId
- type RoutesClient
- func (c RoutesClient) CreateOrUpdate(ctx context.Context, id RouteId, input Route) (result CreateOrUpdateOperationResponse, err error)
- func (c RoutesClient) CreateOrUpdateThenPoll(ctx context.Context, id RouteId, input Route) error
- func (c RoutesClient) Delete(ctx context.Context, id RouteId) (result DeleteOperationResponse, err error)
- func (c RoutesClient) DeleteThenPoll(ctx context.Context, id RouteId) error
- func (c RoutesClient) Get(ctx context.Context, id RouteId) (result GetOperationResponse, err error)
- func (c RoutesClient) List(ctx context.Context, id RouteTableId) (result ListOperationResponse, err error)
- func (c RoutesClient) ListComplete(ctx context.Context, id RouteTableId) (ListCompleteResult, error)
- func (c RoutesClient) ListCompleteMatchingPredicate(ctx context.Context, id RouteTableId, predicate RouteOperationPredicate) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForRouteNextHopType ¶
func PossibleValuesForRouteNextHopType() []string
func ValidateRouteID ¶
ValidateRouteID checks that 'input' can be parsed as a Route ID
func ValidateRouteTableID ¶
ValidateRouteTableID checks that 'input' can be parsed as a Route Table ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Route
}
type ListOperationResponse ¶
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 Route ¶
type Route struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoutePropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RouteId ¶
type RouteId struct { SubscriptionId string ResourceGroupName string RouteTableName string RouteName string }
RouteId is a struct representing the Resource ID for a Route
func NewRouteID ¶
func NewRouteID(subscriptionId string, resourceGroupName string, routeTableName string, routeName string) RouteId
NewRouteID returns a new RouteId struct
func ParseRouteID ¶
ParseRouteID parses 'input' into a RouteId
func ParseRouteIDInsensitively ¶
ParseRouteIDInsensitively parses 'input' case-insensitively into a RouteId note: this method should only be used for API response data and not user input
func (RouteId) Segments ¶
func (id RouteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Route ID
type RouteNextHopType ¶
type RouteNextHopType string
const ( RouteNextHopTypeInternet RouteNextHopType = "Internet" RouteNextHopTypeNone RouteNextHopType = "None" RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance" RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway" RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal" )
func (*RouteNextHopType) UnmarshalJSON ¶
func (s *RouteNextHopType) UnmarshalJSON(bytes []byte) error
type RouteOperationPredicate ¶
func (RouteOperationPredicate) Matches ¶
func (p RouteOperationPredicate) Matches(input Route) bool
type RoutePropertiesFormat ¶
type RoutePropertiesFormat struct { AddressPrefix *string `json:"addressPrefix,omitempty"` HasBgpOverride *bool `json:"hasBgpOverride,omitempty"` NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"` NextHopType RouteNextHopType `json:"nextHopType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type RouteTableId ¶
RouteTableId is a struct representing the Resource ID for a Route Table
func NewRouteTableID ¶
func NewRouteTableID(subscriptionId string, resourceGroupName string, routeTableName string) RouteTableId
NewRouteTableID returns a new RouteTableId struct
func ParseRouteTableID ¶
func ParseRouteTableID(input string) (*RouteTableId, error)
ParseRouteTableID parses 'input' into a RouteTableId
func ParseRouteTableIDInsensitively ¶
func ParseRouteTableIDInsensitively(input string) (*RouteTableId, error)
ParseRouteTableIDInsensitively parses 'input' case-insensitively into a RouteTableId note: this method should only be used for API response data and not user input
func (RouteTableId) Segments ¶
func (id RouteTableId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Route Table ID
func (RouteTableId) String ¶
func (id RouteTableId) String() string
String returns a human-readable description of this Route Table ID
type RoutesClient ¶
type RoutesClient struct {
Client *resourcemanager.Client
}
func NewRoutesClientWithBaseURI ¶
func NewRoutesClientWithBaseURI(sdkApi sdkEnv.Api) (*RoutesClient, error)
func (RoutesClient) CreateOrUpdate ¶
func (c RoutesClient) CreateOrUpdate(ctx context.Context, id RouteId, input Route) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RoutesClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (RoutesClient) Delete ¶
func (c RoutesClient) Delete(ctx context.Context, id RouteId) (result DeleteOperationResponse, err error)
Delete ...
func (RoutesClient) DeleteThenPoll ¶
func (c RoutesClient) DeleteThenPoll(ctx context.Context, id RouteId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RoutesClient) Get ¶
func (c RoutesClient) Get(ctx context.Context, id RouteId) (result GetOperationResponse, err error)
Get ...
func (RoutesClient) List ¶
func (c RoutesClient) List(ctx context.Context, id RouteTableId) (result ListOperationResponse, err error)
List ...
func (RoutesClient) ListComplete ¶
func (c RoutesClient) ListComplete(ctx context.Context, id RouteTableId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RoutesClient) ListCompleteMatchingPredicate ¶
func (c RoutesClient) ListCompleteMatchingPredicate(ctx context.Context, id RouteTableId, predicate RouteOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate