account

package
v11.2.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

Creates an Azure Data Lake Analytics account management client.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AddDataLakeStoreParameters

type AddDataLakeStoreParameters struct {
	Properties *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 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 GroupClient

type GroupClient struct {
	ManagementClient
}

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

func NewGroupClient

func NewGroupClient(subscriptionID string) GroupClient

NewGroupClient creates an instance of the GroupClient client.

func NewGroupClientWithBaseURI

func NewGroupClientWithBaseURI(baseURI string, subscriptionID string) GroupClient

NewGroupClientWithBaseURI creates an instance of the GroupClient client.

func (GroupClient) AddDataLakeStoreAccount

func (client GroupClient) 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 (GroupClient) AddDataLakeStoreAccountPreparer

func (client GroupClient) AddDataLakeStoreAccountPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters AddDataLakeStoreParameters) (*http.Request, error)

AddDataLakeStoreAccountPreparer prepares the AddDataLakeStoreAccount request.

func (GroupClient) AddDataLakeStoreAccountResponder

func (client GroupClient) 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 (GroupClient) AddDataLakeStoreAccountSender

func (client GroupClient) 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 (GroupClient) AddStorageAccount

func (client GroupClient) 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 (GroupClient) AddStorageAccountPreparer

func (client GroupClient) AddStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)

AddStorageAccountPreparer prepares the AddStorageAccount request.

func (GroupClient) AddStorageAccountResponder

func (client GroupClient) 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 (GroupClient) AddStorageAccountSender

func (client GroupClient) 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 (GroupClient) Create

func (client GroupClient) Create(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (<-chan DataLakeAnalyticsAccount, <-chan 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 (GroupClient) CreatePreparer

func (client GroupClient) CreatePreparer(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (*http.Request, error)

CreatePreparer prepares the Create request.

func (GroupClient) CreateResponder

func (client GroupClient) 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 (GroupClient) CreateSender

func (client GroupClient) CreateSender(req *http.Request) (*http.Response, error)

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

func (GroupClient) Delete

func (client GroupClient) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan 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 (GroupClient) DeleteDataLakeStoreAccount

func (client GroupClient) 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 (GroupClient) DeleteDataLakeStoreAccountPreparer

func (client GroupClient) DeleteDataLakeStoreAccountPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)

DeleteDataLakeStoreAccountPreparer prepares the DeleteDataLakeStoreAccount request.

func (GroupClient) DeleteDataLakeStoreAccountResponder

func (client GroupClient) 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 (GroupClient) DeleteDataLakeStoreAccountSender

func (client GroupClient) 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 (GroupClient) DeletePreparer

func (client GroupClient) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GroupClient) DeleteResponder

func (client GroupClient) 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 (GroupClient) DeleteSender

func (client GroupClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (GroupClient) DeleteStorageAccount

func (client GroupClient) 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 (GroupClient) DeleteStorageAccountPreparer

func (client GroupClient) DeleteStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

DeleteStorageAccountPreparer prepares the DeleteStorageAccount request.

func (GroupClient) DeleteStorageAccountResponder

func (client GroupClient) 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 (GroupClient) DeleteStorageAccountSender

func (client GroupClient) 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 (GroupClient) Get

func (client GroupClient) 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 (GroupClient) GetDataLakeStoreAccount

func (client GroupClient) 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 (GroupClient) GetDataLakeStoreAccountPreparer

func (client GroupClient) GetDataLakeStoreAccountPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)

GetDataLakeStoreAccountPreparer prepares the GetDataLakeStoreAccount request.

func (GroupClient) GetDataLakeStoreAccountResponder

func (client GroupClient) 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 (GroupClient) GetDataLakeStoreAccountSender

func (client GroupClient) 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 (GroupClient) GetPreparer

func (client GroupClient) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GroupClient) GetResponder

func (client GroupClient) 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 (GroupClient) GetSender

func (client GroupClient) 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 (GroupClient) GetStorageAccount

func (client GroupClient) 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 (GroupClient) GetStorageAccountPreparer

func (client GroupClient) GetStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

GetStorageAccountPreparer prepares the GetStorageAccount request.

func (GroupClient) GetStorageAccountResponder

func (client GroupClient) 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 (GroupClient) GetStorageAccountSender

func (client GroupClient) 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 (GroupClient) GetStorageContainer

func (client GroupClient) 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 (GroupClient) GetStorageContainerPreparer

func (client GroupClient) GetStorageContainerPreparer(resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)

GetStorageContainerPreparer prepares the GetStorageContainer request.

func (GroupClient) GetStorageContainerResponder

func (client GroupClient) 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 (GroupClient) GetStorageContainerSender

func (client GroupClient) 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 (GroupClient) List

func (client GroupClient) 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 (GroupClient) ListByResourceGroup

func (client GroupClient) 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 (GroupClient) ListByResourceGroupComplete

func (client GroupClient) ListByResourceGroupComplete(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string, cancel <-chan struct{}) (<-chan DataLakeAnalyticsAccount, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (GroupClient) ListByResourceGroupNextResults

func (client GroupClient) ListByResourceGroupNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (GroupClient) ListByResourceGroupPreparer

func (client GroupClient) 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 (GroupClient) ListByResourceGroupResponder

func (client GroupClient) 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 (GroupClient) ListByResourceGroupSender

func (client GroupClient) 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 (GroupClient) ListComplete

func (client GroupClient) ListComplete(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string, cancel <-chan struct{}) (<-chan DataLakeAnalyticsAccount, <-chan error)

ListComplete gets all elements from the list without paging.

func (GroupClient) ListDataLakeStoreAccounts

func (client GroupClient) 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 (GroupClient) ListDataLakeStoreAccountsComplete

func (client GroupClient) ListDataLakeStoreAccountsComplete(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string, cancel <-chan struct{}) (<-chan DataLakeStoreAccountInfo, <-chan error)

ListDataLakeStoreAccountsComplete gets all elements from the list without paging.

func (GroupClient) ListDataLakeStoreAccountsNextResults

func (client GroupClient) ListDataLakeStoreAccountsNextResults(lastResults DataLakeAnalyticsAccountListDataLakeStoreResult) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)

ListDataLakeStoreAccountsNextResults retrieves the next set of results, if any.

func (GroupClient) ListDataLakeStoreAccountsPreparer

func (client GroupClient) 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 (GroupClient) ListDataLakeStoreAccountsResponder

func (client GroupClient) 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 (GroupClient) ListDataLakeStoreAccountsSender

func (client GroupClient) 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 (GroupClient) ListNextResults

func (client GroupClient) ListNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (GroupClient) ListPreparer

func (client GroupClient) 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 (GroupClient) ListResponder

func (client GroupClient) 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 (GroupClient) ListSasTokens

func (client GroupClient) 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 (GroupClient) ListSasTokensComplete

func (client GroupClient) ListSasTokensComplete(resourceGroupName string, accountName string, storageAccountName string, containerName string, cancel <-chan struct{}) (<-chan SasTokenInfo, <-chan error)

ListSasTokensComplete gets all elements from the list without paging.

func (GroupClient) ListSasTokensNextResults

func (client GroupClient) ListSasTokensNextResults(lastResults ListSasTokensResult) (result ListSasTokensResult, err error)

ListSasTokensNextResults retrieves the next set of results, if any.

func (GroupClient) ListSasTokensPreparer

func (client GroupClient) ListSasTokensPreparer(resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)

ListSasTokensPreparer prepares the ListSasTokens request.

func (GroupClient) ListSasTokensResponder

func (client GroupClient) 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 (GroupClient) ListSasTokensSender

func (client GroupClient) 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 (GroupClient) ListSender

func (client GroupClient) 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 (GroupClient) ListStorageAccounts

func (client GroupClient) 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 (GroupClient) ListStorageAccountsComplete

func (client GroupClient) ListStorageAccountsComplete(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string, cancel <-chan struct{}) (<-chan StorageAccountInfo, <-chan error)

ListStorageAccountsComplete gets all elements from the list without paging.

func (GroupClient) ListStorageAccountsNextResults

func (client GroupClient) ListStorageAccountsNextResults(lastResults DataLakeAnalyticsAccountListStorageAccountsResult) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)

ListStorageAccountsNextResults retrieves the next set of results, if any.

func (GroupClient) ListStorageAccountsPreparer

func (client GroupClient) 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 (GroupClient) ListStorageAccountsResponder

func (client GroupClient) 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 (GroupClient) ListStorageAccountsSender

func (client GroupClient) 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 (GroupClient) ListStorageContainers

func (client GroupClient) 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 (GroupClient) ListStorageContainersComplete

func (client GroupClient) ListStorageContainersComplete(resourceGroupName string, accountName string, storageAccountName string, cancel <-chan struct{}) (<-chan BlobContainer, <-chan error)

ListStorageContainersComplete gets all elements from the list without paging.

func (GroupClient) ListStorageContainersNextResults

func (client GroupClient) ListStorageContainersNextResults(lastResults ListBlobContainersResult) (result ListBlobContainersResult, err error)

ListStorageContainersNextResults retrieves the next set of results, if any.

func (GroupClient) ListStorageContainersPreparer

func (client GroupClient) ListStorageContainersPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

ListStorageContainersPreparer prepares the ListStorageContainers request.

func (GroupClient) ListStorageContainersResponder

func (client GroupClient) 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 (GroupClient) ListStorageContainersSender

func (client GroupClient) 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 (GroupClient) Update

func (client GroupClient) Update(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (<-chan DataLakeAnalyticsAccount, <-chan 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 (GroupClient) UpdatePreparer

func (client GroupClient) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GroupClient) UpdateResponder

func (client GroupClient) 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 (GroupClient) UpdateSender

func (client GroupClient) UpdateSender(req *http.Request) (*http.Response, error)

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

func (GroupClient) UpdateStorageAccount

func (client GroupClient) 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 (GroupClient) UpdateStorageAccountPreparer

func (client GroupClient) UpdateStorageAccountPreparer(resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)

UpdateStorageAccountPreparer prepares the UpdateStorageAccount request.

func (GroupClient) UpdateStorageAccountResponder

func (client GroupClient) 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 (GroupClient) UpdateStorageAccountSender

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

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

type 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
	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.

Jump to

Keyboard shortcuts

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