account

package
v8.1.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package account implements the Azure ARM Account service API version 2016-11-01.

Creates an Azure Data Lake Analytics account management client.

Index

Constants

View Source
const (
	// APIVersion is the version of the Account
	APIVersion = "2016-11-01"

	// 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 {
	*DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}

AddDataLakeStoreParameters is additional Data Lake Store parameters.

type AddStorageAccountParameters

type AddStorageAccountParameters struct {
	*StorageAccountProperties `json:"properties,omitempty"`
}

AddStorageAccountParameters is storage account parameters for a storage account being added to a Data Lake Analytics account.

type DataLakeAnalyticsAccount

type DataLakeAnalyticsAccount struct {
	autorest.Response                   `json:"-"`
	ID                                  *string             `json:"id,omitempty"`
	Name                                *string             `json:"name,omitempty"`
	Type                                *string             `json:"type,omitempty"`
	Location                            *string             `json:"location,omitempty"`
	Tags                                *map[string]*string `json:"tags,omitempty"`
	*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"`
	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"`
	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"`
	QueryStoreRetention          *int32                         `json:"queryStoreRetention,omitempty"`
	MaxJobCount                  *int32                         `json:"maxJobCount,omitempty"`
	SystemMaxDegreeOfParallelism *int32                         `json:"systemMaxDegreeOfParallelism,omitempty"`
	SystemMaxJobCount            *int32                         `json:"systemMaxJobCount,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"`
	NewTier                      TierType                       `json:"newTier,omitempty"`
	CurrentTier                  TierType                       `json:"currentTier,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 DataLakeAnalyticsAccountUpdateParameters

type DataLakeAnalyticsAccountUpdateParameters struct {
	Tags                                      *map[string]*string `json:"tags,omitempty"`
	*UpdateDataLakeAnalyticsAccountProperties `json:"properties,omitempty"`
}

DataLakeAnalyticsAccountUpdateParameters is the parameters that can be used to update an existing Data Lake Analytics account.

type DataLakeStoreAccountInfo

type DataLakeStoreAccountInfo struct {
	autorest.Response                   `json:"-"`
	ID                                  *string `json:"id,omitempty"`
	Name                                *string `json:"name,omitempty"`
	Type                                *string `json:"type,omitempty"`
	*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 DataLakeStoreAccountsClient

type DataLakeStoreAccountsClient struct {
	ManagementClient
}

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

func NewDataLakeStoreAccountsClient

func NewDataLakeStoreAccountsClient(subscriptionID string) DataLakeStoreAccountsClient

NewDataLakeStoreAccountsClient creates an instance of the DataLakeStoreAccountsClient client.

func NewDataLakeStoreAccountsClientWithBaseURI

func NewDataLakeStoreAccountsClientWithBaseURI(baseURI string, subscriptionID string) DataLakeStoreAccountsClient

NewDataLakeStoreAccountsClientWithBaseURI creates an instance of the DataLakeStoreAccountsClient client.

func (DataLakeStoreAccountsClient) Add

func (client DataLakeStoreAccountsClient) Add(resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters *AddDataLakeStoreParameters) (result autorest.Response, err error)

Add 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 (DataLakeStoreAccountsClient) AddPreparer

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

AddPreparer prepares the Add request.

func (DataLakeStoreAccountsClient) AddResponder

func (client DataLakeStoreAccountsClient) AddResponder(resp *http.Response) (result autorest.Response, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (DataLakeStoreAccountsClient) AddSender

func (client DataLakeStoreAccountsClient) AddSender(req *http.Request) (*http.Response, error)

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

func (DataLakeStoreAccountsClient) Delete

func (client DataLakeStoreAccountsClient) Delete(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result autorest.Response, err error)

Delete 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 (DataLakeStoreAccountsClient) DeletePreparer

func (client DataLakeStoreAccountsClient) DeletePreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DataLakeStoreAccountsClient) DeleteResponder

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

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

func (client DataLakeStoreAccountsClient) Get(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result DataLakeStoreAccountInfo, err error)

Get 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 (DataLakeStoreAccountsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (DataLakeStoreAccountsClient) GetResponder

func (client DataLakeStoreAccountsClient) GetResponder(resp *http.Response) (result DataLakeStoreAccountInfo, err error)

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

func (DataLakeStoreAccountsClient) GetSender

func (client DataLakeStoreAccountsClient) 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 (DataLakeStoreAccountsClient) ListByAccount

func (client DataLakeStoreAccountsClient) ListByAccount(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)

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

func (DataLakeStoreAccountsClient) ListByAccountNextResults

ListByAccountNextResults retrieves the next set of results, if any.

func (DataLakeStoreAccountsClient) ListByAccountPreparer

func (client DataLakeStoreAccountsClient) ListByAccountPreparer(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (DataLakeStoreAccountsClient) ListByAccountResponder

func (client DataLakeStoreAccountsClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (DataLakeStoreAccountsClient) ListByAccountSender

func (client DataLakeStoreAccountsClient) ListByAccountSender(req *http.Request) (*http.Response, error)

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

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) Create

func (client GroupClient) Create(resourceGroupName string, accountName 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. accountName 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, accountName 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 autorest.Response, 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{}) (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 (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) 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) 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) List

func (client GroupClient) List(filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (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. 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.

func (GroupClient) ListByResourceGroup

func (client GroupClient) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (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. 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.

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, selectParameter string, orderby string, count *bool) (*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) 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, selectParameter string, orderby string, count *bool) (*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) 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) Update

func (client GroupClient) Update(resourceGroupName string, accountName string, parameters *DataLakeAnalyticsAccountUpdateParameters, 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. accountName 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, accountName string, parameters *DataLakeAnalyticsAccountUpdateParameters, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GroupClient) UpdateResponder

func (client GroupClient) UpdateResponder(resp *http.Response) (result autorest.Response, 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.

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 ListStorageContainersResult

type ListStorageContainersResult struct {
	autorest.Response `json:"-"`
	Value             *[]StorageContainer `json:"value,omitempty"`
	NextLink          *string             `json:"nextLink,omitempty"`
}

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

func (ListStorageContainersResult) ListStorageContainersResultPreparer

func (client ListStorageContainersResult) ListStorageContainersResultPreparer() (*http.Request, error)

ListStorageContainersResultPreparer 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 Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the Resource model definition.

type SasTokenInfo

type SasTokenInfo struct {
	AccessToken *string `json:"accessToken,omitempty"`
}

SasTokenInfo is sAS token information.

type StorageAccountInfo

type StorageAccountInfo struct {
	autorest.Response         `json:"-"`
	ID                        *string `json:"id,omitempty"`
	Name                      *string `json:"name,omitempty"`
	Type                      *string `json:"type,omitempty"`
	*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.

type StorageAccountsClient

type StorageAccountsClient struct {
	ManagementClient
}

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

func NewStorageAccountsClient

func NewStorageAccountsClient(subscriptionID string) StorageAccountsClient

NewStorageAccountsClient creates an instance of the StorageAccountsClient client.

func NewStorageAccountsClientWithBaseURI

func NewStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) StorageAccountsClient

NewStorageAccountsClientWithBaseURI creates an instance of the StorageAccountsClient client.

func (StorageAccountsClient) Add

func (client StorageAccountsClient) Add(resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (result autorest.Response, err error)

Add 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 (StorageAccountsClient) AddPreparer

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

AddPreparer prepares the Add request.

func (StorageAccountsClient) AddResponder

func (client StorageAccountsClient) AddResponder(resp *http.Response) (result autorest.Response, err error)

AddResponder handles the response to the Add request. The method always closes the http.Response Body.

func (StorageAccountsClient) AddSender

func (client StorageAccountsClient) AddSender(req *http.Request) (*http.Response, error)

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

func (StorageAccountsClient) Delete

func (client StorageAccountsClient) Delete(resourceGroupName string, accountName string, storageAccountName string) (result autorest.Response, err error)

Delete 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 (StorageAccountsClient) DeletePreparer

func (client StorageAccountsClient) DeletePreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (StorageAccountsClient) DeleteResponder

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

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

func (client StorageAccountsClient) Get(resourceGroupName string, accountName string, storageAccountName string) (result StorageAccountInfo, err error)

Get 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 (StorageAccountsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (StorageAccountsClient) GetResponder

func (client StorageAccountsClient) GetResponder(resp *http.Response) (result StorageAccountInfo, err error)

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

func (StorageAccountsClient) GetSender

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

func (client StorageAccountsClient) GetStorageContainer(resourceGroupName string, accountName string, storageAccountName string, containerName string) (result StorageContainer, 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 (StorageAccountsClient) GetStorageContainerPreparer

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

GetStorageContainerPreparer prepares the GetStorageContainer request.

func (StorageAccountsClient) GetStorageContainerResponder

func (client StorageAccountsClient) GetStorageContainerResponder(resp *http.Response) (result StorageContainer, err error)

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

func (StorageAccountsClient) GetStorageContainerSender

func (client StorageAccountsClient) 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 (StorageAccountsClient) ListByAccount

func (client StorageAccountsClient) ListByAccount(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)

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

func (StorageAccountsClient) ListByAccountNextResults

ListByAccountNextResults retrieves the next set of results, if any.

func (StorageAccountsClient) ListByAccountPreparer

func (client StorageAccountsClient) ListByAccountPreparer(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (StorageAccountsClient) ListByAccountResponder

func (client StorageAccountsClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (StorageAccountsClient) ListByAccountSender

func (client StorageAccountsClient) ListByAccountSender(req *http.Request) (*http.Response, error)

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

func (StorageAccountsClient) ListSasTokens

func (client StorageAccountsClient) 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 (StorageAccountsClient) ListSasTokensNextResults

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

ListSasTokensNextResults retrieves the next set of results, if any.

func (StorageAccountsClient) ListSasTokensPreparer

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

ListSasTokensPreparer prepares the ListSasTokens request.

func (StorageAccountsClient) ListSasTokensResponder

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

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

func (client StorageAccountsClient) ListStorageContainers(resourceGroupName string, accountName string, storageAccountName string) (result ListStorageContainersResult, 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 (StorageAccountsClient) ListStorageContainersNextResults

func (client StorageAccountsClient) ListStorageContainersNextResults(lastResults ListStorageContainersResult) (result ListStorageContainersResult, err error)

ListStorageContainersNextResults retrieves the next set of results, if any.

func (StorageAccountsClient) ListStorageContainersPreparer

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

ListStorageContainersPreparer prepares the ListStorageContainers request.

func (StorageAccountsClient) ListStorageContainersResponder

func (client StorageAccountsClient) ListStorageContainersResponder(resp *http.Response) (result ListStorageContainersResult, err error)

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

func (StorageAccountsClient) ListStorageContainersSender

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

func (client StorageAccountsClient) Update(resourceGroupName string, accountName string, storageAccountName string, parameters *UpdateStorageAccountParameters) (result autorest.Response, err error)

Update 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, if any. Passing nothing results in no change.

func (StorageAccountsClient) UpdatePreparer

func (client StorageAccountsClient) UpdatePreparer(resourceGroupName string, accountName string, storageAccountName string, parameters *UpdateStorageAccountParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (StorageAccountsClient) UpdateResponder

func (client StorageAccountsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (StorageAccountsClient) UpdateSender

func (client StorageAccountsClient) 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.

type StorageContainer

type StorageContainer struct {
	autorest.Response           `json:"-"`
	Name                        *string `json:"name,omitempty"`
	ID                          *string `json:"id,omitempty"`
	Type                        *string `json:"type,omitempty"`
	*StorageContainerProperties `json:"properties,omitempty"`
}

StorageContainer is azure Storage blob container information.

type StorageContainerProperties

type StorageContainerProperties struct {
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}

StorageContainerProperties is azure Storage blob container properties information.

type SubResource

type SubResource struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

SubResource is the Sub Resource model definition.

type TierType

type TierType string

TierType enumerates the values for tier type.

const (
	// Commitment100000AUHours specifies the commitment 100000au hours state
	// for tier type.
	Commitment100000AUHours TierType = "Commitment_100000AUHours"
	// Commitment10000AUHours specifies the commitment 10000au hours state for
	// tier type.
	Commitment10000AUHours TierType = "Commitment_10000AUHours"
	// Commitment1000AUHours specifies the commitment 1000au hours state for
	// tier type.
	Commitment1000AUHours TierType = "Commitment_1000AUHours"
	// Commitment100AUHours specifies the commitment 100au hours state for tier
	// type.
	Commitment100AUHours TierType = "Commitment_100AUHours"
	// Commitment500000AUHours specifies the commitment 500000au hours state
	// for tier type.
	Commitment500000AUHours TierType = "Commitment_500000AUHours"
	// Commitment50000AUHours specifies the commitment 50000au hours state for
	// tier type.
	Commitment50000AUHours TierType = "Commitment_50000AUHours"
	// Commitment5000AUHours specifies the commitment 5000au hours state for
	// tier type.
	Commitment5000AUHours TierType = "Commitment_5000AUHours"
	// Commitment500AUHours specifies the commitment 500au hours state for tier
	// type.
	Commitment500AUHours TierType = "Commitment_500AUHours"
	// Consumption specifies the consumption state for tier type.
	Consumption TierType = "Consumption"
)

type UpdateDataLakeAnalyticsAccountProperties

type UpdateDataLakeAnalyticsAccountProperties struct {
	MaxDegreeOfParallelism *int32   `json:"maxDegreeOfParallelism,omitempty"`
	QueryStoreRetention    *int32   `json:"queryStoreRetention,omitempty"`
	MaxJobCount            *int32   `json:"maxJobCount,omitempty"`
	NewTier                TierType `json:"newTier,omitempty"`
}

UpdateDataLakeAnalyticsAccountProperties is the properties to update that are associated with an underlying Data Lake Analytics account to.

type UpdateStorageAccountParameters

type UpdateStorageAccountParameters struct {
	*UpdateStorageAccountProperties `json:"properties,omitempty"`
}

UpdateStorageAccountParameters is storage account parameters for a storage account being updated in a Data Lake Analytics account.

type UpdateStorageAccountProperties

type UpdateStorageAccountProperties struct {
	AccessKey *string `json:"accessKey,omitempty"`
	Suffix    *string `json:"suffix,omitempty"`
}

UpdateStorageAccountProperties is azure Storage account properties information to update.

Jump to

Keyboard shortcuts

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