1package azurestackapi
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20import (
21	"context"
22	"github.com/Azure/azure-sdk-for-go/services/azurestack/mgmt/2017-06-01/azurestack"
23	"github.com/Azure/go-autorest/autorest"
24)
25
26// OperationsClientAPI contains the set of methods on the OperationsClient type.
27type OperationsClientAPI interface {
28	List(ctx context.Context) (result azurestack.OperationListPage, err error)
29	ListComplete(ctx context.Context) (result azurestack.OperationListIterator, err error)
30}
31
32var _ OperationsClientAPI = (*azurestack.OperationsClient)(nil)
33
34// CloudManifestFileClientAPI contains the set of methods on the CloudManifestFileClient type.
35type CloudManifestFileClientAPI interface {
36	Get(ctx context.Context, verificationVersion string, versionCreationDate string) (result azurestack.CloudManifestFileResponse, err error)
37	List(ctx context.Context) (result azurestack.CloudManifestFileResponse, err error)
38}
39
40var _ CloudManifestFileClientAPI = (*azurestack.CloudManifestFileClient)(nil)
41
42// ProductsClientAPI contains the set of methods on the ProductsClient type.
43type ProductsClientAPI interface {
44	Get(ctx context.Context, resourceGroup string, registrationName string, productName string) (result azurestack.Product, err error)
45	GetProduct(ctx context.Context, resourceGroup string, registrationName string, productName string, deviceConfiguration *azurestack.DeviceConfiguration) (result azurestack.Product, err error)
46	GetProducts(ctx context.Context, resourceGroup string, registrationName string, deviceConfiguration *azurestack.DeviceConfiguration) (result azurestack.ProductList, err error)
47	List(ctx context.Context, resourceGroup string, registrationName string) (result azurestack.ProductListPage, err error)
48	ListComplete(ctx context.Context, resourceGroup string, registrationName string) (result azurestack.ProductListIterator, err error)
49	ListDetails(ctx context.Context, resourceGroup string, registrationName string, productName string) (result azurestack.ExtendedProduct, err error)
50	UploadLog(ctx context.Context, resourceGroup string, registrationName string, productName string, marketplaceProductLogUpdate *azurestack.MarketplaceProductLogUpdate) (result azurestack.ProductLog, err error)
51}
52
53var _ ProductsClientAPI = (*azurestack.ProductsClient)(nil)
54
55// RegistrationsClientAPI contains the set of methods on the RegistrationsClient type.
56type RegistrationsClientAPI interface {
57	CreateOrUpdate(ctx context.Context, resourceGroup string, registrationName string, tokenParameter azurestack.RegistrationParameter) (result azurestack.Registration, err error)
58	Delete(ctx context.Context, resourceGroup string, registrationName string) (result autorest.Response, err error)
59	Get(ctx context.Context, resourceGroup string, registrationName string) (result azurestack.Registration, err error)
60	GetActivationKey(ctx context.Context, resourceGroup string, registrationName string) (result azurestack.ActivationKeyResult, err error)
61	List(ctx context.Context, resourceGroup string) (result azurestack.RegistrationListPage, err error)
62	ListComplete(ctx context.Context, resourceGroup string) (result azurestack.RegistrationListIterator, err error)
63	Update(ctx context.Context, resourceGroup string, registrationName string, tokenParameter azurestack.RegistrationParameter) (result azurestack.Registration, err error)
64}
65
66var _ RegistrationsClientAPI = (*azurestack.RegistrationsClient)(nil)
67
68// CustomerSubscriptionsClientAPI contains the set of methods on the CustomerSubscriptionsClient type.
69type CustomerSubscriptionsClientAPI interface {
70	Create(ctx context.Context, resourceGroup string, registrationName string, customerSubscriptionName string, customerCreationParameters azurestack.CustomerSubscription) (result azurestack.CustomerSubscription, err error)
71	Delete(ctx context.Context, resourceGroup string, registrationName string, customerSubscriptionName string) (result autorest.Response, err error)
72	Get(ctx context.Context, resourceGroup string, registrationName string, customerSubscriptionName string) (result azurestack.CustomerSubscription, err error)
73	List(ctx context.Context, resourceGroup string, registrationName string) (result azurestack.CustomerSubscriptionListPage, err error)
74	ListComplete(ctx context.Context, resourceGroup string, registrationName string) (result azurestack.CustomerSubscriptionListIterator, err error)
75}
76
77var _ CustomerSubscriptionsClientAPI = (*azurestack.CustomerSubscriptionsClient)(nil)
78