Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForStatus() []string
- func ValidateStorageContainerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocation
- type ExtendedLocationTypes
- type GetOperationResponse
- type ListAllCompleteResult
- type ListAllCustomPager
- type ListAllOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningStateEnum
- type Status
- type StorageContainerId
- type StorageContainerProperties
- type StorageContainerStatus
- type StorageContainerStatusProvisioningStatus
- type StorageContainers
- type StorageContainersClient
- func (c StorageContainersClient) CreateOrUpdate(ctx context.Context, id StorageContainerId, input StorageContainers) (result CreateOrUpdateOperationResponse, err error)
- func (c StorageContainersClient) CreateOrUpdateThenPoll(ctx context.Context, id StorageContainerId, input StorageContainers) error
- func (c StorageContainersClient) Delete(ctx context.Context, id StorageContainerId) (result DeleteOperationResponse, err error)
- func (c StorageContainersClient) DeleteThenPoll(ctx context.Context, id StorageContainerId) error
- func (c StorageContainersClient) Get(ctx context.Context, id StorageContainerId) (result GetOperationResponse, err error)
- func (c StorageContainersClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c StorageContainersClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c StorageContainersClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c StorageContainersClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c StorageContainersClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c StorageContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c StorageContainersClient) Update(ctx context.Context, id StorageContainerId, ...) (result UpdateOperationResponse, err error)
- func (c StorageContainersClient) UpdateThenPoll(ctx context.Context, id StorageContainerId, ...) error
- type StorageContainersOperationPredicate
- type StorageContainersUpdateRequest
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationTypes ¶
func PossibleValuesForExtendedLocationTypes() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateStorageContainerID ¶
ValidateStorageContainerID checks that 'input' can be parsed as a Storage Container ID
Types ¶
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type ExtendedLocation struct { Name *string `json:"name,omitempty"` Type *ExtendedLocationTypes `json:"type,omitempty"` }
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
const (
ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)
func (*ExtendedLocationTypes) UnmarshalJSON ¶
func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StorageContainers }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []StorageContainers }
type ListAllCustomPager ¶ added in v0.20240628.1153531
func (*ListAllCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListAllCustomPager) NextPageLink() *odata.Link
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StorageContainers }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []StorageContainers }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StorageContainers }
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumAccepted ProvisioningStateEnum = "Accepted" ProvisioningStateEnumCanceled ProvisioningStateEnum = "Canceled" ProvisioningStateEnumDeleting ProvisioningStateEnum = "Deleting" ProvisioningStateEnumFailed ProvisioningStateEnum = "Failed" ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" )
func (*ProvisioningStateEnum) UnmarshalJSON ¶
func (s *ProvisioningStateEnum) UnmarshalJSON(bytes []byte) error
type StorageContainerId ¶
type StorageContainerId struct { SubscriptionId string ResourceGroupName string StorageContainerName string }
StorageContainerId is a struct representing the Resource ID for a Storage Container
func NewStorageContainerID ¶
func NewStorageContainerID(subscriptionId string, resourceGroupName string, storageContainerName string) StorageContainerId
NewStorageContainerID returns a new StorageContainerId struct
func ParseStorageContainerID ¶
func ParseStorageContainerID(input string) (*StorageContainerId, error)
ParseStorageContainerID parses 'input' into a StorageContainerId
func ParseStorageContainerIDInsensitively ¶
func ParseStorageContainerIDInsensitively(input string) (*StorageContainerId, error)
ParseStorageContainerIDInsensitively parses 'input' case-insensitively into a StorageContainerId note: this method should only be used for API response data and not user input
func (*StorageContainerId) FromParseResult ¶
func (id *StorageContainerId) FromParseResult(input resourceids.ParseResult) error
func (StorageContainerId) ID ¶
func (id StorageContainerId) ID() string
ID returns the formatted Storage Container ID
func (StorageContainerId) Segments ¶
func (id StorageContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Container ID
func (StorageContainerId) String ¶
func (id StorageContainerId) String() string
String returns a human-readable description of this Storage Container ID
type StorageContainerProperties ¶
type StorageContainerProperties struct { Path string `json:"path"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` Status *StorageContainerStatus `json:"status,omitempty"` }
type StorageContainerStatus ¶
type StorageContainerStatus struct { AvailableSizeMB *int64 `json:"availableSizeMB,omitempty"` ContainerSizeMB *int64 `json:"containerSizeMB,omitempty"` ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` ProvisioningStatus *StorageContainerStatusProvisioningStatus `json:"provisioningStatus,omitempty"` }
type StorageContainers ¶
type StorageContainers struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *StorageContainerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type StorageContainersClient ¶
type StorageContainersClient struct {
Client *resourcemanager.Client
}
func NewStorageContainersClientWithBaseURI ¶
func NewStorageContainersClientWithBaseURI(sdkApi sdkEnv.Api) (*StorageContainersClient, error)
func (StorageContainersClient) CreateOrUpdate ¶
func (c StorageContainersClient) CreateOrUpdate(ctx context.Context, id StorageContainerId, input StorageContainers) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (StorageContainersClient) CreateOrUpdateThenPoll ¶
func (c StorageContainersClient) CreateOrUpdateThenPoll(ctx context.Context, id StorageContainerId, input StorageContainers) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (StorageContainersClient) Delete ¶
func (c StorageContainersClient) Delete(ctx context.Context, id StorageContainerId) (result DeleteOperationResponse, err error)
Delete ...
func (StorageContainersClient) DeleteThenPoll ¶
func (c StorageContainersClient) DeleteThenPoll(ctx context.Context, id StorageContainerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (StorageContainersClient) Get ¶
func (c StorageContainersClient) Get(ctx context.Context, id StorageContainerId) (result GetOperationResponse, err error)
Get ...
func (StorageContainersClient) List ¶
func (c StorageContainersClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (StorageContainersClient) ListAll ¶
func (c StorageContainersClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (StorageContainersClient) ListAllComplete ¶
func (c StorageContainersClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (StorageContainersClient) ListAllCompleteMatchingPredicate ¶
func (c StorageContainersClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate StorageContainersOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StorageContainersClient) ListComplete ¶
func (c StorageContainersClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (StorageContainersClient) ListCompleteMatchingPredicate ¶
func (c StorageContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate StorageContainersOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StorageContainersClient) Update ¶
func (c StorageContainersClient) Update(ctx context.Context, id StorageContainerId, input StorageContainersUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (StorageContainersClient) UpdateThenPoll ¶
func (c StorageContainersClient) UpdateThenPoll(ctx context.Context, id StorageContainerId, input StorageContainersUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
type StorageContainersOperationPredicate ¶
type StorageContainersOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (StorageContainersOperationPredicate) Matches ¶
func (p StorageContainersOperationPredicate) Matches(input StorageContainers) bool
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_storagecontainer.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listall.go
- method_update.go
- model_extendedlocation.go
- model_storagecontainerproperties.go
- model_storagecontainers.go
- model_storagecontainerstatus.go
- model_storagecontainerstatusprovisioningstatus.go
- model_storagecontainersupdaterequest.go
- predicates.go
- version.go