Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
Types ¶
type GatewayGenerateTokenClient ¶
type GatewayGenerateTokenClient struct {
Client *resourcemanager.Client
}
func NewGatewayGenerateTokenClientWithBaseURI ¶
func NewGatewayGenerateTokenClientWithBaseURI(sdkApi sdkEnv.Api) (*GatewayGenerateTokenClient, error)
func (GatewayGenerateTokenClient) GatewayGenerateToken ¶
func (c GatewayGenerateTokenClient) GatewayGenerateToken(ctx context.Context, id GatewayId, input GatewayTokenRequestContract) (result GatewayGenerateTokenOperationResponse, err error)
GatewayGenerateToken ...
type GatewayGenerateTokenOperationResponse ¶
type GatewayGenerateTokenOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GatewayTokenContract }
type GatewayId ¶
type GatewayId struct { SubscriptionId string ResourceGroupName string ServiceName string GatewayId string }
GatewayId is a struct representing the Resource ID for a Gateway
func NewGatewayID ¶
func NewGatewayID(subscriptionId string, resourceGroupName string, serviceName string, gatewayId string) GatewayId
NewGatewayID returns a new GatewayId struct
func ParseGatewayID ¶
ParseGatewayID parses 'input' into a GatewayId
func ParseGatewayIDInsensitively ¶
ParseGatewayIDInsensitively parses 'input' case-insensitively into a GatewayId note: this method should only be used for API response data and not user input
func (*GatewayId) FromParseResult ¶
func (id *GatewayId) FromParseResult(input resourceids.ParseResult) error
func (GatewayId) Segments ¶
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
type GatewayTokenContract ¶
type GatewayTokenContract struct {
Value *string `json:"value,omitempty"`
}
type GatewayTokenRequestContract ¶
type GatewayTokenRequestContract struct { Expiry string `json:"expiry"` KeyType KeyType `json:"keyType"` }
func (*GatewayTokenRequestContract) GetExpiryAsTime ¶
func (o *GatewayTokenRequestContract) GetExpiryAsTime() (*time.Time, error)
func (*GatewayTokenRequestContract) SetExpiryAsTime ¶
func (o *GatewayTokenRequestContract) SetExpiryAsTime(input time.Time)
Click to show internal directories.
Click to hide internal directories.