Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForBearerTokenSendingMethods() []string
- func PossibleValuesForProductState() []string
- func PossibleValuesForProtocol() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ApiContactInformation
- type ApiLicenseInformation
- type ApiListByTagsCompleteResult
- type ApiListByTagsOperationOptions
- type ApiListByTagsOperationResponse
- type ApiTagResourceContractProperties
- type ApiType
- type ApisByTagClient
- func (c ApisByTagClient) ApiListByTags(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions) (resp ApiListByTagsOperationResponse, err error)
- func (c ApisByTagClient) ApiListByTagsComplete(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions) (ApiListByTagsCompleteResult, error)
- func (c ApisByTagClient) ApiListByTagsCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions, ...) (resp ApiListByTagsCompleteResult, err error)
- type AuthenticationSettingsContract
- type BearerTokenSendingMethods
- type OAuth2AuthenticationSettingsContract
- type OpenIdAuthenticationSettingsContract
- type OperationTagResourceContractProperties
- type ProductState
- type ProductTagResourceContractProperties
- type Protocol
- type ServiceId
- type SubscriptionKeyParameterNamesContract
- type TagResourceContract
- type TagResourceContractOperationPredicate
- type TagTagResourceContractProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiType ¶
func PossibleValuesForApiType() []string
func PossibleValuesForBearerTokenSendingMethods ¶
func PossibleValuesForBearerTokenSendingMethods() []string
func PossibleValuesForProductState ¶
func PossibleValuesForProductState() []string
func PossibleValuesForProtocol ¶
func PossibleValuesForProtocol() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ApiContactInformation ¶
type ApiLicenseInformation ¶
type ApiListByTagsCompleteResult ¶
type ApiListByTagsCompleteResult struct {
Items []TagResourceContract
}
type ApiListByTagsOperationOptions ¶
type ApiListByTagsOperationOptions struct { Filter *string IncludeNotTaggedApis *bool Skip *int64 Top *int64 }
func DefaultApiListByTagsOperationOptions ¶
func DefaultApiListByTagsOperationOptions() ApiListByTagsOperationOptions
type ApiListByTagsOperationResponse ¶
type ApiListByTagsOperationResponse struct { HttpResponse *http.Response Model *[]TagResourceContract // contains filtered or unexported fields }
func (ApiListByTagsOperationResponse) HasMore ¶
func (r ApiListByTagsOperationResponse) HasMore() bool
func (ApiListByTagsOperationResponse) LoadMore ¶
func (r ApiListByTagsOperationResponse) LoadMore(ctx context.Context) (resp ApiListByTagsOperationResponse, err error)
type ApiTagResourceContractProperties ¶
type ApiTagResourceContractProperties struct { ApiRevision *string `json:"apiRevision,omitempty"` ApiRevisionDescription *string `json:"apiRevisionDescription,omitempty"` ApiVersion *string `json:"apiVersion,omitempty"` ApiVersionDescription *string `json:"apiVersionDescription,omitempty"` ApiVersionSetId *string `json:"apiVersionSetId,omitempty"` AuthenticationSettings *AuthenticationSettingsContract `json:"authenticationSettings,omitempty"` Contact *ApiContactInformation `json:"contact,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` IsCurrent *bool `json:"isCurrent,omitempty"` IsOnline *bool `json:"isOnline,omitempty"` License *ApiLicenseInformation `json:"license,omitempty"` Name *string `json:"name,omitempty"` Path *string `json:"path,omitempty"` Protocols *[]Protocol `json:"protocols,omitempty"` ServiceUrl *string `json:"serviceUrl,omitempty"` SubscriptionKeyParameterNames *SubscriptionKeyParameterNamesContract `json:"subscriptionKeyParameterNames,omitempty"` SubscriptionRequired *bool `json:"subscriptionRequired,omitempty"` TermsOfServiceUrl *string `json:"termsOfServiceUrl,omitempty"` Type *ApiType `json:"type,omitempty"` }
type ApisByTagClient ¶
func NewApisByTagClientWithBaseURI ¶
func NewApisByTagClientWithBaseURI(endpoint string) ApisByTagClient
func (ApisByTagClient) ApiListByTags ¶
func (c ApisByTagClient) ApiListByTags(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions) (resp ApiListByTagsOperationResponse, err error)
ApiListByTags ...
func (ApisByTagClient) ApiListByTagsComplete ¶
func (c ApisByTagClient) ApiListByTagsComplete(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions) (ApiListByTagsCompleteResult, error)
ApiListByTagsComplete retrieves all of the results into a single object
func (ApisByTagClient) ApiListByTagsCompleteMatchingPredicate ¶
func (c ApisByTagClient) ApiListByTagsCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions, predicate TagResourceContractOperationPredicate) (resp ApiListByTagsCompleteResult, err error)
ApiListByTagsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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 OpenIdAuthenticationSettingsContract ¶
type OpenIdAuthenticationSettingsContract struct { BearerTokenSendingMethods *[]BearerTokenSendingMethods `json:"bearerTokenSendingMethods,omitempty"` OpenidProviderId *string `json:"openidProviderId,omitempty"` }
type OperationTagResourceContractProperties ¶
type OperationTagResourceContractProperties struct { ApiName *string `json:"apiName,omitempty"` ApiRevision *string `json:"apiRevision,omitempty"` ApiVersion *string `json:"apiVersion,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Method *string `json:"method,omitempty"` Name *string `json:"name,omitempty"` UrlTemplate *string `json:"urlTemplate,omitempty"` }
type ProductState ¶
type ProductState string
const ( ProductStateNotPublished ProductState = "notPublished" ProductStatePublished ProductState = "published" )
type ProductTagResourceContractProperties ¶
type ProductTagResourceContractProperties struct { ApprovalRequired *bool `json:"approvalRequired,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name string `json:"name"` State *ProductState `json:"state,omitempty"` SubscriptionRequired *bool `json:"subscriptionRequired,omitempty"` SubscriptionsLimit *int64 `json:"subscriptionsLimit,omitempty"` Terms *string `json:"terms,omitempty"` }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type TagResourceContract ¶
type TagResourceContract struct { Api *ApiTagResourceContractProperties `json:"api,omitempty"` Operation *OperationTagResourceContractProperties `json:"operation,omitempty"` Product *ProductTagResourceContractProperties `json:"product,omitempty"` Tag TagTagResourceContractProperties `json:"tag"` }
type TagResourceContractOperationPredicate ¶
type TagResourceContractOperationPredicate struct { }
func (TagResourceContractOperationPredicate) Matches ¶
func (p TagResourceContractOperationPredicate) Matches(input TagResourceContract) bool
Source Files ¶
- client.go
- constants.go
- id_service.go
- method_apilistbytags_autorest.go
- model_apicontactinformation.go
- model_apilicenseinformation.go
- model_apitagresourcecontractproperties.go
- model_authenticationsettingscontract.go
- model_oauth2authenticationsettingscontract.go
- model_openidauthenticationsettingscontract.go
- model_operationtagresourcecontractproperties.go
- model_producttagresourcecontractproperties.go
- model_subscriptionkeyparameternamescontract.go
- model_tagresourcecontract.go
- model_tagtagresourcecontractproperties.go
- predicates.go
- version.go