Documentation ¶
Index ¶
- func PossibleValuesForDatastoreProvisioningState() []string
- func PossibleValuesForDatastoreStatus() []string
- func PossibleValuesForMountOptionEnum() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDataStoreID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type CreateOrUpdateOperationResponse
- type DataStoreId
- type DataStoresClient
- func (c DataStoresClient) CreateOrUpdate(ctx context.Context, id DataStoreId, input Datastore) (result CreateOrUpdateOperationResponse, err error)
- func (c DataStoresClient) CreateOrUpdateThenPoll(ctx context.Context, id DataStoreId, input Datastore) error
- func (c DataStoresClient) Delete(ctx context.Context, id DataStoreId) (result DeleteOperationResponse, err error)
- func (c DataStoresClient) DeleteThenPoll(ctx context.Context, id DataStoreId) error
- func (c DataStoresClient) Get(ctx context.Context, id DataStoreId) (result GetOperationResponse, err error)
- func (c DataStoresClient) List(ctx context.Context, id ClusterId) (resp ListOperationResponse, err error)
- func (c DataStoresClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
- func (c DataStoresClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate DatastoreOperationPredicate) (resp ListCompleteResult, err error)
- type Datastore
- type DatastoreOperationPredicate
- type DatastoreProperties
- type DatastoreProvisioningState
- type DatastoreStatus
- type DeleteOperationResponse
- type DiskPoolVolume
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type MountOptionEnum
- type NetAppVolume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDatastoreProvisioningState ¶
func PossibleValuesForDatastoreProvisioningState() []string
func PossibleValuesForDatastoreStatus ¶
func PossibleValuesForDatastoreStatus() []string
func PossibleValuesForMountOptionEnum ¶
func PossibleValuesForMountOptionEnum() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidateDataStoreID ¶
ValidateDataStoreID checks that 'input' can be parsed as a Data Store ID
Types ¶
type ClusterId ¶
type ClusterId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string ClusterName string }
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
func NewClusterID(subscriptionId string, resourceGroupName string, privateCloudName string, clusterName string) ClusterId
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataStoreId ¶
type DataStoreId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string ClusterName string DataStoreName string }
DataStoreId is a struct representing the Resource ID for a Data Store
func NewDataStoreID ¶
func NewDataStoreID(subscriptionId string, resourceGroupName string, privateCloudName string, clusterName string, dataStoreName string) DataStoreId
NewDataStoreID returns a new DataStoreId struct
func ParseDataStoreID ¶
func ParseDataStoreID(input string) (*DataStoreId, error)
ParseDataStoreID parses 'input' into a DataStoreId
func ParseDataStoreIDInsensitively ¶
func ParseDataStoreIDInsensitively(input string) (*DataStoreId, error)
ParseDataStoreIDInsensitively parses 'input' case-insensitively into a DataStoreId note: this method should only be used for API response data and not user input
func (DataStoreId) Segments ¶
func (id DataStoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Store ID
func (DataStoreId) String ¶
func (id DataStoreId) String() string
String returns a human-readable description of this Data Store ID
type DataStoresClient ¶
func NewDataStoresClientWithBaseURI ¶
func NewDataStoresClientWithBaseURI(endpoint string) DataStoresClient
func (DataStoresClient) CreateOrUpdate ¶
func (c DataStoresClient) CreateOrUpdate(ctx context.Context, id DataStoreId, input Datastore) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DataStoresClient) CreateOrUpdateThenPoll ¶
func (c DataStoresClient) CreateOrUpdateThenPoll(ctx context.Context, id DataStoreId, input Datastore) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DataStoresClient) Delete ¶
func (c DataStoresClient) Delete(ctx context.Context, id DataStoreId) (result DeleteOperationResponse, err error)
Delete ...
func (DataStoresClient) DeleteThenPoll ¶
func (c DataStoresClient) DeleteThenPoll(ctx context.Context, id DataStoreId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DataStoresClient) Get ¶
func (c DataStoresClient) Get(ctx context.Context, id DataStoreId) (result GetOperationResponse, err error)
Get ...
func (DataStoresClient) List ¶
func (c DataStoresClient) List(ctx context.Context, id ClusterId) (resp ListOperationResponse, err error)
List ...
func (DataStoresClient) ListComplete ¶
func (c DataStoresClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (DataStoresClient) ListCompleteMatchingPredicate ¶
func (c DataStoresClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate DatastoreOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type Datastore ¶
type Datastore struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DatastoreProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DatastoreOperationPredicate ¶
func (DatastoreOperationPredicate) Matches ¶
func (p DatastoreOperationPredicate) Matches(input Datastore) bool
type DatastoreProperties ¶
type DatastoreProperties struct { DiskPoolVolume *DiskPoolVolume `json:"diskPoolVolume,omitempty"` NetAppVolume *NetAppVolume `json:"netAppVolume,omitempty"` ProvisioningState *DatastoreProvisioningState `json:"provisioningState,omitempty"` Status *DatastoreStatus `json:"status,omitempty"` }
type DatastoreProvisioningState ¶
type DatastoreProvisioningState string
const ( DatastoreProvisioningStateCancelled DatastoreProvisioningState = "Cancelled" DatastoreProvisioningStateCreating DatastoreProvisioningState = "Creating" DatastoreProvisioningStateDeleting DatastoreProvisioningState = "Deleting" DatastoreProvisioningStateFailed DatastoreProvisioningState = "Failed" DatastoreProvisioningStatePending DatastoreProvisioningState = "Pending" DatastoreProvisioningStateSucceeded DatastoreProvisioningState = "Succeeded" DatastoreProvisioningStateUpdating DatastoreProvisioningState = "Updating" )
type DatastoreStatus ¶
type DatastoreStatus string
const ( DatastoreStatusAccessible DatastoreStatus = "Accessible" DatastoreStatusAttached DatastoreStatus = "Attached" DatastoreStatusDeadOrError DatastoreStatus = "DeadOrError" DatastoreStatusDetached DatastoreStatus = "Detached" DatastoreStatusInaccessible DatastoreStatus = "Inaccessible" DatastoreStatusLostCommunication DatastoreStatus = "LostCommunication" DatastoreStatusUnknown DatastoreStatus = "Unknown" )
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DiskPoolVolume ¶
type DiskPoolVolume struct { LunName string `json:"lunName"` MountOption *MountOptionEnum `json:"mountOption,omitempty"` Path *string `json:"path,omitempty"` TargetId string `json:"targetId"` }
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Datastore
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Datastore // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type MountOptionEnum ¶
type MountOptionEnum string
const ( MountOptionEnumATTACH MountOptionEnum = "ATTACH" MountOptionEnumMOUNT MountOptionEnum = "MOUNT" )
type NetAppVolume ¶
type NetAppVolume struct {
Id string `json:"id"`
}