Documentation ¶
Index ¶
- func PossibleValuesForListLocalUserIncludeParam() []string
- func ValidateLocalUserID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListKeysOperationResponse
- type ListLocalUserIncludeParam
- type ListOperationOptions
- type ListOperationResponse
- type LocalUser
- type LocalUserId
- type LocalUserKeys
- type LocalUserOperationPredicate
- type LocalUserProperties
- type LocalUserRegeneratePasswordResult
- type LocalUsersClient
- func (c LocalUsersClient) CreateOrUpdate(ctx context.Context, id LocalUserId, input LocalUser) (result CreateOrUpdateOperationResponse, err error)
- func (c LocalUsersClient) Delete(ctx context.Context, id LocalUserId) (result DeleteOperationResponse, err error)
- func (c LocalUsersClient) Get(ctx context.Context, id LocalUserId) (result GetOperationResponse, err error)
- func (c LocalUsersClient) List(ctx context.Context, id commonids.StorageAccountId, ...) (result ListOperationResponse, err error)
- func (c LocalUsersClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, ...) (ListCompleteResult, error)
- func (c LocalUsersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, ...) (result ListCompleteResult, err error)
- func (c LocalUsersClient) ListKeys(ctx context.Context, id LocalUserId) (result ListKeysOperationResponse, err error)
- func (c LocalUsersClient) RegeneratePassword(ctx context.Context, id LocalUserId) (result RegeneratePasswordOperationResponse, err error)
- type PermissionScope
- type RegeneratePasswordOperationResponse
- type SshPublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForListLocalUserIncludeParam ¶
func PossibleValuesForListLocalUserIncludeParam() []string
func ValidateLocalUserID ¶
ValidateLocalUserID checks that 'input' can be parsed as a Local User ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LocalUserKeys }
type ListLocalUserIncludeParam ¶
type ListLocalUserIncludeParam string
const (
ListLocalUserIncludeParamNfsvThree ListLocalUserIncludeParam = "nfsv3"
)
func (*ListLocalUserIncludeParam) UnmarshalJSON ¶
func (s *ListLocalUserIncludeParam) UnmarshalJSON(bytes []byte) error
type ListOperationOptions ¶
type ListOperationOptions struct { Filter *string Include *ListLocalUserIncludeParam Maxpagesize *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type LocalUser ¶
type LocalUser struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LocalUserProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type LocalUserId ¶
type LocalUserId struct { SubscriptionId string ResourceGroupName string StorageAccountName string LocalUserName string }
LocalUserId is a struct representing the Resource ID for a Local User
func NewLocalUserID ¶
func NewLocalUserID(subscriptionId string, resourceGroupName string, storageAccountName string, localUserName string) LocalUserId
NewLocalUserID returns a new LocalUserId struct
func ParseLocalUserID ¶
func ParseLocalUserID(input string) (*LocalUserId, error)
ParseLocalUserID parses 'input' into a LocalUserId
func ParseLocalUserIDInsensitively ¶
func ParseLocalUserIDInsensitively(input string) (*LocalUserId, error)
ParseLocalUserIDInsensitively parses 'input' case-insensitively into a LocalUserId note: this method should only be used for API response data and not user input
func (*LocalUserId) FromParseResult ¶
func (id *LocalUserId) FromParseResult(input resourceids.ParseResult) error
func (LocalUserId) Segments ¶
func (id LocalUserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Local User ID
func (LocalUserId) String ¶
func (id LocalUserId) String() string
String returns a human-readable description of this Local User ID
type LocalUserKeys ¶
type LocalUserKeys struct { SshAuthorizedKeys *[]SshPublicKey `json:"sshAuthorizedKeys,omitempty"` }
type LocalUserOperationPredicate ¶
func (LocalUserOperationPredicate) Matches ¶
func (p LocalUserOperationPredicate) Matches(input LocalUser) bool
type LocalUserProperties ¶
type LocalUserProperties struct { AllowAclAuthorization *bool `json:"allowAclAuthorization,omitempty"` ExtendedGroups *[]int64 `json:"extendedGroups,omitempty"` GroupId *int64 `json:"groupId,omitempty"` HasSshKey *bool `json:"hasSshKey,omitempty"` HasSshPassword *bool `json:"hasSshPassword,omitempty"` HomeDirectory *string `json:"homeDirectory,omitempty"` IsNFSv3Enabled *bool `json:"isNFSv3Enabled,omitempty"` PermissionScopes *[]PermissionScope `json:"permissionScopes,omitempty"` Sid *string `json:"sid,omitempty"` SshAuthorizedKeys *[]SshPublicKey `json:"sshAuthorizedKeys,omitempty"` UserId *int64 `json:"userId,omitempty"` }
type LocalUserRegeneratePasswordResult ¶
type LocalUserRegeneratePasswordResult struct {
SshPassword *string `json:"sshPassword,omitempty"`
}
type LocalUsersClient ¶
type LocalUsersClient struct {
Client *resourcemanager.Client
}
func NewLocalUsersClientWithBaseURI ¶
func NewLocalUsersClientWithBaseURI(sdkApi sdkEnv.Api) (*LocalUsersClient, error)
func (LocalUsersClient) CreateOrUpdate ¶
func (c LocalUsersClient) CreateOrUpdate(ctx context.Context, id LocalUserId, input LocalUser) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LocalUsersClient) Delete ¶
func (c LocalUsersClient) Delete(ctx context.Context, id LocalUserId) (result DeleteOperationResponse, err error)
Delete ...
func (LocalUsersClient) Get ¶
func (c LocalUsersClient) Get(ctx context.Context, id LocalUserId) (result GetOperationResponse, err error)
Get ...
func (LocalUsersClient) List ¶
func (c LocalUsersClient) List(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (LocalUsersClient) ListComplete ¶
func (c LocalUsersClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (LocalUsersClient) ListCompleteMatchingPredicate ¶
func (c LocalUsersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions, predicate LocalUserOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LocalUsersClient) ListKeys ¶
func (c LocalUsersClient) ListKeys(ctx context.Context, id LocalUserId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (LocalUsersClient) RegeneratePassword ¶
func (c LocalUsersClient) RegeneratePassword(ctx context.Context, id LocalUserId) (result RegeneratePasswordOperationResponse, err error)
RegeneratePassword ...
type PermissionScope ¶
type RegeneratePasswordOperationResponse ¶
type RegeneratePasswordOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LocalUserRegeneratePasswordResult }
type SshPublicKey ¶
Source Files ¶
- client.go
- constants.go
- id_localuser.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listkeys.go
- method_regeneratepassword.go
- model_localuser.go
- model_localuserkeys.go
- model_localuserproperties.go
- model_localuserregeneratepasswordresult.go
- model_permissionscope.go
- model_sshpublickey.go
- predicates.go
- version.go