...

Source file src/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features/featuresapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features/featuresapi

     1  // Deprecated: Please note, this package has been deprecated. A replacement package is available [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures). 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.
     2  package featuresapi
     3  
     4  // Copyright (c) Microsoft Corporation. All rights reserved.
     5  // Licensed under the MIT License. See License.txt in the project root for license information.
     6  //
     7  // Code generated by Microsoft (R) AutoRest Code Generator.
     8  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
     9  
    10  import (
    11  	"context"
    12  	"github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features"
    13  )
    14  
    15  // BaseClientAPI contains the set of methods on the BaseClient type.
    16  type BaseClientAPI interface {
    17  	ListOperations(ctx context.Context) (result features.OperationListResultPage, err error)
    18  	ListOperationsComplete(ctx context.Context) (result features.OperationListResultIterator, err error)
    19  }
    20  
    21  var _ BaseClientAPI = (*features.BaseClient)(nil)
    22  
    23  // ClientAPI contains the set of methods on the Client type.
    24  type ClientAPI interface {
    25  	Get(ctx context.Context, resourceProviderNamespace string, featureName string) (result features.Result, err error)
    26  	List(ctx context.Context, resourceProviderNamespace string) (result features.OperationsListResultPage, err error)
    27  	ListComplete(ctx context.Context, resourceProviderNamespace string) (result features.OperationsListResultIterator, err error)
    28  	ListAll(ctx context.Context) (result features.OperationsListResultPage, err error)
    29  	ListAllComplete(ctx context.Context) (result features.OperationsListResultIterator, err error)
    30  	Register(ctx context.Context, resourceProviderNamespace string, featureName string) (result features.Result, err error)
    31  	Unregister(ctx context.Context, resourceProviderNamespace string, featureName string) (result features.Result, err error)
    32  }
    33  
    34  var _ ClientAPI = (*features.Client)(nil)
    35  

View as plain text