account

package
v52.3.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package account implements the Azure ARM Account service API version 2015-10-01-preview.

Creates an Azure Data Lake Analytics account management client.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Account
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AddDataLakeStoreParameters

type AddDataLakeStoreParameters struct {
	// Properties - the properties for the Data Lake Store account being added.
	Properties *DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}

AddDataLakeStoreParameters additional Data Lake Store parameters.

type AddStorageAccountParameters

type AddStorageAccountParameters struct {
	// Properties - the properties for the Azure Storage account being added.
	Properties *StorageAccountProperties `json:"properties,omitempty"`
}

AddStorageAccountParameters additional Azure Storage account parameters.

type AzureAsyncOperationResult

type AzureAsyncOperationResult struct {
	// Status - READ-ONLY; the status of the AzureAsyncOperation. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed'
	Status OperationStatus `json:"status,omitempty"`
	// Error - READ-ONLY
	Error *Error `json:"error,omitempty"`
}

AzureAsyncOperationResult the response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is inprogress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Account.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BlobContainer

type BlobContainer struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; the name of the blob container.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; the unique identifier of the blob container.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; the type of the blob container.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; the properties of the blob container.
	Properties *BlobContainerProperties `json:"properties,omitempty"`
}

BlobContainer azure Storage blob container information.

type BlobContainerProperties

type BlobContainerProperties struct {
	// LastModifiedTime - READ-ONLY; the last modified time of the blob container.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}

BlobContainerProperties azure Storage blob container properties information.

type Client

type Client struct {
	BaseClient
}

Client is the creates an Azure Data Lake Analytics account management client.

func NewClient

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (Client) AddDataLakeStoreAccount

func (client Client) AddDataLakeStoreAccount(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters AddDataLakeStoreParameters) (result autorest.Response, err error)

AddDataLakeStoreAccount updates the specified Data Lake Analytics account to include the additional Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account to which to add the Data Lake Store account. dataLakeStoreAccountName - the name of the Data Lake Store account to add. parameters - the details of the Data Lake Store account.

func (Client) AddDataLakeStoreAccountPreparer

func (client Client) AddDataLakeStoreAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters AddDataLakeStoreParameters) (*http.Request, error)

AddDataLakeStoreAccountPreparer prepares the AddDataLakeStoreAccount request.

func (Client) AddDataLakeStoreAccountResponder

func (client Client) AddDataLakeStoreAccountResponder(resp *http.Response) (result autorest.Response, err error)

AddDataLakeStoreAccountResponder handles the response to the AddDataLakeStoreAccount request. The method always closes the http.Response Body.

func (Client) AddDataLakeStoreAccountSender

func (client Client) AddDataLakeStoreAccountSender(req *http.Request) (*http.Response, error)

AddDataLakeStoreAccountSender sends the AddDataLakeStoreAccount request. The method will close the http.Response Body if it receives an error.

func (Client) AddStorageAccount

func (client Client) AddStorageAccount(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (result autorest.Response, err error)

AddStorageAccount updates the specified Data Lake Analytics account to add an Azure Storage account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account to which to add the Azure Storage account. storageAccountName - the name of the Azure Storage account to add parameters - the parameters containing the access key and optional suffix for the Azure Storage Account.

func (Client) AddStorageAccountPreparer

func (client Client) AddStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)

AddStorageAccountPreparer prepares the AddStorageAccount request.

func (Client) AddStorageAccountResponder

func (client Client) AddStorageAccountResponder(resp *http.Response) (result autorest.Response, err error)

AddStorageAccountResponder handles the response to the AddStorageAccount request. The method always closes the http.Response Body.

func (Client) AddStorageAccountSender

func (client Client) AddStorageAccountSender(req *http.Request) (*http.Response, error)

AddStorageAccountSender sends the AddStorageAccount request. The method will close the http.Response Body if it receives an error.

func (Client) Create

func (client Client) Create(ctx context.Context, resourceGroupName string, name string, parameters DataLakeAnalyticsAccount) (result CreateFuture, err error)

Create creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. name - the name of the Data Lake Analytics account to create. parameters - parameters supplied to the create Data Lake Analytics account operation.

func (Client) CreatePreparer

func (client Client) CreatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeAnalyticsAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (Client) CreateResponder

func (client Client) CreateResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (Client) CreateSender

func (client Client) CreateSender(req *http.Request) (future CreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (Client) Delete

func (client Client) Delete(ctx context.Context, resourceGroupName string, accountName string) (result DeleteFuture, err error)

Delete begins the delete process for the Data Lake Analytics account object specified by the account name. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account to delete

func (Client) DeleteDataLakeStoreAccount

func (client Client) DeleteDataLakeStoreAccount(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result autorest.Response, err error)

DeleteDataLakeStoreAccount updates the Data Lake Analytics account specified to remove the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account from which to remove the Data Lake Store account. dataLakeStoreAccountName - the name of the Data Lake Store account to remove

func (Client) DeleteDataLakeStoreAccountPreparer

func (client Client) DeleteDataLakeStoreAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)

DeleteDataLakeStoreAccountPreparer prepares the DeleteDataLakeStoreAccount request.

func (Client) DeleteDataLakeStoreAccountResponder

func (client Client) DeleteDataLakeStoreAccountResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDataLakeStoreAccountResponder handles the response to the DeleteDataLakeStoreAccount request. The method always closes the http.Response Body.

func (Client) DeleteDataLakeStoreAccountSender

func (client Client) DeleteDataLakeStoreAccountSender(req *http.Request) (*http.Response, error)

DeleteDataLakeStoreAccountSender sends the DeleteDataLakeStoreAccount request. The method will close the http.Response Body if it receives an error.

func (Client) DeletePreparer

func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder

func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (Client) DeleteSender

func (client Client) DeleteSender(req *http.Request) (future DeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (Client) DeleteStorageAccount

func (client Client) DeleteStorageAccount(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result autorest.Response, err error)

DeleteStorageAccount updates the specified Data Lake Analytics account to remove an Azure Storage account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account from which to remove the Azure Storage account. storageAccountName - the name of the Azure Storage account to remove

func (Client) DeleteStorageAccountPreparer

func (client Client) DeleteStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

DeleteStorageAccountPreparer prepares the DeleteStorageAccount request.

func (Client) DeleteStorageAccountResponder

func (client Client) DeleteStorageAccountResponder(resp *http.Response) (result autorest.Response, err error)

DeleteStorageAccountResponder handles the response to the DeleteStorageAccount request. The method always closes the http.Response Body.

func (Client) DeleteStorageAccountSender

func (client Client) DeleteStorageAccountSender(req *http.Request) (*http.Response, error)

DeleteStorageAccountSender sends the DeleteStorageAccount request. The method will close the http.Response Body if it receives an error.

func (Client) Get

func (client Client) Get(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeAnalyticsAccount, err error)

Get gets details of the specified Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account to retrieve.

func (Client) GetDataLakeStoreAccount

func (client Client) GetDataLakeStoreAccount(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result DataLakeStoreAccountInfo, err error)

GetDataLakeStoreAccount gets the specified Data Lake Store account details in the specified Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. dataLakeStoreAccountName - the name of the Data Lake Store account to retrieve

func (Client) GetDataLakeStoreAccountPreparer

func (client Client) GetDataLakeStoreAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)

GetDataLakeStoreAccountPreparer prepares the GetDataLakeStoreAccount request.

func (Client) GetDataLakeStoreAccountResponder

func (client Client) GetDataLakeStoreAccountResponder(resp *http.Response) (result DataLakeStoreAccountInfo, err error)

GetDataLakeStoreAccountResponder handles the response to the GetDataLakeStoreAccount request. The method always closes the http.Response Body.

func (Client) GetDataLakeStoreAccountSender

func (client Client) GetDataLakeStoreAccountSender(req *http.Request) (*http.Response, error)

GetDataLakeStoreAccountSender sends the GetDataLakeStoreAccount request. The method will close the http.Response Body if it receives an error.

func (Client) GetPreparer

func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (Client) GetResponder

func (client Client) GetResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (Client) GetSender

func (client Client) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (Client) GetStorageAccount

func (client Client) GetStorageAccount(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result StorageAccountInfo, err error)

GetStorageAccount gets the specified Azure Storage account linked to the given Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account from which to retrieve Azure storage account details. storageAccountName - the name of the Azure Storage account for which to retrieve the details.

func (Client) GetStorageAccountPreparer

func (client Client) GetStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

GetStorageAccountPreparer prepares the GetStorageAccount request.

func (Client) GetStorageAccountResponder

func (client Client) GetStorageAccountResponder(resp *http.Response) (result StorageAccountInfo, err error)

GetStorageAccountResponder handles the response to the GetStorageAccount request. The method always closes the http.Response Body.

func (Client) GetStorageAccountSender

func (client Client) GetStorageAccountSender(req *http.Request) (*http.Response, error)

GetStorageAccountSender sends the GetStorageAccount request. The method will close the http.Response Body if it receives an error.

func (Client) GetStorageContainer

func (client Client) GetStorageContainer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result BlobContainer, err error)

GetStorageContainer gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account for which to retrieve blob container. storageAccountName - the name of the Azure storage account from which to retrieve the blob container. containerName - the name of the Azure storage container to retrieve

func (Client) GetStorageContainerPreparer

func (client Client) GetStorageContainerPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)

GetStorageContainerPreparer prepares the GetStorageContainer request.

func (Client) GetStorageContainerResponder

func (client Client) GetStorageContainerResponder(resp *http.Response) (result BlobContainer, err error)

GetStorageContainerResponder handles the response to the GetStorageContainer request. The method always closes the http.Response Body.

func (Client) GetStorageContainerSender

func (client Client) GetStorageContainerSender(req *http.Request) (*http.Response, error)

GetStorageContainerSender sends the GetStorageContainer request. The method will close the http.Response Body if it receives an error.

func (Client) List

func (client Client) List(ctx context.Context, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListResultPage, err error)

List gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. Parameters: filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. expand - oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count - the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. search - a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter - the desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListByResourceGroup

func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListResultPage, err error)

ListByResourceGroup gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. expand - oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count - the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. search - a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter - the return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListByResourceGroupComplete

func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListByResourceGroupPreparer

func (client Client) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (Client) ListByResourceGroupResponder

func (client Client) ListByResourceGroupResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (Client) ListByResourceGroupSender

func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (Client) ListComplete

func (client Client) ListComplete(ctx context.Context, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListDataLakeStoreAccounts

func (client Client) ListDataLakeStoreAccounts(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListDataLakeStoreResultPage, err error)

ListDataLakeStoreAccounts gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account for which to list Data Lake Store accounts. filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. expand - oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count - the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. search - a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter - the desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListDataLakeStoreAccountsComplete

func (client Client) ListDataLakeStoreAccountsComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListDataLakeStoreResultIterator, err error)

ListDataLakeStoreAccountsComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListDataLakeStoreAccountsPreparer

func (client Client) ListDataLakeStoreAccountsPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)

ListDataLakeStoreAccountsPreparer prepares the ListDataLakeStoreAccounts request.

func (Client) ListDataLakeStoreAccountsResponder

func (client Client) ListDataLakeStoreAccountsResponder(resp *http.Response) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)

ListDataLakeStoreAccountsResponder handles the response to the ListDataLakeStoreAccounts request. The method always closes the http.Response Body.

func (Client) ListDataLakeStoreAccountsSender

func (client Client) ListDataLakeStoreAccountsSender(req *http.Request) (*http.Response, error)

ListDataLakeStoreAccountsSender sends the ListDataLakeStoreAccounts request. The method will close the http.Response Body if it receives an error.

func (Client) ListPreparer

func (client Client) ListPreparer(ctx context.Context, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)

ListPreparer prepares the List request.

func (Client) ListResponder

func (client Client) ListResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (Client) ListSasTokens

func (client Client) ListSasTokens(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result ListSasTokensResultPage, err error)

ListSasTokens gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested. storageAccountName - the name of the Azure storage account for which the SAS token is being requested. containerName - the name of the Azure storage container for which the SAS token is being requested.

func (Client) ListSasTokensComplete

func (client Client) ListSasTokensComplete(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result ListSasTokensResultIterator, err error)

ListSasTokensComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListSasTokensPreparer

func (client Client) ListSasTokensPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)

ListSasTokensPreparer prepares the ListSasTokens request.

func (Client) ListSasTokensResponder

func (client Client) ListSasTokensResponder(resp *http.Response) (result ListSasTokensResult, err error)

ListSasTokensResponder handles the response to the ListSasTokens request. The method always closes the http.Response Body.

func (Client) ListSasTokensSender

func (client Client) ListSasTokensSender(req *http.Request) (*http.Response, error)

ListSasTokensSender sends the ListSasTokens request. The method will close the http.Response Body if it receives an error.

func (Client) ListSender

func (client Client) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (Client) ListStorageAccounts

func (client Client) ListStorageAccounts(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListStorageAccountsResultPage, err error)

ListStorageAccounts gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account for which to list Azure Storage accounts. filter - the OData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. expand - oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count - the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. search - a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter - the desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListStorageAccountsComplete

func (client Client) ListStorageAccountsComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListStorageAccountsResultIterator, err error)

ListStorageAccountsComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListStorageAccountsPreparer

func (client Client) ListStorageAccountsPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)

ListStorageAccountsPreparer prepares the ListStorageAccounts request.

func (Client) ListStorageAccountsResponder

func (client Client) ListStorageAccountsResponder(resp *http.Response) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)

ListStorageAccountsResponder handles the response to the ListStorageAccounts request. The method always closes the http.Response Body.

func (Client) ListStorageAccountsSender

func (client Client) ListStorageAccountsSender(req *http.Request) (*http.Response, error)

ListStorageAccountsSender sends the ListStorageAccounts request. The method will close the http.Response Body if it receives an error.

func (Client) ListStorageContainers

func (client Client) ListStorageContainers(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result ListBlobContainersResultPage, err error)

ListStorageContainers lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account for which to list Azure Storage blob containers. storageAccountName - the name of the Azure storage account from which to list blob containers.

func (Client) ListStorageContainersComplete

func (client Client) ListStorageContainersComplete(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result ListBlobContainersResultIterator, err error)

ListStorageContainersComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListStorageContainersPreparer

func (client Client) ListStorageContainersPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

ListStorageContainersPreparer prepares the ListStorageContainers request.

func (Client) ListStorageContainersResponder

func (client Client) ListStorageContainersResponder(resp *http.Response) (result ListBlobContainersResult, err error)

ListStorageContainersResponder handles the response to the ListStorageContainers request. The method always closes the http.Response Body.

func (Client) ListStorageContainersSender

func (client Client) ListStorageContainersSender(req *http.Request) (*http.Response, error)

ListStorageContainersSender sends the ListStorageContainers request. The method will close the http.Response Body if it receives an error.

func (Client) Update

func (client Client) Update(ctx context.Context, resourceGroupName string, name string, parameters DataLakeAnalyticsAccount) (result UpdateFuture, err error)

Update updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. name - the name of the Data Lake Analytics account to update. parameters - parameters supplied to the update Data Lake Analytics account operation.

func (Client) UpdatePreparer

func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeAnalyticsAccount) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder

func (client Client) UpdateResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (Client) UpdateSender

func (client Client) UpdateSender(req *http.Request) (future UpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

func (Client) UpdateStorageAccount

func (client Client) UpdateStorageAccount(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (result autorest.Response, err error)

UpdateStorageAccount updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Analytics account. accountName - the name of the Data Lake Analytics account to modify storage accounts in storageAccountName - the Azure Storage account to modify parameters - the parameters containing the access key and suffix to update the storage account with.

func (Client) UpdateStorageAccountPreparer

func (client Client) UpdateStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)

UpdateStorageAccountPreparer prepares the UpdateStorageAccount request.

func (Client) UpdateStorageAccountResponder

func (client Client) UpdateStorageAccountResponder(resp *http.Response) (result autorest.Response, err error)

UpdateStorageAccountResponder handles the response to the UpdateStorageAccount request. The method always closes the http.Response Body.

func (Client) UpdateStorageAccountSender

func (client Client) UpdateStorageAccountSender(req *http.Request) (*http.Response, error)

UpdateStorageAccountSender sends the UpdateStorageAccount request. The method will close the http.Response Body if it receives an error.

type CreateFuture

type CreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(Client) (DataLakeAnalyticsAccount, error)
}

CreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DataLakeAnalyticsAccount

type DataLakeAnalyticsAccount struct {
	autorest.Response `json:"-"`
	// Location - the account regional location.
	Location *string `json:"location,omitempty"`
	// Name - the account name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; the namespace and type of the account.
	Type *string `json:"type,omitempty"`
	// ID - READ-ONLY; the account subscription ID.
	ID *string `json:"id,omitempty"`
	// Tags - the value of custom properties.
	Tags map[string]*string `json:"tags"`
	// Properties - the properties defined by Data Lake Analytics all properties are specific to each resource provider.
	Properties *DataLakeAnalyticsAccountProperties `json:"properties,omitempty"`
}

DataLakeAnalyticsAccount a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.

func (DataLakeAnalyticsAccount) MarshalJSON

func (dlaa DataLakeAnalyticsAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeAnalyticsAccount.

type DataLakeAnalyticsAccountListDataLakeStoreResult

type DataLakeAnalyticsAccountListDataLakeStoreResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; the results of the list operation
	Value *[]DataLakeStoreAccountInfo `json:"value,omitempty"`
	// Count - READ-ONLY; total number of results.
	Count *int32 `json:"count,omitempty"`
	// NextLink - READ-ONLY; the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsAccountListDataLakeStoreResult data Lake Account list information.

func (DataLakeAnalyticsAccountListDataLakeStoreResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsAccountListDataLakeStoreResultIterator

type DataLakeAnalyticsAccountListDataLakeStoreResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListDataLakeStoreResultIterator provides access to a complete listing of DataLakeStoreAccountInfo values.

func NewDataLakeAnalyticsAccountListDataLakeStoreResultIterator

func NewDataLakeAnalyticsAccountListDataLakeStoreResultIterator(page DataLakeAnalyticsAccountListDataLakeStoreResultPage) DataLakeAnalyticsAccountListDataLakeStoreResultIterator

Creates a new instance of the DataLakeAnalyticsAccountListDataLakeStoreResultIterator type.

func (*DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListDataLakeStoreResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsAccountListDataLakeStoreResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsAccountListDataLakeStoreResultPage

type DataLakeAnalyticsAccountListDataLakeStoreResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListDataLakeStoreResultPage contains a page of DataLakeStoreAccountInfo values.

func NewDataLakeAnalyticsAccountListDataLakeStoreResultPage

Creates a new instance of the DataLakeAnalyticsAccountListDataLakeStoreResultPage type.

func (*DataLakeAnalyticsAccountListDataLakeStoreResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListDataLakeStoreResultPage) NextWithContext

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsAccountListDataLakeStoreResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListDataLakeStoreResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListDataLakeStoreResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeAnalyticsAccountListResult

type DataLakeAnalyticsAccountListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; the results of the list operation
	Value *[]DataLakeAnalyticsAccount `json:"value,omitempty"`
	// NextLink - READ-ONLY; the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsAccountListResult dataLakeAnalytics Account list information.

func (DataLakeAnalyticsAccountListResult) IsEmpty

func (dlaalr DataLakeAnalyticsAccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsAccountListResultIterator

type DataLakeAnalyticsAccountListResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListResultIterator provides access to a complete listing of DataLakeAnalyticsAccount values.

func NewDataLakeAnalyticsAccountListResultIterator

func NewDataLakeAnalyticsAccountListResultIterator(page DataLakeAnalyticsAccountListResultPage) DataLakeAnalyticsAccountListResultIterator

Creates a new instance of the DataLakeAnalyticsAccountListResultIterator type.

func (*DataLakeAnalyticsAccountListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListResultIterator) NextWithContext

func (iter *DataLakeAnalyticsAccountListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsAccountListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsAccountListResultPage

type DataLakeAnalyticsAccountListResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListResultPage contains a page of DataLakeAnalyticsAccount values.

func NewDataLakeAnalyticsAccountListResultPage

Creates a new instance of the DataLakeAnalyticsAccountListResultPage type.

func (*DataLakeAnalyticsAccountListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListResultPage) NextWithContext

func (page *DataLakeAnalyticsAccountListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsAccountListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeAnalyticsAccountListStorageAccountsResult

type DataLakeAnalyticsAccountListStorageAccountsResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; the results of the list operation
	Value *[]StorageAccountInfo `json:"value,omitempty"`
	// Count - READ-ONLY; total number of results.
	Count *int32 `json:"count,omitempty"`
	// NextLink - READ-ONLY; the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsAccountListStorageAccountsResult azure Storage Account list information.

func (DataLakeAnalyticsAccountListStorageAccountsResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsAccountListStorageAccountsResultIterator

type DataLakeAnalyticsAccountListStorageAccountsResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListStorageAccountsResultIterator provides access to a complete listing of StorageAccountInfo values.

func NewDataLakeAnalyticsAccountListStorageAccountsResultIterator

func NewDataLakeAnalyticsAccountListStorageAccountsResultIterator(page DataLakeAnalyticsAccountListStorageAccountsResultPage) DataLakeAnalyticsAccountListStorageAccountsResultIterator

Creates a new instance of the DataLakeAnalyticsAccountListStorageAccountsResultIterator type.

func (*DataLakeAnalyticsAccountListStorageAccountsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListStorageAccountsResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsAccountListStorageAccountsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListStorageAccountsResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListStorageAccountsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsAccountListStorageAccountsResultPage

type DataLakeAnalyticsAccountListStorageAccountsResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListStorageAccountsResultPage contains a page of StorageAccountInfo values.

func NewDataLakeAnalyticsAccountListStorageAccountsResultPage

Creates a new instance of the DataLakeAnalyticsAccountListStorageAccountsResultPage type.

func (*DataLakeAnalyticsAccountListStorageAccountsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListStorageAccountsResultPage) NextWithContext

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsAccountListStorageAccountsResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListStorageAccountsResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListStorageAccountsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeAnalyticsAccountProperties

type DataLakeAnalyticsAccountProperties struct {
	// ProvisioningState - READ-ONLY; the provisioning status of the Data Lake Analytics account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted'
	ProvisioningState DataLakeAnalyticsAccountStatus `json:"provisioningState,omitempty"`
	// State - READ-ONLY; the state of the Data Lake Analytics account. Possible values include: 'Active', 'Suspended'
	State DataLakeAnalyticsAccountState `json:"state,omitempty"`
	// DefaultDataLakeStoreAccount - the default data lake storage account associated with this Data Lake Analytics account.
	DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"`
	// MaxDegreeOfParallelism - the maximum supported degree of parallelism for this account.
	MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"`
	// MaxJobCount - the maximum supported jobs running under the account at the same time.
	MaxJobCount *int32 `json:"maxJobCount,omitempty"`
	// DataLakeStoreAccounts - the list of Data Lake storage accounts associated with this account.
	DataLakeStoreAccounts *[]DataLakeStoreAccountInfo `json:"dataLakeStoreAccounts,omitempty"`
	// StorageAccounts - the list of Azure Blob storage accounts associated with this account.
	StorageAccounts *[]StorageAccountInfo `json:"storageAccounts,omitempty"`
	// CreationTime - READ-ONLY; the account creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - READ-ONLY; the account last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Endpoint - READ-ONLY; the full CName endpoint for this account.
	Endpoint *string `json:"endpoint,omitempty"`
}

DataLakeAnalyticsAccountProperties the account specific properties that are associated with an underlying Data Lake Analytics account.

func (DataLakeAnalyticsAccountProperties) MarshalJSON

func (dlaap DataLakeAnalyticsAccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountProperties.

type DataLakeAnalyticsAccountState

type DataLakeAnalyticsAccountState string

DataLakeAnalyticsAccountState enumerates the values for data lake analytics account state.

const (
	// Active ...
	Active DataLakeAnalyticsAccountState = "active"
	// Suspended ...
	Suspended DataLakeAnalyticsAccountState = "suspended"
)

func PossibleDataLakeAnalyticsAccountStateValues

func PossibleDataLakeAnalyticsAccountStateValues() []DataLakeAnalyticsAccountState

PossibleDataLakeAnalyticsAccountStateValues returns an array of possible values for the DataLakeAnalyticsAccountState const type.

type DataLakeAnalyticsAccountStatus

type DataLakeAnalyticsAccountStatus string

DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.

const (
	// Creating ...
	Creating DataLakeAnalyticsAccountStatus = "Creating"
	// Deleted ...
	Deleted DataLakeAnalyticsAccountStatus = "Deleted"
	// Deleting ...
	Deleting DataLakeAnalyticsAccountStatus = "Deleting"
	// Failed ...
	Failed DataLakeAnalyticsAccountStatus = "Failed"
	// Patching ...
	Patching DataLakeAnalyticsAccountStatus = "Patching"
	// Resuming ...
	Resuming DataLakeAnalyticsAccountStatus = "Resuming"
	// Running ...
	Running DataLakeAnalyticsAccountStatus = "Running"
	// Succeeded ...
	Succeeded DataLakeAnalyticsAccountStatus = "Succeeded"
	// Suspending ...
	Suspending DataLakeAnalyticsAccountStatus = "Suspending"
)

func PossibleDataLakeAnalyticsAccountStatusValues

func PossibleDataLakeAnalyticsAccountStatusValues() []DataLakeAnalyticsAccountStatus

PossibleDataLakeAnalyticsAccountStatusValues returns an array of possible values for the DataLakeAnalyticsAccountStatus const type.

type DataLakeStoreAccountInfo

type DataLakeStoreAccountInfo struct {
	autorest.Response `json:"-"`
	// Name - the account name of the Data Lake Store account.
	Name *string `json:"name,omitempty"`
	// Properties - the properties associated with this Data Lake Store account.
	Properties *DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}

DataLakeStoreAccountInfo data Lake Store account information.

type DataLakeStoreAccountInfoProperties

type DataLakeStoreAccountInfoProperties struct {
	// Suffix - the optional suffix for the Data Lake Store account.
	Suffix *string `json:"suffix,omitempty"`
}

DataLakeStoreAccountInfoProperties data Lake Store account properties information.

type DeleteFuture

type DeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(Client) (autorest.Response, error)
}

DeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type Error

type Error struct {
	// Code - READ-ONLY; the HTTP status code or error code associated with this error
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; the error message to display.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; the target of the error.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; the list of error details
	Details *[]ErrorDetails `json:"details,omitempty"`
	// InnerError - READ-ONLY; the inner exceptions or errors, if any
	InnerError *InnerError `json:"innerError,omitempty"`
}

Error generic resource error information.

type ErrorDetails

type ErrorDetails struct {
	// Code - READ-ONLY; the HTTP status code or error code associated with this error
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; the error message localized based on Accept-Language
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; the target of the particular error (for example, the name of the property in error).
	Target *string `json:"target,omitempty"`
}

ErrorDetails generic resource error details information.

type InnerError

type InnerError struct {
	// Trace - READ-ONLY; the stack trace for the error
	Trace *string `json:"trace,omitempty"`
	// Context - READ-ONLY; the context for the error message
	Context *string `json:"context,omitempty"`
}

InnerError generic resource inner error information.

type ListBlobContainersResult

type ListBlobContainersResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; the results of the list operation
	Value *[]BlobContainer `json:"value,omitempty"`
	// NextLink - READ-ONLY; the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ListBlobContainersResult the list of blob containers associated with the storage account attached to the Data Lake Analytics account.

func (ListBlobContainersResult) IsEmpty

func (lbcr ListBlobContainersResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListBlobContainersResultIterator

type ListBlobContainersResultIterator struct {
	// contains filtered or unexported fields
}

ListBlobContainersResultIterator provides access to a complete listing of BlobContainer values.

func NewListBlobContainersResultIterator

func NewListBlobContainersResultIterator(page ListBlobContainersResultPage) ListBlobContainersResultIterator

Creates a new instance of the ListBlobContainersResultIterator type.

func (*ListBlobContainersResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListBlobContainersResultIterator) NextWithContext

func (iter *ListBlobContainersResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListBlobContainersResultIterator) NotDone

func (iter ListBlobContainersResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListBlobContainersResultIterator) Response

Response returns the raw server response from the last page request.

func (ListBlobContainersResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListBlobContainersResultPage

type ListBlobContainersResultPage struct {
	// contains filtered or unexported fields
}

ListBlobContainersResultPage contains a page of BlobContainer values.

func NewListBlobContainersResultPage

Creates a new instance of the ListBlobContainersResultPage type.

func (*ListBlobContainersResultPage) Next

func (page *ListBlobContainersResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListBlobContainersResultPage) NextWithContext

func (page *ListBlobContainersResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListBlobContainersResultPage) NotDone

func (page ListBlobContainersResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListBlobContainersResultPage) Response

Response returns the raw server response from the last page request.

func (ListBlobContainersResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ListSasTokensResult

type ListSasTokensResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY
	Value *[]SasTokenInfo `json:"value,omitempty"`
	// NextLink - READ-ONLY; the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ListSasTokensResult the SAS response that contains the storage account, container and associated SAS token for connection use.

func (ListSasTokensResult) IsEmpty

func (lstr ListSasTokensResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListSasTokensResultIterator

type ListSasTokensResultIterator struct {
	// contains filtered or unexported fields
}

ListSasTokensResultIterator provides access to a complete listing of SasTokenInfo values.

func NewListSasTokensResultIterator

func NewListSasTokensResultIterator(page ListSasTokensResultPage) ListSasTokensResultIterator

Creates a new instance of the ListSasTokensResultIterator type.

func (*ListSasTokensResultIterator) Next

func (iter *ListSasTokensResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListSasTokensResultIterator) NextWithContext

func (iter *ListSasTokensResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListSasTokensResultIterator) NotDone

func (iter ListSasTokensResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListSasTokensResultIterator) Response

Response returns the raw server response from the last page request.

func (ListSasTokensResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListSasTokensResultPage

type ListSasTokensResultPage struct {
	// contains filtered or unexported fields
}

ListSasTokensResultPage contains a page of SasTokenInfo values.

func NewListSasTokensResultPage

func NewListSasTokensResultPage(cur ListSasTokensResult, getNextPage func(context.Context, ListSasTokensResult) (ListSasTokensResult, error)) ListSasTokensResultPage

Creates a new instance of the ListSasTokensResultPage type.

func (*ListSasTokensResultPage) Next

func (page *ListSasTokensResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListSasTokensResultPage) NextWithContext

func (page *ListSasTokensResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListSasTokensResultPage) NotDone

func (page ListSasTokensResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListSasTokensResultPage) Response

Response returns the raw server response from the last page request.

func (ListSasTokensResultPage) Values

func (page ListSasTokensResultPage) Values() []SasTokenInfo

Values returns the slice of values for the current page or nil if there are no values.

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// OperationStatusFailed ...
	OperationStatusFailed OperationStatus = "Failed"
	// OperationStatusInProgress ...
	OperationStatusInProgress OperationStatus = "InProgress"
	// OperationStatusSucceeded ...
	OperationStatusSucceeded OperationStatus = "Succeeded"
)

func PossibleOperationStatusValues

func PossibleOperationStatusValues() []OperationStatus

PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.

type SasTokenInfo

type SasTokenInfo struct {
	// AccessToken - READ-ONLY; the access token for the associated Azure Storage Container.
	AccessToken *string `json:"accessToken,omitempty"`
}

SasTokenInfo SAS token information.

type StorageAccountInfo

type StorageAccountInfo struct {
	autorest.Response `json:"-"`
	// Name - the account name associated with the Azure storage account.
	Name *string `json:"name,omitempty"`
	// Properties - the properties associated with this storage account.
	Properties *StorageAccountProperties `json:"properties,omitempty"`
}

StorageAccountInfo azure Storage account information.

type StorageAccountProperties

type StorageAccountProperties struct {
	// AccessKey - the access key associated with this Azure Storage account that will be used to connect to it.
	AccessKey *string `json:"accessKey,omitempty"`
	// Suffix - the optional suffix for the Data Lake account.
	Suffix *string `json:"suffix,omitempty"`
}

StorageAccountProperties azure Storage account properties information.

type UpdateFuture

type UpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(Client) (DataLakeAnalyticsAccount, error)
}

UpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL