Documentation ¶
Index ¶
- func PossibleValuesForGatewayListDebugCredentialsContractPurpose() []string
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type GatewayDebugCredentialsContract
- type GatewayId
- type GatewayListDebugCredentialsClient
- type GatewayListDebugCredentialsContract
- type GatewayListDebugCredentialsContractPurpose
- type GatewayListDebugCredentialsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGatewayListDebugCredentialsContractPurpose ¶
func PossibleValuesForGatewayListDebugCredentialsContractPurpose() []string
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
Types ¶
type GatewayDebugCredentialsContract ¶
type GatewayDebugCredentialsContract struct {
Token *string `json:"token,omitempty"`
}
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 ¶ added in v0.20231127.1171502
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 GatewayListDebugCredentialsClient ¶
type GatewayListDebugCredentialsClient struct {
Client *resourcemanager.Client
}
func NewGatewayListDebugCredentialsClientWithBaseURI ¶
func NewGatewayListDebugCredentialsClientWithBaseURI(sdkApi sdkEnv.Api) (*GatewayListDebugCredentialsClient, error)
func (GatewayListDebugCredentialsClient) GatewayListDebugCredentials ¶
func (c GatewayListDebugCredentialsClient) GatewayListDebugCredentials(ctx context.Context, id GatewayId, input GatewayListDebugCredentialsContract) (result GatewayListDebugCredentialsOperationResponse, err error)
GatewayListDebugCredentials ...
type GatewayListDebugCredentialsContract ¶
type GatewayListDebugCredentialsContract struct { ApiId string `json:"apiId"` CredentialsExpireAfter *string `json:"credentialsExpireAfter,omitempty"` Purposes []GatewayListDebugCredentialsContractPurpose `json:"purposes"` }
type GatewayListDebugCredentialsContractPurpose ¶
type GatewayListDebugCredentialsContractPurpose string
const (
GatewayListDebugCredentialsContractPurposeTracing GatewayListDebugCredentialsContractPurpose = "tracing"
)
func (*GatewayListDebugCredentialsContractPurpose) UnmarshalJSON ¶
func (s *GatewayListDebugCredentialsContractPurpose) UnmarshalJSON(bytes []byte) error
type GatewayListDebugCredentialsOperationResponse ¶
type GatewayListDebugCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GatewayDebugCredentialsContract }
Click to show internal directories.
Click to hide internal directories.