Documentation ¶
Index ¶
- func PossibleValuesForKeyType() []string
- func ValidateServiceGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type GatewayGenerateTokenClient
- type GatewayGenerateTokenOperationResponse
- type GatewayTokenContract
- type GatewayTokenRequestContract
- type KeyType
- type ServiceGatewayId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForKeyType ¶
func PossibleValuesForKeyType() []string
func ValidateServiceGatewayID ¶
ValidateServiceGatewayID checks that 'input' can be parsed as a Service 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 ServiceGatewayId, input GatewayTokenRequestContract) (result GatewayGenerateTokenOperationResponse, err error)
GatewayGenerateToken ...
type GatewayGenerateTokenOperationResponse ¶
type GatewayGenerateTokenOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GatewayTokenContract }
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)
type ServiceGatewayId ¶
type ServiceGatewayId struct { SubscriptionId string ResourceGroupName string ServiceName string GatewayId string }
ServiceGatewayId is a struct representing the Resource ID for a Service Gateway
func NewServiceGatewayID ¶
func NewServiceGatewayID(subscriptionId string, resourceGroupName string, serviceName string, gatewayId string) ServiceGatewayId
NewServiceGatewayID returns a new ServiceGatewayId struct
func ParseServiceGatewayID ¶
func ParseServiceGatewayID(input string) (*ServiceGatewayId, error)
ParseServiceGatewayID parses 'input' into a ServiceGatewayId
func ParseServiceGatewayIDInsensitively ¶
func ParseServiceGatewayIDInsensitively(input string) (*ServiceGatewayId, error)
ParseServiceGatewayIDInsensitively parses 'input' case-insensitively into a ServiceGatewayId note: this method should only be used for API response data and not user input
func (*ServiceGatewayId) FromParseResult ¶
func (id *ServiceGatewayId) FromParseResult(input resourceids.ParseResult) error
func (ServiceGatewayId) ID ¶
func (id ServiceGatewayId) ID() string
ID returns the formatted Service Gateway ID
func (ServiceGatewayId) Segments ¶
func (id ServiceGatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service Gateway ID
func (ServiceGatewayId) String ¶
func (id ServiceGatewayId) String() string
String returns a human-readable description of this Service Gateway ID