forked from Azure/azure-sdk-for-go
/
interfaces.go
73 lines (57 loc) · 4.73 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
package guestconfigurationapi
// 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/guestconfiguration/mgmt/2021-01-25/guestconfiguration"
"github.com/Azure/go-autorest/autorest"
)
// AssignmentsClientAPI contains the set of methods on the AssignmentsClient type.
type AssignmentsClientAPI interface {
CreateOrUpdate(ctx context.Context, guestConfigurationAssignmentName string, parameters guestconfiguration.Assignment, resourceGroupName string, VMName string) (result guestconfiguration.Assignment, err error)
Delete(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, VMName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, VMName string) (result guestconfiguration.Assignment, err error)
List(ctx context.Context, resourceGroupName string, VMName string) (result guestconfiguration.AssignmentList, err error)
}
var _ AssignmentsClientAPI = (*guestconfiguration.AssignmentsClient)(nil)
// AssignmentReportsClientAPI contains the set of methods on the AssignmentReportsClient type.
type AssignmentReportsClientAPI interface {
Get(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, reportID string, VMName string) (result guestconfiguration.AssignmentReportType, err error)
List(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, VMName string) (result guestconfiguration.AssignmentReportList, err error)
}
var _ AssignmentReportsClientAPI = (*guestconfiguration.AssignmentReportsClient)(nil)
// HCRPAssignmentsClientAPI contains the set of methods on the HCRPAssignmentsClient type.
type HCRPAssignmentsClientAPI interface {
CreateOrUpdate(ctx context.Context, guestConfigurationAssignmentName string, parameters guestconfiguration.Assignment, resourceGroupName string, machineName string) (result guestconfiguration.Assignment, err error)
Delete(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, machineName string) (result autorest.Response, err error)
Get(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, machineName string) (result guestconfiguration.Assignment, err error)
List(ctx context.Context, resourceGroupName string, machineName string) (result guestconfiguration.AssignmentList, err error)
}
var _ HCRPAssignmentsClientAPI = (*guestconfiguration.HCRPAssignmentsClient)(nil)
// HCRPAssignmentReportsClientAPI contains the set of methods on the HCRPAssignmentReportsClient type.
type HCRPAssignmentReportsClientAPI interface {
Get(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, reportID string, machineName string) (result guestconfiguration.AssignmentReportType, err error)
List(ctx context.Context, resourceGroupName string, guestConfigurationAssignmentName string, machineName string) (result guestconfiguration.AssignmentReportList, err error)
}
var _ HCRPAssignmentReportsClientAPI = (*guestconfiguration.HCRPAssignmentReportsClient)(nil)
// AssignmentsVMSSClientAPI contains the set of methods on the AssignmentsVMSSClient type.
type AssignmentsVMSSClientAPI interface {
Delete(ctx context.Context, resourceGroupName string, name string, vmssName string) (result guestconfiguration.Assignment, err error)
Get(ctx context.Context, resourceGroupName string, name string, vmssName string) (result guestconfiguration.Assignment, err error)
List(ctx context.Context, resourceGroupName string, vmssName string) (result guestconfiguration.AssignmentList, err error)
}
var _ AssignmentsVMSSClientAPI = (*guestconfiguration.AssignmentsVMSSClient)(nil)
// AssignmentReportsVMSSClientAPI contains the set of methods on the AssignmentReportsVMSSClient type.
type AssignmentReportsVMSSClientAPI interface {
Get(ctx context.Context, resourceGroupName string, name string, ID string, vmssName string) (result guestconfiguration.AssignmentReportType, err error)
List(ctx context.Context, resourceGroupName string, name string, vmssName string) (result guestconfiguration.AssignmentReportList, err error)
}
var _ AssignmentReportsVMSSClientAPI = (*guestconfiguration.AssignmentReportsVMSSClient)(nil)
// OperationsClientAPI contains the set of methods on the OperationsClient type.
type OperationsClientAPI interface {
List(ctx context.Context) (result guestconfiguration.OperationList, err error)
}
var _ OperationsClientAPI = (*guestconfiguration.OperationsClient)(nil)