Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateDataStoreID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DataStoreId
- type DataStoresClient
- func (c DataStoresClient) Create(ctx context.Context, id DataStoreId, input Datastore) (result CreateOperationResponse, err error)
- func (c DataStoresClient) CreateThenPoll(ctx context.Context, id DataStoreId, input Datastore) error
- func (c DataStoresClient) Delete(ctx context.Context, id DataStoreId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c DataStoresClient) DeleteThenPoll(ctx context.Context, id DataStoreId, options DeleteOperationOptions) error
- func (c DataStoresClient) Get(ctx context.Context, id DataStoreId) (result GetOperationResponse, err error)
- func (c DataStoresClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c DataStoresClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c DataStoresClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DataStoresClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c DataStoresClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c DataStoresClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c DataStoresClient) Update(ctx context.Context, id DataStoreId, input ResourcePatch) (result UpdateOperationResponse, err error)
- type Datastore
- type DatastoreOperationPredicate
- type DatastoreProperties
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type ResourcePatch
- type ResourceStatus
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDataStoreID ¶
ValidateDataStoreID checks that 'input' can be parsed as a Data Store ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataStoreId ¶
DataStoreId is a struct representing the Resource ID for a Data Store
func NewDataStoreID ¶
func NewDataStoreID(subscriptionId string, resourceGroupName 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) Create ¶
func (c DataStoresClient) Create(ctx context.Context, id DataStoreId, input Datastore) (result CreateOperationResponse, err error)
Create ...
func (DataStoresClient) CreateThenPoll ¶
func (c DataStoresClient) CreateThenPoll(ctx context.Context, id DataStoreId, input Datastore) error
CreateThenPoll performs Create then polls until it's completed
func (DataStoresClient) Delete ¶
func (c DataStoresClient) Delete(ctx context.Context, id DataStoreId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (DataStoresClient) DeleteThenPoll ¶
func (c DataStoresClient) DeleteThenPoll(ctx context.Context, id DataStoreId, options DeleteOperationOptions) 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 commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (DataStoresClient) ListByResourceGroup ¶
func (c DataStoresClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DataStoresClient) ListByResourceGroupComplete ¶
func (c DataStoresClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (DataStoresClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DataStoresClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DatastoreOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DataStoresClient) ListComplete ¶
func (c DataStoresClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (DataStoresClient) ListCompleteMatchingPredicate ¶
func (c DataStoresClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DatastoreOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DataStoresClient) Update ¶
func (c DataStoresClient) Update(ctx context.Context, id DataStoreId, input ResourcePatch) (result UpdateOperationResponse, err error)
Update ...
type Datastore ¶
type Datastore struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties DatastoreProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DatastoreOperationPredicate ¶
type DatastoreOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (DatastoreOperationPredicate) Matches ¶
func (p DatastoreOperationPredicate) Matches(input Datastore) bool
type DatastoreProperties ¶
type DatastoreProperties struct { CustomResourceName *string `json:"customResourceName,omitempty"` InventoryItemId *string `json:"inventoryItemId,omitempty"` MoName *string `json:"moName,omitempty"` MoRefId *string `json:"moRefId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Statuses *[]ResourceStatus `json:"statuses,omitempty"` Uuid *string `json:"uuid,omitempty"` VCenterId *string `json:"vCenterId,omitempty"` }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExtendedLocation ¶
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Datastore
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Datastore // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type ResourcePatch ¶
type ResourceStatus ¶
type ResourceStatus struct { LastUpdatedAt *string `json:"lastUpdatedAt,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Severity *string `json:"severity,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
func (*ResourceStatus) GetLastUpdatedAtAsTime ¶
func (o *ResourceStatus) GetLastUpdatedAtAsTime() (*time.Time, error)
func (*ResourceStatus) SetLastUpdatedAtAsTime ¶
func (o *ResourceStatus) SetLastUpdatedAtAsTime(input time.Time)
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_datastore.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_update_autorest.go
- model_datastore.go
- model_datastoreproperties.go
- model_extendedlocation.go
- model_resourcepatch.go
- model_resourcestatus.go
- predicates.go
- version.go