...

Source file src/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/subscriptionsapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-06-01/subscriptions/subscriptionsapi

     1  // Deprecated: Please note, this package has been deprecated. A replacement package is available [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions). 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 subscriptionsapi
     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/2018-06-01/subscriptions"
    13  )
    14  
    15  // BaseClientAPI contains the set of methods on the BaseClient type.
    16  type BaseClientAPI interface {
    17  	CheckResourceName(ctx context.Context, resourceNameDefinition *subscriptions.ResourceName) (result subscriptions.CheckResourceNameResult, err error)
    18  }
    19  
    20  var _ BaseClientAPI = (*subscriptions.BaseClient)(nil)
    21  
    22  // OperationsClientAPI contains the set of methods on the OperationsClient type.
    23  type OperationsClientAPI interface {
    24  	List(ctx context.Context) (result subscriptions.OperationListResultPage, err error)
    25  	ListComplete(ctx context.Context) (result subscriptions.OperationListResultIterator, err error)
    26  }
    27  
    28  var _ OperationsClientAPI = (*subscriptions.OperationsClient)(nil)
    29  
    30  // ClientAPI contains the set of methods on the Client type.
    31  type ClientAPI interface {
    32  	Get(ctx context.Context, subscriptionID string) (result subscriptions.Subscription, err error)
    33  	List(ctx context.Context) (result subscriptions.ListResultPage, err error)
    34  	ListComplete(ctx context.Context) (result subscriptions.ListResultIterator, err error)
    35  	ListLocations(ctx context.Context, subscriptionID string) (result subscriptions.LocationListResult, err error)
    36  }
    37  
    38  var _ ClientAPI = (*subscriptions.Client)(nil)
    39  
    40  // TenantsClientAPI contains the set of methods on the TenantsClient type.
    41  type TenantsClientAPI interface {
    42  	List(ctx context.Context) (result subscriptions.TenantListResultPage, err error)
    43  	ListComplete(ctx context.Context) (result subscriptions.TenantListResultIterator, err error)
    44  }
    45  
    46  var _ TenantsClientAPI = (*subscriptions.TenantsClient)(nil)
    47  

View as plain text