Documentation ¶
Index ¶
- func PossibleValuesForEncryptionAlgorithm() []string
- func PossibleValuesForShareAccessType() []string
- func PossibleValuesForUserType() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUserID(input interface{}, key string) (warnings []string, errors []error)
- type AsymmetricEncryptedSecret
- type CreateOrUpdateOperationResponse
- type DataBoxEdgeDeviceId
- type DeleteOperationResponse
- type EncryptionAlgorithm
- type GetOperationResponse
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceOperationOptions
- type ListByDataBoxEdgeDeviceOperationResponse
- type ShareAccessRight
- type ShareAccessType
- type User
- type UserId
- type UserOperationPredicate
- type UserProperties
- type UserType
- type UsersClient
- func (c UsersClient) CreateOrUpdate(ctx context.Context, id UserId, input User) (result CreateOrUpdateOperationResponse, err error)
- func (c UsersClient) CreateOrUpdateThenPoll(ctx context.Context, id UserId, input User) error
- func (c UsersClient) Delete(ctx context.Context, id UserId) (result DeleteOperationResponse, err error)
- func (c UsersClient) DeleteThenPoll(ctx context.Context, id UserId) error
- func (c UsersClient) Get(ctx context.Context, id UserId) (result GetOperationResponse, err error)
- func (c UsersClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c UsersClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId, ...) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c UsersClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionAlgorithm ¶
func PossibleValuesForEncryptionAlgorithm() []string
func PossibleValuesForShareAccessType ¶
func PossibleValuesForShareAccessType() []string
func PossibleValuesForUserType ¶
func PossibleValuesForUserType() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
func ValidateUserID ¶
ValidateUserID checks that 'input' can be parsed as a User ID
Types ¶
type AsymmetricEncryptedSecret ¶
type AsymmetricEncryptedSecret struct { EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm"` EncryptionCertThumbprint *string `json:"encryptionCertThumbprint,omitempty"` Value string `json:"value"` }
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 DeleteOperationResponse ¶
type EncryptionAlgorithm ¶
type EncryptionAlgorithm string
const ( EncryptionAlgorithmAESTwoFiveSix EncryptionAlgorithm = "AES256" EncryptionAlgorithmNone EncryptionAlgorithm = "None" EncryptionAlgorithmRSAESPKCSOneVOneFive EncryptionAlgorithm = "RSAES_PKCS1_v_1_5" )
func (*EncryptionAlgorithm) UnmarshalJSON ¶
func (s *EncryptionAlgorithm) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct {
Items []User
}
type ListByDataBoxEdgeDeviceOperationOptions ¶
type ListByDataBoxEdgeDeviceOperationOptions struct {
Filter *string
}
func DefaultListByDataBoxEdgeDeviceOperationOptions ¶
func DefaultListByDataBoxEdgeDeviceOperationOptions() ListByDataBoxEdgeDeviceOperationOptions
func (ListByDataBoxEdgeDeviceOperationOptions) ToHeaders ¶
func (o ListByDataBoxEdgeDeviceOperationOptions) ToHeaders() *client.Headers
func (ListByDataBoxEdgeDeviceOperationOptions) ToOData ¶
func (o ListByDataBoxEdgeDeviceOperationOptions) ToOData() *odata.Query
func (ListByDataBoxEdgeDeviceOperationOptions) ToQuery ¶
func (o ListByDataBoxEdgeDeviceOperationOptions) ToQuery() *client.QueryParams
type ShareAccessRight ¶
type ShareAccessRight struct {}
type ShareAccessType ¶
type ShareAccessType string
const ()
func (*ShareAccessType) UnmarshalJSON ¶
func (s *ShareAccessType) UnmarshalJSON(bytes []byte) error
type User ¶
type User struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties UserProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type UserId ¶
type UserId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string UserName string }
UserId is a struct representing the Resource ID for a User
func NewUserID ¶
func NewUserID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string, userName string) UserId
NewUserID returns a new UserId struct
func ParseUserID ¶
ParseUserID parses 'input' into a UserId
func ParseUserIDInsensitively ¶
ParseUserIDInsensitively parses 'input' case-insensitively into a UserId note: this method should only be used for API response data and not user input
func (UserId) Segments ¶
func (id UserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this User ID
type UserOperationPredicate ¶
func (UserOperationPredicate) Matches ¶
func (p UserOperationPredicate) Matches(input User) bool
type UserProperties ¶
type UserProperties struct { EncryptedPassword *AsymmetricEncryptedSecret `json:"encryptedPassword,omitempty"` UserType UserType `json:"userType"` }
type UsersClient ¶
type UsersClient struct {
Client *resourcemanager.Client
}
func NewUsersClientWithBaseURI ¶
func NewUsersClientWithBaseURI(api environments.Api) (*UsersClient, error)
func (UsersClient) CreateOrUpdate ¶
func (c UsersClient) CreateOrUpdate(ctx context.Context, id UserId, input User) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (UsersClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (UsersClient) Delete ¶
func (c UsersClient) Delete(ctx context.Context, id UserId) (result DeleteOperationResponse, err error)
Delete ...
func (UsersClient) DeleteThenPoll ¶
func (c UsersClient) DeleteThenPoll(ctx context.Context, id UserId) error
DeleteThenPoll performs Delete then polls until it's completed
func (UsersClient) Get ¶
func (c UsersClient) Get(ctx context.Context, id UserId) (result GetOperationResponse, err error)
Get ...
func (UsersClient) ListByDataBoxEdgeDevice ¶
func (c UsersClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId, options ListByDataBoxEdgeDeviceOperationOptions) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (UsersClient) ListByDataBoxEdgeDeviceComplete ¶
func (c UsersClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId, options ListByDataBoxEdgeDeviceOperationOptions) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (UsersClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c UsersClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, options ListByDataBoxEdgeDeviceOperationOptions, predicate UserOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate