Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForStorageType() []string + func ValidateDiskID(input interface{}, key string) (warnings []string, errors []error) + func ValidateUserID(input interface{}, key string) (warnings []string, errors []error) + type AttachDiskProperties struct + LeasedByLabVMId *string + type AttachOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Disk + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DetachDiskProperties struct + LeasedByLabVMId *string + type DetachOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type Disk struct + Id *string + Location *string + Name *string + Properties DiskProperties + Tags *map[string]string + Type *string + type DiskId struct + DiskName string + LabName string + ResourceGroupName string + SubscriptionId string + UserName string + func NewDiskID(subscriptionId string, resourceGroupName string, labName string, ...) DiskId + func ParseDiskID(input string) (*DiskId, error) + func ParseDiskIDInsensitively(input string) (*DiskId, error) + func (id *DiskId) FromParseResult(input resourceids.ParseResult) error + func (id DiskId) ID() string + func (id DiskId) Segments() []resourceids.Segment + func (id DiskId) String() string + type DiskOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p DiskOperationPredicate) Matches(input Disk) bool + type DiskProperties struct + CreatedDate *string + DiskBlobName *string + DiskSizeGiB *int64 + DiskType *StorageType + DiskUri *string + HostCaching *string + LeasedByLabVMId *string + ManagedDiskId *string + ProvisioningState *string + StorageAccountId *string + UniqueIdentifier *string + func (o *DiskProperties) GetCreatedDateAsTime() (*time.Time, error) + func (o *DiskProperties) SetCreatedDateAsTime(input time.Time) + type DisksClient struct + Client *resourcemanager.Client + func NewDisksClientWithBaseURI(sdkApi sdkEnv.Api) (*DisksClient, error) + func (c DisksClient) Attach(ctx context.Context, id DiskId, input AttachDiskProperties) (result AttachOperationResponse, err error) + func (c DisksClient) AttachThenPoll(ctx context.Context, id DiskId, input AttachDiskProperties) error + func (c DisksClient) CreateOrUpdate(ctx context.Context, id DiskId, input Disk) (result CreateOrUpdateOperationResponse, err error) + func (c DisksClient) CreateOrUpdateThenPoll(ctx context.Context, id DiskId, input Disk) error + func (c DisksClient) Delete(ctx context.Context, id DiskId) (result DeleteOperationResponse, err error) + func (c DisksClient) DeleteThenPoll(ctx context.Context, id DiskId) error + func (c DisksClient) Detach(ctx context.Context, id DiskId, input DetachDiskProperties) (result DetachOperationResponse, err error) + func (c DisksClient) DetachThenPoll(ctx context.Context, id DiskId, input DetachDiskProperties) error + func (c DisksClient) Get(ctx context.Context, id DiskId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c DisksClient) List(ctx context.Context, id UserId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c DisksClient) ListComplete(ctx context.Context, id UserId, options ListOperationOptions) (ListCompleteResult, error) + func (c DisksClient) ListCompleteMatchingPredicate(ctx context.Context, id UserId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + func (c DisksClient) Update(ctx context.Context, id DiskId, input UpdateResource) (result UpdateOperationResponse, err error) + type GetOperationOptions struct + Expand *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *Disk + OData *odata.OData + type ListCompleteResult struct + Items []Disk + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Expand *string + Filter *string + Orderby *string + Top *int64 + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Disk + OData *odata.OData + type StorageType string + const StorageTypePremium + const StorageTypeStandard + const StorageTypeStandardSSD + func (s *StorageType) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Disk + OData *odata.OData + type UpdateResource struct + Tags *map[string]string + type UserId struct + LabName string + ResourceGroupName string + SubscriptionId string + UserName string + func NewUserID(subscriptionId string, resourceGroupName string, labName string, ...) UserId + func ParseUserID(input string) (*UserId, error) + func ParseUserIDInsensitively(input string) (*UserId, error) + func (id *UserId) FromParseResult(input resourceids.ParseResult) error + func (id UserId) ID() string + func (id UserId) Segments() []resourceids.Segment + func (id UserId) String() string