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) (result 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, ...) (result 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
func (ApiListByTagsOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ApiListByTagsOperationOptions) ToHeaders() *client.Headers
func (ApiListByTagsOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ApiListByTagsOperationOptions) ToOData() *odata.Query
func (ApiListByTagsOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ApiListByTagsOperationOptions) ToQuery() *client.QueryParams
type ApiListByTagsOperationResponse ¶
type ApiListByTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagResourceContract }
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 ¶
type ApisByTagClient struct {
Client *resourcemanager.Client
}
func NewApisByTagClientWithBaseURI ¶
func NewApisByTagClientWithBaseURI(sdkApi sdkEnv.Api) (*ApisByTagClient, error)
func (ApisByTagClient) ApiListByTags ¶
func (c ApisByTagClient) ApiListByTags(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions) (result ApiListByTagsOperationResponse, err error)
ApiListByTags ...
func (ApisByTagClient) ApiListByTagsComplete ¶
func (c ApisByTagClient) ApiListByTagsComplete(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions) (ApiListByTagsCompleteResult, error)
ApiListByTagsComplete retrieves all the results into a single object
func (ApisByTagClient) ApiListByTagsCompleteMatchingPredicate ¶
func (c ApisByTagClient) ApiListByTagsCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ApiListByTagsOperationOptions, predicate TagResourceContractOperationPredicate) (result ApiListByTagsCompleteResult, err error)
ApiListByTagsCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 ¶ added in v0.20230801.1071415
func (s *BearerTokenSendingMethods) UnmarshalJSON(bytes []byte) error
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" )
func (*ProductState) UnmarshalJSON ¶ added in v0.20230801.1071415
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 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.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.