Documentation ¶
Index ¶
- func PossibleValuesForKeyType() []string
- func ValidateUserID(input interface{}, key string) (warnings []string, errors []error)
- type KeyType
- type UserGetSharedAccessTokenOperationResponse
- type UserId
- type UserTokenClient
- type UserTokenParameterProperties
- type UserTokenParameters
- type UserTokenResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func ValidateUserID ¶
ValidateUserID checks that 'input' can be parsed as a User ID
Types ¶
type UserGetSharedAccessTokenOperationResponse ¶
type UserGetSharedAccessTokenOperationResponse struct {}
type UserId ¶
type UserId struct { SubscriptionId string ResourceGroupName string ServiceName string UserId string }
UserId is a struct representing the Resource ID for a User
func NewUserID ¶
func NewUserID(subscriptionId string, resourceGroupName string, serviceName string, userId 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) FromParseResult ¶
func (id *UserId) FromParseResult(input resourceids.ParseResult) error
func (UserId) Segments ¶
func (id UserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this User ID
type UserTokenClient ¶
type UserTokenClient struct {
Client *resourcemanager.Client
}
func NewUserTokenClientWithBaseURI ¶
func NewUserTokenClientWithBaseURI(sdkApi sdkEnv.Api) (*UserTokenClient, error)
func (UserTokenClient) UserGetSharedAccessToken ¶
func (c UserTokenClient) UserGetSharedAccessToken(ctx context.Context, id UserId, input UserTokenParameters) (result UserGetSharedAccessTokenOperationResponse, err error)
UserGetSharedAccessToken ...
type UserTokenParameterProperties ¶
type UserTokenParameterProperties struct { Expiry string `json:"expiry"` KeyType KeyType `json:"keyType"` }
func (*UserTokenParameterProperties) GetExpiryAsTime ¶
func (o *UserTokenParameterProperties) GetExpiryAsTime() (*time.Time, error)
func (*UserTokenParameterProperties) SetExpiryAsTime ¶
func (o *UserTokenParameterProperties) SetExpiryAsTime(input time.Time)
type UserTokenParameters ¶
type UserTokenParameters struct {
Properties *UserTokenParameterProperties `json:"properties,omitempty"`
}
type UserTokenResult ¶
type UserTokenResult struct {
Value *string `json:"value,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.