Documentation ¶
Index ¶
- func PossibleValuesForDNSRefreshOperationStatus() []string
- func ValidateVirtualClusterID(input interface{}, key string) (warnings []string, errors []error)
- type DNSRefreshOperationStatus
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type UpdateDnsServersOperationResponse
- type UpdateOperationResponse
- type UpdateVirtualClusterDnsServersOperation
- type VirtualCluster
- type VirtualClusterDnsServersProperties
- type VirtualClusterId
- type VirtualClusterOperationPredicate
- type VirtualClusterProperties
- type VirtualClusterUpdate
- type VirtualClustersClient
- func (c VirtualClustersClient) Delete(ctx context.Context, id VirtualClusterId) (result DeleteOperationResponse, err error)
- func (c VirtualClustersClient) DeleteThenPoll(ctx context.Context, id VirtualClusterId) error
- func (c VirtualClustersClient) Get(ctx context.Context, id VirtualClusterId) (result GetOperationResponse, err error)
- func (c VirtualClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c VirtualClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c VirtualClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c VirtualClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c VirtualClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c VirtualClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c VirtualClustersClient) Update(ctx context.Context, id VirtualClusterId, input VirtualClusterUpdate) (result UpdateOperationResponse, err error)
- func (c VirtualClustersClient) UpdateDnsServers(ctx context.Context, id VirtualClusterId) (result UpdateDnsServersOperationResponse, err error)
- func (c VirtualClustersClient) UpdateDnsServersThenPoll(ctx context.Context, id VirtualClusterId) error
- func (c VirtualClustersClient) UpdateThenPoll(ctx context.Context, id VirtualClusterId, input VirtualClusterUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDNSRefreshOperationStatus ¶
func PossibleValuesForDNSRefreshOperationStatus() []string
func ValidateVirtualClusterID ¶
ValidateVirtualClusterID checks that 'input' can be parsed as a Virtual Cluster ID
Types ¶
type DNSRefreshOperationStatus ¶
type DNSRefreshOperationStatus string
const ( DNSRefreshOperationStatusFailed DNSRefreshOperationStatus = "Failed" DNSRefreshOperationStatusInProgress DNSRefreshOperationStatus = "InProgress" DNSRefreshOperationStatusSucceeded DNSRefreshOperationStatus = "Succeeded" )
func (*DNSRefreshOperationStatus) UnmarshalJSON ¶
func (s *DNSRefreshOperationStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualCluster }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []VirtualCluster
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualCluster }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []VirtualCluster
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualCluster }
type UpdateOperationResponse ¶
type UpdateVirtualClusterDnsServersOperation ¶
type UpdateVirtualClusterDnsServersOperation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualClusterDnsServersProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualCluster ¶
type VirtualClusterDnsServersProperties ¶
type VirtualClusterDnsServersProperties struct {
Status *DNSRefreshOperationStatus `json:"status,omitempty"`
}
type VirtualClusterId ¶
type VirtualClusterId struct { SubscriptionId string ResourceGroupName string VirtualClusterName string }
VirtualClusterId is a struct representing the Resource ID for a Virtual Cluster
func NewVirtualClusterID ¶
func NewVirtualClusterID(subscriptionId string, resourceGroupName string, virtualClusterName string) VirtualClusterId
NewVirtualClusterID returns a new VirtualClusterId struct
func ParseVirtualClusterID ¶
func ParseVirtualClusterID(input string) (*VirtualClusterId, error)
ParseVirtualClusterID parses 'input' into a VirtualClusterId
func ParseVirtualClusterIDInsensitively ¶
func ParseVirtualClusterIDInsensitively(input string) (*VirtualClusterId, error)
ParseVirtualClusterIDInsensitively parses 'input' case-insensitively into a VirtualClusterId note: this method should only be used for API response data and not user input
func (VirtualClusterId) ID ¶
func (id VirtualClusterId) ID() string
ID returns the formatted Virtual Cluster ID
func (VirtualClusterId) Segments ¶
func (id VirtualClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Cluster ID
func (VirtualClusterId) String ¶
func (id VirtualClusterId) String() string
String returns a human-readable description of this Virtual Cluster ID
type VirtualClusterOperationPredicate ¶
type VirtualClusterOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (VirtualClusterOperationPredicate) Matches ¶
func (p VirtualClusterOperationPredicate) Matches(input VirtualCluster) bool
type VirtualClusterUpdate ¶
type VirtualClusterUpdate struct { Properties *VirtualClusterProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VirtualClustersClient ¶
type VirtualClustersClient struct {
Client *resourcemanager.Client
}
func NewVirtualClustersClientWithBaseURI ¶
func NewVirtualClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualClustersClient, error)
func (VirtualClustersClient) Delete ¶
func (c VirtualClustersClient) Delete(ctx context.Context, id VirtualClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualClustersClient) DeleteThenPoll ¶
func (c VirtualClustersClient) DeleteThenPoll(ctx context.Context, id VirtualClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualClustersClient) Get ¶
func (c VirtualClustersClient) Get(ctx context.Context, id VirtualClusterId) (result GetOperationResponse, err error)
Get ...
func (VirtualClustersClient) List ¶
func (c VirtualClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (VirtualClustersClient) ListByResourceGroup ¶
func (c VirtualClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VirtualClustersClient) ListByResourceGroupComplete ¶
func (c VirtualClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (VirtualClustersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VirtualClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VirtualClusterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualClustersClient) ListComplete ¶
func (c VirtualClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualClustersClient) ListCompleteMatchingPredicate ¶
func (c VirtualClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VirtualClusterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualClustersClient) Update ¶
func (c VirtualClustersClient) Update(ctx context.Context, id VirtualClusterId, input VirtualClusterUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualClustersClient) UpdateDnsServers ¶
func (c VirtualClustersClient) UpdateDnsServers(ctx context.Context, id VirtualClusterId) (result UpdateDnsServersOperationResponse, err error)
UpdateDnsServers ...
func (VirtualClustersClient) UpdateDnsServersThenPoll ¶
func (c VirtualClustersClient) UpdateDnsServersThenPoll(ctx context.Context, id VirtualClusterId) error
UpdateDnsServersThenPoll performs UpdateDnsServers then polls until it's completed
func (VirtualClustersClient) UpdateThenPoll ¶
func (c VirtualClustersClient) UpdateThenPoll(ctx context.Context, id VirtualClusterId, input VirtualClusterUpdate) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_virtualcluster.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- method_updatednsservers.go
- model_updatevirtualclusterdnsserversoperation.go
- model_virtualcluster.go
- model_virtualclusterdnsserversproperties.go
- model_virtualclusterproperties.go
- model_virtualclusterupdate.go
- predicates.go
- version.go