Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForBearerTokenSendingMethods() []string
- func PossibleValuesForProductState() []string
- func PossibleValuesForProtocol() []string
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- type ApiContactInformation
- type ApiId
- type ApiLicenseInformation
- type ApiOperationsByTagClient
- func (c ApiOperationsByTagClient) OperationListByTags(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions) (resp OperationListByTagsOperationResponse, err error)
- func (c ApiOperationsByTagClient) OperationListByTagsComplete(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions) (OperationListByTagsCompleteResult, error)
- func (c ApiOperationsByTagClient) OperationListByTagsCompleteMatchingPredicate(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions, ...) (resp OperationListByTagsCompleteResult, err error)
- type ApiTagResourceContractProperties
- type ApiType
- type AuthenticationSettingsContract
- type BearerTokenSendingMethods
- type OAuth2AuthenticationSettingsContract
- type OpenIdAuthenticationSettingsContract
- type OperationListByTagsCompleteResult
- type OperationListByTagsOperationOptions
- type OperationListByTagsOperationResponse
- type OperationTagResourceContractProperties
- type ProductState
- type ProductTagResourceContractProperties
- type Protocol
- 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 ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
Types ¶
type ApiContactInformation ¶
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 ApiOperationsByTagClient ¶
type ApiOperationsByTagClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewApiOperationsByTagClientWithBaseURI ¶
func NewApiOperationsByTagClientWithBaseURI(endpoint string) ApiOperationsByTagClient
func (ApiOperationsByTagClient) OperationListByTags ¶
func (c ApiOperationsByTagClient) OperationListByTags(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions) (resp OperationListByTagsOperationResponse, err error)
OperationListByTags ...
func (ApiOperationsByTagClient) OperationListByTagsComplete ¶
func (c ApiOperationsByTagClient) OperationListByTagsComplete(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions) (OperationListByTagsCompleteResult, error)
OperationListByTagsComplete retrieves all of the results into a single object
func (ApiOperationsByTagClient) OperationListByTagsCompleteMatchingPredicate ¶
func (c ApiOperationsByTagClient) OperationListByTagsCompleteMatchingPredicate(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions, predicate TagResourceContractOperationPredicate) (resp OperationListByTagsCompleteResult, err error)
OperationListByTagsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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 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 OperationListByTagsCompleteResult ¶
type OperationListByTagsCompleteResult struct {
Items []TagResourceContract
}
type OperationListByTagsOperationOptions ¶
type OperationListByTagsOperationOptions struct { Filter *string IncludeNotTaggedOperations *bool Skip *int64 Top *int64 }
func DefaultOperationListByTagsOperationOptions ¶
func DefaultOperationListByTagsOperationOptions() OperationListByTagsOperationOptions
type OperationListByTagsOperationResponse ¶
type OperationListByTagsOperationResponse struct { HttpResponse *http.Response Model *[]TagResourceContract // contains filtered or unexported fields }
func (OperationListByTagsOperationResponse) HasMore ¶
func (r OperationListByTagsOperationResponse) HasMore() bool
func (OperationListByTagsOperationResponse) LoadMore ¶
func (r OperationListByTagsOperationResponse) LoadMore(ctx context.Context) (resp OperationListByTagsOperationResponse, err error)
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 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_api.go
- method_operationlistbytags_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
Click to show internal directories.
Click to hide internal directories.