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 ApiTagResourceContractProperties
- type ApiType
- type AuthenticationSettingsContract
- type BearerTokenSendingMethods
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type OAuth2AuthenticationSettingsContract
- type OpenIdAuthenticationSettingsContract
- type OperationTagResourceContractProperties
- type ProductState
- type ProductTagResourceContractProperties
- type Protocol
- type ServiceId
- type SubscriptionKeyParameterNamesContract
- type TagResourceClient
- func (c TagResourceClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c TagResourceClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c TagResourceClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- 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 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 ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []TagResourceContract }
type ListByServiceCustomPager ¶
func (*ListByServiceCustomPager) NextPageLink ¶
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TagResourceContract }
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 ¶
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) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type TagResourceClient ¶
type TagResourceClient struct {
Client *resourcemanager.Client
}
func NewTagResourceClientWithBaseURI ¶
func NewTagResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*TagResourceClient, error)
func (TagResourceClient) ListByService ¶
func (c TagResourceClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (TagResourceClient) ListByServiceComplete ¶
func (c TagResourceClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (TagResourceClient) ListByServiceCompleteMatchingPredicate ¶
func (c TagResourceClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate TagResourceContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
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_listbyservice.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.