...

Source file src/github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/accountapi/interfaces.go

Documentation: github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account/accountapi

     1  // Deprecated: Please note, this package has been deprecated. A replacement package is available [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datalake-analytics/armdatalakeanalytics](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datalake-analytics/armdatalakeanalytics). 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 accountapi
     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/datalake/analytics/mgmt/2016-11-01/account"
    13  	"github.com/Azure/go-autorest/autorest"
    14  )
    15  
    16  // AccountsClientAPI contains the set of methods on the AccountsClient type.
    17  type AccountsClientAPI interface {
    18  	CheckNameAvailability(ctx context.Context, location string, parameters account.CheckNameAvailabilityParameters) (result account.NameAvailabilityInformation, err error)
    19  	Create(ctx context.Context, resourceGroupName string, accountName string, parameters account.CreateDataLakeAnalyticsAccountParameters) (result account.AccountsCreateFutureType, err error)
    20  	Delete(ctx context.Context, resourceGroupName string, accountName string) (result account.AccountsDeleteFutureType, err error)
    21  	Get(ctx context.Context, resourceGroupName string, accountName string) (result account.DataLakeAnalyticsAccount, err error)
    22  	List(ctx context.Context, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.DataLakeAnalyticsAccountListResultPage, err error)
    23  	ListComplete(ctx context.Context, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.DataLakeAnalyticsAccountListResultIterator, err error)
    24  	ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.DataLakeAnalyticsAccountListResultPage, err error)
    25  	ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.DataLakeAnalyticsAccountListResultIterator, err error)
    26  	Update(ctx context.Context, resourceGroupName string, accountName string, parameters *account.UpdateDataLakeAnalyticsAccountParameters) (result account.AccountsUpdateFutureType, err error)
    27  }
    28  
    29  var _ AccountsClientAPI = (*account.AccountsClient)(nil)
    30  
    31  // DataLakeStoreAccountsClientAPI contains the set of methods on the DataLakeStoreAccountsClient type.
    32  type DataLakeStoreAccountsClientAPI interface {
    33  	Add(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters *account.AddDataLakeStoreParameters) (result autorest.Response, err error)
    34  	Delete(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result autorest.Response, err error)
    35  	Get(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result account.DataLakeStoreAccountInformation, err error)
    36  	ListByAccount(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.DataLakeStoreAccountInformationListResultPage, err error)
    37  	ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.DataLakeStoreAccountInformationListResultIterator, err error)
    38  }
    39  
    40  var _ DataLakeStoreAccountsClientAPI = (*account.DataLakeStoreAccountsClient)(nil)
    41  
    42  // StorageAccountsClientAPI contains the set of methods on the StorageAccountsClient type.
    43  type StorageAccountsClientAPI interface {
    44  	Add(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters account.AddStorageAccountParameters) (result autorest.Response, err error)
    45  	Delete(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result autorest.Response, err error)
    46  	Get(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result account.StorageAccountInformation, err error)
    47  	GetStorageContainer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result account.StorageContainer, err error)
    48  	ListByAccount(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.StorageAccountInformationListResultPage, err error)
    49  	ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result account.StorageAccountInformationListResultIterator, err error)
    50  	ListSasTokens(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result account.SasTokenInformationListResultPage, err error)
    51  	ListSasTokensComplete(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result account.SasTokenInformationListResultIterator, err error)
    52  	ListStorageContainers(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result account.StorageContainerListResultPage, err error)
    53  	ListStorageContainersComplete(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result account.StorageContainerListResultIterator, err error)
    54  	Update(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters *account.UpdateStorageAccountParameters) (result autorest.Response, err error)
    55  }
    56  
    57  var _ StorageAccountsClientAPI = (*account.StorageAccountsClient)(nil)
    58  
    59  // ComputePoliciesClientAPI contains the set of methods on the ComputePoliciesClient type.
    60  type ComputePoliciesClientAPI interface {
    61  	CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string, parameters account.CreateOrUpdateComputePolicyParameters) (result account.ComputePolicy, err error)
    62  	Delete(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string) (result autorest.Response, err error)
    63  	Get(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string) (result account.ComputePolicy, err error)
    64  	ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result account.ComputePolicyListResultPage, err error)
    65  	ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result account.ComputePolicyListResultIterator, err error)
    66  	Update(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string, parameters *account.UpdateComputePolicyParameters) (result account.ComputePolicy, err error)
    67  }
    68  
    69  var _ ComputePoliciesClientAPI = (*account.ComputePoliciesClient)(nil)
    70  
    71  // FirewallRulesClientAPI contains the set of methods on the FirewallRulesClient type.
    72  type FirewallRulesClientAPI interface {
    73  	CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters account.CreateOrUpdateFirewallRuleParameters) (result account.FirewallRule, err error)
    74  	Delete(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
    75  	Get(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (result account.FirewallRule, err error)
    76  	ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result account.FirewallRuleListResultPage, err error)
    77  	ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result account.FirewallRuleListResultIterator, err error)
    78  	Update(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters *account.UpdateFirewallRuleParameters) (result account.FirewallRule, err error)
    79  }
    80  
    81  var _ FirewallRulesClientAPI = (*account.FirewallRulesClient)(nil)
    82  
    83  // OperationsClientAPI contains the set of methods on the OperationsClient type.
    84  type OperationsClientAPI interface {
    85  	List(ctx context.Context) (result account.OperationListResult, err error)
    86  }
    87  
    88  var _ OperationsClientAPI = (*account.OperationsClient)(nil)
    89  
    90  // LocationsClientAPI contains the set of methods on the LocationsClient type.
    91  type LocationsClientAPI interface {
    92  	GetCapability(ctx context.Context, location string) (result account.CapabilityInformation, err error)
    93  }
    94  
    95  var _ LocationsClientAPI = (*account.LocationsClient)(nil)
    96  

View as plain text