account

package
v12.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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 (
	// 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 ...
	Group AADObjectType = "Group"
	// ServicePrincipal ...
	ServicePrincipal AADObjectType = "ServicePrincipal"
	// User ...
	User AADObjectType = "User"
)

type AccountCreateFuture

type AccountCreateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

AccountCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (AccountCreateFuture) Result

func (future AccountCreateFuture) Result(client Client) (dlaa DataLakeAnalyticsAccount, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AccountDeleteFuture

type AccountDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

AccountDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (AccountDeleteFuture) Result

func (future AccountDeleteFuture) Result(client Client) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AccountUpdateFuture

type AccountUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

AccountUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (AccountUpdateFuture) Result

func (future AccountUpdateFuture) Result(client Client) (dlaa DataLakeAnalyticsAccount, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AddDataLakeStoreParameters

type AddDataLakeStoreParameters struct {
	// DataLakeStoreAccountInfoProperties - the properties for the Data Lake Store account being added.
	*DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}

AddDataLakeStoreParameters additional Data Lake Store parameters.

func (*AddDataLakeStoreParameters) UnmarshalJSON

func (adlsp *AddDataLakeStoreParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AddDataLakeStoreParameters struct.

type AddStorageAccountParameters

type AddStorageAccountParameters struct {
	// StorageAccountProperties - the properties for the Azure Storage account being added.
	*StorageAccountProperties `json:"properties,omitempty"`
}

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

func (*AddStorageAccountParameters) UnmarshalJSON

func (asap *AddStorageAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AddStorageAccountParameters struct.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Account.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CapabilityInformation

type CapabilityInformation struct {
	autorest.Response `json:"-"`
	// SubscriptionID - the subscription credentials that uniquely identifies the subscription.
	SubscriptionID *uuid.UUID `json:"subscriptionId,omitempty"`
	// State - the subscription state. Possible values include: 'SubscriptionStateRegistered', 'SubscriptionStateSuspended', 'SubscriptionStateDeleted', 'SubscriptionStateUnregistered', 'SubscriptionStateWarned'
	State SubscriptionState `json:"state,omitempty"`
	// MaxAccountCount - the maximum supported number of accounts under this subscription.
	MaxAccountCount *int32 `json:"maxAccountCount,omitempty"`
	// AccountCount - the current number of accounts under this subscription.
	AccountCount *int32 `json:"accountCount,omitempty"`
	// MigrationState - the Boolean value of true or false to indicate the maintenance state.
	MigrationState *bool `json:"migrationState,omitempty"`
}

CapabilityInformation subscription-level properties and limits for Data Lake Analytics

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	// Name - the Data Lake Analytics name to check availability for.
	Name *string `json:"name,omitempty"`
	// Type - the Resource type. Note: This should not be set by the user, as the constant value is Microsoft.DataLakeAnalytics/accounts
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityParameters data Lake Analytics account name availability check parameters

type Client

type Client struct {
	BaseClient
}

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

func NewClient

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client.

func (Client) CheckNameAvailability

func (client Client) CheckNameAvailability(ctx context.Context, location string, parameters CheckNameAvailabilityParameters) (result NameAvailabilityInformation, err error)

CheckNameAvailability checks whether the specified account name is available or taken.

location is the Resource location without whitespace. parameters is parameters supplied to check the Data Lake Analytics account name availability.

func (Client) CheckNameAvailabilityPreparer

func (client Client) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters CheckNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (Client) CheckNameAvailabilityResponder

func (client Client) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityInformation, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (Client) CheckNameAvailabilitySender

func (client Client) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (Client) Create

func (client Client) Create(ctx context.Context, resourceGroupName string, accountName string, parameters DataLakeAnalyticsAccount) (result AccountCreateFuture, err error)

Create creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads

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 (Client) CreatePreparer

func (client Client) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters DataLakeAnalyticsAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (Client) CreateResponder

func (client Client) CreateResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (Client) CreateSender

func (client Client) CreateSender(req *http.Request) (future AccountCreateFuture, err error)

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

func (Client) Delete

func (client Client) Delete(ctx context.Context, resourceGroupName string, accountName string) (result AccountDeleteFuture, err error)

Delete begins the delete process for the Data Lake Analytics account object specified by the account name.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to delete

func (Client) DeletePreparer

func (client Client) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder

func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (Client) DeleteSender

func (client Client) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error)

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

func (Client) Get

func (client Client) Get(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeAnalyticsAccount, err error)

Get gets details of the specified Data Lake Analytics account.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to retrieve.

func (Client) GetPreparer

func (client Client) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (Client) GetResponder

func (client Client) GetResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)

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

func (Client) GetSender

func (client Client) GetSender(req *http.Request) (*http.Response, error)

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

func (Client) List

func (client Client) List(ctx context.Context, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListResultPage, err error)

List gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.

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 (Client) ListByResourceGroup

func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListResultPage, err error)

ListByResourceGroup gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.

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 (Client) ListByResourceGroupComplete

func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListByResourceGroupPreparer

func (client Client) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (Client) ListByResourceGroupResponder

func (client Client) ListByResourceGroupResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (Client) ListByResourceGroupSender

func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (Client) ListComplete

func (client Client) ListComplete(ctx context.Context, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListPreparer

func (client Client) ListPreparer(ctx context.Context, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (Client) ListResponder

func (client Client) ListResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (Client) ListSender

func (client Client) ListSender(req *http.Request) (*http.Response, error)

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

func (Client) Update

func (client Client) Update(ctx context.Context, resourceGroupName string, accountName string, parameters *DataLakeAnalyticsAccountUpdateParameters) (result AccountUpdateFuture, err error)

Update updates the Data Lake Analytics account object specified by the accountName with the contents of the account object.

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 (Client) UpdatePreparer

func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters *DataLakeAnalyticsAccountUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder

func (client Client) UpdateResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)

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

func (Client) UpdateSender

func (client Client) UpdateSender(req *http.Request) (future AccountUpdateFuture, err error)

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

type ComputePoliciesClient

type ComputePoliciesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string) (result ComputePolicyListResultPage, 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(ctx context.Context, resourceGroupName string, accountName string) (result ComputePolicyListResultIterator, err error)

ListByAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (ComputePoliciesClient) ListByAccountPreparer

func (client ComputePoliciesClient) ListByAccountPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - The name of the compute policy
	Name *string `json:"name,omitempty"`
	// ComputePolicyProperties - The compute policy properties
	*ComputePolicyProperties `json:"properties,omitempty"`
}

ComputePolicy the parameters used to create a new compute policy.

func (*ComputePolicy) UnmarshalJSON

func (cp *ComputePolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComputePolicy struct.

type ComputePolicyAccountCreateParameters

type ComputePolicyAccountCreateParameters struct {
	// Name - The unique name of the policy to create
	Name *string `json:"name,omitempty"`
	// ComputePolicyPropertiesCreateParameters - The policy properties to use when creating a new compute policy
	*ComputePolicyPropertiesCreateParameters `json:"properties,omitempty"`
}

ComputePolicyAccountCreateParameters the parameters used to create a new compute policy.

func (*ComputePolicyAccountCreateParameters) UnmarshalJSON

func (cpacp *ComputePolicyAccountCreateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComputePolicyAccountCreateParameters struct.

type ComputePolicyCreateOrUpdateParameters

type ComputePolicyCreateOrUpdateParameters struct {
	// ComputePolicyPropertiesCreateParameters - The policy properties to use when creating a new compute policy
	*ComputePolicyPropertiesCreateParameters `json:"properties,omitempty"`
}

ComputePolicyCreateOrUpdateParameters the parameters used to create a new compute policy.

func (*ComputePolicyCreateOrUpdateParameters) UnmarshalJSON

func (cpcoup *ComputePolicyCreateOrUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ComputePolicyCreateOrUpdateParameters struct.

type ComputePolicyListResult

type ComputePolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]ComputePolicy `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ComputePolicyListResult the list of compute policies in the account.

func (ComputePolicyListResult) IsEmpty

func (cplr ComputePolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ComputePolicyListResultIterator

type ComputePolicyListResultIterator struct {
	// contains filtered or unexported fields
}

ComputePolicyListResultIterator provides access to a complete listing of ComputePolicy values.

func (*ComputePolicyListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ComputePolicyListResultIterator) NotDone

func (iter ComputePolicyListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ComputePolicyListResultIterator) Response

Response returns the raw server response from the last page request.

func (ComputePolicyListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ComputePolicyListResultPage

type ComputePolicyListResultPage struct {
	// contains filtered or unexported fields
}

ComputePolicyListResultPage contains a page of ComputePolicy values.

func (*ComputePolicyListResultPage) Next

func (page *ComputePolicyListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ComputePolicyListResultPage) NotDone

func (page ComputePolicyListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ComputePolicyListResultPage) Response

Response returns the raw server response from the last page request.

func (ComputePolicyListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ComputePolicyProperties

type ComputePolicyProperties struct {
	// ObjectID - The AAD object identifier for the entity to create a policy for.
	ObjectID *uuid.UUID `json:"objectId,omitempty"`
	// ObjectType - The type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
	ObjectType AADObjectType `json:"objectType,omitempty"`
	// MaxDegreeOfParallelismPerJob - The maximum degree of parallelism per job this user can use to submit jobs.
	MaxDegreeOfParallelismPerJob *int32 `json:"maxDegreeOfParallelismPerJob,omitempty"`
	// MinPriorityPerJob - The minimum priority per job this user can use to submit jobs.
	MinPriorityPerJob *int32 `json:"minPriorityPerJob,omitempty"`
}

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

type ComputePolicyPropertiesCreateParameters

type ComputePolicyPropertiesCreateParameters struct {
	// ObjectID - The AAD object identifier for the entity to create a policy for.
	ObjectID *uuid.UUID `json:"objectId,omitempty"`
	// ObjectType - The type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal'
	ObjectType AADObjectType `json:"objectType,omitempty"`
	// MaxDegreeOfParallelismPerJob - The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
	MaxDegreeOfParallelismPerJob *int32 `json:"maxDegreeOfParallelismPerJob,omitempty"`
	// MinPriorityPerJob - The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
	MinPriorityPerJob *int32 `json:"minPriorityPerJob,omitempty"`
}

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

type DataLakeAnalyticsAccount

type DataLakeAnalyticsAccount struct {
	autorest.Response `json:"-"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags *map[string]*string `json:"tags,omitempty"`
	// DataLakeAnalyticsAccountProperties - The properties defined by Data Lake Analytics all properties are specific to each resource provider.
	*DataLakeAnalyticsAccountProperties `json:"properties,omitempty"`
}

DataLakeAnalyticsAccount a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.

func (*DataLakeAnalyticsAccount) UnmarshalJSON

func (dlaa *DataLakeAnalyticsAccount) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccount struct.

type DataLakeAnalyticsAccountBasic

type DataLakeAnalyticsAccountBasic struct {
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags *map[string]*string `json:"tags,omitempty"`
	// DataLakeAnalyticsAccountPropertiesBasic - The properties defined by Data Lake Analytics all properties are specific to each resource provider.
	*DataLakeAnalyticsAccountPropertiesBasic `json:"properties,omitempty"`
}

DataLakeAnalyticsAccountBasic a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.

func (*DataLakeAnalyticsAccountBasic) UnmarshalJSON

func (dlaab *DataLakeAnalyticsAccountBasic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccountBasic struct.

type DataLakeAnalyticsAccountListDataLakeStoreResult

type DataLakeAnalyticsAccountListDataLakeStoreResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]DataLakeStoreAccountInfo `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsAccountListDataLakeStoreResult data Lake Account list information.

func (DataLakeAnalyticsAccountListDataLakeStoreResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsAccountListDataLakeStoreResultIterator

type DataLakeAnalyticsAccountListDataLakeStoreResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListDataLakeStoreResultIterator provides access to a complete listing of DataLakeStoreAccountInfo values.

func (*DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsAccountListDataLakeStoreResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListDataLakeStoreResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsAccountListDataLakeStoreResultPage

type DataLakeAnalyticsAccountListDataLakeStoreResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListDataLakeStoreResultPage contains a page of DataLakeStoreAccountInfo values.

func (*DataLakeAnalyticsAccountListDataLakeStoreResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsAccountListDataLakeStoreResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListDataLakeStoreResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListDataLakeStoreResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeAnalyticsAccountListResult

type DataLakeAnalyticsAccountListResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]DataLakeAnalyticsAccountBasic `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsAccountListResult dataLakeAnalytics Account list information.

func (DataLakeAnalyticsAccountListResult) IsEmpty

func (dlaalr DataLakeAnalyticsAccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsAccountListResultIterator

type DataLakeAnalyticsAccountListResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListResultIterator provides access to a complete listing of DataLakeAnalyticsAccountBasic values.

func (*DataLakeAnalyticsAccountListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsAccountListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsAccountListResultPage

type DataLakeAnalyticsAccountListResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListResultPage contains a page of DataLakeAnalyticsAccountBasic values.

func (*DataLakeAnalyticsAccountListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsAccountListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeAnalyticsAccountListStorageAccountsResult

type DataLakeAnalyticsAccountListStorageAccountsResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]StorageAccountInfo `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsAccountListStorageAccountsResult azure Storage Account list information.

func (DataLakeAnalyticsAccountListStorageAccountsResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsAccountListStorageAccountsResultIterator

type DataLakeAnalyticsAccountListStorageAccountsResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListStorageAccountsResultIterator provides access to a complete listing of StorageAccountInfo values.

func (*DataLakeAnalyticsAccountListStorageAccountsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsAccountListStorageAccountsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListStorageAccountsResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListStorageAccountsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsAccountListStorageAccountsResultPage

type DataLakeAnalyticsAccountListStorageAccountsResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsAccountListStorageAccountsResultPage contains a page of StorageAccountInfo values.

func (*DataLakeAnalyticsAccountListStorageAccountsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsAccountListStorageAccountsResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsAccountListStorageAccountsResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsAccountListStorageAccountsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeAnalyticsAccountProperties

type DataLakeAnalyticsAccountProperties struct {
	// ProvisioningState - the provisioning status of the Data Lake Analytics account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
	ProvisioningState DataLakeAnalyticsAccountStatus `json:"provisioningState,omitempty"`
	// State - the state of the Data Lake Analytics account. Possible values include: 'Active', 'Suspended'
	State DataLakeAnalyticsAccountState `json:"state,omitempty"`
	// CreationTime - the account creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - the account last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Endpoint - the full CName endpoint for this account.
	Endpoint *string `json:"endpoint,omitempty"`
	// AccountID - The unique identifier associated with this Data Lake Analytics account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
	// DefaultDataLakeStoreAccount - the default data lake storage account associated with this Data Lake Analytics account.
	DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"`
	// MaxDegreeOfParallelism - the maximum supported degree of parallelism for this account.
	MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"`
	// QueryStoreRetention - the number of days that job metadata is retained.
	QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"`
	// MaxJobCount - the maximum supported jobs running under the account at the same time.
	MaxJobCount *int32 `json:"maxJobCount,omitempty"`
	// SystemMaxDegreeOfParallelism - the system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account.
	SystemMaxDegreeOfParallelism *int32 `json:"systemMaxDegreeOfParallelism,omitempty"`
	// SystemMaxJobCount - the system defined maximum supported jobs running under the account at the same time, which restricts the maximum number of running jobs the user can set for the account.
	SystemMaxJobCount *int32 `json:"systemMaxJobCount,omitempty"`
	// DataLakeStoreAccounts - the list of Data Lake storage accounts associated with this account.
	DataLakeStoreAccounts *[]DataLakeStoreAccountInfo `json:"dataLakeStoreAccounts,omitempty"`
	// StorageAccounts - the list of Azure Blob storage accounts associated with this account.
	StorageAccounts *[]StorageAccountInfo `json:"storageAccounts,omitempty"`
	// NewTier - the commitment tier for the next month. Possible values include: 'Consumption', 'Commitment100AUHours', 'Commitment500AUHours', 'Commitment1000AUHours', 'Commitment5000AUHours', 'Commitment10000AUHours', 'Commitment50000AUHours', 'Commitment100000AUHours', 'Commitment500000AUHours'
	NewTier TierType `json:"newTier,omitempty"`
	// CurrentTier - the commitment tier in use for the current month. Possible values include: 'Consumption', 'Commitment100AUHours', 'Commitment500AUHours', 'Commitment1000AUHours', 'Commitment5000AUHours', 'Commitment10000AUHours', 'Commitment50000AUHours', 'Commitment100000AUHours', 'Commitment500000AUHours'
	CurrentTier TierType `json:"currentTier,omitempty"`
	// FirewallState - The current state of the IP address firewall for this Data Lake Analytics account. Possible values include: 'FirewallStateEnabled', 'FirewallStateDisabled'
	FirewallState FirewallState `json:"firewallState,omitempty"`
	// FirewallAllowAzureIps - The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: 'Enabled', 'Disabled'
	FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
	// FirewallRules - The list of firewall rules associated with this Data Lake Analytics account.
	FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"`
	// MaxDegreeOfParallelismPerJob - the maximum supported degree of parallelism per job for this account.
	MaxDegreeOfParallelismPerJob *int32 `json:"maxDegreeOfParallelismPerJob,omitempty"`
	// MinPriorityPerJob - the minimum supported priority per job for this account.
	MinPriorityPerJob *int32 `json:"minPriorityPerJob,omitempty"`
	// ComputePolicies - the list of compute policies to create in this account.
	ComputePolicies *[]ComputePolicyAccountCreateParameters `json:"computePolicies,omitempty"`
}

DataLakeAnalyticsAccountProperties 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 - the provisioning status of the Data Lake Analytics account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
	ProvisioningState DataLakeAnalyticsAccountStatus `json:"provisioningState,omitempty"`
	// State - the state of the Data Lake Analytics account. Possible values include: 'Active', 'Suspended'
	State DataLakeAnalyticsAccountState `json:"state,omitempty"`
	// CreationTime - the account creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - the account last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Endpoint - the full CName endpoint for this account.
	Endpoint *string `json:"endpoint,omitempty"`
	// AccountID - The unique identifier associated with this Data Lake Analytics account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
}

DataLakeAnalyticsAccountPropertiesBasic 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 ...
	Active DataLakeAnalyticsAccountState = "Active"
	// Suspended ...
	Suspended DataLakeAnalyticsAccountState = "Suspended"
)

type DataLakeAnalyticsAccountStatus

type DataLakeAnalyticsAccountStatus string

DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.

const (
	// Canceled ...
	Canceled DataLakeAnalyticsAccountStatus = "Canceled"
	// Creating ...
	Creating DataLakeAnalyticsAccountStatus = "Creating"
	// Deleted ...
	Deleted DataLakeAnalyticsAccountStatus = "Deleted"
	// Deleting ...
	Deleting DataLakeAnalyticsAccountStatus = "Deleting"
	// Failed ...
	Failed DataLakeAnalyticsAccountStatus = "Failed"
	// Patching ...
	Patching DataLakeAnalyticsAccountStatus = "Patching"
	// Resuming ...
	Resuming DataLakeAnalyticsAccountStatus = "Resuming"
	// Running ...
	Running DataLakeAnalyticsAccountStatus = "Running"
	// Succeeded ...
	Succeeded DataLakeAnalyticsAccountStatus = "Succeeded"
	// Suspending ...
	Suspending DataLakeAnalyticsAccountStatus = "Suspending"
	// Undeleting ...
	Undeleting DataLakeAnalyticsAccountStatus = "Undeleting"
)

type DataLakeAnalyticsAccountUpdateParameters

type DataLakeAnalyticsAccountUpdateParameters struct {
	// Tags - Resource tags
	Tags *map[string]*string `json:"tags,omitempty"`
	// UpdateDataLakeAnalyticsAccountProperties - The properties that can be updated in an existing Data Lake Analytics account.
	*UpdateDataLakeAnalyticsAccountProperties `json:"properties,omitempty"`
}

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

func (*DataLakeAnalyticsAccountUpdateParameters) UnmarshalJSON

func (dlaaup *DataLakeAnalyticsAccountUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccountUpdateParameters struct.

type DataLakeAnalyticsFirewallRuleListResult

type DataLakeAnalyticsFirewallRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]FirewallRule `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeAnalyticsFirewallRuleListResult data Lake Analytics firewall rule list information.

func (DataLakeAnalyticsFirewallRuleListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeAnalyticsFirewallRuleListResultIterator

type DataLakeAnalyticsFirewallRuleListResultIterator struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsFirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.

func (*DataLakeAnalyticsFirewallRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DataLakeAnalyticsFirewallRuleListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DataLakeAnalyticsFirewallRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsFirewallRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DataLakeAnalyticsFirewallRuleListResultPage

type DataLakeAnalyticsFirewallRuleListResultPage struct {
	// contains filtered or unexported fields
}

DataLakeAnalyticsFirewallRuleListResultPage contains a page of FirewallRule values.

func (*DataLakeAnalyticsFirewallRuleListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeAnalyticsFirewallRuleListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DataLakeAnalyticsFirewallRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (DataLakeAnalyticsFirewallRuleListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DataLakeStoreAccountInfo

type DataLakeStoreAccountInfo struct {
	autorest.Response `json:"-"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// DataLakeStoreAccountInfoProperties - the properties associated with this Data Lake Store account.
	*DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}

DataLakeStoreAccountInfo data Lake Store account information.

func (*DataLakeStoreAccountInfo) UnmarshalJSON

func (dlsai *DataLakeStoreAccountInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccountInfo struct.

type DataLakeStoreAccountInfoProperties

type DataLakeStoreAccountInfoProperties struct {
	// Suffix - the optional suffix for the Data Lake Store account.
	Suffix *string `json:"suffix,omitempty"`
}

DataLakeStoreAccountInfoProperties data Lake Store account properties information.

type DataLakeStoreAccountsClient

type DataLakeStoreAccountsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListDataLakeStoreResultPage, 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(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListDataLakeStoreResultIterator, err error)

ListByAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (DataLakeStoreAccountsClient) ListByAccountPreparer

func (client DataLakeStoreAccountsClient) ListByAccountPreparer(ctx context.Context, 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 ...
	Disabled FirewallAllowAzureIpsState = "Disabled"
	// Enabled ...
	Enabled FirewallAllowAzureIpsState = "Enabled"
)

type FirewallRule

type FirewallRule struct {
	autorest.Response `json:"-"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// FirewallRuleProperties - the properties of the firewall rule.
	*FirewallRuleProperties `json:"properties,omitempty"`
}

FirewallRule data Lake Analytics firewall rule information

func (*FirewallRule) UnmarshalJSON

func (fr *FirewallRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallRule struct.

type FirewallRuleProperties

type FirewallRuleProperties struct {
	// StartIPAddress - the start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	// EndIPAddress - the end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	EndIPAddress *string `json:"endIpAddress,omitempty"`
}

FirewallRuleProperties data Lake Analytics firewall rule properties information

type FirewallRulesClient

type FirewallRulesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeAnalyticsFirewallRuleListResultPage, 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(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeAnalyticsFirewallRuleListResultIterator, err error)

ListByAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (FirewallRulesClient) ListByAccountPreparer

func (client FirewallRulesClient) ListByAccountPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ...
	FirewallStateDisabled FirewallState = "Disabled"
	// FirewallStateEnabled ...
	FirewallStateEnabled FirewallState = "Enabled"
)

type ListSasTokensResult

type ListSasTokensResult struct {
	autorest.Response `json:"-"`
	Value             *[]SasTokenInfo `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ListSasTokensResult the SAS response that contains the storage account, container and associated SAS token for connection use.

func (ListSasTokensResult) IsEmpty

func (lstr ListSasTokensResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListSasTokensResultIterator

type ListSasTokensResultIterator struct {
	// contains filtered or unexported fields
}

ListSasTokensResultIterator provides access to a complete listing of SasTokenInfo values.

func (*ListSasTokensResultIterator) Next

func (iter *ListSasTokensResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListSasTokensResultIterator) NotDone

func (iter ListSasTokensResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListSasTokensResultIterator) Response

Response returns the raw server response from the last page request.

func (ListSasTokensResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListSasTokensResultPage

type ListSasTokensResultPage struct {
	// contains filtered or unexported fields
}

ListSasTokensResultPage contains a page of SasTokenInfo values.

func (*ListSasTokensResultPage) Next

func (page *ListSasTokensResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListSasTokensResultPage) NotDone

func (page ListSasTokensResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListSasTokensResultPage) Response

Response returns the raw server response from the last page request.

func (ListSasTokensResultPage) Values

func (page ListSasTokensResultPage) Values() []SasTokenInfo

Values returns the slice of values for the current page or nil if there are no values.

type ListStorageContainersResult

type ListStorageContainersResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]StorageContainer `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

func (ListStorageContainersResult) IsEmpty

func (lscr ListStorageContainersResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListStorageContainersResultIterator

type ListStorageContainersResultIterator struct {
	// contains filtered or unexported fields
}

ListStorageContainersResultIterator provides access to a complete listing of StorageContainer values.

func (*ListStorageContainersResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListStorageContainersResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListStorageContainersResultIterator) Response

Response returns the raw server response from the last page request.

func (ListStorageContainersResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListStorageContainersResultPage

type ListStorageContainersResultPage struct {
	// contains filtered or unexported fields
}

ListStorageContainersResultPage contains a page of StorageContainer values.

func (*ListStorageContainersResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListStorageContainersResultPage) NotDone

func (page ListStorageContainersResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListStorageContainersResultPage) Response

Response returns the raw server response from the last page request.

func (ListStorageContainersResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type LocationsClient

type LocationsClient struct {
	BaseClient
}

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

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.

func (LocationsClient) GetCapability

func (client LocationsClient) GetCapability(ctx context.Context, location string) (result CapabilityInformation, err error)

GetCapability gets subscription-level properties and limits for Data Lake Analytics specified by Resource location.

location is the Resource location without whitespace.

func (LocationsClient) GetCapabilityPreparer

func (client LocationsClient) GetCapabilityPreparer(ctx context.Context, location string) (*http.Request, error)

GetCapabilityPreparer prepares the GetCapability request.

func (LocationsClient) GetCapabilityResponder

func (client LocationsClient) GetCapabilityResponder(resp *http.Response) (result CapabilityInformation, err error)

GetCapabilityResponder handles the response to the GetCapability request. The method always closes the http.Response Body.

func (LocationsClient) GetCapabilitySender

func (client LocationsClient) GetCapabilitySender(req *http.Request) (*http.Response, error)

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

type NameAvailabilityInformation

type NameAvailabilityInformation struct {
	autorest.Response `json:"-"`
	// NameAvailable - the Boolean value of true or false to indicate whether the Data Lake Analytics account name is available or not.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - the reason why the Data Lake Analytics account name is not available, if nameAvailable is false.
	Reason *string `json:"reason,omitempty"`
	// Message - the message describing why the Data Lake Analytics account name is not available, if nameAvailable is false.
	Message *string `json:"message,omitempty"`
}

NameAvailabilityInformation data Lake Analytics account name availability result information

type Operation

type Operation struct {
	// Name - the name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - the display information for the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - the intended executor of the operation. Possible values include: 'OperationOriginUser', 'OperationOriginSystem', 'OperationOriginUsersystem'
	Origin OperationOrigin `json:"origin,omitempty"`
}

Operation an available operation for Data Lake Analytics

type OperationDisplay

type OperationDisplay struct {
	// Provider - the Resource provider of the operation.
	Provider *string `json:"provider,omitempty"`
	// Resource - the Resource type of the operation.
	Resource *string `json:"resource,omitempty"`
	// Operation - a friendly name of the operation.
	Operation *string `json:"operation,omitempty"`
	// Description - a friendly description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay the display information for a particular operation

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult the list of available operations for Data Lake Analytics

type OperationOrigin

type OperationOrigin string

OperationOrigin enumerates the values for operation origin.

const (
	// OperationOriginSystem ...
	OperationOriginSystem OperationOrigin = "system"
	// OperationOriginUser ...
	OperationOriginUser OperationOrigin = "user"
	// OperationOriginUsersystem ...
	OperationOriginUsersystem OperationOrigin = "user,system"
)

type OperationsClient

type OperationsClient struct {
	BaseClient
}

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

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available Data Lake Analytics REST API operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

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

type OptionalSubResource

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

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

type Resource

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

Resource the Resource model definition.

type SasTokenInfo

type SasTokenInfo struct {
	// AccessToken - the access token for the associated Azure Storage Container.
	AccessToken *string `json:"accessToken,omitempty"`
}

SasTokenInfo SAS token information.

type StorageAccountInfo

type StorageAccountInfo struct {
	autorest.Response `json:"-"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// StorageAccountProperties - the properties associated with this storage account.
	*StorageAccountProperties `json:"properties,omitempty"`
}

StorageAccountInfo azure Storage account information.

func (*StorageAccountInfo) UnmarshalJSON

func (sai *StorageAccountInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageAccountInfo struct.

type StorageAccountProperties

type StorageAccountProperties struct {
	// AccessKey - the access key associated with this Azure Storage account that will be used to connect to it.
	AccessKey *string `json:"accessKey,omitempty"`
	// Suffix - the optional suffix for the storage account.
	Suffix *string `json:"suffix,omitempty"`
}

StorageAccountProperties azure Storage account properties information.

type StorageAccountsClient

type StorageAccountsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListStorageAccountsResultPage, 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(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListStorageAccountsResultIterator, err error)

ListByAccountComplete enumerates all values, automatically crossing page boundaries as required.

func (StorageAccountsClient) ListByAccountPreparer

func (client StorageAccountsClient) ListByAccountPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result ListSasTokensResultPage, err error)

ListSasTokens gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.

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(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (result ListSasTokensResultIterator, err error)

ListSasTokensComplete enumerates all values, automatically crossing page boundaries as required.

func (StorageAccountsClient) ListSasTokensPreparer

func (client StorageAccountsClient) ListSasTokensPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result ListStorageContainersResultPage, 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(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (result ListStorageContainersResultIterator, err error)

ListStorageContainersComplete enumerates all values, automatically crossing page boundaries as required.

func (StorageAccountsClient) ListStorageContainersPreparer

func (client StorageAccountsClient) ListStorageContainersPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - the unique identifier of the blob container.
	ID *string `json:"id,omitempty"`
	// Name - the name of the blob container.
	Name *string `json:"name,omitempty"`
	// Type - the type of the blob container.
	Type *string `json:"type,omitempty"`
	// StorageContainerProperties - the properties of the blob container.
	*StorageContainerProperties `json:"properties,omitempty"`
}

StorageContainer azure Storage blob container information.

func (*StorageContainer) UnmarshalJSON

func (sc *StorageContainer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageContainer struct.

type StorageContainerProperties

type StorageContainerProperties struct {
	// LastModifiedTime - the last modified time of the blob container.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}

StorageContainerProperties azure Storage blob container properties information.

type SubResource

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

SubResource the Sub Resource model definition.

type SubscriptionState

type SubscriptionState string

SubscriptionState enumerates the values for subscription state.

const (
	// SubscriptionStateDeleted ...
	SubscriptionStateDeleted SubscriptionState = "Deleted"
	// SubscriptionStateRegistered ...
	SubscriptionStateRegistered SubscriptionState = "Registered"
	// SubscriptionStateSuspended ...
	SubscriptionStateSuspended SubscriptionState = "Suspended"
	// SubscriptionStateUnregistered ...
	SubscriptionStateUnregistered SubscriptionState = "Unregistered"
	// SubscriptionStateWarned ...
	SubscriptionStateWarned SubscriptionState = "Warned"
)

type TierType

type TierType string

TierType enumerates the values for tier type.

const (
	// Commitment100000AUHours ...
	Commitment100000AUHours TierType = "Commitment_100000AUHours"
	// Commitment10000AUHours ...
	Commitment10000AUHours TierType = "Commitment_10000AUHours"
	// Commitment1000AUHours ...
	Commitment1000AUHours TierType = "Commitment_1000AUHours"
	// Commitment100AUHours ...
	Commitment100AUHours TierType = "Commitment_100AUHours"
	// Commitment500000AUHours ...
	Commitment500000AUHours TierType = "Commitment_500000AUHours"
	// Commitment50000AUHours ...
	Commitment50000AUHours TierType = "Commitment_50000AUHours"
	// Commitment5000AUHours ...
	Commitment5000AUHours TierType = "Commitment_5000AUHours"
	// Commitment500AUHours ...
	Commitment500AUHours TierType = "Commitment_500AUHours"
	// Consumption ...
	Consumption TierType = "Consumption"
)

type UpdateDataLakeAnalyticsAccountProperties

type UpdateDataLakeAnalyticsAccountProperties struct {
	// MaxDegreeOfParallelism - the maximum supported degree of parallelism for this account.
	MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"`
	// QueryStoreRetention - the number of days that job metadata is retained.
	QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"`
	// MaxJobCount - the maximum supported jobs running under the account at the same time.
	MaxJobCount *int32 `json:"maxJobCount,omitempty"`
	// NewTier - the commitment tier to use for next month. Possible values include: 'Consumption', 'Commitment100AUHours', 'Commitment500AUHours', 'Commitment1000AUHours', 'Commitment5000AUHours', 'Commitment10000AUHours', 'Commitment50000AUHours', 'Commitment100000AUHours', 'Commitment500000AUHours'
	NewTier TierType `json:"newTier,omitempty"`
	// FirewallState - The current state of the IP address firewall for this Data Lake Analytics account. Possible values include: 'FirewallStateEnabled', 'FirewallStateDisabled'
	FirewallState FirewallState `json:"firewallState,omitempty"`
	// FirewallAllowAzureIps - The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: 'Enabled', 'Disabled'
	FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
	// FirewallRules - The list of firewall rules associated with this Data Lake Analytics account.
	FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"`
	// MaxDegreeOfParallelismPerJob - the maximum supported degree of parallelism per job for this account.
	MaxDegreeOfParallelismPerJob *int32 `json:"maxDegreeOfParallelismPerJob,omitempty"`
	// MinPriorityPerJob - the minimum supported priority per job for this account.
	MinPriorityPerJob *int32 `json:"minPriorityPerJob,omitempty"`
	// ComputePolicies - the list of existing compute policies to update in this account.
	ComputePolicies *[]ComputePolicy `json:"computePolicies,omitempty"`
}

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

type UpdateFirewallRuleParameters

type UpdateFirewallRuleParameters struct {
	// UpdateFirewallRuleProperties - the properties of the firewall rule to update.
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters data Lake Analytics firewall rule update parameters

func (*UpdateFirewallRuleParameters) UnmarshalJSON

func (ufrp *UpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleParameters struct.

type UpdateFirewallRuleProperties

type UpdateFirewallRuleProperties struct {
	// StartIPAddress - the start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	// EndIPAddress - the end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	EndIPAddress *string `json:"endIpAddress,omitempty"`
}

UpdateFirewallRuleProperties data Lake Analytics firewall rule properties information

type UpdateStorageAccountParameters

type UpdateStorageAccountParameters struct {
	// UpdateStorageAccountProperties - the properties for the Azure Storage account being updated.
	*UpdateStorageAccountProperties `json:"properties,omitempty"`
}

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

func (*UpdateStorageAccountParameters) UnmarshalJSON

func (usap *UpdateStorageAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateStorageAccountParameters struct.

type UpdateStorageAccountProperties

type UpdateStorageAccountProperties struct {
	// AccessKey - the updated access key associated with this Azure Storage account that will be used to connect to it.
	AccessKey *string `json:"accessKey,omitempty"`
	// Suffix - the optional suffix for the storage account.
	Suffix *string `json:"suffix,omitempty"`
}

UpdateStorageAccountProperties 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