Documentation ¶
Index ¶
- func ValidateLocalUserID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListKeysOperationResponse
- type ListOperationResponse
- type LocalUser
- type LocalUserId
- type LocalUserKeys
- type LocalUserProperties
- type LocalUserRegeneratePasswordResult
- type LocalUsers
- 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 StorageAccountId) (result ListOperationResponse, 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
- type StorageAccountId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLocalUserID ¶
ValidateLocalUserID checks that 'input' can be parsed as a Local User ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response Model *LocalUserKeys }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *LocalUsers }
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) 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 LocalUserProperties ¶
type LocalUserProperties struct { HasSshKey *bool `json:"hasSshKey,omitempty"` HasSshPassword *bool `json:"hasSshPassword,omitempty"` HomeDirectory *string `json:"homeDirectory,omitempty"` PermissionScopes *[]PermissionScope `json:"permissionScopes,omitempty"` Sid *string `json:"sid,omitempty"` SshAuthorizedKeys *[]SshPublicKey `json:"sshAuthorizedKeys,omitempty"` }
type LocalUserRegeneratePasswordResult ¶
type LocalUserRegeneratePasswordResult struct {
SshPassword *string `json:"sshPassword,omitempty"`
}
type LocalUsers ¶
type LocalUsers struct {
Value *[]LocalUser `json:"value,omitempty"`
}
type LocalUsersClient ¶
func NewLocalUsersClientWithBaseURI ¶
func NewLocalUsersClientWithBaseURI(endpoint string) LocalUsersClient
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 StorageAccountId) (result ListOperationResponse, err error)
List ...
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 Model *LocalUserRegeneratePasswordResult }
type SshPublicKey ¶
type StorageAccountId ¶
type StorageAccountId struct { SubscriptionId string ResourceGroupName string StorageAccountName string }
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, storageAccountName string) StorageAccountId
NewStorageAccountID returns a new StorageAccountId struct
func ParseStorageAccountID ¶
func ParseStorageAccountID(input string) (*StorageAccountId, error)
ParseStorageAccountID parses 'input' into a StorageAccountId
func ParseStorageAccountIDInsensitively ¶
func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)
ParseStorageAccountIDInsensitively parses 'input' case-insensitively into a StorageAccountId note: this method should only be used for API response data and not user input
func (StorageAccountId) ID ¶
func (id StorageAccountId) ID() string
ID returns the formatted Storage Account ID
func (StorageAccountId) Segments ¶
func (id StorageAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Account ID
func (StorageAccountId) String ¶
func (id StorageAccountId) String() string
String returns a human-readable description of this Storage Account ID
Source Files ¶
- client.go
- id_localuser.go
- id_storageaccount.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listkeys_autorest.go
- method_regeneratepassword_autorest.go
- model_localuser.go
- model_localuserkeys.go
- model_localuserproperties.go
- model_localuserregeneratepasswordresult.go
- model_localusers.go
- model_permissionscope.go
- model_sshpublickey.go
- version.go