account

package
v24.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 11 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"
)

func PossibleAADObjectTypeValues

func PossibleAADObjectTypeValues() []AADObjectType

PossibleAADObjectTypeValues returns an array of possible values for the AADObjectType const type.

type AccountsClient

type AccountsClient struct {
	BaseClient
}

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

func NewAccountsClient

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.

func (AccountsClient) CheckNameAvailability

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

CheckNameAvailability checks whether the specified account name is available or taken. Parameters: location - the resource location without whitespace. parameters - parameters supplied to check the Data Lake Analytics account name availability.

func (AccountsClient) CheckNameAvailabilityPreparer

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (AccountsClient) CheckNameAvailabilityResponder

func (client AccountsClient) 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 (AccountsClient) CheckNameAvailabilitySender

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

func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, parameters CreateDataLakeAnalyticsAccountParameters) (result AccountsCreateFutureType, err error)

Create creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. parameters - parameters supplied to create a new Data Lake Analytics account.

func (AccountsClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (AccountsClient) CreateResponder

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

func (client AccountsClient) CreateSender(req *http.Request) (future AccountsCreateFutureType, err error)

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

func (AccountsClient) Delete

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

Delete begins the delete process for the Data Lake Analytics account object specified by the account name. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account.

func (AccountsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder

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

func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDeleteFutureType, err error)

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

func (AccountsClient) Get

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

Get gets details of the specified Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account.

func (AccountsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

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

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

func (client AccountsClient) 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. Parameters: filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - 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 - 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 (AccountsClient) ListByResourceGroup

func (client AccountsClient) 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. Parameters: resourceGroupName - the name of the Azure resource group. filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - 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 - 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 (AccountsClient) ListByResourceGroupComplete

func (client AccountsClient) 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 (AccountsClient) ListByResourceGroupPreparer

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

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

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

func (client AccountsClient) 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 (AccountsClient) ListPreparer

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

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

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

func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters *UpdateDataLakeAnalyticsAccountParameters) (result AccountsUpdateFutureType, err error)

Update updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. parameters - parameters supplied to the update Data Lake Analytics account operation.

func (AccountsClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder

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

func (client AccountsClient) UpdateSender(req *http.Request) (future AccountsUpdateFutureType, err error)

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

type AccountsCreateFutureType

type AccountsCreateFutureType struct {
	azure.Future
}

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

func (*AccountsCreateFutureType) Result

func (future *AccountsCreateFutureType) Result(client AccountsClient) (dlaa DataLakeAnalyticsAccount, err error)

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

type AccountsDeleteFutureType

type AccountsDeleteFutureType struct {
	azure.Future
}

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

func (*AccountsDeleteFutureType) Result

func (future *AccountsDeleteFutureType) Result(client AccountsClient) (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 AccountsUpdateFutureType

type AccountsUpdateFutureType struct {
	azure.Future
}

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

func (*AccountsUpdateFutureType) Result

func (future *AccountsUpdateFutureType) Result(client AccountsClient) (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 {
	// AddDataLakeStoreProperties - The Data Lake Store account properties to use when adding a new Data Lake Store account.
	*AddDataLakeStoreProperties `json:"properties,omitempty"`
}

AddDataLakeStoreParameters the parameters used to add a new Data Lake Store account.

func (AddDataLakeStoreParameters) MarshalJSON

func (adlsp AddDataLakeStoreParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddDataLakeStoreParameters.

func (*AddDataLakeStoreParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AddDataLakeStoreParameters struct.

type AddDataLakeStoreProperties

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

AddDataLakeStoreProperties the Data Lake Store account properties to use when adding a new Data Lake Store account.

type AddDataLakeStoreWithAccountParameters

type AddDataLakeStoreWithAccountParameters struct {
	// Name - The unique name of the Data Lake Store account to add.
	Name *string `json:"name,omitempty"`
	// AddDataLakeStoreProperties - The Data Lake Store account properties to use when adding a new Data Lake Store account.
	*AddDataLakeStoreProperties `json:"properties,omitempty"`
}

AddDataLakeStoreWithAccountParameters the parameters used to add a new Data Lake Store account while creating a new Data Lake Analytics account.

func (AddDataLakeStoreWithAccountParameters) MarshalJSON

func (adlswap AddDataLakeStoreWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddDataLakeStoreWithAccountParameters.

func (*AddDataLakeStoreWithAccountParameters) UnmarshalJSON

func (adlswap *AddDataLakeStoreWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AddDataLakeStoreWithAccountParameters struct.

type AddStorageAccountParameters

type AddStorageAccountParameters struct {
	// AddStorageAccountProperties - The Azure Storage account properties to use when adding a new Azure Storage account.
	*AddStorageAccountProperties `json:"properties,omitempty"`
}

AddStorageAccountParameters the parameters used to add a new Azure Storage account.

func (AddStorageAccountParameters) MarshalJSON

func (asap AddStorageAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddStorageAccountParameters.

func (*AddStorageAccountParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AddStorageAccountParameters struct.

type AddStorageAccountProperties

type AddStorageAccountProperties 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"`
}

AddStorageAccountProperties the Azure Storage account properties to use when adding a new Azure Storage account.

type AddStorageAccountWithAccountParameters

type AddStorageAccountWithAccountParameters struct {
	// Name - The unique name of the Azure Storage account to add.
	Name *string `json:"name,omitempty"`
	// AddStorageAccountProperties - The Azure Storage account properties to use when adding a new Azure Storage account.
	*AddStorageAccountProperties `json:"properties,omitempty"`
}

AddStorageAccountWithAccountParameters the parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account.

func (AddStorageAccountWithAccountParameters) MarshalJSON

func (asawap AddStorageAccountWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddStorageAccountWithAccountParameters.

func (*AddStorageAccountWithAccountParameters) UnmarshalJSON

func (asawap *AddStorageAccountWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AddStorageAccountWithAccountParameters 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 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 CreateOrUpdateComputePolicyParameters) (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 Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. computePolicyName - the name of the compute policy to create or update. parameters - 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 CreateOrUpdateComputePolicyParameters) (*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 Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. computePolicyName - 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. computePolicyName - 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 Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account.

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 *UpdateComputePolicyParameters) (result ComputePolicy, err error)

Update updates the specified compute policy. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. computePolicyName - the name of the compute policy to update. parameters - parameters supplied to update the compute policy.

func (ComputePoliciesClient) UpdatePreparer

func (client ComputePoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string, parameters *UpdateComputePolicyParameters) (*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:"-"`
	// ComputePolicyProperties - The compute policy properties.
	*ComputePolicyProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

ComputePolicy data Lake Analytics compute policy information.

func (ComputePolicy) MarshalJSON

func (cp ComputePolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ComputePolicy.

func (*ComputePolicy) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ComputePolicy 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 NewComputePolicyListResultIterator

func NewComputePolicyListResultIterator(page ComputePolicyListResultPage) ComputePolicyListResultIterator

Creates a new instance of the ComputePolicyListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*ComputePolicyListResultIterator) NextWithContext

func (iter *ComputePolicyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewComputePolicyListResultPage

func NewComputePolicyListResultPage(getNextPage func(context.Context, ComputePolicyListResult) (ComputePolicyListResult, error)) ComputePolicyListResultPage

Creates a new instance of the ComputePolicyListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*ComputePolicyListResultPage) NextWithContext

func (page *ComputePolicyListResultPage) NextWithContext(ctx context.Context) (err error)

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

type CreateComputePolicyWithAccountParameters

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

CreateComputePolicyWithAccountParameters the parameters used to create a new compute policy while creating a new Data Lake Analytics account.

func (CreateComputePolicyWithAccountParameters) MarshalJSON

func (ccpwap CreateComputePolicyWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateComputePolicyWithAccountParameters.

func (*CreateComputePolicyWithAccountParameters) UnmarshalJSON

func (ccpwap *CreateComputePolicyWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateComputePolicyWithAccountParameters struct.

type CreateDataLakeAnalyticsAccountParameters

type CreateDataLakeAnalyticsAccountParameters struct {
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
	// CreateDataLakeAnalyticsAccountProperties - The Data Lake Analytics account properties to use for creating.
	*CreateDataLakeAnalyticsAccountProperties `json:"properties,omitempty"`
}

CreateDataLakeAnalyticsAccountParameters the parameters to use for creating a Data Lake Analytics account.

func (CreateDataLakeAnalyticsAccountParameters) MarshalJSON

func (cdlaap CreateDataLakeAnalyticsAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateDataLakeAnalyticsAccountParameters.

func (*CreateDataLakeAnalyticsAccountParameters) UnmarshalJSON

func (cdlaap *CreateDataLakeAnalyticsAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateDataLakeAnalyticsAccountParameters struct.

type CreateDataLakeAnalyticsAccountProperties

type CreateDataLakeAnalyticsAccountProperties struct {
	// DefaultDataLakeStoreAccount - The default Data Lake Store account associated with this account.
	DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"`
	// DataLakeStoreAccounts - The list of Data Lake Store accounts associated with this account.
	DataLakeStoreAccounts *[]AddDataLakeStoreWithAccountParameters `json:"dataLakeStoreAccounts,omitempty"`
	// StorageAccounts - The list of Azure Blob Storage accounts associated with this account.
	StorageAccounts *[]AddStorageAccountWithAccountParameters `json:"storageAccounts,omitempty"`
	// ComputePolicies - The list of compute policies associated with this account.
	ComputePolicies *[]CreateComputePolicyWithAccountParameters `json:"computePolicies,omitempty"`
	// FirewallRules - The list of firewall rules associated with this account.
	FirewallRules *[]CreateFirewallRuleWithAccountParameters `json:"firewallRules,omitempty"`
	// FirewallState - The current state of the IP address firewall for this 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"`
	// 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"`
	// MaxJobCount - The maximum supported jobs running under the account at the same time.
	MaxJobCount *int32 `json:"maxJobCount,omitempty"`
	// MaxDegreeOfParallelism - The maximum supported degree of parallelism for this account.
	MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,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"`
	// QueryStoreRetention - The number of days that job metadata is retained.
	QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"`
}

CreateDataLakeAnalyticsAccountProperties ...

type CreateFirewallRuleWithAccountParameters

type CreateFirewallRuleWithAccountParameters struct {
	// Name - The unique name of the firewall rule to create.
	Name *string `json:"name,omitempty"`
	// CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule.
	*CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"`
}

CreateFirewallRuleWithAccountParameters the parameters used to create a new firewall rule while creating a new Data Lake Analytics account.

func (CreateFirewallRuleWithAccountParameters) MarshalJSON

func (cfrwap CreateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateFirewallRuleWithAccountParameters.

func (*CreateFirewallRuleWithAccountParameters) UnmarshalJSON

func (cfrwap *CreateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateFirewallRuleWithAccountParameters struct.

type CreateOrUpdateComputePolicyParameters

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

CreateOrUpdateComputePolicyParameters the parameters used to create a new compute policy.

func (CreateOrUpdateComputePolicyParameters) MarshalJSON

func (coucpp CreateOrUpdateComputePolicyParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateOrUpdateComputePolicyParameters.

func (*CreateOrUpdateComputePolicyParameters) UnmarshalJSON

func (coucpp *CreateOrUpdateComputePolicyParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateOrUpdateComputePolicyParameters struct.

type CreateOrUpdateComputePolicyProperties

type CreateOrUpdateComputePolicyProperties 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"`
}

CreateOrUpdateComputePolicyProperties the compute policy properties to use when creating a new compute policy.

type CreateOrUpdateFirewallRuleParameters

type CreateOrUpdateFirewallRuleParameters struct {
	// CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule.
	*CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"`
}

CreateOrUpdateFirewallRuleParameters the parameters used to create a new firewall rule.

func (CreateOrUpdateFirewallRuleParameters) MarshalJSON

func (coufrp CreateOrUpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateOrUpdateFirewallRuleParameters.

func (*CreateOrUpdateFirewallRuleParameters) UnmarshalJSON

func (coufrp *CreateOrUpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateOrUpdateFirewallRuleParameters struct.

type CreateOrUpdateFirewallRuleProperties

type CreateOrUpdateFirewallRuleProperties 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"`
}

CreateOrUpdateFirewallRuleProperties the firewall rule properties to use when creating a new firewall rule.

type DataLakeAnalyticsAccount

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

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

func (DataLakeAnalyticsAccount) MarshalJSON

func (dlaa DataLakeAnalyticsAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeAnalyticsAccount.

func (*DataLakeAnalyticsAccount) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccount struct.

type DataLakeAnalyticsAccountBasic

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

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

func (DataLakeAnalyticsAccountBasic) MarshalJSON

func (dlaab DataLakeAnalyticsAccountBasic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountBasic.

func (*DataLakeAnalyticsAccountBasic) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccountBasic struct.

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 data Lake Analytics 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 NewDataLakeAnalyticsAccountListResultIterator

func NewDataLakeAnalyticsAccountListResultIterator(page DataLakeAnalyticsAccountListResultPage) DataLakeAnalyticsAccountListResultIterator

Creates a new instance of the DataLakeAnalyticsAccountListResultIterator type.

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. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListResultIterator) NextWithContext

func (iter *DataLakeAnalyticsAccountListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 NewDataLakeAnalyticsAccountListResultPage

Creates a new instance of the DataLakeAnalyticsAccountListResultPage type.

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. Deprecated: Use NextWithContext() instead.

func (*DataLakeAnalyticsAccountListResultPage) NextWithContext

func (page *DataLakeAnalyticsAccountListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 DataLakeAnalyticsAccountProperties

type DataLakeAnalyticsAccountProperties struct {
	// DefaultDataLakeStoreAccount - The default Data Lake Store account associated with this account.
	DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"`
	// DataLakeStoreAccounts - The list of Data Lake Store accounts associated with this account.
	DataLakeStoreAccounts *[]DataLakeStoreAccountInformation `json:"dataLakeStoreAccounts,omitempty"`
	// StorageAccounts - The list of Azure Blob Storage accounts associated with this account.
	StorageAccounts *[]StorageAccountInformation `json:"storageAccounts,omitempty"`
	// ComputePolicies - The list of compute policies associated with this account.
	ComputePolicies *[]ComputePolicy `json:"computePolicies,omitempty"`
	// FirewallRules - The list of firewall rules associated with this account.
	FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"`
	// FirewallState - The current state of the IP address firewall for this 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"`
	// 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"`
	// MaxJobCount - The maximum supported jobs running under the account at the same time.
	MaxJobCount *int32 `json:"maxJobCount,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"`
	// MaxDegreeOfParallelism - The maximum supported degree of parallelism for this account.
	MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,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"`
	// 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"`
	// QueryStoreRetention - The number of days that job metadata is retained.
	QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"`
	// AccountID - The unique identifier associated with this Data Lake Analytics account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
	// 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"`
}

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 {
	// AccountID - The unique identifier associated with this Data Lake Analytics account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
	// 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"`
}

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

func PossibleDataLakeAnalyticsAccountStateValues

func PossibleDataLakeAnalyticsAccountStateValues() []DataLakeAnalyticsAccountState

PossibleDataLakeAnalyticsAccountStateValues returns an array of possible values for the DataLakeAnalyticsAccountState const type.

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

func PossibleDataLakeAnalyticsAccountStatusValues

func PossibleDataLakeAnalyticsAccountStatusValues() []DataLakeAnalyticsAccountStatus

PossibleDataLakeAnalyticsAccountStatusValues returns an array of possible values for the DataLakeAnalyticsAccountStatus const type.

type DataLakeStoreAccountInformation

type DataLakeStoreAccountInformation struct {
	autorest.Response `json:"-"`
	// DataLakeStoreAccountInformationProperties - The Data Lake Store account properties.
	*DataLakeStoreAccountInformationProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

DataLakeStoreAccountInformation data Lake Store account information.

func (DataLakeStoreAccountInformation) MarshalJSON

func (dlsai DataLakeStoreAccountInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeStoreAccountInformation.

func (*DataLakeStoreAccountInformation) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccountInformation struct.

type DataLakeStoreAccountInformationListResult

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

DataLakeStoreAccountInformationListResult data Lake Store account list information.

func (DataLakeStoreAccountInformationListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreAccountInformationListResultIterator

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

DataLakeStoreAccountInformationListResultIterator provides access to a complete listing of DataLakeStoreAccountInformation values.

func NewDataLakeStoreAccountInformationListResultIterator

func NewDataLakeStoreAccountInformationListResultIterator(page DataLakeStoreAccountInformationListResultPage) DataLakeStoreAccountInformationListResultIterator

Creates a new instance of the DataLakeStoreAccountInformationListResultIterator type.

func (*DataLakeStoreAccountInformationListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*DataLakeStoreAccountInformationListResultIterator) NextWithContext

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

func (DataLakeStoreAccountInformationListResultIterator) NotDone

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

func (DataLakeStoreAccountInformationListResultIterator) Response

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

func (DataLakeStoreAccountInformationListResultIterator) Value

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

type DataLakeStoreAccountInformationListResultPage

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

DataLakeStoreAccountInformationListResultPage contains a page of DataLakeStoreAccountInformation values.

func NewDataLakeStoreAccountInformationListResultPage

Creates a new instance of the DataLakeStoreAccountInformationListResultPage type.

func (*DataLakeStoreAccountInformationListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*DataLakeStoreAccountInformationListResultPage) NextWithContext

func (page *DataLakeStoreAccountInformationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (DataLakeStoreAccountInformationListResultPage) NotDone

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

func (DataLakeStoreAccountInformationListResultPage) Response

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

func (DataLakeStoreAccountInformationListResultPage) Values

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

type DataLakeStoreAccountInformationProperties

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

DataLakeStoreAccountInformationProperties the Data Lake Store account properties.

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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. dataLakeStoreAccountName - the name of the Data Lake Store account to add. parameters - 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. dataLakeStoreAccountName - 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 DataLakeStoreAccountInformation, err error)

Get gets the specified Data Lake Store account details in the specified Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. dataLakeStoreAccountName - 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 DataLakeStoreAccountInformation, 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 DataLakeStoreAccountInformationListResultPage, 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - 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 - 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 DataLakeStoreAccountInformationListResultIterator, 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 DataLakeStoreAccountInformationListResult, 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"
)

func PossibleFirewallAllowAzureIpsStateValues

func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState

PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.

type FirewallRule

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

FirewallRule data Lake Analytics firewall rule information.

func (FirewallRule) MarshalJSON

func (fr FirewallRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallRule.

func (*FirewallRule) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for FirewallRule struct.

type FirewallRuleListResult

type FirewallRuleListResult 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"`
}

FirewallRuleListResult data Lake Analytics firewall rule list information.

func (FirewallRuleListResult) IsEmpty

func (frlr FirewallRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FirewallRuleListResultIterator

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

FirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.

func NewFirewallRuleListResultIterator

func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator

Creates a new instance of the FirewallRuleListResultIterator type.

func (*FirewallRuleListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*FirewallRuleListResultIterator) NextWithContext

func (iter *FirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

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

func (FirewallRuleListResultIterator) NotDone

func (iter FirewallRuleListResultIterator) NotDone() bool

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

func (FirewallRuleListResultIterator) Response

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

func (FirewallRuleListResultIterator) Value

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

type FirewallRuleListResultPage

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

FirewallRuleListResultPage contains a page of FirewallRule values.

func NewFirewallRuleListResultPage

func NewFirewallRuleListResultPage(getNextPage func(context.Context, FirewallRuleListResult) (FirewallRuleListResult, error)) FirewallRuleListResultPage

Creates a new instance of the FirewallRuleListResultPage type.

func (*FirewallRuleListResultPage) Next

func (page *FirewallRuleListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*FirewallRuleListResultPage) NextWithContext

func (page *FirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (FirewallRuleListResultPage) NotDone

func (page FirewallRuleListResultPage) NotDone() bool

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

func (FirewallRuleListResultPage) Response

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

func (FirewallRuleListResultPage) Values

func (page FirewallRuleListResultPage) Values() []FirewallRule

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

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 the firewall rule properties.

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 CreateOrUpdateFirewallRuleParameters) (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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. firewallRuleName - the name of the firewall rule to create or update. parameters - 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 CreateOrUpdateFirewallRuleParameters) (*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 Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. firewallRuleName - 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. firewallRuleName - 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 FirewallRuleListResultPage, err error)

ListByAccount lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account.

func (FirewallRulesClient) ListByAccountComplete

func (client FirewallRulesClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result FirewallRuleListResultIterator, 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 FirewallRuleListResult, 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. firewallRuleName - the name of the firewall rule to update. parameters - 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"
)

func PossibleFirewallStateValues

func PossibleFirewallStateValues() []FirewallState

PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.

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. Parameters: location - 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"
)

func PossibleOperationOriginValues

func PossibleOperationOriginValues() []OperationOrigin

PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.

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 Resource

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

Resource the resource model definition.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type SasTokenInformation

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

SasTokenInformation SAS token information.

type SasTokenInformationListResult

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

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

func (SasTokenInformationListResult) IsEmpty

func (stilr SasTokenInformationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SasTokenInformationListResultIterator

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

SasTokenInformationListResultIterator provides access to a complete listing of SasTokenInformation values.

func NewSasTokenInformationListResultIterator

func NewSasTokenInformationListResultIterator(page SasTokenInformationListResultPage) SasTokenInformationListResultIterator

Creates a new instance of the SasTokenInformationListResultIterator type.

func (*SasTokenInformationListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*SasTokenInformationListResultIterator) NextWithContext

func (iter *SasTokenInformationListResultIterator) NextWithContext(ctx context.Context) (err error)

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

func (SasTokenInformationListResultIterator) NotDone

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

func (SasTokenInformationListResultIterator) Response

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

func (SasTokenInformationListResultIterator) Value

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

type SasTokenInformationListResultPage

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

SasTokenInformationListResultPage contains a page of SasTokenInformation values.

func NewSasTokenInformationListResultPage

Creates a new instance of the SasTokenInformationListResultPage type.

func (*SasTokenInformationListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*SasTokenInformationListResultPage) NextWithContext

func (page *SasTokenInformationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (SasTokenInformationListResultPage) NotDone

func (page SasTokenInformationListResultPage) NotDone() bool

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

func (SasTokenInformationListResultPage) Response

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

func (SasTokenInformationListResultPage) Values

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

type StorageAccountInformation

type StorageAccountInformation struct {
	autorest.Response `json:"-"`
	// StorageAccountInformationProperties - The Azure Storage account properties.
	*StorageAccountInformationProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

StorageAccountInformation azure Storage account information.

func (StorageAccountInformation) MarshalJSON

func (sai StorageAccountInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageAccountInformation.

func (*StorageAccountInformation) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for StorageAccountInformation struct.

type StorageAccountInformationListResult

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

StorageAccountInformationListResult azure Storage account list information.

func (StorageAccountInformationListResult) IsEmpty

func (sailr StorageAccountInformationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StorageAccountInformationListResultIterator

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

StorageAccountInformationListResultIterator provides access to a complete listing of StorageAccountInformation values.

func NewStorageAccountInformationListResultIterator

func NewStorageAccountInformationListResultIterator(page StorageAccountInformationListResultPage) StorageAccountInformationListResultIterator

Creates a new instance of the StorageAccountInformationListResultIterator type.

func (*StorageAccountInformationListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*StorageAccountInformationListResultIterator) NextWithContext

func (iter *StorageAccountInformationListResultIterator) NextWithContext(ctx context.Context) (err error)

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

func (StorageAccountInformationListResultIterator) NotDone

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

func (StorageAccountInformationListResultIterator) Response

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

func (StorageAccountInformationListResultIterator) Value

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

type StorageAccountInformationListResultPage

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

StorageAccountInformationListResultPage contains a page of StorageAccountInformation values.

func NewStorageAccountInformationListResultPage

Creates a new instance of the StorageAccountInformationListResultPage type.

func (*StorageAccountInformationListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*StorageAccountInformationListResultPage) NextWithContext

func (page *StorageAccountInformationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (StorageAccountInformationListResultPage) NotDone

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

func (StorageAccountInformationListResultPage) Response

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

func (StorageAccountInformationListResultPage) Values

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

type StorageAccountInformationProperties

type StorageAccountInformationProperties struct {
	// Suffix - The optional suffix for the storage account.
	Suffix *string `json:"suffix,omitempty"`
}

StorageAccountInformationProperties the Azure Storage account properties.

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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - the name of the Azure Storage account to add parameters - 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - 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 StorageAccountInformation, err error)

Get gets the specified Azure Storage account linked to the given Data Lake Analytics account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - 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 StorageAccountInformation, 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - the name of the Azure storage account from which to retrieve the blob container. containerName - 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 StorageAccountInformationListResultPage, 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. filter - the OData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. selectParameter - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - 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 - 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 StorageAccountInformationListResultIterator, 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 StorageAccountInformationListResult, 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 SasTokenInformationListResultPage, err error)

ListSasTokens gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - the name of the Azure storage account for which the SAS token is being requested. containerName - 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 SasTokenInformationListResultIterator, 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 SasTokenInformationListResult, 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 StorageContainerListResultPage, 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - 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 StorageContainerListResultIterator, 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 StorageContainerListResult, 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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Analytics account. storageAccountName - the Azure Storage account to modify parameters - 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:"-"`
	// StorageContainerProperties - The properties of the blob container.
	*StorageContainerProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

StorageContainer azure Storage blob container information.

func (StorageContainer) MarshalJSON

func (sc StorageContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageContainer.

func (*StorageContainer) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for StorageContainer struct.

type StorageContainerListResult

type StorageContainerListResult 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"`
}

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

func (StorageContainerListResult) IsEmpty

func (sclr StorageContainerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StorageContainerListResultIterator

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

StorageContainerListResultIterator provides access to a complete listing of StorageContainer values.

func NewStorageContainerListResultIterator

func NewStorageContainerListResultIterator(page StorageContainerListResultPage) StorageContainerListResultIterator

Creates a new instance of the StorageContainerListResultIterator type.

func (*StorageContainerListResultIterator) 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. Deprecated: Use NextWithContext() instead.

func (*StorageContainerListResultIterator) NextWithContext

func (iter *StorageContainerListResultIterator) NextWithContext(ctx context.Context) (err error)

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

func (StorageContainerListResultIterator) NotDone

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

func (StorageContainerListResultIterator) Response

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

func (StorageContainerListResultIterator) Value

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

type StorageContainerListResultPage

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

StorageContainerListResultPage contains a page of StorageContainer values.

func NewStorageContainerListResultPage

func NewStorageContainerListResultPage(getNextPage func(context.Context, StorageContainerListResult) (StorageContainerListResult, error)) StorageContainerListResultPage

Creates a new instance of the StorageContainerListResultPage type.

func (*StorageContainerListResultPage) 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. Deprecated: Use NextWithContext() instead.

func (*StorageContainerListResultPage) NextWithContext

func (page *StorageContainerListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext 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 (StorageContainerListResultPage) NotDone

func (page StorageContainerListResultPage) NotDone() bool

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

func (StorageContainerListResultPage) Response

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

func (StorageContainerListResultPage) Values

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

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 - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

SubResource the resource model definition for a nested resource.

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

func PossibleSubscriptionStateValues

func PossibleSubscriptionStateValues() []SubscriptionState

PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.

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

func PossibleTierTypeValues

func PossibleTierTypeValues() []TierType

PossibleTierTypeValues returns an array of possible values for the TierType const type.

type UpdateComputePolicyParameters

type UpdateComputePolicyParameters struct {
	// UpdateComputePolicyProperties - The compute policy properties to use when updating a compute policy.
	*UpdateComputePolicyProperties `json:"properties,omitempty"`
}

UpdateComputePolicyParameters the parameters used to update a compute policy.

func (UpdateComputePolicyParameters) MarshalJSON

func (ucpp UpdateComputePolicyParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateComputePolicyParameters.

func (*UpdateComputePolicyParameters) UnmarshalJSON

func (ucpp *UpdateComputePolicyParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateComputePolicyParameters struct.

type UpdateComputePolicyProperties

type UpdateComputePolicyProperties 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"`
}

UpdateComputePolicyProperties the compute policy properties to use when updating a compute policy.

type UpdateComputePolicyWithAccountParameters

type UpdateComputePolicyWithAccountParameters struct {
	// Name - The unique name of the compute policy to update.
	Name *string `json:"name,omitempty"`
	// UpdateComputePolicyProperties - The compute policy properties to use when updating a compute policy.
	*UpdateComputePolicyProperties `json:"properties,omitempty"`
}

UpdateComputePolicyWithAccountParameters the parameters used to update a compute policy while updating a Data Lake Analytics account.

func (UpdateComputePolicyWithAccountParameters) MarshalJSON

func (ucpwap UpdateComputePolicyWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateComputePolicyWithAccountParameters.

func (*UpdateComputePolicyWithAccountParameters) UnmarshalJSON

func (ucpwap *UpdateComputePolicyWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateComputePolicyWithAccountParameters struct.

type UpdateDataLakeAnalyticsAccountParameters

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

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

func (UpdateDataLakeAnalyticsAccountParameters) MarshalJSON

func (udlaap UpdateDataLakeAnalyticsAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateDataLakeAnalyticsAccountParameters.

func (*UpdateDataLakeAnalyticsAccountParameters) UnmarshalJSON

func (udlaap *UpdateDataLakeAnalyticsAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateDataLakeAnalyticsAccountParameters struct.

type UpdateDataLakeAnalyticsAccountProperties

type UpdateDataLakeAnalyticsAccountProperties struct {
	// DataLakeStoreAccounts - The list of Data Lake Store accounts associated with this account.
	DataLakeStoreAccounts *[]UpdateDataLakeStoreWithAccountParameters `json:"dataLakeStoreAccounts,omitempty"`
	// StorageAccounts - The list of Azure Blob storage accounts associated with this account.
	StorageAccounts *[]UpdateStorageAccountWithAccountParameters `json:"storageAccounts,omitempty"`
	// ComputePolicies - The list of compute policies associated with this account.
	ComputePolicies *[]UpdateComputePolicyWithAccountParameters `json:"computePolicies,omitempty"`
	// FirewallRules - The list of firewall rules associated with this account.
	FirewallRules *[]UpdateFirewallRuleWithAccountParameters `json:"firewallRules,omitempty"`
	// FirewallState - The current state of the IP address firewall for this account. Disabling the firewall does not remove existing rules, they will just be ignored until the firewall is re-enabled. 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"`
	// 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"`
	// MaxJobCount - The maximum supported jobs running under the account at the same time.
	MaxJobCount *int32 `json:"maxJobCount,omitempty"`
	// MaxDegreeOfParallelism - The maximum supported degree of parallelism for this account.
	MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,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"`
	// QueryStoreRetention - The number of days that job metadata is retained.
	QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"`
}

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

type UpdateDataLakeStoreProperties

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

UpdateDataLakeStoreProperties the Data Lake Store account properties to use when updating a Data Lake Store account.

type UpdateDataLakeStoreWithAccountParameters

type UpdateDataLakeStoreWithAccountParameters struct {
	// Name - The unique name of the Data Lake Store account to update.
	Name *string `json:"name,omitempty"`
	// UpdateDataLakeStoreProperties - The Data Lake Store account properties to use when updating a Data Lake Store account.
	*UpdateDataLakeStoreProperties `json:"properties,omitempty"`
}

UpdateDataLakeStoreWithAccountParameters the parameters used to update a Data Lake Store account while updating a Data Lake Analytics account.

func (UpdateDataLakeStoreWithAccountParameters) MarshalJSON

func (udlswap UpdateDataLakeStoreWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateDataLakeStoreWithAccountParameters.

func (*UpdateDataLakeStoreWithAccountParameters) UnmarshalJSON

func (udlswap *UpdateDataLakeStoreWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateDataLakeStoreWithAccountParameters struct.

type UpdateFirewallRuleParameters

type UpdateFirewallRuleParameters struct {
	// UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule.
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters the parameters used to update a firewall rule.

func (UpdateFirewallRuleParameters) MarshalJSON

func (ufrp UpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateFirewallRuleParameters.

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 the firewall rule properties to use when updating a firewall rule.

type UpdateFirewallRuleWithAccountParameters

type UpdateFirewallRuleWithAccountParameters struct {
	// Name - The unique name of the firewall rule to update.
	Name *string `json:"name,omitempty"`
	// UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule.
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleWithAccountParameters the parameters used to update a firewall rule while updating a Data Lake Analytics account.

func (UpdateFirewallRuleWithAccountParameters) MarshalJSON

func (ufrwap UpdateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateFirewallRuleWithAccountParameters.

func (*UpdateFirewallRuleWithAccountParameters) UnmarshalJSON

func (ufrwap *UpdateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleWithAccountParameters struct.

type UpdateStorageAccountParameters

type UpdateStorageAccountParameters struct {
	// UpdateStorageAccountProperties - The Azure Storage account properties to use when updating an Azure Storage account.
	*UpdateStorageAccountProperties `json:"properties,omitempty"`
}

UpdateStorageAccountParameters the parameters used to update an Azure Storage account.

func (UpdateStorageAccountParameters) MarshalJSON

func (usap UpdateStorageAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateStorageAccountParameters.

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 the Azure Storage account properties to use when updating an Azure Storage account.

type UpdateStorageAccountWithAccountParameters

type UpdateStorageAccountWithAccountParameters struct {
	// Name - The unique name of the Azure Storage account to update.
	Name *string `json:"name,omitempty"`
	// UpdateStorageAccountProperties - The Azure Storage account properties to use when updating an Azure Storage account.
	*UpdateStorageAccountProperties `json:"properties,omitempty"`
}

UpdateStorageAccountWithAccountParameters the parameters used to update an Azure Storage account while updating a Data Lake Analytics account.

func (UpdateStorageAccountWithAccountParameters) MarshalJSON

func (usawap UpdateStorageAccountWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateStorageAccountWithAccountParameters.

func (*UpdateStorageAccountWithAccountParameters) UnmarshalJSON

func (usawap *UpdateStorageAccountWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateStorageAccountWithAccountParameters struct.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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