Documentation ¶
Index ¶
- func PossibleValuesForCloudLinkStatus() []string
- func ValidateCloudLinkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type CloudLink
- type CloudLinkId
- type CloudLinkOperationPredicate
- type CloudLinkProperties
- type CloudLinkStatus
- type CloudLinksClient
- func (c CloudLinksClient) CreateOrUpdate(ctx context.Context, id CloudLinkId, input CloudLink) (result CreateOrUpdateOperationResponse, err error)
- func (c CloudLinksClient) CreateOrUpdateThenPoll(ctx context.Context, id CloudLinkId, input CloudLink) error
- func (c CloudLinksClient) Delete(ctx context.Context, id CloudLinkId) (result DeleteOperationResponse, err error)
- func (c CloudLinksClient) DeleteThenPoll(ctx context.Context, id CloudLinkId) error
- func (c CloudLinksClient) Get(ctx context.Context, id CloudLinkId) (result GetOperationResponse, err error)
- func (c CloudLinksClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c CloudLinksClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c CloudLinksClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate CloudLinkOperationPredicate) (result ListCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PrivateCloudId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCloudLinkStatus ¶
func PossibleValuesForCloudLinkStatus() []string
func ValidateCloudLinkID ¶
ValidateCloudLinkID checks that 'input' can be parsed as a Cloud Link ID
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type CloudLink ¶
type CloudLink struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CloudLinkProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CloudLinkId ¶
type CloudLinkId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string CloudLinkName string }
CloudLinkId is a struct representing the Resource ID for a Cloud Link
func NewCloudLinkID ¶
func NewCloudLinkID(subscriptionId string, resourceGroupName string, privateCloudName string, cloudLinkName string) CloudLinkId
NewCloudLinkID returns a new CloudLinkId struct
func ParseCloudLinkID ¶
func ParseCloudLinkID(input string) (*CloudLinkId, error)
ParseCloudLinkID parses 'input' into a CloudLinkId
func ParseCloudLinkIDInsensitively ¶
func ParseCloudLinkIDInsensitively(input string) (*CloudLinkId, error)
ParseCloudLinkIDInsensitively parses 'input' case-insensitively into a CloudLinkId note: this method should only be used for API response data and not user input
func (*CloudLinkId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CloudLinkId) FromParseResult(input resourceids.ParseResult) error
func (CloudLinkId) Segments ¶
func (id CloudLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cloud Link ID
func (CloudLinkId) String ¶
func (id CloudLinkId) String() string
String returns a human-readable description of this Cloud Link ID
type CloudLinkOperationPredicate ¶
func (CloudLinkOperationPredicate) Matches ¶
func (p CloudLinkOperationPredicate) Matches(input CloudLink) bool
type CloudLinkProperties ¶
type CloudLinkProperties struct { LinkedCloud *string `json:"linkedCloud,omitempty"` Status *CloudLinkStatus `json:"status,omitempty"` }
type CloudLinkStatus ¶
type CloudLinkStatus string
const ( CloudLinkStatusActive CloudLinkStatus = "Active" CloudLinkStatusBuilding CloudLinkStatus = "Building" CloudLinkStatusDeleting CloudLinkStatus = "Deleting" CloudLinkStatusDisconnected CloudLinkStatus = "Disconnected" CloudLinkStatusFailed CloudLinkStatus = "Failed" )
func (*CloudLinkStatus) UnmarshalJSON ¶
func (s *CloudLinkStatus) UnmarshalJSON(bytes []byte) error
type CloudLinksClient ¶
type CloudLinksClient struct {
Client *resourcemanager.Client
}
func NewCloudLinksClientWithBaseURI ¶
func NewCloudLinksClientWithBaseURI(sdkApi sdkEnv.Api) (*CloudLinksClient, error)
func (CloudLinksClient) CreateOrUpdate ¶
func (c CloudLinksClient) CreateOrUpdate(ctx context.Context, id CloudLinkId, input CloudLink) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CloudLinksClient) CreateOrUpdateThenPoll ¶
func (c CloudLinksClient) CreateOrUpdateThenPoll(ctx context.Context, id CloudLinkId, input CloudLink) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CloudLinksClient) Delete ¶
func (c CloudLinksClient) Delete(ctx context.Context, id CloudLinkId) (result DeleteOperationResponse, err error)
Delete ...
func (CloudLinksClient) DeleteThenPoll ¶
func (c CloudLinksClient) DeleteThenPoll(ctx context.Context, id CloudLinkId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CloudLinksClient) Get ¶
func (c CloudLinksClient) Get(ctx context.Context, id CloudLinkId) (result GetOperationResponse, err error)
Get ...
func (CloudLinksClient) List ¶
func (c CloudLinksClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (CloudLinksClient) ListComplete ¶
func (c CloudLinksClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CloudLinksClient) ListCompleteMatchingPredicate ¶
func (c CloudLinksClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate CloudLinkOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *PrivateCloudId) FromParseResult(input resourceids.ParseResult) error
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