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
- func UserAgent() string
- func Version() string
- type AddDataLakeStoreParameters
- type AddStorageAccountParameters
- type AzureAsyncOperationResult
- type BlobContainer
- type BlobContainerProperties
- type Client
- func (client Client) AddDataLakeStoreAccount(resourceGroupName string, accountName string, dataLakeStoreAccountName string, ...) (result autorest.Response, err error)
- func (client Client) AddDataLakeStoreAccountPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string, ...) (*http.Request, error)
- func (client Client) AddDataLakeStoreAccountResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) AddDataLakeStoreAccountSender(req *http.Request) (*http.Response, error)
- func (client Client) AddStorageAccount(resourceGroupName string, accountName string, storageAccountName string, ...) (result autorest.Response, err error)
- func (client Client) AddStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client Client) AddStorageAccountResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) AddStorageAccountSender(req *http.Request) (*http.Response, error)
- func (client Client) Create(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, ...) (result autorest.Response, err error)
- func (client Client) CreatePreparer(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, ...) (*http.Request, error)
- func (client Client) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) CreateSender(req *http.Request) (*http.Response, error)
- func (client Client) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
- func (client Client) DeleteDataLakeStoreAccount(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result autorest.Response, err error)
- func (client Client) DeleteDataLakeStoreAccountPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
- func (client Client) DeleteDataLakeStoreAccountResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) DeleteDataLakeStoreAccountSender(req *http.Request) (*http.Response, error)
- func (client Client) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
- func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) DeleteSender(req *http.Request) (*http.Response, error)
- func (client Client) DeleteStorageAccount(resourceGroupName string, accountName string, storageAccountName string) (result autorest.Response, err error)
- func (client Client) DeleteStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
- func (client Client) DeleteStorageAccountResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) DeleteStorageAccountSender(req *http.Request) (*http.Response, error)
- func (client Client) Get(resourceGroupName string, accountName string) (result DataLakeAnalyticsAccount, err error)
- func (client Client) GetDataLakeStoreAccount(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result DataLakeStoreAccountInfo, err error)
- func (client Client) GetDataLakeStoreAccountPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
- func (client Client) GetDataLakeStoreAccountResponder(resp *http.Response) (result DataLakeStoreAccountInfo, err error)
- func (client Client) GetDataLakeStoreAccountSender(req *http.Request) (*http.Response, error)
- func (client Client) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client Client) GetResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)
- func (client Client) GetSender(req *http.Request) (*http.Response, error)
- func (client Client) GetStorageAccount(resourceGroupName string, accountName string, storageAccountName string) (result StorageAccountInfo, err error)
- func (client Client) GetStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
- func (client Client) GetStorageAccountResponder(resp *http.Response) (result StorageAccountInfo, err error)
- func (client Client) GetStorageAccountSender(req *http.Request) (*http.Response, error)
- func (client Client) GetStorageContainer(resourceGroupName string, accountName string, storageAccountName string, ...) (result BlobContainer, err error)
- func (client Client) GetStorageContainerPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client Client) GetStorageContainerResponder(resp *http.Response) (result BlobContainer, err error)
- func (client Client) GetStorageContainerSender(req *http.Request) (*http.Response, error)
- func (client Client) List(filter string, top *int32, skip *int32, expand string, selectParameter string, ...) (result DataLakeAnalyticsAccountListResult, err error)
- func (client Client) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, ...) (result DataLakeAnalyticsAccountListResult, err error)
- func (client Client) ListByResourceGroupNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
- func (client Client) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, ...) (*http.Request, error)
- func (client Client) ListByResourceGroupResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)
- func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client Client) ListDataLakeStoreAccounts(resourceGroupName string, accountName string, filter string, top *int32, ...) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
- func (client Client) ListDataLakeStoreAccountsNextResults(lastResults DataLakeAnalyticsAccountListDataLakeStoreResult) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
- func (client Client) ListDataLakeStoreAccountsPreparer(resourceGroupName string, accountName string, filter string, top *int32, ...) (*http.Request, error)
- func (client Client) ListDataLakeStoreAccountsResponder(resp *http.Response) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
- func (client Client) ListDataLakeStoreAccountsSender(req *http.Request) (*http.Response, error)
- func (client Client) ListNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
- func (client Client) ListPreparer(filter string, top *int32, skip *int32, expand string, selectParameter string, ...) (*http.Request, error)
- func (client Client) ListResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)
- func (client Client) ListSasTokens(resourceGroupName string, accountName string, storageAccountName string, ...) (result ListSasTokensResult, err error)
- func (client Client) ListSasTokensNextResults(lastResults ListSasTokensResult) (result ListSasTokensResult, err error)
- func (client Client) ListSasTokensPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client Client) ListSasTokensResponder(resp *http.Response) (result ListSasTokensResult, err error)
- func (client Client) ListSasTokensSender(req *http.Request) (*http.Response, error)
- func (client Client) ListSender(req *http.Request) (*http.Response, error)
- func (client Client) ListStorageAccounts(resourceGroupName string, accountName string, filter string, top *int32, ...) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
- func (client Client) ListStorageAccountsNextResults(lastResults DataLakeAnalyticsAccountListStorageAccountsResult) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
- func (client Client) ListStorageAccountsPreparer(resourceGroupName string, accountName string, filter string, top *int32, ...) (*http.Request, error)
- func (client Client) ListStorageAccountsResponder(resp *http.Response) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
- func (client Client) ListStorageAccountsSender(req *http.Request) (*http.Response, error)
- func (client Client) ListStorageContainers(resourceGroupName string, accountName string, storageAccountName string) (result ListBlobContainersResult, err error)
- func (client Client) ListStorageContainersNextResults(lastResults ListBlobContainersResult) (result ListBlobContainersResult, err error)
- func (client Client) ListStorageContainersPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
- func (client Client) ListStorageContainersResponder(resp *http.Response) (result ListBlobContainersResult, err error)
- func (client Client) ListStorageContainersSender(req *http.Request) (*http.Response, error)
- func (client Client) Update(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, ...) (result autorest.Response, err error)
- func (client Client) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, ...) (*http.Request, error)
- func (client Client) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) UpdateSender(req *http.Request) (*http.Response, error)
- func (client Client) UpdateStorageAccount(resourceGroupName string, accountName string, storageAccountName string, ...) (result autorest.Response, err error)
- func (client Client) UpdateStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client Client) UpdateStorageAccountResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) UpdateStorageAccountSender(req *http.Request) (*http.Response, error)
- type DataLakeAnalyticsAccount
- type DataLakeAnalyticsAccountListDataLakeStoreResult
- type DataLakeAnalyticsAccountListResult
- type DataLakeAnalyticsAccountListStorageAccountsResult
- type DataLakeAnalyticsAccountProperties
- type DataLakeAnalyticsAccountState
- type DataLakeAnalyticsAccountStatus
- type DataLakeStoreAccountInfo
- type DataLakeStoreAccountInfoProperties
- type Error
- type ErrorDetails
- type InnerError
- type ListBlobContainersResult
- type ListSasTokensResult
- type ManagementClient
- type OperationStatus
- type SasTokenInfo
- type StorageAccountInfo
- type StorageAccountProperties
Constants ¶
const ( // APIVersion is the version of the Account APIVersion = "2015-10-01-preview" // 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 *DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}
AddDataLakeStoreParameters is additional Data Lake Store parameters.
type AddStorageAccountParameters ¶
type AddStorageAccountParameters struct {
Properties *StorageAccountProperties `json:"properties,omitempty"`
}
AddStorageAccountParameters is additional Azure Storage account parameters.
type AzureAsyncOperationResult ¶
type AzureAsyncOperationResult struct { Status OperationStatus `json:"status,omitempty"` Error *Error `json:"error,omitempty"` }
AzureAsyncOperationResult is 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 BlobContainer ¶
type BlobContainer struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` ID *string `json:"id,omitempty"` Type *string `json:"type,omitempty"` Properties *BlobContainerProperties `json:"properties,omitempty"` }
BlobContainer is azure Storage blob container information.
type BlobContainerProperties ¶
type BlobContainerProperties struct {
LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}
BlobContainerProperties is azure Storage blob container properties information.
type Client ¶
type Client struct {
ManagementClient
}
Client is the creates an Azure Data Lake Analytics account management client.
func NewClientWithBaseURI ¶
NewClientWithBaseURI creates an instance of the Client client.
func (Client) AddDataLakeStoreAccount ¶
func (client Client) AddDataLakeStoreAccount(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to which to add the Data Lake Store account. dataLakeStoreAccountName is the name of the Data Lake Store account to add. parameters is the details of the Data Lake Store account.
func (Client) AddDataLakeStoreAccountPreparer ¶
func (client Client) AddDataLakeStoreAccountPreparer(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 ¶
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(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to which to add the Azure Storage account. storageAccountName is the name of the Azure Storage account to add parameters is the parameters containing the access key and optional suffix for the Azure Storage Account.
func (Client) AddStorageAccountPreparer ¶
func (client Client) AddStorageAccountPreparer(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 ¶
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(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Create creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. name is the name of the Data Lake Analytics account to create. parameters is parameters supplied to the create Data Lake Analytics account operation.
func (Client) CreatePreparer ¶
func (client Client) CreatePreparer(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (*http.Request, error)
CreatePreparer prepares the Create request.
func (Client) CreateResponder ¶
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (Client) CreateSender ¶
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(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
Delete begins the delete delete process for the Data Lake Analytics account object specified by the account name. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to delete
func (Client) DeleteDataLakeStoreAccount ¶
func (client Client) DeleteDataLakeStoreAccount(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to remove the Data Lake Store account. dataLakeStoreAccountName is the name of the Data Lake Store account to remove
func (Client) DeleteDataLakeStoreAccountPreparer ¶
func (client Client) DeleteDataLakeStoreAccountPreparer(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 ¶
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(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (Client) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (Client) DeleteSender ¶
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(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to remove the Azure Storage account. storageAccountName is the name of the Azure Storage account to remove
func (Client) DeleteStorageAccountPreparer ¶
func (client Client) DeleteStorageAccountPreparer(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 ¶
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(resourceGroupName string, accountName string) (result DataLakeAnalyticsAccount, err error)
Get gets details of the specified Data Lake Analytics account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to retrieve.
func (Client) GetDataLakeStoreAccount ¶
func (client Client) GetDataLakeStoreAccount(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. dataLakeStoreAccountName is the name of the Data Lake Store account to retrieve
func (Client) GetDataLakeStoreAccountPreparer ¶
func (client Client) GetDataLakeStoreAccountPreparer(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 ¶
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(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 ¶
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(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to retrieve Azure storage account details. storageAccountName is the name of the Azure Storage account for which to retrieve the details.
func (Client) GetStorageAccountPreparer ¶
func (client Client) GetStorageAccountPreparer(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 ¶
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(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to retrieve blob container. storageAccountName is the name of the Azure storage account from which to retrieve the blob container. containerName is the name of the Azure storage container to retrieve
func (Client) GetStorageContainerPreparer ¶
func (client Client) GetStorageContainerPreparer(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 ¶
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(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListResult, 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.
filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. expand is 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 is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is 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 is 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 is 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 is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (Client) ListByResourceGroup ¶
func (client Client) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListResult, 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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. expand is 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 is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is 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 is 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 is 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 is the return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (Client) ListByResourceGroupNextResults ¶
func (client Client) ListByResourceGroupNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (Client) ListByResourceGroupPreparer ¶
func (client Client) ListByResourceGroupPreparer(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 ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (Client) ListDataLakeStoreAccounts ¶
func (client Client) ListDataLakeStoreAccounts(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListDataLakeStoreResult, 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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to list Data Lake Store accounts. filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. expand is 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 is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is 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 is 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 is 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 is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (Client) ListDataLakeStoreAccountsNextResults ¶
func (client Client) ListDataLakeStoreAccountsNextResults(lastResults DataLakeAnalyticsAccountListDataLakeStoreResult) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
ListDataLakeStoreAccountsNextResults retrieves the next set of results, if any.
func (Client) ListDataLakeStoreAccountsPreparer ¶
func (client Client) ListDataLakeStoreAccountsPreparer(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 ¶
ListDataLakeStoreAccountsSender sends the ListDataLakeStoreAccounts request. The method will close the http.Response Body if it receives an error.
func (Client) ListNextResults ¶
func (client Client) ListNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (Client) ListPreparer ¶
func (client Client) ListPreparer(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(resourceGroupName string, accountName string, storageAccountName string, containerName string) (result ListSasTokensResult, err error)
ListSasTokens gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested. storageAccountName is the name of the Azure storage account for which the SAS token is being requested. containerName is the name of the Azure storage container for which the SAS token is being requested.
func (Client) ListSasTokensNextResults ¶
func (client Client) ListSasTokensNextResults(lastResults ListSasTokensResult) (result ListSasTokensResult, err error)
ListSasTokensNextResults retrieves the next set of results, if any.
func (Client) ListSasTokensPreparer ¶
func (client Client) ListSasTokensPreparer(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 ¶
ListSasTokensSender sends the ListSasTokens request. The method will close the http.Response Body if it receives an error.
func (Client) ListSender ¶
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(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeAnalyticsAccountListStorageAccountsResult, 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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to list Azure Storage accounts. filter is the OData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. expand is 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 is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is 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 is 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 is 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 is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (Client) ListStorageAccountsNextResults ¶
func (client Client) ListStorageAccountsNextResults(lastResults DataLakeAnalyticsAccountListStorageAccountsResult) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
ListStorageAccountsNextResults retrieves the next set of results, if any.
func (Client) ListStorageAccountsPreparer ¶
func (client Client) ListStorageAccountsPreparer(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 ¶
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(resourceGroupName string, accountName string, storageAccountName string) (result ListBlobContainersResult, 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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to list Azure Storage blob containers. storageAccountName is the name of the Azure storage account from which to list blob containers.
func (Client) ListStorageContainersNextResults ¶
func (client Client) ListStorageContainersNextResults(lastResults ListBlobContainersResult) (result ListBlobContainersResult, err error)
ListStorageContainersNextResults retrieves the next set of results, if any.
func (Client) ListStorageContainersPreparer ¶
func (client Client) ListStorageContainersPreparer(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 ¶
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(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Update updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. name is the name of the Data Lake Analytics account to update. parameters is parameters supplied to the update Data Lake Analytics account operation.
func (Client) UpdatePreparer ¶
func (client Client) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (Client) UpdateResponder ¶
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (Client) UpdateSender ¶
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(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.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to modify storage accounts in storageAccountName is the Azure Storage account to modify parameters is the parameters containing the access key and suffix to update the storage account with.
func (Client) UpdateStorageAccountPreparer ¶
func (client Client) UpdateStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)
UpdateStorageAccountPreparer prepares the UpdateStorageAccount request.
type DataLakeAnalyticsAccount ¶
type DataLakeAnalyticsAccount struct { autorest.Response `json:"-"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` ID *string `json:"id,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Properties *DataLakeAnalyticsAccountProperties `json:"properties,omitempty"` }
DataLakeAnalyticsAccount is a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.
type DataLakeAnalyticsAccountListDataLakeStoreResult ¶
type DataLakeAnalyticsAccountListDataLakeStoreResult struct { autorest.Response `json:"-"` Value *[]DataLakeStoreAccountInfo `json:"value,omitempty"` Count *int32 `json:"count,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsAccountListDataLakeStoreResult is data Lake Account list information.
func (DataLakeAnalyticsAccountListDataLakeStoreResult) DataLakeAnalyticsAccountListDataLakeStoreResultPreparer ¶
func (client DataLakeAnalyticsAccountListDataLakeStoreResult) DataLakeAnalyticsAccountListDataLakeStoreResultPreparer() (*http.Request, error)
DataLakeAnalyticsAccountListDataLakeStoreResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeAnalyticsAccountListResult ¶
type DataLakeAnalyticsAccountListResult struct { autorest.Response `json:"-"` Value *[]DataLakeAnalyticsAccount `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsAccountListResult is dataLakeAnalytics Account list information.
func (DataLakeAnalyticsAccountListResult) DataLakeAnalyticsAccountListResultPreparer ¶
func (client DataLakeAnalyticsAccountListResult) DataLakeAnalyticsAccountListResultPreparer() (*http.Request, error)
DataLakeAnalyticsAccountListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeAnalyticsAccountListStorageAccountsResult ¶
type DataLakeAnalyticsAccountListStorageAccountsResult struct { autorest.Response `json:"-"` Value *[]StorageAccountInfo `json:"value,omitempty"` Count *int32 `json:"count,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsAccountListStorageAccountsResult is azure Storage Account list information.
func (DataLakeAnalyticsAccountListStorageAccountsResult) DataLakeAnalyticsAccountListStorageAccountsResultPreparer ¶
func (client DataLakeAnalyticsAccountListStorageAccountsResult) DataLakeAnalyticsAccountListStorageAccountsResultPreparer() (*http.Request, error)
DataLakeAnalyticsAccountListStorageAccountsResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeAnalyticsAccountProperties ¶
type DataLakeAnalyticsAccountProperties struct { ProvisioningState DataLakeAnalyticsAccountStatus `json:"provisioningState,omitempty"` State DataLakeAnalyticsAccountState `json:"state,omitempty"` DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"` MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"` MaxJobCount *int32 `json:"maxJobCount,omitempty"` DataLakeStoreAccounts *[]DataLakeStoreAccountInfo `json:"dataLakeStoreAccounts,omitempty"` StorageAccounts *[]StorageAccountInfo `json:"storageAccounts,omitempty"` CreationTime *date.Time `json:"creationTime,omitempty"` LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` Endpoint *string `json:"endpoint,omitempty"` }
DataLakeAnalyticsAccountProperties is the account specific properties that are associated with an underlying Data Lake Analytics account.
type DataLakeAnalyticsAccountState ¶
type DataLakeAnalyticsAccountState string
DataLakeAnalyticsAccountState enumerates the values for data lake analytics account state.
const ( // Active specifies the active state for data lake analytics account state. Active DataLakeAnalyticsAccountState = "active" // Suspended specifies the suspended state for data lake analytics account // state. Suspended DataLakeAnalyticsAccountState = "suspended" )
type DataLakeAnalyticsAccountStatus ¶
type DataLakeAnalyticsAccountStatus string
DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.
const ( // Creating specifies the creating state for data lake analytics account // status. Creating DataLakeAnalyticsAccountStatus = "Creating" // Deleted specifies the deleted state for data lake analytics account // status. Deleted DataLakeAnalyticsAccountStatus = "Deleted" // Deleting specifies the deleting state for data lake analytics account // status. Deleting DataLakeAnalyticsAccountStatus = "Deleting" // Failed specifies the failed state for data lake analytics account // status. Failed DataLakeAnalyticsAccountStatus = "Failed" // Patching specifies the patching state for data lake analytics account // status. Patching DataLakeAnalyticsAccountStatus = "Patching" // Resuming specifies the resuming state for data lake analytics account // status. Resuming DataLakeAnalyticsAccountStatus = "Resuming" // Running specifies the running state for data lake analytics account // status. Running DataLakeAnalyticsAccountStatus = "Running" // Succeeded specifies the succeeded state for data lake analytics account // status. Succeeded DataLakeAnalyticsAccountStatus = "Succeeded" // Suspending specifies the suspending state for data lake analytics // account status. Suspending DataLakeAnalyticsAccountStatus = "Suspending" )
type DataLakeStoreAccountInfo ¶
type DataLakeStoreAccountInfo struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` Properties *DataLakeStoreAccountInfoProperties `json:"properties,omitempty"` }
DataLakeStoreAccountInfo is data Lake Store account information.
type DataLakeStoreAccountInfoProperties ¶
type DataLakeStoreAccountInfoProperties struct {
Suffix *string `json:"suffix,omitempty"`
}
DataLakeStoreAccountInfoProperties is data Lake Store account properties information.
type Error ¶
type Error struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` Details *[]ErrorDetails `json:"details,omitempty"` InnerError *InnerError `json:"innerError,omitempty"` }
Error is generic resource error information.
type ErrorDetails ¶
type ErrorDetails struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
ErrorDetails is generic resource error details information.
type InnerError ¶
type InnerError struct { Trace *string `json:"trace,omitempty"` Context *string `json:"context,omitempty"` }
InnerError is generic resource inner error information.
type ListBlobContainersResult ¶
type ListBlobContainersResult struct { autorest.Response `json:"-"` Value *[]BlobContainer `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListBlobContainersResult is the list of blob containers associated with the storage account attached to the Data Lake Analytics account.
func (ListBlobContainersResult) ListBlobContainersResultPreparer ¶
func (client ListBlobContainersResult) ListBlobContainersResultPreparer() (*http.Request, error)
ListBlobContainersResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ListSasTokensResult ¶
type ListSasTokensResult struct { autorest.Response `json:"-"` Value *[]SasTokenInfo `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListSasTokensResult is the SAS response that contains the storage account, container and associated SAS token for connection use.
func (ListSasTokensResult) ListSasTokensResultPreparer ¶
func (client ListSasTokensResult) ListSasTokensResultPreparer() (*http.Request, error)
ListSasTokensResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ManagementClient ¶
type ManagementClient struct { autorest.Client BaseURI string APIVersion string SubscriptionID string }
ManagementClient is the base client for Account.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type OperationStatus ¶
type OperationStatus string
OperationStatus enumerates the values for operation status.
const ( // OperationStatusFailed specifies the operation status failed state for // operation status. OperationStatusFailed OperationStatus = "Failed" // OperationStatusInProgress specifies the operation status in progress // state for operation status. OperationStatusInProgress OperationStatus = "InProgress" // OperationStatusSucceeded specifies the operation status succeeded state // for operation status. OperationStatusSucceeded OperationStatus = "Succeeded" )
type SasTokenInfo ¶
type SasTokenInfo struct {
AccessToken *string `json:"accessToken,omitempty"`
}
SasTokenInfo is sAS token information.
type StorageAccountInfo ¶
type StorageAccountInfo struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` Properties *StorageAccountProperties `json:"properties,omitempty"` }
StorageAccountInfo is azure Storage account information.
type StorageAccountProperties ¶
type StorageAccountProperties struct { AccessKey *string `json:"accessKey,omitempty"` Suffix *string `json:"suffix,omitempty"` }
StorageAccountProperties is azure Storage account properties information.