account

package
v12.2.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: Apache-2.0 Imports: 7 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.

Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account

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 AADObjectType

type AADObjectType string

AADObjectType enumerates the values for aad object type.

const (
	// Group specifies the group state for aad object type.
	Group AADObjectType = "Group"
	// ServicePrincipal specifies the service principal state for aad object type.
	ServicePrincipal AADObjectType = "ServicePrincipal"
	// User specifies the user state for aad object type.
	User AADObjectType = "User"
)

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 ComputePoliciesClient

type ComputePoliciesClient struct {
	ManagementClient
}

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

func NewComputePoliciesClient

func NewComputePoliciesClient(subscriptionID string) ComputePoliciesClient

NewComputePoliciesClient creates an instance of the ComputePoliciesClient client.

func NewComputePoliciesClientWithBaseURI

func NewComputePoliciesClientWithBaseURI(baseURI string, subscriptionID string) ComputePoliciesClient

NewComputePoliciesClientWithBaseURI creates an instance of the ComputePoliciesClient client.

func (ComputePoliciesClient) CreateOrUpdate

func (client ComputePoliciesClient) CreateOrUpdate(resourceGroupName string, accountName string, computePolicyName string, parameters ComputePolicyCreateOrUpdateParameters) (result ComputePolicy, err error)

CreateOrUpdate creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies

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 add or replace the compute policy. computePolicyName is the name of the compute policy to create or update. parameters is parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.

func (ComputePoliciesClient) CreateOrUpdatePreparer

func (client ComputePoliciesClient) CreateOrUpdatePreparer(resourceGroupName string, accountName string, computePolicyName string, parameters ComputePolicyCreateOrUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ComputePoliciesClient) CreateOrUpdateResponder

func (client ComputePoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ComputePolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ComputePoliciesClient) CreateOrUpdateSender

func (client ComputePoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (ComputePoliciesClient) Delete

func (client ComputePoliciesClient) Delete(resourceGroupName string, accountName string, computePolicyName string) (result autorest.Response, err error)

Delete deletes the specified compute policy from 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 delete the compute policy. computePolicyName is the name of the compute policy to delete.

func (ComputePoliciesClient) DeletePreparer

func (client ComputePoliciesClient) DeletePreparer(resourceGroupName string, accountName string, computePolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ComputePoliciesClient) DeleteResponder

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

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

func (client ComputePoliciesClient) Get(resourceGroupName string, accountName string, computePolicyName string) (result ComputePolicy, err error)

Get gets the specified Data Lake Analytics compute policy.

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 get the compute policy. computePolicyName is the name of the compute policy to retrieve.

func (ComputePoliciesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ComputePoliciesClient) GetResponder

func (client ComputePoliciesClient) GetResponder(resp *http.Response) (result ComputePolicy, err error)

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

func (ComputePoliciesClient) GetSender

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

func (client ComputePoliciesClient) ListByAccount(resourceGroupName string, accountName string) (result ComputePolicyListResult, err error)

ListByAccount lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies

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 get the compute policies.

func (ComputePoliciesClient) ListByAccountComplete

func (client ComputePoliciesClient) ListByAccountComplete(resourceGroupName string, accountName string, cancel <-chan struct{}) (<-chan ComputePolicy, <-chan error)

ListByAccountComplete gets all elements from the list without paging.

func (ComputePoliciesClient) ListByAccountNextResults

func (client ComputePoliciesClient) ListByAccountNextResults(lastResults ComputePolicyListResult) (result ComputePolicyListResult, err error)

ListByAccountNextResults retrieves the next set of results, if any.

func (ComputePoliciesClient) ListByAccountPreparer

func (client ComputePoliciesClient) ListByAccountPreparer(resourceGroupName string, accountName string) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (ComputePoliciesClient) ListByAccountResponder

func (client ComputePoliciesClient) ListByAccountResponder(resp *http.Response) (result ComputePolicyListResult, err error)

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

func (ComputePoliciesClient) ListByAccountSender

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

func (client ComputePoliciesClient) Update(resourceGroupName string, accountName string, computePolicyName string, parameters *ComputePolicy) (result ComputePolicy, err error)

Update updates the specified compute policy.

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 update the compute policy. computePolicyName is the name of the compute policy to update. parameters is parameters supplied to update the compute policy.

func (ComputePoliciesClient) UpdatePreparer

func (client ComputePoliciesClient) UpdatePreparer(resourceGroupName string, accountName string, computePolicyName string, parameters *ComputePolicy) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ComputePoliciesClient) UpdateResponder

func (client ComputePoliciesClient) UpdateResponder(resp *http.Response) (result ComputePolicy, err error)

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

func (ComputePoliciesClient) UpdateSender

func (client ComputePoliciesClient) 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 ComputePolicy

type ComputePolicy struct {
	autorest.Response        `json:"-"`
	Name                     *string `json:"name,omitempty"`
	*ComputePolicyProperties `json:"properties,omitempty"`
}

ComputePolicy is the parameters used to create a new compute policy.

type ComputePolicyAccountCreateParameters

type ComputePolicyAccountCreateParameters struct {
	Name                                     *string `json:"name,omitempty"`
	*ComputePolicyPropertiesCreateParameters `json:"properties,omitempty"`
}

ComputePolicyAccountCreateParameters is the parameters used to create a new compute policy.

type ComputePolicyCreateOrUpdateParameters

type ComputePolicyCreateOrUpdateParameters struct {
	*ComputePolicyPropertiesCreateParameters `json:"properties,omitempty"`
}

ComputePolicyCreateOrUpdateParameters is the parameters used to create a new compute policy.

type ComputePolicyListResult

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

ComputePolicyListResult is the list of compute policies in the account.

func (ComputePolicyListResult) ComputePolicyListResultPreparer

func (client ComputePolicyListResult) ComputePolicyListResultPreparer() (*http.Request, error)

ComputePolicyListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ComputePolicyProperties

type ComputePolicyProperties struct {
	ObjectID                     *uuid.UUID    `json:"objectId,omitempty"`
	ObjectType                   AADObjectType `json:"objectType,omitempty"`
	MaxDegreeOfParallelismPerJob *int32        `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int32        `json:"minPriorityPerJob,omitempty"`
}

ComputePolicyProperties is the compute policy properties to use when creating a new compute policy

type ComputePolicyPropertiesCreateParameters

type ComputePolicyPropertiesCreateParameters struct {
	ObjectID                     *uuid.UUID    `json:"objectId,omitempty"`
	ObjectType                   AADObjectType `json:"objectType,omitempty"`
	MaxDegreeOfParallelismPerJob *int32        `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int32        `json:"minPriorityPerJob,omitempty"`
}

ComputePolicyPropertiesCreateParameters is the compute policy properties to use when creating a new compute policy

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 DataLakeAnalyticsAccountBasic

type DataLakeAnalyticsAccountBasic 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"`
	*DataLakeAnalyticsAccountPropertiesBasic `json:"properties,omitempty"`
}

DataLakeAnalyticsAccountBasic 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             *[]DataLakeAnalyticsAccountBasic `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"`
	CreationTime                 *date.Time                              `json:"creationTime,omitempty"`
	LastModifiedTime             *date.Time                              `json:"lastModifiedTime,omitempty"`
	Endpoint                     *string                                 `json:"endpoint,omitempty"`
	AccountID                    *uuid.UUID                              `json:"accountId,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"`
	NewTier                      TierType                                `json:"newTier,omitempty"`
	CurrentTier                  TierType                                `json:"currentTier,omitempty"`
	FirewallState                FirewallState                           `json:"firewallState,omitempty"`
	FirewallAllowAzureIps        FirewallAllowAzureIpsState              `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules                *[]FirewallRule                         `json:"firewallRules,omitempty"`
	MaxDegreeOfParallelismPerJob *int32                                  `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int32                                  `json:"minPriorityPerJob,omitempty"`
	ComputePolicies              *[]ComputePolicyAccountCreateParameters `json:"computePolicies,omitempty"`
}

DataLakeAnalyticsAccountProperties is the account specific properties that are associated with an underlying Data Lake Analytics account. Returned only when retrieving a specific account.

type DataLakeAnalyticsAccountPropertiesBasic

type DataLakeAnalyticsAccountPropertiesBasic struct {
	ProvisioningState DataLakeAnalyticsAccountStatus `json:"provisioningState,omitempty"`
	State             DataLakeAnalyticsAccountState  `json:"state,omitempty"`
	CreationTime      *date.Time                     `json:"creationTime,omitempty"`
	LastModifiedTime  *date.Time                     `json:"lastModifiedTime,omitempty"`
	Endpoint          *string                        `json:"endpoint,omitempty"`
	AccountID         *uuid.UUID                     `json:"accountId,omitempty"`
}

DataLakeAnalyticsAccountPropertiesBasic is the basic 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 DataLakeAnalyticsFirewallRuleListResult

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

DataLakeAnalyticsFirewallRuleListResult is data Lake Analytics firewall rule list information.

func (DataLakeAnalyticsFirewallRuleListResult) DataLakeAnalyticsFirewallRuleListResultPreparer

func (client DataLakeAnalyticsFirewallRuleListResult) DataLakeAnalyticsFirewallRuleListResultPreparer() (*http.Request, error)

DataLakeAnalyticsFirewallRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

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

func (client DataLakeStoreAccountsClient) ListByAccountComplete(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool, cancel <-chan struct{}) (<-chan DataLakeStoreAccountInfo, <-chan error)

ListByAccountComplete gets all elements from the list without paging.

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 FirewallAllowAzureIpsState

type FirewallAllowAzureIpsState string

FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.

const (
	// Disabled specifies the disabled state for firewall allow azure ips state.
	Disabled FirewallAllowAzureIpsState = "Disabled"
	// Enabled specifies the enabled state for firewall allow azure ips state.
	Enabled FirewallAllowAzureIpsState = "Enabled"
)

type FirewallRule

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

FirewallRule is data Lake Analytics firewall rule information

type FirewallRuleProperties

type FirewallRuleProperties struct {
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	EndIPAddress   *string `json:"endIpAddress,omitempty"`
}

FirewallRuleProperties is data Lake Analytics firewall rule properties information

type FirewallRulesClient

type FirewallRulesClient struct {
	ManagementClient
}

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

func NewFirewallRulesClient

func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient

NewFirewallRulesClient creates an instance of the FirewallRulesClient client.

func NewFirewallRulesClientWithBaseURI

func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient

NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.

func (FirewallRulesClient) CreateOrUpdate

func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, accountName string, firewallRuleName string, parameters FirewallRule) (result FirewallRule, err error)

CreateOrUpdate creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

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 add or replace the firewall rule. firewallRuleName is the name of the firewall rule to create or update. parameters is parameters supplied to create or update the firewall rule.

func (FirewallRulesClient) CreateOrUpdatePreparer

func (client FirewallRulesClient) CreateOrUpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FirewallRulesClient) CreateOrUpdateResponder

func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (FirewallRulesClient) CreateOrUpdateSender

func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (FirewallRulesClient) Delete

func (client FirewallRulesClient) Delete(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)

Delete deletes the specified firewall rule from 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 delete the firewall rule. firewallRuleName is the name of the firewall rule to delete.

func (FirewallRulesClient) DeletePreparer

func (client FirewallRulesClient) DeletePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FirewallRulesClient) DeleteResponder

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

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

func (client FirewallRulesClient) Get(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)

Get gets the specified Data Lake Analytics firewall rule.

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 get the firewall rule. firewallRuleName is the name of the firewall rule to retrieve.

func (FirewallRulesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (FirewallRulesClient) GetResponder

func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)

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

func (FirewallRulesClient) GetSender

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

func (client FirewallRulesClient) ListByAccount(resourceGroupName string, accountName string) (result DataLakeAnalyticsFirewallRuleListResult, err error)

ListByAccount lists the Data Lake Analytics firewall rules within 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 get the firewall rules.

func (FirewallRulesClient) ListByAccountComplete

func (client FirewallRulesClient) ListByAccountComplete(resourceGroupName string, accountName string, cancel <-chan struct{}) (<-chan FirewallRule, <-chan error)

ListByAccountComplete gets all elements from the list without paging.

func (FirewallRulesClient) ListByAccountNextResults

func (client FirewallRulesClient) ListByAccountNextResults(lastResults DataLakeAnalyticsFirewallRuleListResult) (result DataLakeAnalyticsFirewallRuleListResult, err error)

ListByAccountNextResults retrieves the next set of results, if any.

func (FirewallRulesClient) ListByAccountPreparer

func (client FirewallRulesClient) ListByAccountPreparer(resourceGroupName string, accountName string) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (FirewallRulesClient) ListByAccountResponder

func (client FirewallRulesClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsFirewallRuleListResult, err error)

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

func (FirewallRulesClient) ListByAccountSender

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

func (client FirewallRulesClient) Update(resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (result FirewallRule, err error)

Update updates the specified firewall rule.

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 update the firewall rule. firewallRuleName is the name of the firewall rule to update. parameters is parameters supplied to update the firewall rule.

func (FirewallRulesClient) UpdatePreparer

func (client FirewallRulesClient) UpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (FirewallRulesClient) UpdateResponder

func (client FirewallRulesClient) UpdateResponder(resp *http.Response) (result FirewallRule, err error)

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

func (FirewallRulesClient) UpdateSender

func (client FirewallRulesClient) 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 FirewallState

type FirewallState string

FirewallState enumerates the values for firewall state.

const (
	// FirewallStateDisabled specifies the firewall state disabled state for firewall state.
	FirewallStateDisabled FirewallState = "Disabled"
	// FirewallStateEnabled specifies the firewall state enabled state for firewall state.
	FirewallStateEnabled FirewallState = "Enabled"
)

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{}) (<-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. 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 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 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) ListByResourceGroupComplete

func (client GroupClient) ListByResourceGroupComplete(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool, cancel <-chan struct{}) (<-chan DataLakeAnalyticsAccountBasic, <-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, 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) ListComplete

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

ListComplete gets all elements from the list without paging.

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{}) (<-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. 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 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.

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
	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 OptionalSubResource

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

OptionalSubResource is the Resource model definition for a nested resource with no required properties.

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

func (client StorageAccountsClient) ListByAccountComplete(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool, cancel <-chan struct{}) (<-chan StorageAccountInfo, <-chan error)

ListByAccountComplete gets all elements from the list without paging.

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

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

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

ListStorageContainersComplete gets all elements from the list without paging.

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:"-"`
	ID                          *string `json:"id,omitempty"`
	Name                        *string `json:"name,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"`
	FirewallState                FirewallState              `json:"firewallState,omitempty"`
	FirewallAllowAzureIps        FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules                *[]FirewallRule            `json:"firewallRules,omitempty"`
	MaxDegreeOfParallelismPerJob *int32                     `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int32                     `json:"minPriorityPerJob,omitempty"`
	ComputePolicies              *[]ComputePolicy           `json:"computePolicies,omitempty"`
}

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

type UpdateFirewallRuleParameters

type UpdateFirewallRuleParameters struct {
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters is data Lake Analytics firewall rule update parameters

type UpdateFirewallRuleProperties

type UpdateFirewallRuleProperties struct {
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	EndIPAddress   *string `json:"endIpAddress,omitempty"`
}

UpdateFirewallRuleProperties is data Lake Analytics firewall rule properties information

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