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 PossibleValuesForApiSpecExportResultFormat() []string + func PossibleValuesForApiSpecImportSourceFormat() []string + func ValidateDefinitionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error) + type ApiDefinition struct + Id *string + Name *string + Properties *ApiDefinitionProperties + SystemData *systemdata.SystemData + Type *string + type ApiDefinitionOperationPredicate struct + Id *string + Name *string + Type *string + func (p ApiDefinitionOperationPredicate) Matches(input ApiDefinition) bool + type ApiDefinitionProperties struct + Description *string + Specification *ApiDefinitionPropertiesSpecification + Title string + type ApiDefinitionPropertiesSpecification struct + Name *string + Version *string + type ApiDefinitionsClient struct + Client *resourcemanager.Client + func NewApiDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiDefinitionsClient, error) + func (c ApiDefinitionsClient) CreateOrUpdate(ctx context.Context, id DefinitionId, input ApiDefinition) (result CreateOrUpdateOperationResponse, err error) + func (c ApiDefinitionsClient) Delete(ctx context.Context, id DefinitionId) (result DeleteOperationResponse, err error) + func (c ApiDefinitionsClient) ExportSpecification(ctx context.Context, id DefinitionId) (result ExportSpecificationOperationResponse, err error) + func (c ApiDefinitionsClient) ExportSpecificationThenPoll(ctx context.Context, id DefinitionId) error + func (c ApiDefinitionsClient) Get(ctx context.Context, id DefinitionId) (result GetOperationResponse, err error) + func (c ApiDefinitionsClient) Head(ctx context.Context, id DefinitionId) (result HeadOperationResponse, err error) + func (c ApiDefinitionsClient) ImportSpecification(ctx context.Context, id DefinitionId, input ApiSpecImportRequest) (result ImportSpecificationOperationResponse, err error) + func (c ApiDefinitionsClient) ImportSpecificationThenPoll(ctx context.Context, id DefinitionId, input ApiSpecImportRequest) error + func (c ApiDefinitionsClient) List(ctx context.Context, id VersionId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c ApiDefinitionsClient) ListComplete(ctx context.Context, id VersionId, options ListOperationOptions) (ListCompleteResult, error) + func (c ApiDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id VersionId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + type ApiSpecExportResult struct + Format *ApiSpecExportResultFormat + Value *string + type ApiSpecExportResultFormat string + const ApiSpecExportResultFormatInline + const ApiSpecExportResultFormatLink + func (s *ApiSpecExportResultFormat) UnmarshalJSON(bytes []byte) error + type ApiSpecImportRequest struct + Format *ApiSpecImportSourceFormat + Specification *ApiSpecImportRequestSpecification + Value *string + type ApiSpecImportRequestSpecification struct + Name *string + Version *string + type ApiSpecImportSourceFormat string + const ApiSpecImportSourceFormatInline + const ApiSpecImportSourceFormatLink + func (s *ApiSpecImportSourceFormat) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ApiDefinition + OData *odata.OData + type DefinitionId struct + ApiName string + DefinitionName string + ResourceGroupName string + ServiceName string + SubscriptionId string + VersionName string + WorkspaceName string + func NewDefinitionID(subscriptionId string, resourceGroupName string, serviceName string, ...) DefinitionId + func ParseDefinitionID(input string) (*DefinitionId, error) + func ParseDefinitionIDInsensitively(input string) (*DefinitionId, error) + func (id *DefinitionId) FromParseResult(input resourceids.ParseResult) error + func (id DefinitionId) ID() string + func (id DefinitionId) Segments() []resourceids.Segment + func (id DefinitionId) String() string + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ExportSpecificationOperationResponse struct + HttpResponse *http.Response + Model *ApiSpecExportResult + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *ApiDefinition + OData *odata.OData + type HeadOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ImportSpecificationOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type ListCompleteResult struct + Items []ApiDefinition + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Filter *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ApiDefinition + OData *odata.OData + type VersionId struct + ApiName string + ResourceGroupName string + ServiceName string + SubscriptionId string + VersionName string + WorkspaceName string + func NewVersionID(subscriptionId string, resourceGroupName string, serviceName string, ...) VersionId + func ParseVersionID(input string) (*VersionId, error) + func ParseVersionIDInsensitively(input string) (*VersionId, error) + func (id *VersionId) FromParseResult(input resourceids.ParseResult) error + func (id VersionId) ID() string + func (id VersionId) Segments() []resourceids.Segment + func (id VersionId) String() string