Documentation ¶
Index ¶
- func PossibleValuesForCircuitConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateConnectionID(input interface{}, key string) (warnings []string, errors []error)
- type CircuitConnectionStatus
- type ConnectionId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExpressRouteCircuitConnection
- type ExpressRouteCircuitConnectionOperationPredicate
- type ExpressRouteCircuitConnectionPropertiesFormat
- type ExpressRouteCircuitConnectionsClient
- func (c ExpressRouteCircuitConnectionsClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input ExpressRouteCircuitConnection) (result CreateOrUpdateOperationResponse, err error)
- func (c ExpressRouteCircuitConnectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ConnectionId, input ExpressRouteCircuitConnection) error
- func (c ExpressRouteCircuitConnectionsClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error)
- func (c ExpressRouteCircuitConnectionsClient) DeleteThenPoll(ctx context.Context, id ConnectionId) error
- func (c ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error)
- func (c ExpressRouteCircuitConnectionsClient) List(ctx context.Context, id commonids.ExpressRouteCircuitPeeringId) (result ListOperationResponse, err error)
- func (c ExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, id commonids.ExpressRouteCircuitPeeringId) (ListCompleteResult, error)
- func (c ExpressRouteCircuitConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ExpressRouteCircuitPeeringId, ...) (result ListCompleteResult, err error)
- type GetOperationResponse
- type IPv6CircuitConnectionConfig
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type SubResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCircuitConnectionStatus ¶
func PossibleValuesForCircuitConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateConnectionID ¶
ValidateConnectionID checks that 'input' can be parsed as a Connection ID
Types ¶
type CircuitConnectionStatus ¶
type CircuitConnectionStatus string
const ( CircuitConnectionStatusConnected CircuitConnectionStatus = "Connected" CircuitConnectionStatusConnecting CircuitConnectionStatus = "Connecting" CircuitConnectionStatusDisconnected CircuitConnectionStatus = "Disconnected" )
func (*CircuitConnectionStatus) UnmarshalJSON ¶
func (s *CircuitConnectionStatus) UnmarshalJSON(bytes []byte) error
type ConnectionId ¶
ConnectionId is a struct representing the Resource ID for a Connection
func NewConnectionID ¶
func NewConnectionID(subscriptionId string, resourceGroupName string, connectionName string) ConnectionId
NewConnectionID returns a new ConnectionId struct
func ParseConnectionID ¶
func ParseConnectionID(input string) (*ConnectionId, error)
ParseConnectionID parses 'input' into a ConnectionId
func ParseConnectionIDInsensitively ¶
func ParseConnectionIDInsensitively(input string) (*ConnectionId, error)
ParseConnectionIDInsensitively parses 'input' case-insensitively into a ConnectionId note: this method should only be used for API response data and not user input
func (ConnectionId) Segments ¶
func (id ConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Connection ID
func (ConnectionId) String ¶
func (id ConnectionId) String() string
String returns a human-readable description of this Connection ID
type DeleteOperationResponse ¶
type ExpressRouteCircuitConnection ¶
type ExpressRouteCircuitConnection struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExpressRouteCircuitConnectionOperationPredicate ¶
type ExpressRouteCircuitConnectionOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ExpressRouteCircuitConnectionOperationPredicate) Matches ¶
func (p ExpressRouteCircuitConnectionOperationPredicate) Matches(input ExpressRouteCircuitConnection) bool
type ExpressRouteCircuitConnectionPropertiesFormat ¶
type ExpressRouteCircuitConnectionPropertiesFormat struct { AddressPrefix *string `json:"addressPrefix,omitempty"` AuthorizationKey *string `json:"authorizationKey,omitempty"` CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"` IPv6CircuitConnectionConfig *IPv6CircuitConnectionConfig `json:"ipv6CircuitConnectionConfig,omitempty"` PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ExpressRouteCircuitConnectionsClient ¶
type ExpressRouteCircuitConnectionsClient struct {
Client *resourcemanager.Client
}
func NewExpressRouteCircuitConnectionsClientWithBaseURI ¶
func NewExpressRouteCircuitConnectionsClientWithBaseURI(api environments.Api) (*ExpressRouteCircuitConnectionsClient, error)
func (ExpressRouteCircuitConnectionsClient) CreateOrUpdate ¶
func (c ExpressRouteCircuitConnectionsClient) CreateOrUpdate(ctx context.Context, id ConnectionId, input ExpressRouteCircuitConnection) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ExpressRouteCircuitConnectionsClient) CreateOrUpdateThenPoll ¶
func (c ExpressRouteCircuitConnectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ConnectionId, input ExpressRouteCircuitConnection) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ExpressRouteCircuitConnectionsClient) Delete ¶
func (c ExpressRouteCircuitConnectionsClient) Delete(ctx context.Context, id ConnectionId) (result DeleteOperationResponse, err error)
Delete ...
func (ExpressRouteCircuitConnectionsClient) DeleteThenPoll ¶
func (c ExpressRouteCircuitConnectionsClient) DeleteThenPoll(ctx context.Context, id ConnectionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExpressRouteCircuitConnectionsClient) Get ¶
func (c ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, id ConnectionId) (result GetOperationResponse, err error)
Get ...
func (ExpressRouteCircuitConnectionsClient) List ¶
func (c ExpressRouteCircuitConnectionsClient) List(ctx context.Context, id commonids.ExpressRouteCircuitPeeringId) (result ListOperationResponse, err error)
List ...
func (ExpressRouteCircuitConnectionsClient) ListComplete ¶
func (c ExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, id commonids.ExpressRouteCircuitPeeringId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ExpressRouteCircuitConnectionsClient) ListCompleteMatchingPredicate ¶
func (c ExpressRouteCircuitConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ExpressRouteCircuitPeeringId, predicate ExpressRouteCircuitConnectionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExpressRouteCircuitConnection }
type IPv6CircuitConnectionConfig ¶
type IPv6CircuitConnectionConfig struct { AddressPrefix *string `json:"addressPrefix,omitempty"` CircuitConnectionStatus *CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ExpressRouteCircuitConnection
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExpressRouteCircuitConnection }
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 SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}