Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForBearerTokenSendingMethods() []string
- func PossibleValuesForProtocol() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForVersioningScheme() []string
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type ApiContactInformation
- type ApiContract
- type ApiContractOperationPredicate
- type ApiContractProperties
- type ApiId
- type ApiLicenseInformation
- type ApiType
- type ApiVersionSetContractDetails
- type AssociationContract
- type AssociationContractProperties
- type AuthenticationSettingsContract
- type BearerTokenSendingMethods
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GatewayApiClient
- func (c GatewayApiClient) CreateOrUpdate(ctx context.Context, id ApiId, input AssociationContract) (result CreateOrUpdateOperationResponse, err error)
- func (c GatewayApiClient) Delete(ctx context.Context, id ApiId) (result DeleteOperationResponse, err error)
- func (c GatewayApiClient) GetEntityTag(ctx context.Context, id ApiId) (result GetEntityTagOperationResponse, err error)
- func (c GatewayApiClient) ListByService(ctx context.Context, id GatewayId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
- func (c GatewayApiClient) ListByServiceComplete(ctx context.Context, id GatewayId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c GatewayApiClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id GatewayId, options ListByServiceOperationOptions, ...) (resp ListByServiceCompleteResult, err error)
- type GatewayId
- type GetEntityTagOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type OAuth2AuthenticationSettingsContract
- type OpenIdAuthenticationSettingsContract
- type Protocol
- type ProvisioningState
- type SubscriptionKeyParameterNamesContract
- type VersioningScheme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiType ¶
func PossibleValuesForApiType() []string
func PossibleValuesForBearerTokenSendingMethods ¶
func PossibleValuesForBearerTokenSendingMethods() []string
func PossibleValuesForProtocol ¶
func PossibleValuesForProtocol() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForVersioningScheme ¶
func PossibleValuesForVersioningScheme() []string
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
Types ¶
type ApiContactInformation ¶
type ApiContract ¶
type ApiContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ApiContractOperationPredicate ¶
func (ApiContractOperationPredicate) Matches ¶
func (p ApiContractOperationPredicate) Matches(input ApiContract) bool
type ApiContractProperties ¶
type ApiContractProperties struct { ApiRevision *string `json:"apiRevision,omitempty"` ApiRevisionDescription *string `json:"apiRevisionDescription,omitempty"` ApiVersion *string `json:"apiVersion,omitempty"` ApiVersionDescription *string `json:"apiVersionDescription,omitempty"` ApiVersionSet *ApiVersionSetContractDetails `json:"apiVersionSet,omitempty"` ApiVersionSetId *string `json:"apiVersionSetId,omitempty"` AuthenticationSettings *AuthenticationSettingsContract `json:"authenticationSettings,omitempty"` Contact *ApiContactInformation `json:"contact,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsCurrent *bool `json:"isCurrent,omitempty"` IsOnline *bool `json:"isOnline,omitempty"` License *ApiLicenseInformation `json:"license,omitempty"` Path string `json:"path"` Protocols *[]Protocol `json:"protocols,omitempty"` ServiceUrl *string `json:"serviceUrl,omitempty"` SourceApiId *string `json:"sourceApiId,omitempty"` SubscriptionKeyParameterNames *SubscriptionKeyParameterNamesContract `json:"subscriptionKeyParameterNames,omitempty"` SubscriptionRequired *bool `json:"subscriptionRequired,omitempty"` TermsOfServiceUrl *string `json:"termsOfServiceUrl,omitempty"` Type *ApiType `json:"type,omitempty"` }
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiLicenseInformation ¶
type ApiVersionSetContractDetails ¶
type ApiVersionSetContractDetails struct { Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` VersionHeaderName *string `json:"versionHeaderName,omitempty"` VersionQueryName *string `json:"versionQueryName,omitempty"` VersioningScheme *VersioningScheme `json:"versioningScheme,omitempty"` }
type AssociationContract ¶
type AssociationContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AssociationContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AssociationContractProperties ¶
type AssociationContractProperties struct {
ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}
type AuthenticationSettingsContract ¶
type AuthenticationSettingsContract struct { OAuth2 *OAuth2AuthenticationSettingsContract `json:"oAuth2,omitempty"` Openid *OpenIdAuthenticationSettingsContract `json:"openid,omitempty"` }
type BearerTokenSendingMethods ¶
type BearerTokenSendingMethods string
const ( BearerTokenSendingMethodsAuthorizationHeader BearerTokenSendingMethods = "authorizationHeader" BearerTokenSendingMethodsQuery BearerTokenSendingMethods = "query" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ApiContract }
type DeleteOperationResponse ¶
type GatewayApiClient ¶
func NewGatewayApiClientWithBaseURI ¶
func NewGatewayApiClientWithBaseURI(endpoint string) GatewayApiClient
func (GatewayApiClient) CreateOrUpdate ¶
func (c GatewayApiClient) CreateOrUpdate(ctx context.Context, id ApiId, input AssociationContract) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GatewayApiClient) Delete ¶
func (c GatewayApiClient) Delete(ctx context.Context, id ApiId) (result DeleteOperationResponse, err error)
Delete ...
func (GatewayApiClient) GetEntityTag ¶
func (c GatewayApiClient) GetEntityTag(ctx context.Context, id ApiId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (GatewayApiClient) ListByService ¶
func (c GatewayApiClient) ListByService(ctx context.Context, id GatewayId, options ListByServiceOperationOptions) (resp ListByServiceOperationResponse, err error)
ListByService ...
func (GatewayApiClient) ListByServiceComplete ¶
func (c GatewayApiClient) ListByServiceComplete(ctx context.Context, id GatewayId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all of the results into a single object
func (GatewayApiClient) ListByServiceCompleteMatchingPredicate ¶
func (c GatewayApiClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id GatewayId, options ListByServiceOperationOptions, predicate ApiContractOperationPredicate) (resp ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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) Segments ¶
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []ApiContract
}
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *[]ApiContract // contains filtered or unexported fields }
func (ListByServiceOperationResponse) HasMore ¶
func (r ListByServiceOperationResponse) HasMore() bool
func (ListByServiceOperationResponse) LoadMore ¶
func (r ListByServiceOperationResponse) LoadMore(ctx context.Context) (resp ListByServiceOperationResponse, err error)
type OpenIdAuthenticationSettingsContract ¶
type OpenIdAuthenticationSettingsContract struct { BearerTokenSendingMethods *[]BearerTokenSendingMethods `json:"bearerTokenSendingMethods,omitempty"` OpenidProviderId *string `json:"openidProviderId,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const (
ProvisioningStateCreated ProvisioningState = "created"
)
type VersioningScheme ¶
type VersioningScheme string
const ( VersioningSchemeHeader VersioningScheme = "Header" VersioningSchemeQuery VersioningScheme = "Query" VersioningSchemeSegment VersioningScheme = "Segment" )
Source Files ¶
- client.go
- constants.go
- id_api.go
- id_gateway.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- model_apicontactinformation.go
- model_apicontract.go
- model_apicontractproperties.go
- model_apilicenseinformation.go
- model_apiversionsetcontractdetails.go
- model_associationcontract.go
- model_associationcontractproperties.go
- model_authenticationsettingscontract.go
- model_oauth2authenticationsettingscontract.go
- model_openidauthenticationsettingscontract.go
- model_subscriptionkeyparameternamescontract.go
- predicates.go
- version.go