...

Source file src/github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-05-01-preview/experimentation/experimentationapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-05-01-preview/experimentation/experimentationapi

     1  // Deprecated: Please note, this package has been deprecated. A replacement package is available [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/machinelearning/armmachinelearning](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/machinelearning/armmachinelearning). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
     2  package experimentationapi
     3  
     4  // Copyright (c) Microsoft Corporation. All rights reserved.
     5  // Licensed under the MIT License. See License.txt in the project root for license information.
     6  //
     7  // Code generated by Microsoft (R) AutoRest Code Generator.
     8  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     9  
    10  import (
    11  	"context"
    12  	"github.com/Azure/azure-sdk-for-go/services/preview/machinelearning/mgmt/2017-05-01-preview/experimentation"
    13  	"github.com/Azure/go-autorest/autorest"
    14  )
    15  
    16  // OperationsClientAPI contains the set of methods on the OperationsClient type.
    17  type OperationsClientAPI interface {
    18  	List(ctx context.Context) (result experimentation.OperationListResult, err error)
    19  }
    20  
    21  var _ OperationsClientAPI = (*experimentation.OperationsClient)(nil)
    22  
    23  // AccountsClientAPI contains the set of methods on the AccountsClient type.
    24  type AccountsClientAPI interface {
    25  	CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, parameters experimentation.Account) (result experimentation.Account, err error)
    26  	Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
    27  	Get(ctx context.Context, resourceGroupName string, accountName string) (result experimentation.Account, err error)
    28  	List(ctx context.Context) (result experimentation.AccountListResultPage, err error)
    29  	ListComplete(ctx context.Context) (result experimentation.AccountListResultIterator, err error)
    30  	ListByResourceGroup(ctx context.Context, resourceGroupName string) (result experimentation.AccountListResultPage, err error)
    31  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result experimentation.AccountListResultIterator, err error)
    32  	Update(ctx context.Context, resourceGroupName string, accountName string, parameters experimentation.AccountUpdateParameters) (result experimentation.Account, err error)
    33  }
    34  
    35  var _ AccountsClientAPI = (*experimentation.AccountsClient)(nil)
    36  
    37  // WorkspacesClientAPI contains the set of methods on the WorkspacesClient type.
    38  type WorkspacesClientAPI interface {
    39  	CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, workspaceName string, parameters experimentation.Workspace) (result experimentation.Workspace, err error)
    40  	Delete(ctx context.Context, resourceGroupName string, accountName string, workspaceName string) (result autorest.Response, err error)
    41  	Get(ctx context.Context, resourceGroupName string, accountName string, workspaceName string) (result experimentation.Workspace, err error)
    42  	ListByAccounts(ctx context.Context, accountName string, resourceGroupName string) (result experimentation.WorkspaceListResultPage, err error)
    43  	ListByAccountsComplete(ctx context.Context, accountName string, resourceGroupName string) (result experimentation.WorkspaceListResultIterator, err error)
    44  	Update(ctx context.Context, resourceGroupName string, accountName string, workspaceName string, parameters experimentation.WorkspaceUpdateParameters) (result experimentation.Workspace, err error)
    45  }
    46  
    47  var _ WorkspacesClientAPI = (*experimentation.WorkspacesClient)(nil)
    48  
    49  // ProjectsClientAPI contains the set of methods on the ProjectsClient type.
    50  type ProjectsClientAPI interface {
    51  	CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, workspaceName string, projectName string, parameters experimentation.Project) (result experimentation.Project, err error)
    52  	Delete(ctx context.Context, resourceGroupName string, accountName string, workspaceName string, projectName string) (result autorest.Response, err error)
    53  	Get(ctx context.Context, resourceGroupName string, accountName string, workspaceName string, projectName string) (result experimentation.Project, err error)
    54  	ListByWorkspace(ctx context.Context, accountName string, workspaceName string, resourceGroupName string) (result experimentation.ProjectListResultPage, err error)
    55  	ListByWorkspaceComplete(ctx context.Context, accountName string, workspaceName string, resourceGroupName string) (result experimentation.ProjectListResultIterator, err error)
    56  	Update(ctx context.Context, resourceGroupName string, accountName string, workspaceName string, projectName string, parameters experimentation.ProjectUpdateParameters) (result experimentation.Project, err error)
    57  }
    58  
    59  var _ ProjectsClientAPI = (*experimentation.ProjectsClient)(nil)
    60  

View as plain text