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) (result 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, ...) (result OperationListByTagsCompleteResult, err error)
- type ApiTagResourceContractProperties
- type ApiType
- type AuthenticationSettingsContract
- type BearerTokenSendingMethods
- type OAuth2AuthenticationSettingsContract
- type OpenIdAuthenticationSettingsContract
- type OperationListByTagsCompleteResult
- type OperationListByTagsCustomPager
- 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) FromParseResult ¶
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewApiOperationsByTagClientWithBaseURI ¶
func NewApiOperationsByTagClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiOperationsByTagClient, error)
func (ApiOperationsByTagClient) OperationListByTags ¶
func (c ApiOperationsByTagClient) OperationListByTags(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions) (result OperationListByTagsOperationResponse, err error)
OperationListByTags ...
func (ApiOperationsByTagClient) OperationListByTagsComplete ¶
func (c ApiOperationsByTagClient) OperationListByTagsComplete(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions) (OperationListByTagsCompleteResult, error)
OperationListByTagsComplete retrieves all the results into a single object
func (ApiOperationsByTagClient) OperationListByTagsCompleteMatchingPredicate ¶
func (c ApiOperationsByTagClient) OperationListByTagsCompleteMatchingPredicate(ctx context.Context, id ApiId, options OperationListByTagsOperationOptions, predicate TagResourceContractOperationPredicate) (result OperationListByTagsCompleteResult, err error)
OperationListByTagsCompleteMatchingPredicate retrieves all the results and then applies 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"` OAuth2AuthenticationSettings *[]OAuth2AuthenticationSettingsContract `json:"oAuth2AuthenticationSettings,omitempty"` Openid *OpenIdAuthenticationSettingsContract `json:"openid,omitempty"` OpenidAuthenticationSettings *[]OpenIdAuthenticationSettingsContract `json:"openidAuthenticationSettings,omitempty"` }
type BearerTokenSendingMethods ¶
type BearerTokenSendingMethods string
const ( BearerTokenSendingMethodsAuthorizationHeader BearerTokenSendingMethods = "authorizationHeader" BearerTokenSendingMethodsQuery BearerTokenSendingMethods = "query" )
func (*BearerTokenSendingMethods) UnmarshalJSON ¶
func (s *BearerTokenSendingMethods) UnmarshalJSON(bytes []byte) error
type OpenIdAuthenticationSettingsContract ¶
type OpenIdAuthenticationSettingsContract struct { BearerTokenSendingMethods *[]BearerTokenSendingMethods `json:"bearerTokenSendingMethods,omitempty"` OpenidProviderId *string `json:"openidProviderId,omitempty"` }
type OperationListByTagsCompleteResult ¶
type OperationListByTagsCompleteResult struct { LatestHttpResponse *http.Response Items []TagResourceContract }
type OperationListByTagsCustomPager ¶
func (*OperationListByTagsCustomPager) NextPageLink ¶
func (p *OperationListByTagsCustomPager) NextPageLink() *odata.Link
type OperationListByTagsOperationOptions ¶
type OperationListByTagsOperationOptions struct { Filter *string IncludeNotTaggedOperations *bool Skip *int64 Top *int64 }
func DefaultOperationListByTagsOperationOptions ¶
func DefaultOperationListByTagsOperationOptions() OperationListByTagsOperationOptions
func (OperationListByTagsOperationOptions) ToHeaders ¶
func (o OperationListByTagsOperationOptions) ToHeaders() *client.Headers
func (OperationListByTagsOperationOptions) ToOData ¶
func (o OperationListByTagsOperationOptions) ToOData() *odata.Query
func (OperationListByTagsOperationOptions) ToQuery ¶
func (o OperationListByTagsOperationOptions) ToQuery() *client.QueryParams
type OperationListByTagsOperationResponse ¶
type OperationListByTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagResourceContract }
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" )
func (*ProductState) UnmarshalJSON ¶
func (s *ProductState) UnmarshalJSON(bytes []byte) error
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.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.