/
interfaces.go
79 lines (63 loc) · 5.87 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Deprecated: Please note, this package has been deprecated. A replacement package is available [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/automanage/armautomanage](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/automanage/armautomanage). 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.
package automanageapi
// 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/automanage/mgmt/2021-04-30-preview/automanage"
"github.com/Azure/go-autorest/autorest"
)
// BestPracticesClientAPI contains the set of methods on the BestPracticesClient type.
type BestPracticesClientAPI interface {
Get(ctx context.Context, bestPracticeName string) (result automanage.BestPractice, err error)
ListByTenant(ctx context.Context) (result automanage.BestPracticeList, err error)
}
var _ BestPracticesClientAPI = (*automanage.BestPracticesClient)(nil)
// BestPracticesVersionsClientAPI contains the set of methods on the BestPracticesVersionsClient type.
type BestPracticesVersionsClientAPI interface {
Get(ctx context.Context, bestPracticeName string, versionName string) (result automanage.BestPractice, err error)
ListByTenant(ctx context.Context, bestPracticeName string) (result automanage.BestPracticeList, err error)
}
var _ BestPracticesVersionsClientAPI = (*automanage.BestPracticesVersionsClient)(nil)
// ConfigurationProfilesClientAPI contains the set of methods on the ConfigurationProfilesClient type.
type ConfigurationProfilesClientAPI interface {
CreateOrUpdate(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters automanage.ConfigurationProfile) (result automanage.ConfigurationProfile, err error)
Delete(ctx context.Context, resourceGroupName string, configurationProfileName string) (result autorest.Response, err error)
Get(ctx context.Context, configurationProfileName string, resourceGroupName string) (result automanage.ConfigurationProfile, err error)
ListByResourceGroup(ctx context.Context, resourceGroupName string) (result automanage.ConfigurationProfileList, err error)
ListBySubscription(ctx context.Context) (result automanage.ConfigurationProfileList, err error)
Update(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters automanage.ConfigurationProfileUpdate) (result automanage.ConfigurationProfile, err error)
}
var _ ConfigurationProfilesClientAPI = (*automanage.ConfigurationProfilesClient)(nil)
// ConfigurationProfilesVersionsClientAPI contains the set of methods on the ConfigurationProfilesVersionsClient type.
type ConfigurationProfilesVersionsClientAPI interface {
CreateOrUpdate(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters automanage.ConfigurationProfile) (result automanage.ConfigurationProfile, err error)
Delete(ctx context.Context, resourceGroupName string, configurationProfileName string, versionName string) (result autorest.Response, err error)
Get(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string) (result automanage.ConfigurationProfile, err error)
ListChildResources(ctx context.Context, configurationProfileName string, resourceGroupName string) (result automanage.ConfigurationProfileList, err error)
Update(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters automanage.ConfigurationProfileUpdate) (result automanage.ConfigurationProfile, err error)
}
var _ ConfigurationProfilesVersionsClientAPI = (*automanage.ConfigurationProfilesVersionsClient)(nil)
// ConfigurationProfileAssignmentsClientAPI contains the set of methods on the ConfigurationProfileAssignmentsClient type.
type ConfigurationProfileAssignmentsClientAPI interface {
CreateOrUpdate(ctx context.Context, configurationProfileAssignmentName string, parameters automanage.ConfigurationProfileAssignment, resourceGroupName string, VMName string) (result automanage.ConfigurationProfileAssignment, err error)
Delete(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (result automanage.ConfigurationProfileAssignment, err error)
List(ctx context.Context, resourceGroupName string) (result automanage.ConfigurationProfileAssignmentList, err error)
ListBySubscription(ctx context.Context) (result automanage.ConfigurationProfileAssignmentList, err error)
}
var _ ConfigurationProfileAssignmentsClientAPI = (*automanage.ConfigurationProfileAssignmentsClient)(nil)
// OperationsClientAPI contains the set of methods on the OperationsClient type.
type OperationsClientAPI interface {
List(ctx context.Context) (result automanage.OperationListResult, err error)
}
var _ OperationsClientAPI = (*automanage.OperationsClient)(nil)
// ReportsClientAPI contains the set of methods on the ReportsClient type.
type ReportsClientAPI interface {
Get(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, reportName string, VMName string) (result automanage.Report, err error)
ListByConfigurationProfileAssignments(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (result automanage.ReportList, err error)
}
var _ ReportsClientAPI = (*automanage.ReportsClient)(nil)