const ( // DefaultBaseURI is the default URI used for the service Account DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
AddDataLakeStoreParameters additional Data Lake Store parameters.
type AddDataLakeStoreParameters struct { // Properties - the properties for the Data Lake Store account being added. Properties *DataLakeStoreAccountInfoProperties `json:"properties,omitempty"` }
AddStorageAccountParameters additional Azure Storage account parameters.
type AddStorageAccountParameters struct { // Properties - the properties for the Azure Storage account being added. Properties *StorageAccountProperties `json:"properties,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 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"` }
func (aaor AzureAsyncOperationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureAsyncOperationResult.
BaseClient is the base client for Account.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
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).
BlobContainer azure Storage blob container information.
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"` }
func (bc BlobContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainer.
BlobContainerProperties azure Storage blob container properties information.
type BlobContainerProperties struct { // LastModifiedTime - READ-ONLY; the last modified time of the blob container. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` }
func (bcp BlobContainerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BlobContainerProperties.
Client is the creates an Azure Data Lake Analytics account management client.
type Client struct { BaseClient }
func NewClient(subscriptionID string) Client
NewClient creates an instance of the Client client.
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 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 Client) AddDataLakeStoreAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters AddDataLakeStoreParameters) (*http.Request, error)
AddDataLakeStoreAccountPreparer prepares the AddDataLakeStoreAccount request.
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 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 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 Client) AddStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)
AddStorageAccountPreparer prepares the AddStorageAccount request.
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 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 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 Client) CreatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeAnalyticsAccount) (*http.Request, error)
CreatePreparer prepares the Create request.
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 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 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 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 Client) DeleteDataLakeStoreAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
DeleteDataLakeStoreAccountPreparer prepares the DeleteDataLakeStoreAccount request.
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 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 Client) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 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 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 Client) DeleteStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
DeleteStorageAccountPreparer prepares the DeleteStorageAccount request.
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 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 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 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 Client) GetDataLakeStoreAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
GetDataLakeStoreAccountPreparer prepares the GetDataLakeStoreAccount request.
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 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 Client) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 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 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 Client) GetStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
GetStorageAccountPreparer prepares the GetStorageAccount request.
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 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 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 Client) GetStorageContainerPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)
GetStorageContainerPreparer prepares the GetStorageContainer request.
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Client) ListSasTokensPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)
ListSasTokensPreparer prepares the ListSasTokens request.
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 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 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 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 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 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 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 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 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 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 Client) ListStorageContainersPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
ListStorageContainersPreparer prepares the ListStorageContainers request.
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 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 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 Client) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeAnalyticsAccount) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 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 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 Client) UpdateStorageAccountPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)
UpdateStorageAccountPreparer prepares the UpdateStorageAccount request.
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 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.
CreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
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) }
func (future *CreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DataLakeAnalyticsAccount a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.
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"` }
func (dlaa DataLakeAnalyticsAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccount.
DataLakeAnalyticsAccountListDataLakeStoreResult data Lake Account list information.
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"` }
func (dlaaldlsr DataLakeAnalyticsAccountListDataLakeStoreResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlaaldlsr DataLakeAnalyticsAccountListDataLakeStoreResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountListDataLakeStoreResult.
DataLakeAnalyticsAccountListDataLakeStoreResultIterator provides access to a complete listing of DataLakeStoreAccountInfo values.
type DataLakeAnalyticsAccountListDataLakeStoreResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListDataLakeStoreResultIterator(page DataLakeAnalyticsAccountListDataLakeStoreResultPage) DataLakeAnalyticsAccountListDataLakeStoreResultIterator
Creates a new instance of the DataLakeAnalyticsAccountListDataLakeStoreResultIterator type.
func (iter *DataLakeAnalyticsAccountListDataLakeStoreResultIterator) 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 (iter *DataLakeAnalyticsAccountListDataLakeStoreResultIterator) 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 (iter DataLakeAnalyticsAccountListDataLakeStoreResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Response() DataLakeAnalyticsAccountListDataLakeStoreResult
Response returns the raw server response from the last page request.
func (iter DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Value() DataLakeStoreAccountInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DataLakeAnalyticsAccountListDataLakeStoreResultPage contains a page of DataLakeStoreAccountInfo values.
type DataLakeAnalyticsAccountListDataLakeStoreResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListDataLakeStoreResultPage(cur DataLakeAnalyticsAccountListDataLakeStoreResult, getNextPage func(context.Context, DataLakeAnalyticsAccountListDataLakeStoreResult) (DataLakeAnalyticsAccountListDataLakeStoreResult, error)) DataLakeAnalyticsAccountListDataLakeStoreResultPage
Creates a new instance of the DataLakeAnalyticsAccountListDataLakeStoreResultPage type.
func (page *DataLakeAnalyticsAccountListDataLakeStoreResultPage) 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 (page *DataLakeAnalyticsAccountListDataLakeStoreResultPage) 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 (page DataLakeAnalyticsAccountListDataLakeStoreResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeAnalyticsAccountListDataLakeStoreResultPage) Response() DataLakeAnalyticsAccountListDataLakeStoreResult
Response returns the raw server response from the last page request.
func (page DataLakeAnalyticsAccountListDataLakeStoreResultPage) Values() []DataLakeStoreAccountInfo
Values returns the slice of values for the current page or nil if there are no values.
DataLakeAnalyticsAccountListResult dataLakeAnalytics Account list information.
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"` }
func (dlaalr DataLakeAnalyticsAccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlaalr DataLakeAnalyticsAccountListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountListResult.
DataLakeAnalyticsAccountListResultIterator provides access to a complete listing of DataLakeAnalyticsAccount values.
type DataLakeAnalyticsAccountListResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListResultIterator(page DataLakeAnalyticsAccountListResultPage) DataLakeAnalyticsAccountListResultIterator
Creates a new instance of the DataLakeAnalyticsAccountListResultIterator type.
func (iter *DataLakeAnalyticsAccountListResultIterator) 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 (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 (iter DataLakeAnalyticsAccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeAnalyticsAccountListResultIterator) Response() DataLakeAnalyticsAccountListResult
Response returns the raw server response from the last page request.
func (iter DataLakeAnalyticsAccountListResultIterator) Value() DataLakeAnalyticsAccount
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DataLakeAnalyticsAccountListResultPage contains a page of DataLakeAnalyticsAccount values.
type DataLakeAnalyticsAccountListResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListResultPage(cur DataLakeAnalyticsAccountListResult, getNextPage func(context.Context, DataLakeAnalyticsAccountListResult) (DataLakeAnalyticsAccountListResult, error)) DataLakeAnalyticsAccountListResultPage
Creates a new instance of the DataLakeAnalyticsAccountListResultPage type.
func (page *DataLakeAnalyticsAccountListResultPage) 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 (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 (page DataLakeAnalyticsAccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeAnalyticsAccountListResultPage) Response() DataLakeAnalyticsAccountListResult
Response returns the raw server response from the last page request.
func (page DataLakeAnalyticsAccountListResultPage) Values() []DataLakeAnalyticsAccount
Values returns the slice of values for the current page or nil if there are no values.
DataLakeAnalyticsAccountListStorageAccountsResult azure Storage Account list information.
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"` }
func (dlaalsar DataLakeAnalyticsAccountListStorageAccountsResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlaalsar DataLakeAnalyticsAccountListStorageAccountsResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountListStorageAccountsResult.
DataLakeAnalyticsAccountListStorageAccountsResultIterator provides access to a complete listing of StorageAccountInfo values.
type DataLakeAnalyticsAccountListStorageAccountsResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListStorageAccountsResultIterator(page DataLakeAnalyticsAccountListStorageAccountsResultPage) DataLakeAnalyticsAccountListStorageAccountsResultIterator
Creates a new instance of the DataLakeAnalyticsAccountListStorageAccountsResultIterator type.
func (iter *DataLakeAnalyticsAccountListStorageAccountsResultIterator) 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 (iter *DataLakeAnalyticsAccountListStorageAccountsResultIterator) 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 (iter DataLakeAnalyticsAccountListStorageAccountsResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeAnalyticsAccountListStorageAccountsResultIterator) Response() DataLakeAnalyticsAccountListStorageAccountsResult
Response returns the raw server response from the last page request.
func (iter DataLakeAnalyticsAccountListStorageAccountsResultIterator) Value() StorageAccountInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DataLakeAnalyticsAccountListStorageAccountsResultPage contains a page of StorageAccountInfo values.
type DataLakeAnalyticsAccountListStorageAccountsResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListStorageAccountsResultPage(cur DataLakeAnalyticsAccountListStorageAccountsResult, getNextPage func(context.Context, DataLakeAnalyticsAccountListStorageAccountsResult) (DataLakeAnalyticsAccountListStorageAccountsResult, error)) DataLakeAnalyticsAccountListStorageAccountsResultPage
Creates a new instance of the DataLakeAnalyticsAccountListStorageAccountsResultPage type.
func (page *DataLakeAnalyticsAccountListStorageAccountsResultPage) 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 (page *DataLakeAnalyticsAccountListStorageAccountsResultPage) 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 (page DataLakeAnalyticsAccountListStorageAccountsResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeAnalyticsAccountListStorageAccountsResultPage) Response() DataLakeAnalyticsAccountListStorageAccountsResult
Response returns the raw server response from the last page request.
func (page DataLakeAnalyticsAccountListStorageAccountsResultPage) Values() []StorageAccountInfo
Values returns the slice of values for the current page or nil if there are no values.
DataLakeAnalyticsAccountProperties the account specific properties that are associated with an underlying Data Lake Analytics account.
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"` }
func (dlaap DataLakeAnalyticsAccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountProperties.
DataLakeAnalyticsAccountState enumerates the values for data lake analytics account state.
type DataLakeAnalyticsAccountState string
const ( // Active ... Active DataLakeAnalyticsAccountState = "active" // Suspended ... Suspended DataLakeAnalyticsAccountState = "suspended" )
func PossibleDataLakeAnalyticsAccountStateValues() []DataLakeAnalyticsAccountState
PossibleDataLakeAnalyticsAccountStateValues returns an array of possible values for the DataLakeAnalyticsAccountState const type.
DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.
type DataLakeAnalyticsAccountStatus string
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() []DataLakeAnalyticsAccountStatus
PossibleDataLakeAnalyticsAccountStatusValues returns an array of possible values for the DataLakeAnalyticsAccountStatus const type.
DataLakeStoreAccountInfo data Lake Store account information.
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"` }
DataLakeStoreAccountInfoProperties data Lake Store account properties information.
type DataLakeStoreAccountInfoProperties struct { // Suffix - the optional suffix for the Data Lake Store account. Suffix *string `json:"suffix,omitempty"` }
DeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
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) }
func (future *DeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Error generic resource error information.
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"` }
func (e Error) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Error.
ErrorDetails generic resource error details information.
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"` }
func (ed ErrorDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetails.
InnerError generic resource inner error information.
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"` }
func (ie InnerError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InnerError.
ListBlobContainersResult the list of blob containers associated with the storage account attached to the Data Lake Analytics account.
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"` }
func (lbcr ListBlobContainersResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lbcr ListBlobContainersResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListBlobContainersResult.
ListBlobContainersResultIterator provides access to a complete listing of BlobContainer values.
type ListBlobContainersResultIterator struct {
// contains filtered or unexported fields
}
func NewListBlobContainersResultIterator(page ListBlobContainersResultPage) ListBlobContainersResultIterator
Creates a new instance of the ListBlobContainersResultIterator type.
func (iter *ListBlobContainersResultIterator) 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 (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 (iter ListBlobContainersResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListBlobContainersResultIterator) Response() ListBlobContainersResult
Response returns the raw server response from the last page request.
func (iter ListBlobContainersResultIterator) Value() BlobContainer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListBlobContainersResultPage contains a page of BlobContainer values.
type ListBlobContainersResultPage struct {
// contains filtered or unexported fields
}
func NewListBlobContainersResultPage(cur ListBlobContainersResult, getNextPage func(context.Context, ListBlobContainersResult) (ListBlobContainersResult, error)) ListBlobContainersResultPage
Creates a new instance of the ListBlobContainersResultPage type.
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 (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 (page ListBlobContainersResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListBlobContainersResultPage) Response() ListBlobContainersResult
Response returns the raw server response from the last page request.
func (page ListBlobContainersResultPage) Values() []BlobContainer
Values returns the slice of values for the current page or nil if there are no values.
ListSasTokensResult the SAS response that contains the storage account, container and associated SAS token for connection use.
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"` }
func (lstr ListSasTokensResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (lstr ListSasTokensResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ListSasTokensResult.
ListSasTokensResultIterator provides access to a complete listing of SasTokenInfo values.
type ListSasTokensResultIterator struct {
// contains filtered or unexported fields
}
func NewListSasTokensResultIterator(page ListSasTokensResultPage) ListSasTokensResultIterator
Creates a new instance of the ListSasTokensResultIterator type.
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 (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 (iter ListSasTokensResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ListSasTokensResultIterator) Response() ListSasTokensResult
Response returns the raw server response from the last page request.
func (iter ListSasTokensResultIterator) Value() SasTokenInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ListSasTokensResultPage contains a page of SasTokenInfo values.
type ListSasTokensResultPage struct {
// contains filtered or unexported fields
}
func NewListSasTokensResultPage(cur ListSasTokensResult, getNextPage func(context.Context, ListSasTokensResult) (ListSasTokensResult, error)) ListSasTokensResultPage
Creates a new instance of the ListSasTokensResultPage type.
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 (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 (page ListSasTokensResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ListSasTokensResultPage) Response() ListSasTokensResult
Response returns the raw server response from the last page request.
func (page ListSasTokensResultPage) Values() []SasTokenInfo
Values returns the slice of values for the current page or nil if there are no values.
OperationStatus enumerates the values for operation status.
type OperationStatus string
const ( // OperationStatusFailed ... OperationStatusFailed OperationStatus = "Failed" // OperationStatusInProgress ... OperationStatusInProgress OperationStatus = "InProgress" // OperationStatusSucceeded ... OperationStatusSucceeded OperationStatus = "Succeeded" )
func PossibleOperationStatusValues() []OperationStatus
PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
SasTokenInfo SAS token information.
type SasTokenInfo struct { // AccessToken - READ-ONLY; the access token for the associated Azure Storage Container. AccessToken *string `json:"accessToken,omitempty"` }
func (sti SasTokenInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SasTokenInfo.
StorageAccountInfo azure Storage account information.
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"` }
StorageAccountProperties azure Storage account properties information.
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"` }
UpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
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) }
func (future *UpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Name | Synopsis |
---|---|
.. | |
accountapi | Deprecated: Please note, this package has been deprecated. |