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 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) (resp 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) (resp 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" )
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" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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) 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" )
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct {
Items []Share
}
type ListByDataBoxEdgeDeviceOperationResponse ¶
type ListByDataBoxEdgeDeviceOperationResponse struct { HttpResponse *http.Response Model *[]Share // contains filtered or unexported fields }
func (ListByDataBoxEdgeDeviceOperationResponse) HasMore ¶
func (r ListByDataBoxEdgeDeviceOperationResponse) HasMore() bool
func (ListByDataBoxEdgeDeviceOperationResponse) LoadMore ¶
func (r ListByDataBoxEdgeDeviceOperationResponse) LoadMore(ctx context.Context) (resp ListByDataBoxEdgeDeviceOperationResponse, err error)
type MonitoringStatus ¶
type MonitoringStatus string
const ( MonitoringStatusDisabled MonitoringStatus = "Disabled" MonitoringStatusEnabled MonitoringStatus = "Enabled" )
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 RefreshOperationResponse ¶
type RefreshOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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) 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 SharesClient ¶
type SharesClient struct { // contains filtered or unexported fields }
func NewSharesClientWithBaseURI ¶
func NewSharesClientWithBaseURI(endpoint string) SharesClient
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) (resp ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (SharesClient) ListByDataBoxEdgeDeviceComplete ¶
func (c SharesClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all of the results into a single object
func (SharesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c SharesClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate ShareOperationPredicate) (resp ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all of the results and then applied 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_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbydataboxedgedevice_autorest.go
- method_refresh_autorest.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