1package machinelearningservicesapi
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20import (
21	"context"
22	"github.com/Azure/azure-sdk-for-go/services/machinelearningservices/mgmt/2019-05-01/machinelearningservices"
23	"github.com/Azure/go-autorest/autorest"
24)
25
26// OperationsClientAPI contains the set of methods on the OperationsClient type.
27type OperationsClientAPI interface {
28	List(ctx context.Context) (result machinelearningservices.OperationListResult, err error)
29}
30
31var _ OperationsClientAPI = (*machinelearningservices.OperationsClient)(nil)
32
33// WorkspacesClientAPI contains the set of methods on the WorkspacesClient type.
34type WorkspacesClientAPI interface {
35	CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, parameters machinelearningservices.Workspace) (result machinelearningservices.Workspace, err error)
36	Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error)
37	Get(ctx context.Context, resourceGroupName string, workspaceName string) (result machinelearningservices.Workspace, err error)
38	ListByResourceGroup(ctx context.Context, resourceGroupName string, skiptoken string) (result machinelearningservices.WorkspaceListResultPage, err error)
39	ListBySubscription(ctx context.Context, skiptoken string) (result machinelearningservices.WorkspaceListResultPage, err error)
40	ListKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result machinelearningservices.ListWorkspaceKeysResult, err error)
41	ResyncKeys(ctx context.Context, resourceGroupName string, workspaceName string) (result autorest.Response, err error)
42	Update(ctx context.Context, resourceGroupName string, workspaceName string, parameters machinelearningservices.WorkspaceUpdateParameters) (result machinelearningservices.Workspace, err error)
43}
44
45var _ WorkspacesClientAPI = (*machinelearningservices.WorkspacesClient)(nil)
46
47// UsagesClientAPI contains the set of methods on the UsagesClient type.
48type UsagesClientAPI interface {
49	List(ctx context.Context, location string, expandChildren string) (result machinelearningservices.ListUsagesResultPage, err error)
50}
51
52var _ UsagesClientAPI = (*machinelearningservices.UsagesClient)(nil)
53
54// VirtualMachineSizesClientAPI contains the set of methods on the VirtualMachineSizesClient type.
55type VirtualMachineSizesClientAPI interface {
56	List(ctx context.Context, location string) (result machinelearningservices.VirtualMachineSizeListResult, err error)
57}
58
59var _ VirtualMachineSizesClientAPI = (*machinelearningservices.VirtualMachineSizesClient)(nil)
60
61// MachineLearningComputeClientAPI contains the set of methods on the MachineLearningComputeClient type.
62type MachineLearningComputeClientAPI interface {
63	CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, parameters machinelearningservices.ComputeResource) (result machinelearningservices.MachineLearningComputeCreateOrUpdateFuture, err error)
64	Delete(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, underlyingResourceAction machinelearningservices.UnderlyingResourceAction) (result machinelearningservices.MachineLearningComputeDeleteFuture, err error)
65	Get(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (result machinelearningservices.ComputeResource, err error)
66	ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string, skiptoken string) (result machinelearningservices.PaginatedComputeResourcesListPage, err error)
67	ListKeys(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (result machinelearningservices.ComputeSecretsModel, err error)
68	ListNodes(ctx context.Context, resourceGroupName string, workspaceName string, computeName string) (result machinelearningservices.AmlComputeNodesInformation, err error)
69	Update(ctx context.Context, resourceGroupName string, workspaceName string, computeName string, parameters machinelearningservices.ClusterUpdateParameters) (result machinelearningservices.MachineLearningComputeUpdateFuture, err error)
70}
71
72var _ MachineLearningComputeClientAPI = (*machinelearningservices.MachineLearningComputeClient)(nil)
73