Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForApiType() []string + func PossibleValuesForBearerTokenSendingMethods() []string + func PossibleValuesForContentFormat() []string + func PossibleValuesForProtocol() []string + func PossibleValuesForSoapApiType() []string + func PossibleValuesForTranslateRequiredQueryParametersConduct() []string + func PossibleValuesForVersioningScheme() []string + func ValidateApiID(input interface{}, key string) (warnings []string, errors []error) + func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceApiID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error) + type ApiClient struct + Client *resourcemanager.Client + func NewApiClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiClient, error) + func (c ApiClient) CreateOrUpdate(ctx context.Context, id ApiId, input ApiCreateOrUpdateParameter, ...) (result CreateOrUpdateOperationResponse, err error) + func (c ApiClient) CreateOrUpdateThenPoll(ctx context.Context, id ApiId, input ApiCreateOrUpdateParameter, ...) error + func (c ApiClient) Delete(ctx context.Context, id ApiId, options DeleteOperationOptions) (result DeleteOperationResponse, err error) + func (c ApiClient) Get(ctx context.Context, id ApiId) (result GetOperationResponse, err error) + func (c ApiClient) GetEntityTag(ctx context.Context, id ApiId) (result GetEntityTagOperationResponse, err error) + func (c ApiClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error) + func (c ApiClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error) + func (c ApiClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error) + func (c ApiClient) Update(ctx context.Context, id ApiId, input ApiUpdateContract, ...) (result UpdateOperationResponse, err error) + func (c ApiClient) WorkspaceApiCreateOrUpdate(ctx context.Context, id WorkspaceApiId, input ApiCreateOrUpdateParameter, ...) (result WorkspaceApiCreateOrUpdateOperationResponse, err error) + func (c ApiClient) WorkspaceApiCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceApiId, input ApiCreateOrUpdateParameter, ...) error + func (c ApiClient) WorkspaceApiDelete(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiDeleteOperationResponse, err error) + func (c ApiClient) WorkspaceApiGet(ctx context.Context, id WorkspaceApiId) (result WorkspaceApiGetOperationResponse, err error) + func (c ApiClient) WorkspaceApiGetEntityTag(ctx context.Context, id WorkspaceApiId) (result WorkspaceApiGetEntityTagOperationResponse, err error) + func (c ApiClient) WorkspaceApiListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceApiListByServiceOperationResponse, err error) + func (c ApiClient) WorkspaceApiListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceApiListByServiceCompleteResult, error) + func (c ApiClient) WorkspaceApiListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceApiListByServiceCompleteResult, err error) + func (c ApiClient) WorkspaceApiUpdate(ctx context.Context, id WorkspaceApiId, input ApiUpdateContract, ...) (result WorkspaceApiUpdateOperationResponse, err error) + type ApiContactInformation struct + Email *string + Name *string + Url *string + type ApiContract struct + Id *string + Name *string + Properties *ApiContractProperties + Type *string + type ApiContractOperationPredicate struct + Id *string + Name *string + Type *string + func (p ApiContractOperationPredicate) Matches(input ApiContract) bool + type ApiContractProperties struct + ApiRevision *string + ApiRevisionDescription *string + ApiVersion *string + ApiVersionDescription *string + ApiVersionSet *ApiVersionSetContractDetails + ApiVersionSetId *string + AuthenticationSettings *AuthenticationSettingsContract + Contact *ApiContactInformation + Description *string + DisplayName *string + IsCurrent *bool + IsOnline *bool + License *ApiLicenseInformation + Path string + Protocols *[]Protocol + ServiceURL *string + SourceApiId *string + SubscriptionKeyParameterNames *SubscriptionKeyParameterNamesContract + SubscriptionRequired *bool + TermsOfServiceURL *string + Type *ApiType + type ApiContractUpdateProperties struct + ApiRevision *string + ApiRevisionDescription *string + ApiVersion *string + ApiVersionDescription *string + ApiVersionSetId *string + AuthenticationSettings *AuthenticationSettingsContract + Contact *ApiContactInformation + Description *string + DisplayName *string + IsCurrent *bool + IsOnline *bool + License *ApiLicenseInformation + Path *string + Protocols *[]Protocol + ServiceURL *string + SubscriptionKeyParameterNames *SubscriptionKeyParameterNamesContract + SubscriptionRequired *bool + TermsOfServiceURL *string + Type *ApiType + type ApiCreateOrUpdateParameter struct + Properties *ApiCreateOrUpdateProperties + type ApiCreateOrUpdateProperties struct + ApiRevision *string + ApiRevisionDescription *string + ApiType *SoapApiType + ApiVersion *string + ApiVersionDescription *string + ApiVersionSet *ApiVersionSetContractDetails + ApiVersionSetId *string + AuthenticationSettings *AuthenticationSettingsContract + Contact *ApiContactInformation + Description *string + DisplayName *string + Format *ContentFormat + IsCurrent *bool + IsOnline *bool + License *ApiLicenseInformation + Path string + Protocols *[]Protocol + ServiceURL *string + SourceApiId *string + SubscriptionKeyParameterNames *SubscriptionKeyParameterNamesContract + SubscriptionRequired *bool + TermsOfServiceURL *string + TranslateRequiredQueryParameters *TranslateRequiredQueryParametersConduct + Type *ApiType + Value *string + WsdlSelector *ApiCreateOrUpdatePropertiesWsdlSelector + type ApiCreateOrUpdatePropertiesWsdlSelector struct + WsdlEndpointName *string + WsdlServiceName *string + type ApiId struct + ApiId string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, ...) ApiId + func ParseApiID(input string) (*ApiId, error) + func ParseApiIDInsensitively(input string) (*ApiId, error) + func (id *ApiId) FromParseResult(input resourceids.ParseResult) error + func (id ApiId) ID() string + func (id ApiId) Segments() []resourceids.Segment + func (id ApiId) String() string + type ApiLicenseInformation struct + Name *string + Url *string + type ApiType string + const ApiTypeGraphql + const ApiTypeHTTP + const ApiTypeOdata + const ApiTypeSoap + const ApiTypeWebsocket + func (s *ApiType) UnmarshalJSON(bytes []byte) error + type ApiUpdateContract struct + Properties *ApiContractUpdateProperties + type ApiVersionSetContractDetails struct + Description *string + Id *string + Name *string + VersionHeaderName *string + VersionQueryName *string + VersioningScheme *VersioningScheme + type AuthenticationSettingsContract struct + OAuth2 *OAuth2AuthenticationSettingsContract + OAuth2AuthenticationSettings *[]OAuth2AuthenticationSettingsContract + Openid *OpenIdAuthenticationSettingsContract + OpenidAuthenticationSettings *[]OpenIdAuthenticationSettingsContract + type BearerTokenSendingMethods string + const BearerTokenSendingMethodsAuthorizationHeader + const BearerTokenSendingMethodsQuery + func (s *BearerTokenSendingMethods) UnmarshalJSON(bytes []byte) error + type ContentFormat string + const ContentFormatGraphqlNegativelink + const ContentFormatOdata + const ContentFormatOdataNegativelink + const ContentFormatOpenapi + const ContentFormatOpenapiNegativelink + const ContentFormatOpenapiPositivejson + const ContentFormatOpenapiPositivejsonNegativelink + const ContentFormatSwaggerNegativejson + const ContentFormatSwaggerNegativelinkNegativejson + const ContentFormatWadlNegativelinkNegativejson + const ContentFormatWadlNegativexml + const ContentFormatWsdl + const ContentFormatWsdlNegativelink + func (s *ContentFormat) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions + func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ApiContract + OData *odata.OData + Poller pollers.Poller + type DeleteOperationOptions struct + DeleteRevisions *bool + IfMatch *string + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *ApiContract + OData *odata.OData + type ListByServiceCompleteResult struct + Items []ApiContract + LatestHttpResponse *http.Response + type ListByServiceCustomPager struct + NextLink *odata.Link + func (p *ListByServiceCustomPager) NextPageLink() *odata.Link + type ListByServiceOperationOptions struct + ExpandApiVersionSet *bool + Filter *string + Skip *int64 + Tags *string + Top *int64 + func DefaultListByServiceOperationOptions() ListByServiceOperationOptions + func (o ListByServiceOperationOptions) ToHeaders() *client.Headers + func (o ListByServiceOperationOptions) ToOData() *odata.Query + func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams + type ListByServiceOperationResponse struct + HttpResponse *http.Response + Model *[]ApiContract + OData *odata.OData + type OAuth2AuthenticationSettingsContract struct + AuthorizationServerId *string + Scope *string + type OpenIdAuthenticationSettingsContract struct + BearerTokenSendingMethods *[]BearerTokenSendingMethods + OpenidProviderId *string + type Protocol string + const ProtocolHTTP + const ProtocolHTTPS + const ProtocolWs + const ProtocolWss + func (s *Protocol) UnmarshalJSON(bytes []byte) error + type ServiceId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId + func ParseServiceID(input string) (*ServiceId, error) + func ParseServiceIDInsensitively(input string) (*ServiceId, error) + func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error + func (id ServiceId) ID() string + func (id ServiceId) Segments() []resourceids.Segment + func (id ServiceId) String() string + type SoapApiType string + const SoapApiTypeGraphql + const SoapApiTypeHTTP + const SoapApiTypeOdata + const SoapApiTypeSoap + const SoapApiTypeWebsocket + func (s *SoapApiType) UnmarshalJSON(bytes []byte) error + type SubscriptionKeyParameterNamesContract struct + Header *string + Query *string + type TranslateRequiredQueryParametersConduct string + const TranslateRequiredQueryParametersConductQuery + const TranslateRequiredQueryParametersConductTemplate + func (s *TranslateRequiredQueryParametersConduct) UnmarshalJSON(bytes []byte) error + type UpdateOperationOptions struct + IfMatch *string + func DefaultUpdateOperationOptions() UpdateOperationOptions + func (o UpdateOperationOptions) ToHeaders() *client.Headers + func (o UpdateOperationOptions) ToOData() *odata.Query + func (o UpdateOperationOptions) ToQuery() *client.QueryParams + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ApiContract + OData *odata.OData + type VersioningScheme string + const VersioningSchemeHeader + const VersioningSchemeQuery + const VersioningSchemeSegment + func (s *VersioningScheme) UnmarshalJSON(bytes []byte) error + type WorkspaceApiCreateOrUpdateOperationOptions struct + IfMatch *string + func DefaultWorkspaceApiCreateOrUpdateOperationOptions() WorkspaceApiCreateOrUpdateOperationOptions + func (o WorkspaceApiCreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiCreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ApiContract + OData *odata.OData + Poller pollers.Poller + type WorkspaceApiDeleteOperationOptions struct + DeleteRevisions *bool + IfMatch *string + func DefaultWorkspaceApiDeleteOperationOptions() WorkspaceApiDeleteOperationOptions + func (o WorkspaceApiDeleteOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiDeleteOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiDeleteOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceApiGetEntityTagOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type WorkspaceApiGetOperationResponse struct + HttpResponse *http.Response + Model *ApiContract + OData *odata.OData + type WorkspaceApiId struct + ApiId string + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewWorkspaceApiID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspaceApiId + func ParseWorkspaceApiID(input string) (*WorkspaceApiId, error) + func ParseWorkspaceApiIDInsensitively(input string) (*WorkspaceApiId, error) + func (id *WorkspaceApiId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspaceApiId) ID() string + func (id WorkspaceApiId) Segments() []resourceids.Segment + func (id WorkspaceApiId) String() string + type WorkspaceApiListByServiceCompleteResult struct + Items []ApiContract + LatestHttpResponse *http.Response + type WorkspaceApiListByServiceCustomPager struct + NextLink *odata.Link + func (p *WorkspaceApiListByServiceCustomPager) NextPageLink() *odata.Link + type WorkspaceApiListByServiceOperationOptions struct + ExpandApiVersionSet *bool + Filter *string + Skip *int64 + Tags *string + Top *int64 + func DefaultWorkspaceApiListByServiceOperationOptions() WorkspaceApiListByServiceOperationOptions + func (o WorkspaceApiListByServiceOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiListByServiceOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiListByServiceOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiListByServiceOperationResponse struct + HttpResponse *http.Response + Model *[]ApiContract + OData *odata.OData + type WorkspaceApiUpdateOperationOptions struct + IfMatch *string + func DefaultWorkspaceApiUpdateOperationOptions() WorkspaceApiUpdateOperationOptions + func (o WorkspaceApiUpdateOperationOptions) ToHeaders() *client.Headers + func (o WorkspaceApiUpdateOperationOptions) ToOData() *odata.Query + func (o WorkspaceApiUpdateOperationOptions) ToQuery() *client.QueryParams + type WorkspaceApiUpdateOperationResponse struct + HttpResponse *http.Response + Model *ApiContract + OData *odata.OData + type WorkspaceId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceId string + func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspaceId + func ParseWorkspaceID(input string) (*WorkspaceId, error) + func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error) + func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error + func (id WorkspaceId) ID() string + func (id WorkspaceId) Segments() []resourceids.Segment + func (id WorkspaceId) String() string