Documentation ¶
Index ¶
- func PossibleValuesForAzureContainerDataFormat() []string
- func PossibleValuesForClientPermissionType() []string
- func PossibleValuesForDataPolicy() []string
- func PossibleValuesForMonitoringStatus() []string
- func PossibleValuesForMountType() []string
- func PossibleValuesForRoleTypes() []string
- func PossibleValuesForShareAccessProtocol() []string
- func PossibleValuesForShareAccessType() []string
- func PossibleValuesForShareStatus() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateShareID(input interface{}, key string) (warnings []string, errors []error)
- type AzureContainerDataFormat
- type AzureContainerInfo
- type ClientAccessRight
- type ClientPermissionType
- type CreateOrUpdateOperationResponse
- type DataBoxEdgeDeviceId
- type DataPolicy
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceCustomPager
- type ListByDataBoxEdgeDeviceOperationResponse
- type MonitoringStatus
- type MountPointMap
- type MountType
- type RefreshDetails
- type RefreshOperationResponse
- type RoleTypes
- type Share
- type ShareAccessProtocol
- type ShareAccessType
- type ShareId
- type ShareOperationPredicate
- type ShareProperties
- type ShareStatus
- type SharesClient
- func (c SharesClient) CreateOrUpdate(ctx context.Context, id ShareId, input Share) (result CreateOrUpdateOperationResponse, err error)
- func (c SharesClient) CreateOrUpdateThenPoll(ctx context.Context, id ShareId, input Share) error
- func (c SharesClient) Delete(ctx context.Context, id ShareId) (result DeleteOperationResponse, err error)
- func (c SharesClient) DeleteThenPoll(ctx context.Context, id ShareId) error
- func (c SharesClient) Get(ctx context.Context, id ShareId) (result GetOperationResponse, err error)
- func (c SharesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c SharesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c SharesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate ShareOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
- func (c SharesClient) Refresh(ctx context.Context, id ShareId) (result RefreshOperationResponse, err error)
- func (c SharesClient) RefreshThenPoll(ctx context.Context, id ShareId) error
- type UserAccessRight
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAzureContainerDataFormat ¶
func PossibleValuesForAzureContainerDataFormat() []string
func PossibleValuesForClientPermissionType ¶
func PossibleValuesForClientPermissionType() []string
func PossibleValuesForDataPolicy ¶
func PossibleValuesForDataPolicy() []string
func PossibleValuesForMonitoringStatus ¶
func PossibleValuesForMonitoringStatus() []string
func PossibleValuesForMountType ¶
func PossibleValuesForMountType() []string
func PossibleValuesForRoleTypes ¶
func PossibleValuesForRoleTypes() []string
func PossibleValuesForShareAccessProtocol ¶
func PossibleValuesForShareAccessProtocol() []string
func PossibleValuesForShareAccessType ¶
func PossibleValuesForShareAccessType() []string
func PossibleValuesForShareStatus ¶
func PossibleValuesForShareStatus() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
func ValidateShareID ¶
ValidateShareID checks that 'input' can be parsed as a Share ID
Types ¶
type AzureContainerDataFormat ¶
type AzureContainerDataFormat string
const ( AzureContainerDataFormatAzureFile AzureContainerDataFormat = "AzureFile" AzureContainerDataFormatBlockBlob AzureContainerDataFormat = "BlockBlob" AzureContainerDataFormatPageBlob AzureContainerDataFormat = "PageBlob" )
func (*AzureContainerDataFormat) UnmarshalJSON ¶
func (s *AzureContainerDataFormat) UnmarshalJSON(bytes []byte) error
type AzureContainerInfo ¶
type AzureContainerInfo struct { ContainerName string `json:"containerName"` DataFormat AzureContainerDataFormat `json:"dataFormat"` StorageAccountCredentialId string `json:"storageAccountCredentialId"` }
type ClientAccessRight ¶
type ClientAccessRight struct { AccessPermission ClientPermissionType `json:"accessPermission"` Client string `json:"client"` }
type ClientPermissionType ¶
type ClientPermissionType string
const ( ClientPermissionTypeNoAccess ClientPermissionType = "NoAccess" ClientPermissionTypeReadOnly ClientPermissionType = "ReadOnly" ClientPermissionTypeReadWrite ClientPermissionType = "ReadWrite" )
func (*ClientPermissionType) UnmarshalJSON ¶
func (s *ClientPermissionType) UnmarshalJSON(bytes []byte) error
type DataBoxEdgeDeviceId ¶
type DataBoxEdgeDeviceId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string }
DataBoxEdgeDeviceId is a struct representing the Resource ID for a Data Box Edge Device
func NewDataBoxEdgeDeviceID ¶
func NewDataBoxEdgeDeviceID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string) DataBoxEdgeDeviceId
NewDataBoxEdgeDeviceID returns a new DataBoxEdgeDeviceId struct
func ParseDataBoxEdgeDeviceID ¶
func ParseDataBoxEdgeDeviceID(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceID parses 'input' into a DataBoxEdgeDeviceId
func ParseDataBoxEdgeDeviceIDInsensitively ¶
func ParseDataBoxEdgeDeviceIDInsensitively(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceIDInsensitively parses 'input' case-insensitively into a DataBoxEdgeDeviceId note: this method should only be used for API response data and not user input
func (*DataBoxEdgeDeviceId) FromParseResult ¶
func (id *DataBoxEdgeDeviceId) FromParseResult(input resourceids.ParseResult) error
func (DataBoxEdgeDeviceId) ID ¶
func (id DataBoxEdgeDeviceId) ID() string
ID returns the formatted Data Box Edge Device ID
func (DataBoxEdgeDeviceId) Segments ¶
func (id DataBoxEdgeDeviceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Box Edge Device ID
func (DataBoxEdgeDeviceId) String ¶
func (id DataBoxEdgeDeviceId) String() string
String returns a human-readable description of this Data Box Edge Device ID
type DataPolicy ¶
type DataPolicy string
const ( DataPolicyCloud DataPolicy = "Cloud" DataPolicyLocal DataPolicy = "Local" )
func (*DataPolicy) UnmarshalJSON ¶
func (s *DataPolicy) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByDataBoxEdgeDeviceCustomPager ¶ added in v0.20240628.1153531
func (*ListByDataBoxEdgeDeviceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDataBoxEdgeDeviceCustomPager) NextPageLink() *odata.Link
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
func (*MonitoringStatus) UnmarshalJSON ¶
func (s *MonitoringStatus) UnmarshalJSON(bytes []byte) error
type MountPointMap ¶
type RefreshDetails ¶
type RefreshDetails struct { ErrorManifestFile *string `json:"errorManifestFile,omitempty"` InProgressRefreshJobId *string `json:"inProgressRefreshJobId,omitempty"` LastCompletedRefreshJobTimeInUTC *string `json:"lastCompletedRefreshJobTimeInUTC,omitempty"` LastJob *string `json:"lastJob,omitempty"` }
func (*RefreshDetails) GetLastCompletedRefreshJobTimeInUTCAsTime ¶
func (o *RefreshDetails) GetLastCompletedRefreshJobTimeInUTCAsTime() (*time.Time, error)
func (*RefreshDetails) SetLastCompletedRefreshJobTimeInUTCAsTime ¶
func (o *RefreshDetails) SetLastCompletedRefreshJobTimeInUTCAsTime(input time.Time)
type ShareAccessProtocol ¶
type ShareAccessProtocol string
const ()
func (*ShareAccessProtocol) UnmarshalJSON ¶
func (s *ShareAccessProtocol) UnmarshalJSON(bytes []byte) error
type ShareAccessType ¶
type ShareAccessType string
const ()
func (*ShareAccessType) UnmarshalJSON ¶
func (s *ShareAccessType) UnmarshalJSON(bytes []byte) error
type ShareId ¶
type ShareId struct {}
ShareId is a struct representing the Resource ID for a Share
func NewShareID ¶
func NewShareID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string, shareName string) ShareId
NewShareID returns a new ShareId struct
func ParseShareID ¶
ParseShareID parses 'input' into a ShareId
func ParseShareIDInsensitively ¶
ParseShareIDInsensitively parses 'input' case-insensitively into a ShareId note: this method should only be used for API response data and not user input
func (*ShareId) FromParseResult ¶
func (id *ShareId) FromParseResult(input resourceids.ParseResult) error
func (ShareId) Segments ¶
func (id ShareId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Share ID
type ShareOperationPredicate ¶
type ShareOperationPredicate struct {}
func (ShareOperationPredicate) Matches ¶
func (p ShareOperationPredicate) Matches(input Share) bool
type ShareProperties ¶
type ShareProperties struct {}
type ShareStatus ¶
type ShareStatus string
const ()
func (*ShareStatus) UnmarshalJSON ¶
func (s *ShareStatus) UnmarshalJSON(bytes []byte) error
type SharesClient ¶
type SharesClient struct {
}func NewSharesClientWithBaseURI ¶
func NewSharesClientWithBaseURI(sdkApi sdkEnv.Api) (*SharesClient, error)
func (SharesClient) CreateOrUpdate ¶
func (c SharesClient) CreateOrUpdate(ctx context.Context, id ShareId, input Share) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SharesClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SharesClient) Delete ¶
func (c SharesClient) Delete(ctx context.Context, id ShareId) (result DeleteOperationResponse, err error)
Delete ...
func (SharesClient) DeleteThenPoll ¶
func (c SharesClient) DeleteThenPoll(ctx context.Context, id ShareId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SharesClient) Get ¶
func (c SharesClient) Get(ctx context.Context, id ShareId) (result GetOperationResponse, err error)
Get ...
func (SharesClient) ListByDataBoxEdgeDevice ¶
func (c SharesClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (SharesClient) ListByDataBoxEdgeDeviceComplete ¶
func (c SharesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (SharesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c SharesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate ShareOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SharesClient) Refresh ¶
func (c SharesClient) Refresh(ctx context.Context, id ShareId) (result RefreshOperationResponse, err error)
Refresh ...
func (SharesClient) RefreshThenPoll ¶
func (c SharesClient) RefreshThenPoll(ctx context.Context, id ShareId) error
RefreshThenPoll performs Refresh then polls until it's completed
type UserAccessRight ¶
type UserAccessRight struct { AccessType ShareAccessType `json:"accessType"` UserId string `json:"userId"` }
Source Files ¶
- client.go
- constants.go
- id_databoxedgedevice.go
- id_share.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbydataboxedgedevice.go
- method_refresh.go
- model_azurecontainerinfo.go
- model_clientaccessright.go
- model_mountpointmap.go
- model_refreshdetails.go
- model_share.go
- model_shareproperties.go
- model_useraccessright.go
- predicates.go
- version.go