forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interfaces.go
68 lines (56 loc) · 5.05 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
package delegatednetworkapi
// 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/delegatednetwork/mgmt/2020-08-08-preview/delegatednetwork"
)
// ControllerClientAPI contains the set of methods on the ControllerClient type.
type ControllerClientAPI interface {
Create(ctx context.Context, resourceGroupName string, resourceName string, parameters delegatednetwork.DelegatedController) (result delegatednetwork.ControllerCreateFuture, err error)
Delete(ctx context.Context, resourceGroupName string, resourceName string) (result delegatednetwork.ControllerDeleteFuture, err error)
GetDetails(ctx context.Context, resourceGroupName string, resourceName string) (result delegatednetwork.DelegatedController, err error)
Patch(ctx context.Context, resourceGroupName string, resourceName string, parameters delegatednetwork.ControllerResourceUpdateParameters) (result delegatednetwork.DelegatedController, err error)
}
var _ ControllerClientAPI = (*delegatednetwork.ControllerClient)(nil)
// ClientAPI contains the set of methods on the Client type.
type ClientAPI interface {
ListByResourceGroup(ctx context.Context, resourceGroupName string) (result delegatednetwork.DelegatedControllersPage, err error)
ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result delegatednetwork.DelegatedControllersIterator, err error)
ListBySubscription(ctx context.Context) (result delegatednetwork.DelegatedControllersPage, err error)
ListBySubscriptionComplete(ctx context.Context) (result delegatednetwork.DelegatedControllersIterator, err error)
}
var _ ClientAPI = (*delegatednetwork.Client)(nil)
// OrchestratorInstanceServiceClientAPI contains the set of methods on the OrchestratorInstanceServiceClient type.
type OrchestratorInstanceServiceClientAPI interface {
Create(ctx context.Context, resourceGroupName string, resourceName string, parameters delegatednetwork.Orchestrator) (result delegatednetwork.OrchestratorInstanceServiceCreateFuture, err error)
Delete(ctx context.Context, resourceGroupName string, resourceName string) (result delegatednetwork.OrchestratorInstanceServiceDeleteFuture, err error)
GetDetails(ctx context.Context, resourceGroupName string, resourceName string) (result delegatednetwork.Orchestrator, err error)
ListByResourceGroup(ctx context.Context, resourceGroupName string) (result delegatednetwork.OrchestratorsPage, err error)
ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result delegatednetwork.OrchestratorsIterator, err error)
ListBySubscription(ctx context.Context) (result delegatednetwork.OrchestratorsPage, err error)
ListBySubscriptionComplete(ctx context.Context) (result delegatednetwork.OrchestratorsIterator, err error)
Patch(ctx context.Context, resourceGroupName string, resourceName string, parameters delegatednetwork.OrchestratorResourceUpdateParameters) (result delegatednetwork.Orchestrator, err error)
}
var _ OrchestratorInstanceServiceClientAPI = (*delegatednetwork.OrchestratorInstanceServiceClient)(nil)
// DelegatedSubnetServiceClientAPI contains the set of methods on the DelegatedSubnetServiceClient type.
type DelegatedSubnetServiceClientAPI interface {
DeleteDetails(ctx context.Context, resourceGroupName string, resourceName string) (result delegatednetwork.DelegatedSubnetServiceDeleteDetailsFuture, err error)
GetDetails(ctx context.Context, resourceGroupName string, resourceName string) (result delegatednetwork.DelegatedSubnet, err error)
ListByResourceGroup(ctx context.Context, resourceGroupName string) (result delegatednetwork.DelegatedSubnetsPage, err error)
ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result delegatednetwork.DelegatedSubnetsIterator, err error)
ListBySubscription(ctx context.Context) (result delegatednetwork.DelegatedSubnetsPage, err error)
ListBySubscriptionComplete(ctx context.Context) (result delegatednetwork.DelegatedSubnetsIterator, err error)
PatchDetails(ctx context.Context, resourceGroupName string, resourceName string, parameters delegatednetwork.ResourceUpdateParameters) (result delegatednetwork.DelegatedSubnetServicePatchDetailsFuture, err error)
PutDetails(ctx context.Context, resourceGroupName string, resourceName string, parameters delegatednetwork.DelegatedSubnet) (result delegatednetwork.DelegatedSubnetServicePutDetailsFuture, err error)
}
var _ DelegatedSubnetServiceClientAPI = (*delegatednetwork.DelegatedSubnetServiceClient)(nil)
// OperationsClientAPI contains the set of methods on the OperationsClient type.
type OperationsClientAPI interface {
List(ctx context.Context) (result delegatednetwork.OperationListResultPage, err error)
ListComplete(ctx context.Context) (result delegatednetwork.OperationListResultIterator, err error)
}
var _ OperationsClientAPI = (*delegatednetwork.OperationsClient)(nil)