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) (result 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) (result 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *DataStoreId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type DataStoresClient struct {
Client *resourcemanager.Client
}
func NewDataStoresClientWithBaseURI ¶
func NewDataStoresClientWithBaseURI(sdkApi sdkEnv.Api) (*DataStoresClient, error)
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) (result ListOperationResponse, err error)
List ...
func (DataStoresClient) ListComplete ¶
func (c DataStoresClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DataStoresClient) ListCompleteMatchingPredicate ¶
func (c DataStoresClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate DatastoreOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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 ( DatastoreProvisioningStateCanceled DatastoreProvisioningState = "Canceled" DatastoreProvisioningStateCancelled DatastoreProvisioningState = "Cancelled" DatastoreProvisioningStateCreating DatastoreProvisioningState = "Creating" DatastoreProvisioningStateDeleting DatastoreProvisioningState = "Deleting" DatastoreProvisioningStateFailed DatastoreProvisioningState = "Failed" DatastoreProvisioningStatePending DatastoreProvisioningState = "Pending" DatastoreProvisioningStateSucceeded DatastoreProvisioningState = "Succeeded" DatastoreProvisioningStateUpdating DatastoreProvisioningState = "Updating" )
func (*DatastoreProvisioningState) UnmarshalJSON ¶
func (s *DatastoreProvisioningState) UnmarshalJSON(bytes []byte) error
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" )
func (*DatastoreStatus) UnmarshalJSON ¶
func (s *DatastoreStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
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 MountOptionEnum ¶
type MountOptionEnum string
const ( MountOptionEnumATTACH MountOptionEnum = "ATTACH" MountOptionEnumMOUNT MountOptionEnum = "MOUNT" )
func (*MountOptionEnum) UnmarshalJSON ¶
func (s *MountOptionEnum) UnmarshalJSON(bytes []byte) error
type NetAppVolume ¶
type NetAppVolume struct {
Id string `json:"id"`
}