forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaces.go
52 lines (42 loc) · 3.55 KB
/
interfaces.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package operationsmanagementapi
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"context"
"github.com/Azure/azure-sdk-for-go/services/preview/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement"
"github.com/Azure/go-autorest/autorest"
)
// SolutionsClientAPI contains the set of methods on the SolutionsClient type.
type SolutionsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, solutionName string, parameters operationsmanagement.Solution) (result operationsmanagement.SolutionsCreateOrUpdateFuture, err error)
Delete(ctx context.Context, resourceGroupName string, solutionName string) (result operationsmanagement.SolutionsDeleteFuture, err error)
Get(ctx context.Context, resourceGroupName string, solutionName string) (result operationsmanagement.Solution, err error)
ListByResourceGroup(ctx context.Context, resourceGroupName string) (result operationsmanagement.SolutionPropertiesList, err error)
ListBySubscription(ctx context.Context) (result operationsmanagement.SolutionPropertiesList, err error)
Update(ctx context.Context, resourceGroupName string, solutionName string, parameters operationsmanagement.SolutionPatch) (result operationsmanagement.SolutionsUpdateFuture, err error)
}
var _ SolutionsClientAPI = (*operationsmanagement.SolutionsClient)(nil)
// ManagementAssociationsClientAPI contains the set of methods on the ManagementAssociationsClient type.
type ManagementAssociationsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, managementAssociationName string, parameters operationsmanagement.ManagementAssociation) (result operationsmanagement.ManagementAssociation, err error)
Delete(ctx context.Context, resourceGroupName string, managementAssociationName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, managementAssociationName string) (result operationsmanagement.ManagementAssociation, err error)
ListBySubscription(ctx context.Context) (result operationsmanagement.ManagementAssociationPropertiesList, err error)
}
var _ ManagementAssociationsClientAPI = (*operationsmanagement.ManagementAssociationsClient)(nil)
// ManagementConfigurationsClientAPI contains the set of methods on the ManagementConfigurationsClient type.
type ManagementConfigurationsClientAPI interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, managementConfigurationName string, parameters operationsmanagement.ManagementConfiguration) (result operationsmanagement.ManagementConfiguration, err error)
Delete(ctx context.Context, resourceGroupName string, managementConfigurationName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, managementConfigurationName string) (result operationsmanagement.ManagementConfiguration, err error)
ListBySubscription(ctx context.Context) (result operationsmanagement.ManagementConfigurationPropertiesList, err error)
}
var _ ManagementConfigurationsClientAPI = (*operationsmanagement.ManagementConfigurationsClient)(nil)
// OperationsClientAPI contains the set of methods on the OperationsClient type.
type OperationsClientAPI interface {
List(ctx context.Context) (result operationsmanagement.OperationListResult, err error)
}
var _ OperationsClientAPI = (*operationsmanagement.OperationsClient)(nil)