Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForBearerTokenSendingMethods() []string
- func PossibleValuesForProtocol() []string
- func PossibleValuesForVersioningScheme() []string
- func ValidateProductApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProductID(input interface{}, key string) (warnings []string, errors []error)
- type ApiContactInformation
- type ApiContract
- type ApiContractOperationPredicate
- type ApiContractProperties
- type ApiLicenseInformation
- type ApiType
- type ApiVersionSetContractDetails
- type AuthenticationSettingsContract
- type BearerTokenSendingMethods
- type CheckEntityExistsOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ListByProductCompleteResult
- type ListByProductOperationOptions
- type ListByProductOperationResponse
- type OAuth2AuthenticationSettingsContract
- type OpenIdAuthenticationSettingsContract
- type ProductApiClient
- func (c ProductApiClient) CheckEntityExists(ctx context.Context, id ProductApiId) (result CheckEntityExistsOperationResponse, err error)
- func (c ProductApiClient) CreateOrUpdate(ctx context.Context, id ProductApiId) (result CreateOrUpdateOperationResponse, err error)
- func (c ProductApiClient) Delete(ctx context.Context, id ProductApiId) (result DeleteOperationResponse, err error)
- func (c ProductApiClient) ListByProduct(ctx context.Context, id ProductId, options ListByProductOperationOptions) (resp ListByProductOperationResponse, err error)
- func (c ProductApiClient) ListByProductComplete(ctx context.Context, id ProductId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
- func (c ProductApiClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListByProductOperationOptions, ...) (resp ListByProductCompleteResult, err error)
- type ProductApiId
- type ProductId
- type Protocol
- type SubscriptionKeyParameterNamesContract
- type VersioningScheme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiType ¶
func PossibleValuesForApiType() []string
func PossibleValuesForBearerTokenSendingMethods ¶
func PossibleValuesForBearerTokenSendingMethods() []string
func PossibleValuesForProtocol ¶
func PossibleValuesForProtocol() []string
func PossibleValuesForVersioningScheme ¶
func PossibleValuesForVersioningScheme() []string
func ValidateProductApiID ¶ added in v0.20230523.1140858
ValidateProductApiID checks that 'input' can be parsed as a Product Api ID
func ValidateProductID ¶
ValidateProductID checks that 'input' can be parsed as a Product ID
Types ¶
type ApiContactInformation ¶
type ApiContract ¶
type ApiContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ApiContractOperationPredicate ¶
func (ApiContractOperationPredicate) Matches ¶
func (p ApiContractOperationPredicate) Matches(input ApiContract) bool
type ApiContractProperties ¶
type ApiContractProperties struct { ApiRevision *string `json:"apiRevision,omitempty"` ApiRevisionDescription *string `json:"apiRevisionDescription,omitempty"` ApiVersion *string `json:"apiVersion,omitempty"` ApiVersionDescription *string `json:"apiVersionDescription,omitempty"` ApiVersionSet *ApiVersionSetContractDetails `json:"apiVersionSet,omitempty"` ApiVersionSetId *string `json:"apiVersionSetId,omitempty"` AuthenticationSettings *AuthenticationSettingsContract `json:"authenticationSettings,omitempty"` Contact *ApiContactInformation `json:"contact,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsCurrent *bool `json:"isCurrent,omitempty"` IsOnline *bool `json:"isOnline,omitempty"` License *ApiLicenseInformation `json:"license,omitempty"` Path string `json:"path"` Protocols *[]Protocol `json:"protocols,omitempty"` ServiceUrl *string `json:"serviceUrl,omitempty"` SourceApiId *string `json:"sourceApiId,omitempty"` SubscriptionKeyParameterNames *SubscriptionKeyParameterNamesContract `json:"subscriptionKeyParameterNames,omitempty"` SubscriptionRequired *bool `json:"subscriptionRequired,omitempty"` TermsOfServiceUrl *string `json:"termsOfServiceUrl,omitempty"` Type *ApiType `json:"type,omitempty"` }
type ApiLicenseInformation ¶
type ApiVersionSetContractDetails ¶
type ApiVersionSetContractDetails struct { Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` VersionHeaderName *string `json:"versionHeaderName,omitempty"` VersionQueryName *string `json:"versionQueryName,omitempty"` VersioningScheme *VersioningScheme `json:"versioningScheme,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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *ApiContract }
type DeleteOperationResponse ¶
type ListByProductCompleteResult ¶
type ListByProductCompleteResult struct {
Items []ApiContract
}
type ListByProductOperationOptions ¶
func DefaultListByProductOperationOptions ¶
func DefaultListByProductOperationOptions() ListByProductOperationOptions
type ListByProductOperationResponse ¶
type ListByProductOperationResponse struct { HttpResponse *http.Response Model *[]ApiContract // contains filtered or unexported fields }
func (ListByProductOperationResponse) HasMore ¶
func (r ListByProductOperationResponse) HasMore() bool
func (ListByProductOperationResponse) LoadMore ¶
func (r ListByProductOperationResponse) LoadMore(ctx context.Context) (resp ListByProductOperationResponse, err error)
type OpenIdAuthenticationSettingsContract ¶
type OpenIdAuthenticationSettingsContract struct { BearerTokenSendingMethods *[]BearerTokenSendingMethods `json:"bearerTokenSendingMethods,omitempty"` OpenidProviderId *string `json:"openidProviderId,omitempty"` }
type ProductApiClient ¶
func NewProductApiClientWithBaseURI ¶
func NewProductApiClientWithBaseURI(endpoint string) ProductApiClient
func (ProductApiClient) CheckEntityExists ¶
func (c ProductApiClient) CheckEntityExists(ctx context.Context, id ProductApiId) (result CheckEntityExistsOperationResponse, err error)
CheckEntityExists ...
func (ProductApiClient) CreateOrUpdate ¶
func (c ProductApiClient) CreateOrUpdate(ctx context.Context, id ProductApiId) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProductApiClient) Delete ¶
func (c ProductApiClient) Delete(ctx context.Context, id ProductApiId) (result DeleteOperationResponse, err error)
Delete ...
func (ProductApiClient) ListByProduct ¶
func (c ProductApiClient) ListByProduct(ctx context.Context, id ProductId, options ListByProductOperationOptions) (resp ListByProductOperationResponse, err error)
ListByProduct ...
func (ProductApiClient) ListByProductComplete ¶
func (c ProductApiClient) ListByProductComplete(ctx context.Context, id ProductId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all of the results into a single object
func (ProductApiClient) ListByProductCompleteMatchingPredicate ¶
func (c ProductApiClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListByProductOperationOptions, predicate ApiContractOperationPredicate) (resp ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ProductApiId ¶ added in v0.20230523.1140858
type ProductApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string ApiId string }
ProductApiId is a struct representing the Resource ID for a Product Api
func NewProductApiID ¶ added in v0.20230523.1140858
func NewProductApiID(subscriptionId string, resourceGroupName string, serviceName string, productId string, apiId string) ProductApiId
NewProductApiID returns a new ProductApiId struct
func ParseProductApiID ¶ added in v0.20230523.1140858
func ParseProductApiID(input string) (*ProductApiId, error)
ParseProductApiID parses 'input' into a ProductApiId
func ParseProductApiIDInsensitively ¶ added in v0.20230523.1140858
func ParseProductApiIDInsensitively(input string) (*ProductApiId, error)
ParseProductApiIDInsensitively parses 'input' case-insensitively into a ProductApiId note: this method should only be used for API response data and not user input
func (ProductApiId) ID ¶ added in v0.20230523.1140858
func (id ProductApiId) ID() string
ID returns the formatted Product Api ID
func (ProductApiId) Segments ¶ added in v0.20230523.1140858
func (id ProductApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product Api ID
func (ProductApiId) String ¶ added in v0.20230523.1140858
func (id ProductApiId) String() string
String returns a human-readable description of this Product Api ID
type ProductId ¶
type ProductId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string }
ProductId is a struct representing the Resource ID for a Product
func NewProductID ¶
func NewProductID(subscriptionId string, resourceGroupName string, serviceName string, productId string) ProductId
NewProductID returns a new ProductId struct
func ParseProductID ¶
ParseProductID parses 'input' into a ProductId
func ParseProductIDInsensitively ¶
ParseProductIDInsensitively parses 'input' case-insensitively into a ProductId note: this method should only be used for API response data and not user input
func (ProductId) Segments ¶
func (id ProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product ID
type VersioningScheme ¶
type VersioningScheme string
const ( VersioningSchemeHeader VersioningScheme = "Header" VersioningSchemeQuery VersioningScheme = "Query" VersioningSchemeSegment VersioningScheme = "Segment" )
Source Files ¶
- client.go
- constants.go
- id_product.go
- id_productapi.go
- method_checkentityexists_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_listbyproduct_autorest.go
- model_apicontactinformation.go
- model_apicontract.go
- model_apicontractproperties.go
- model_apilicenseinformation.go
- model_apiversionsetcontractdetails.go
- model_authenticationsettingscontract.go
- model_oauth2authenticationsettingscontract.go
- model_openidauthenticationsettingscontract.go
- model_subscriptionkeyparameternamescontract.go
- predicates.go
- version.go