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 PossibleValuesForApiKind() []string + func PossibleValuesForLifecycleStage() []string + func ValidateApiID(input interface{}, key string) (warnings []string, errors []error) + func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error) + type Api struct + Id *string + Name *string + Properties *ApiProperties + SystemData *systemdata.SystemData + Type *string + type ApiId struct + ApiName string + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceName 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 ApiKind string + const ApiKindGraphql + const ApiKindGrpc + const ApiKindRest + const ApiKindSoap + const ApiKindWebhook + const ApiKindWebsocket + func (s *ApiKind) UnmarshalJSON(bytes []byte) error + type ApiOperationPredicate struct + Id *string + Name *string + Type *string + func (p ApiOperationPredicate) Matches(input Api) bool + type ApiProperties struct + Contacts *[]Contact + CustomProperties *interface{} + Description *string + ExternalDocumentation *[]ExternalDocumentation + Kind ApiKind + License *License + LifecycleStage *LifecycleStage + Summary *string + TermsOfService *TermsOfService + Title string + type ApisClient struct + Client *resourcemanager.Client + func NewApisClientWithBaseURI(sdkApi sdkEnv.Api) (*ApisClient, error) + func (c ApisClient) CreateOrUpdate(ctx context.Context, id ApiId, input Api) (result CreateOrUpdateOperationResponse, err error) + func (c ApisClient) Delete(ctx context.Context, id ApiId) (result DeleteOperationResponse, err error) + func (c ApisClient) Get(ctx context.Context, id ApiId) (result GetOperationResponse, err error) + func (c ApisClient) Head(ctx context.Context, id ApiId) (result HeadOperationResponse, err error) + func (c ApisClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (result ListOperationResponse, err error) + func (c ApisClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error) + func (c ApisClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (result ListCompleteResult, err error) + type Contact struct + Email *string + Name *string + Url *string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Api + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ExternalDocumentation struct + Description *string + Title *string + Url string + type GetOperationResponse struct + HttpResponse *http.Response + Model *Api + OData *odata.OData + type HeadOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type License struct + Identifier *string + Name *string + Url *string + type LifecycleStage string + const LifecycleStageDeprecated + const LifecycleStageDesign + const LifecycleStageDevelopment + const LifecycleStagePreview + const LifecycleStageProduction + const LifecycleStageRetired + const LifecycleStageTesting + func (s *LifecycleStage) UnmarshalJSON(bytes []byte) error + type ListCompleteResult struct + Items []Api + 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 *[]Api + OData *odata.OData + type TermsOfService struct + Url string + type WorkspaceId struct + ResourceGroupName string + ServiceName string + SubscriptionId string + WorkspaceName 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