Documentation ¶
Index ¶
- func PossibleValuesForGlobalReachConnectionProvisioningState() []string
- func PossibleValuesForGlobalReachConnectionStatus() []string
- func ValidateGlobalReachConnectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GlobalReachConnection
- type GlobalReachConnectionId
- func NewGlobalReachConnectionID(subscriptionId string, resourceGroupName string, privateCloudName string, ...) GlobalReachConnectionId
- func ParseGlobalReachConnectionID(input string) (*GlobalReachConnectionId, error)
- func ParseGlobalReachConnectionIDInsensitively(input string) (*GlobalReachConnectionId, error)
- type GlobalReachConnectionOperationPredicate
- type GlobalReachConnectionProperties
- type GlobalReachConnectionProvisioningState
- type GlobalReachConnectionStatus
- type GlobalReachConnectionsClient
- func (c GlobalReachConnectionsClient) CreateOrUpdate(ctx context.Context, id GlobalReachConnectionId, input GlobalReachConnection) (result CreateOrUpdateOperationResponse, err error)
- func (c GlobalReachConnectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id GlobalReachConnectionId, input GlobalReachConnection) error
- func (c GlobalReachConnectionsClient) Delete(ctx context.Context, id GlobalReachConnectionId) (result DeleteOperationResponse, err error)
- func (c GlobalReachConnectionsClient) DeleteThenPoll(ctx context.Context, id GlobalReachConnectionId) error
- func (c GlobalReachConnectionsClient) Get(ctx context.Context, id GlobalReachConnectionId) (result GetOperationResponse, err error)
- func (c GlobalReachConnectionsClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c GlobalReachConnectionsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c GlobalReachConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result ListCompleteResult, err error)
- type ListCompleteResult
- type ListOperationResponse
- type PrivateCloudId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGlobalReachConnectionProvisioningState ¶
func PossibleValuesForGlobalReachConnectionProvisioningState() []string
func PossibleValuesForGlobalReachConnectionStatus ¶
func PossibleValuesForGlobalReachConnectionStatus() []string
func ValidateGlobalReachConnectionID ¶
func ValidateGlobalReachConnectionID(input interface{}, key string) (warnings []string, errors []error)
ValidateGlobalReachConnectionID checks that 'input' can be parsed as a Global Reach Connection ID
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GlobalReachConnection }
type GlobalReachConnection ¶
type GlobalReachConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GlobalReachConnectionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type GlobalReachConnectionId ¶
type GlobalReachConnectionId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string GlobalReachConnectionName string }
GlobalReachConnectionId is a struct representing the Resource ID for a Global Reach Connection
func NewGlobalReachConnectionID ¶
func NewGlobalReachConnectionID(subscriptionId string, resourceGroupName string, privateCloudName string, globalReachConnectionName string) GlobalReachConnectionId
NewGlobalReachConnectionID returns a new GlobalReachConnectionId struct
func ParseGlobalReachConnectionID ¶
func ParseGlobalReachConnectionID(input string) (*GlobalReachConnectionId, error)
ParseGlobalReachConnectionID parses 'input' into a GlobalReachConnectionId
func ParseGlobalReachConnectionIDInsensitively ¶
func ParseGlobalReachConnectionIDInsensitively(input string) (*GlobalReachConnectionId, error)
ParseGlobalReachConnectionIDInsensitively parses 'input' case-insensitively into a GlobalReachConnectionId note: this method should only be used for API response data and not user input
func (GlobalReachConnectionId) ID ¶
func (id GlobalReachConnectionId) ID() string
ID returns the formatted Global Reach Connection ID
func (GlobalReachConnectionId) Segments ¶
func (id GlobalReachConnectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Global Reach Connection ID
func (GlobalReachConnectionId) String ¶
func (id GlobalReachConnectionId) String() string
String returns a human-readable description of this Global Reach Connection ID
type GlobalReachConnectionOperationPredicate ¶
func (GlobalReachConnectionOperationPredicate) Matches ¶
func (p GlobalReachConnectionOperationPredicate) Matches(input GlobalReachConnection) bool
type GlobalReachConnectionProperties ¶
type GlobalReachConnectionProperties struct { AddressPrefix *string `json:"addressPrefix,omitempty"` AuthorizationKey *string `json:"authorizationKey,omitempty"` CircuitConnectionStatus *GlobalReachConnectionStatus `json:"circuitConnectionStatus,omitempty"` ExpressRouteId *string `json:"expressRouteId,omitempty"` PeerExpressRouteCircuit *string `json:"peerExpressRouteCircuit,omitempty"` ProvisioningState *GlobalReachConnectionProvisioningState `json:"provisioningState,omitempty"` }
type GlobalReachConnectionProvisioningState ¶
type GlobalReachConnectionProvisioningState string
const ( GlobalReachConnectionProvisioningStateCanceled GlobalReachConnectionProvisioningState = "Canceled" GlobalReachConnectionProvisioningStateFailed GlobalReachConnectionProvisioningState = "Failed" GlobalReachConnectionProvisioningStateSucceeded GlobalReachConnectionProvisioningState = "Succeeded" GlobalReachConnectionProvisioningStateUpdating GlobalReachConnectionProvisioningState = "Updating" )
func (*GlobalReachConnectionProvisioningState) UnmarshalJSON ¶
func (s *GlobalReachConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type GlobalReachConnectionStatus ¶
type GlobalReachConnectionStatus string
const ( GlobalReachConnectionStatusConnected GlobalReachConnectionStatus = "Connected" GlobalReachConnectionStatusConnecting GlobalReachConnectionStatus = "Connecting" GlobalReachConnectionStatusDisconnected GlobalReachConnectionStatus = "Disconnected" )
func (*GlobalReachConnectionStatus) UnmarshalJSON ¶
func (s *GlobalReachConnectionStatus) UnmarshalJSON(bytes []byte) error
type GlobalReachConnectionsClient ¶
type GlobalReachConnectionsClient struct {
Client *resourcemanager.Client
}
func NewGlobalReachConnectionsClientWithBaseURI ¶
func NewGlobalReachConnectionsClientWithBaseURI(sdkApi sdkEnv.Api) (*GlobalReachConnectionsClient, error)
func (GlobalReachConnectionsClient) CreateOrUpdate ¶
func (c GlobalReachConnectionsClient) CreateOrUpdate(ctx context.Context, id GlobalReachConnectionId, input GlobalReachConnection) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GlobalReachConnectionsClient) CreateOrUpdateThenPoll ¶
func (c GlobalReachConnectionsClient) CreateOrUpdateThenPoll(ctx context.Context, id GlobalReachConnectionId, input GlobalReachConnection) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GlobalReachConnectionsClient) Delete ¶
func (c GlobalReachConnectionsClient) Delete(ctx context.Context, id GlobalReachConnectionId) (result DeleteOperationResponse, err error)
Delete ...
func (GlobalReachConnectionsClient) DeleteThenPoll ¶
func (c GlobalReachConnectionsClient) DeleteThenPoll(ctx context.Context, id GlobalReachConnectionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GlobalReachConnectionsClient) Get ¶
func (c GlobalReachConnectionsClient) Get(ctx context.Context, id GlobalReachConnectionId) (result GetOperationResponse, err error)
Get ...
func (GlobalReachConnectionsClient) List ¶
func (c GlobalReachConnectionsClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (GlobalReachConnectionsClient) ListComplete ¶
func (c GlobalReachConnectionsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (GlobalReachConnectionsClient) ListCompleteMatchingPredicate ¶
func (c GlobalReachConnectionsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate GlobalReachConnectionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []GlobalReachConnection
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GlobalReachConnection }
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID