const ( // DefaultBaseURI is the default URI used for the service Account DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
AADObjectType enumerates the values for aad object type.
type AADObjectType string
const ( // Group ... Group AADObjectType = "Group" // ServicePrincipal ... ServicePrincipal AADObjectType = "ServicePrincipal" // User ... User AADObjectType = "User" )
func PossibleAADObjectTypeValues() []AADObjectType
PossibleAADObjectTypeValues returns an array of possible values for the AADObjectType const type.
AccountsClient is the creates an Azure Data Lake Analytics account management client.
type AccountsClient struct { BaseClient }
func NewAccountsClient(subscriptionID string) AccountsClient
NewAccountsClient creates an instance of the AccountsClient client.
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient
NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters CheckNameAvailabilityParameters) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
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 (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 (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 (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters CreateDataLakeAnalyticsAccountParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
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 (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 (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 (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters *UpdateDataLakeAnalyticsAccountParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (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.
AccountsCreateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
type AccountsCreateFutureType struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (DataLakeAnalyticsAccount, error) }
func (future *AccountsCreateFutureType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AccountsDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
type AccountsDeleteFutureType struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (autorest.Response, error) }
func (future *AccountsDeleteFutureType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AccountsUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
type AccountsUpdateFutureType struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (DataLakeAnalyticsAccount, error) }
func (future *AccountsUpdateFutureType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AddDataLakeStoreParameters the parameters used to add a new Data Lake Store account.
type AddDataLakeStoreParameters struct { // AddDataLakeStoreProperties - The Data Lake Store account properties to use when adding a new Data Lake Store account. *AddDataLakeStoreProperties `json:"properties,omitempty"` }
func (adlsp AddDataLakeStoreParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AddDataLakeStoreParameters.
func (adlsp *AddDataLakeStoreParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AddDataLakeStoreParameters struct.
AddDataLakeStoreProperties the Data Lake Store account properties to use when adding a new Data Lake Store account.
type AddDataLakeStoreProperties struct { // Suffix - The optional suffix for the Data Lake Store account. Suffix *string `json:"suffix,omitempty"` }
AddDataLakeStoreWithAccountParameters the parameters used to add a new Data Lake Store account while creating a new Data Lake Analytics account.
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"` }
func (adlswap AddDataLakeStoreWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AddDataLakeStoreWithAccountParameters.
func (adlswap *AddDataLakeStoreWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AddDataLakeStoreWithAccountParameters struct.
AddStorageAccountParameters the parameters used to add a new Azure Storage account.
type AddStorageAccountParameters struct { // AddStorageAccountProperties - The Azure Storage account properties to use when adding a new Azure Storage account. *AddStorageAccountProperties `json:"properties,omitempty"` }
func (asap AddStorageAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AddStorageAccountParameters.
func (asap *AddStorageAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AddStorageAccountParameters struct.
AddStorageAccountProperties the Azure Storage account properties to use when adding a new Azure Storage account.
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"` }
AddStorageAccountWithAccountParameters the parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account.
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"` }
func (asawap AddStorageAccountWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AddStorageAccountWithAccountParameters.
func (asawap *AddStorageAccountWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AddStorageAccountWithAccountParameters struct.
BaseClient is the base client for Account.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
CapabilityInformation subscription-level properties and limits for Data Lake Analytics.
type CapabilityInformation struct { autorest.Response `json:"-"` // SubscriptionID - READ-ONLY; The subscription credentials that uniquely identifies the subscription. SubscriptionID *uuid.UUID `json:"subscriptionId,omitempty"` // State - READ-ONLY; The subscription state. Possible values include: 'SubscriptionStateRegistered', 'SubscriptionStateSuspended', 'SubscriptionStateDeleted', 'SubscriptionStateUnregistered', 'SubscriptionStateWarned' State SubscriptionState `json:"state,omitempty"` // MaxAccountCount - READ-ONLY; The maximum supported number of accounts under this subscription. MaxAccountCount *int32 `json:"maxAccountCount,omitempty"` // AccountCount - READ-ONLY; The current number of accounts under this subscription. AccountCount *int32 `json:"accountCount,omitempty"` // MigrationState - READ-ONLY; The Boolean value of true or false to indicate the maintenance state. MigrationState *bool `json:"migrationState,omitempty"` }
func (ci CapabilityInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CapabilityInformation.
CheckNameAvailabilityParameters data Lake Analytics account name availability check parameters.
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"` }
ComputePoliciesClient is the creates an Azure Data Lake Analytics account management client.
type ComputePoliciesClient struct { BaseClient }
func NewComputePoliciesClient(subscriptionID string) ComputePoliciesClient
NewComputePoliciesClient creates an instance of the ComputePoliciesClient client.
func NewComputePoliciesClientWithBaseURI(baseURI string, subscriptionID string) ComputePoliciesClient
NewComputePoliciesClientWithBaseURI creates an instance of the ComputePoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 (client ComputePoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string, parameters CreateOrUpdateComputePolicyParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
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 (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 (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 (client ComputePoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client ComputePoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client ComputePoliciesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
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 (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 (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 (client ComputePoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, computePolicyName string, parameters *UpdateComputePolicyParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (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.
ComputePolicy data Lake Analytics compute policy information.
type ComputePolicy struct { autorest.Response `json:"-"` // ComputePolicyProperties - READ-ONLY; The compute policy properties. *ComputePolicyProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` }
func (cp ComputePolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ComputePolicy.
func (cp *ComputePolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ComputePolicy struct.
ComputePolicyListResult the list of compute policies in the account.
type ComputePolicyListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]ComputePolicy `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (cplr ComputePolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (cplr ComputePolicyListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ComputePolicyListResult.
ComputePolicyListResultIterator provides access to a complete listing of ComputePolicy values.
type ComputePolicyListResultIterator struct {
// contains filtered or unexported fields
}
func NewComputePolicyListResultIterator(page ComputePolicyListResultPage) ComputePolicyListResultIterator
Creates a new instance of the ComputePolicyListResultIterator type.
func (iter *ComputePolicyListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
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 (iter ComputePolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ComputePolicyListResultIterator) Response() ComputePolicyListResult
Response returns the raw server response from the last page request.
func (iter ComputePolicyListResultIterator) Value() ComputePolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
ComputePolicyListResultPage contains a page of ComputePolicy values.
type ComputePolicyListResultPage struct {
// contains filtered or unexported fields
}
func NewComputePolicyListResultPage(cur ComputePolicyListResult, getNextPage func(context.Context, ComputePolicyListResult) (ComputePolicyListResult, error)) ComputePolicyListResultPage
Creates a new instance of the ComputePolicyListResultPage type.
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 (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 (page ComputePolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ComputePolicyListResultPage) Response() ComputePolicyListResult
Response returns the raw server response from the last page request.
func (page ComputePolicyListResultPage) Values() []ComputePolicy
Values returns the slice of values for the current page or nil if there are no values.
ComputePolicyProperties the compute policy properties.
type ComputePolicyProperties struct { // ObjectID - READ-ONLY; The AAD object identifier for the entity to create a policy for. ObjectID *uuid.UUID `json:"objectId,omitempty"` // ObjectType - READ-ONLY; The type of AAD object the object identifier refers to. Possible values include: 'User', 'Group', 'ServicePrincipal' ObjectType AADObjectType `json:"objectType,omitempty"` // MaxDegreeOfParallelismPerJob - READ-ONLY; The maximum degree of parallelism per job this user can use to submit jobs. MaxDegreeOfParallelismPerJob *int32 `json:"maxDegreeOfParallelismPerJob,omitempty"` // MinPriorityPerJob - READ-ONLY; The minimum priority per job this user can use to submit jobs. MinPriorityPerJob *int32 `json:"minPriorityPerJob,omitempty"` }
func (cpp ComputePolicyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ComputePolicyProperties.
CreateComputePolicyWithAccountParameters the parameters used to create a new compute policy while creating a new Data Lake Analytics account.
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"` }
func (ccpwap CreateComputePolicyWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateComputePolicyWithAccountParameters.
func (ccpwap *CreateComputePolicyWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateComputePolicyWithAccountParameters struct.
CreateDataLakeAnalyticsAccountParameters the parameters to use for creating a Data Lake Analytics account.
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"` }
func (cdlaap CreateDataLakeAnalyticsAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateDataLakeAnalyticsAccountParameters.
func (cdlaap *CreateDataLakeAnalyticsAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateDataLakeAnalyticsAccountParameters struct.
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"` }
CreateFirewallRuleWithAccountParameters the parameters used to create a new firewall rule while creating a new Data Lake Analytics account.
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"` }
func (cfrwap CreateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateFirewallRuleWithAccountParameters.
func (cfrwap *CreateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateFirewallRuleWithAccountParameters struct.
CreateOrUpdateComputePolicyParameters the parameters used to create a new compute policy.
type CreateOrUpdateComputePolicyParameters struct { // CreateOrUpdateComputePolicyProperties - The compute policy properties to use when creating a new compute policy. *CreateOrUpdateComputePolicyProperties `json:"properties,omitempty"` }
func (coucpp CreateOrUpdateComputePolicyParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrUpdateComputePolicyParameters.
func (coucpp *CreateOrUpdateComputePolicyParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateOrUpdateComputePolicyParameters struct.
CreateOrUpdateComputePolicyProperties the compute policy properties to use when creating a new compute policy.
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"` }
CreateOrUpdateFirewallRuleParameters the parameters used to create a new firewall rule.
type CreateOrUpdateFirewallRuleParameters struct { // CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule. *CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"` }
func (coufrp CreateOrUpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrUpdateFirewallRuleParameters.
func (coufrp *CreateOrUpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateOrUpdateFirewallRuleParameters struct.
CreateOrUpdateFirewallRuleProperties the firewall rule properties to use when creating a new firewall rule.
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"` }
DataLakeAnalyticsAccount a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.
type DataLakeAnalyticsAccount struct { autorest.Response `json:"-"` // DataLakeAnalyticsAccountProperties - READ-ONLY; The properties defined by Data Lake Analytics all properties are specific to each resource provider. *DataLakeAnalyticsAccountProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifer. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - READ-ONLY; The resource location. Location *string `json:"location,omitempty"` // Tags - READ-ONLY; The resource tags. Tags map[string]*string `json:"tags"` }
func (dlaa DataLakeAnalyticsAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccount.
func (dlaa *DataLakeAnalyticsAccount) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccount struct.
DataLakeAnalyticsAccountBasic a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.
type DataLakeAnalyticsAccountBasic struct { // DataLakeAnalyticsAccountPropertiesBasic - READ-ONLY; The properties defined by Data Lake Analytics all properties are specific to each resource provider. *DataLakeAnalyticsAccountPropertiesBasic `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifer. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - READ-ONLY; The resource location. Location *string `json:"location,omitempty"` // Tags - READ-ONLY; The resource tags. Tags map[string]*string `json:"tags"` }
func (dlaab DataLakeAnalyticsAccountBasic) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountBasic.
func (dlaab *DataLakeAnalyticsAccountBasic) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataLakeAnalyticsAccountBasic struct.
DataLakeAnalyticsAccountListResult data Lake Analytics account list information.
type DataLakeAnalyticsAccountListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]DataLakeAnalyticsAccountBasic `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (dlaalr DataLakeAnalyticsAccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlaalr DataLakeAnalyticsAccountListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountListResult.
DataLakeAnalyticsAccountListResultIterator provides access to a complete listing of DataLakeAnalyticsAccountBasic values.
type DataLakeAnalyticsAccountListResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListResultIterator(page DataLakeAnalyticsAccountListResultPage) DataLakeAnalyticsAccountListResultIterator
Creates a new instance of the DataLakeAnalyticsAccountListResultIterator type.
func (iter *DataLakeAnalyticsAccountListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
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 (iter DataLakeAnalyticsAccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeAnalyticsAccountListResultIterator) Response() DataLakeAnalyticsAccountListResult
Response returns the raw server response from the last page request.
func (iter DataLakeAnalyticsAccountListResultIterator) Value() DataLakeAnalyticsAccountBasic
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DataLakeAnalyticsAccountListResultPage contains a page of DataLakeAnalyticsAccountBasic values.
type DataLakeAnalyticsAccountListResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeAnalyticsAccountListResultPage(cur DataLakeAnalyticsAccountListResult, getNextPage func(context.Context, DataLakeAnalyticsAccountListResult) (DataLakeAnalyticsAccountListResult, error)) DataLakeAnalyticsAccountListResultPage
Creates a new instance of the DataLakeAnalyticsAccountListResultPage type.
func (page *DataLakeAnalyticsAccountListResultPage) 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 (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 (page DataLakeAnalyticsAccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeAnalyticsAccountListResultPage) Response() DataLakeAnalyticsAccountListResult
Response returns the raw server response from the last page request.
func (page DataLakeAnalyticsAccountListResultPage) Values() []DataLakeAnalyticsAccountBasic
Values returns the slice of values for the current page or nil if there are no values.
DataLakeAnalyticsAccountProperties the account specific properties that are associated with an underlying Data Lake Analytics account. Returned only when retrieving a specific account.
type DataLakeAnalyticsAccountProperties struct { // DefaultDataLakeStoreAccount - READ-ONLY; The default Data Lake Store account associated with this account. DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"` // DataLakeStoreAccounts - READ-ONLY; The list of Data Lake Store accounts associated with this account. DataLakeStoreAccounts *[]DataLakeStoreAccountInformation `json:"dataLakeStoreAccounts,omitempty"` // StorageAccounts - READ-ONLY; The list of Azure Blob Storage accounts associated with this account. StorageAccounts *[]StorageAccountInformation `json:"storageAccounts,omitempty"` // ComputePolicies - READ-ONLY; The list of compute policies associated with this account. ComputePolicies *[]ComputePolicy `json:"computePolicies,omitempty"` // FirewallRules - READ-ONLY; The list of firewall rules associated with this account. FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"` // FirewallState - READ-ONLY; The current state of the IP address firewall for this account. Possible values include: 'FirewallStateEnabled', 'FirewallStateDisabled' FirewallState FirewallState `json:"firewallState,omitempty"` // FirewallAllowAzureIps - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; The maximum supported jobs running under the account at the same time. MaxJobCount *int32 `json:"maxJobCount,omitempty"` // SystemMaxJobCount - READ-ONLY; 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 - READ-ONLY; The maximum supported degree of parallelism for this account. MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"` // SystemMaxDegreeOfParallelism - READ-ONLY; 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 - READ-ONLY; The maximum supported degree of parallelism per job for this account. MaxDegreeOfParallelismPerJob *int32 `json:"maxDegreeOfParallelismPerJob,omitempty"` // MinPriorityPerJob - READ-ONLY; The minimum supported priority per job for this account. MinPriorityPerJob *int32 `json:"minPriorityPerJob,omitempty"` // QueryStoreRetention - READ-ONLY; The number of days that job metadata is retained. QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"` // AccountID - READ-ONLY; The unique identifier associated with this Data Lake Analytics account. AccountID *uuid.UUID `json:"accountId,omitempty"` // ProvisioningState - READ-ONLY; 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 - READ-ONLY; The state of the Data Lake Analytics account. Possible values include: 'Active', 'Suspended' State DataLakeAnalyticsAccountState `json:"state,omitempty"` // CreationTime - READ-ONLY; The account creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - READ-ONLY; The account last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Endpoint - READ-ONLY; The full CName endpoint for this account. Endpoint *string `json:"endpoint,omitempty"` }
func (dlaap DataLakeAnalyticsAccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountProperties.
DataLakeAnalyticsAccountPropertiesBasic the basic account specific properties that are associated with an underlying Data Lake Analytics account.
type DataLakeAnalyticsAccountPropertiesBasic struct { // AccountID - READ-ONLY; The unique identifier associated with this Data Lake Analytics account. AccountID *uuid.UUID `json:"accountId,omitempty"` // ProvisioningState - READ-ONLY; 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 - READ-ONLY; The state of the Data Lake Analytics account. Possible values include: 'Active', 'Suspended' State DataLakeAnalyticsAccountState `json:"state,omitempty"` // CreationTime - READ-ONLY; The account creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - READ-ONLY; The account last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Endpoint - READ-ONLY; The full CName endpoint for this account. Endpoint *string `json:"endpoint,omitempty"` }
func (dlaapb DataLakeAnalyticsAccountPropertiesBasic) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeAnalyticsAccountPropertiesBasic.
DataLakeAnalyticsAccountState enumerates the values for data lake analytics account state.
type DataLakeAnalyticsAccountState string
const ( // Active ... Active DataLakeAnalyticsAccountState = "Active" // Suspended ... Suspended DataLakeAnalyticsAccountState = "Suspended" )
func PossibleDataLakeAnalyticsAccountStateValues() []DataLakeAnalyticsAccountState
PossibleDataLakeAnalyticsAccountStateValues returns an array of possible values for the DataLakeAnalyticsAccountState const type.
DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.
type DataLakeAnalyticsAccountStatus string
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() []DataLakeAnalyticsAccountStatus
PossibleDataLakeAnalyticsAccountStatusValues returns an array of possible values for the DataLakeAnalyticsAccountStatus const type.
DataLakeStoreAccountInformation data Lake Store account information.
type DataLakeStoreAccountInformation struct { autorest.Response `json:"-"` // DataLakeStoreAccountInformationProperties - READ-ONLY; The Data Lake Store account properties. *DataLakeStoreAccountInformationProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` }
func (dlsai DataLakeStoreAccountInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountInformation.
func (dlsai *DataLakeStoreAccountInformation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccountInformation struct.
DataLakeStoreAccountInformationListResult data Lake Store account list information.
type DataLakeStoreAccountInformationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]DataLakeStoreAccountInformation `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (dlsailr DataLakeStoreAccountInformationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlsailr DataLakeStoreAccountInformationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountInformationListResult.
DataLakeStoreAccountInformationListResultIterator provides access to a complete listing of DataLakeStoreAccountInformation values.
type DataLakeStoreAccountInformationListResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreAccountInformationListResultIterator(page DataLakeStoreAccountInformationListResultPage) DataLakeStoreAccountInformationListResultIterator
Creates a new instance of the DataLakeStoreAccountInformationListResultIterator type.
func (iter *DataLakeStoreAccountInformationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *DataLakeStoreAccountInformationListResultIterator) 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 (iter DataLakeStoreAccountInformationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeStoreAccountInformationListResultIterator) Response() DataLakeStoreAccountInformationListResult
Response returns the raw server response from the last page request.
func (iter DataLakeStoreAccountInformationListResultIterator) Value() DataLakeStoreAccountInformation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
DataLakeStoreAccountInformationListResultPage contains a page of DataLakeStoreAccountInformation values.
type DataLakeStoreAccountInformationListResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreAccountInformationListResultPage(cur DataLakeStoreAccountInformationListResult, getNextPage func(context.Context, DataLakeStoreAccountInformationListResult) (DataLakeStoreAccountInformationListResult, error)) DataLakeStoreAccountInformationListResultPage
Creates a new instance of the DataLakeStoreAccountInformationListResultPage type.
func (page *DataLakeStoreAccountInformationListResultPage) 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 (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 (page DataLakeStoreAccountInformationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeStoreAccountInformationListResultPage) Response() DataLakeStoreAccountInformationListResult
Response returns the raw server response from the last page request.
func (page DataLakeStoreAccountInformationListResultPage) Values() []DataLakeStoreAccountInformation
Values returns the slice of values for the current page or nil if there are no values.
DataLakeStoreAccountInformationProperties the Data Lake Store account properties.
type DataLakeStoreAccountInformationProperties struct { // Suffix - READ-ONLY; The optional suffix for the Data Lake Store account. Suffix *string `json:"suffix,omitempty"` }
func (dlsaip DataLakeStoreAccountInformationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountInformationProperties.
DataLakeStoreAccountsClient is the creates an Azure Data Lake Analytics account management client.
type DataLakeStoreAccountsClient struct { BaseClient }
func NewDataLakeStoreAccountsClient(subscriptionID string) DataLakeStoreAccountsClient
NewDataLakeStoreAccountsClient creates an instance of the DataLakeStoreAccountsClient client.
func NewDataLakeStoreAccountsClientWithBaseURI(baseURI string, subscriptionID string) DataLakeStoreAccountsClient
NewDataLakeStoreAccountsClientWithBaseURI creates an instance of the DataLakeStoreAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 (client DataLakeStoreAccountsClient) AddPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters *AddDataLakeStoreParameters) (*http.Request, error)
AddPreparer prepares the Add request.
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 (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 (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 (client DataLakeStoreAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client DataLakeStoreAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (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 (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 (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.
FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.
type FirewallAllowAzureIpsState string
const ( // Disabled ... Disabled FirewallAllowAzureIpsState = "Disabled" // Enabled ... Enabled FirewallAllowAzureIpsState = "Enabled" )
func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState
PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.
FirewallRule data Lake Analytics firewall rule information.
type FirewallRule struct { autorest.Response `json:"-"` // FirewallRuleProperties - READ-ONLY; The firewall rule properties. *FirewallRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` }
func (fr FirewallRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRule.
func (fr *FirewallRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallRule struct.
FirewallRuleListResult data Lake Analytics firewall rule list information.
type FirewallRuleListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]FirewallRule `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (frlr FirewallRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (frlr FirewallRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRuleListResult.
FirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.
type FirewallRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator
Creates a new instance of the FirewallRuleListResultIterator type.
func (iter *FirewallRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
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 (iter FirewallRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
func (iter FirewallRuleListResultIterator) Value() FirewallRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
FirewallRuleListResultPage contains a page of FirewallRule values.
type FirewallRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewFirewallRuleListResultPage(cur FirewallRuleListResult, getNextPage func(context.Context, FirewallRuleListResult) (FirewallRuleListResult, error)) FirewallRuleListResultPage
Creates a new instance of the FirewallRuleListResultPage type.
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 (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 (page FirewallRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page FirewallRuleListResultPage) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
func (page FirewallRuleListResultPage) Values() []FirewallRule
Values returns the slice of values for the current page or nil if there are no values.
FirewallRuleProperties the firewall rule properties.
type FirewallRuleProperties struct { // StartIPAddress - READ-ONLY; 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 - READ-ONLY; 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"` }
func (frp FirewallRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRuleProperties.
FirewallRulesClient is the creates an Azure Data Lake Analytics account management client.
type FirewallRulesClient struct { BaseClient }
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient
NewFirewallRulesClient creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient
NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters CreateOrUpdateFirewallRuleParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
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 (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 (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 (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (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 (client FirewallRulesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
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 (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 (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 (client FirewallRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (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.
FirewallState enumerates the values for firewall state.
type FirewallState string
const ( // FirewallStateDisabled ... FirewallStateDisabled FirewallState = "Disabled" // FirewallStateEnabled ... FirewallStateEnabled FirewallState = "Enabled" )
func PossibleFirewallStateValues() []FirewallState
PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.
LocationsClient is the creates an Azure Data Lake Analytics account management client.
type LocationsClient struct { BaseClient }
func NewLocationsClient(subscriptionID string) LocationsClient
NewLocationsClient creates an instance of the LocationsClient client.
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient
NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 (client LocationsClient) GetCapabilityPreparer(ctx context.Context, location string) (*http.Request, error)
GetCapabilityPreparer prepares the GetCapability request.
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 (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.
NameAvailabilityInformation data Lake Analytics account name availability result information.
type NameAvailabilityInformation struct { autorest.Response `json:"-"` // NameAvailable - READ-ONLY; 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 - READ-ONLY; The reason why the Data Lake Analytics account name is not available, if nameAvailable is false. Reason *string `json:"reason,omitempty"` // Message - READ-ONLY; The message describing why the Data Lake Analytics account name is not available, if nameAvailable is false. Message *string `json:"message,omitempty"` }
func (nai NameAvailabilityInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NameAvailabilityInformation.
Operation an available operation for Data Lake Analytics.
type Operation struct { // Name - READ-ONLY; The name of the operation. Name *string `json:"name,omitempty"` // Display - READ-ONLY; The display information for the operation. Display *OperationDisplay `json:"display,omitempty"` // Origin - READ-ONLY; The intended executor of the operation. Possible values include: 'OperationOriginUser', 'OperationOriginSystem', 'OperationOriginUsersystem' Origin OperationOrigin `json:"origin,omitempty"` }
func (o Operation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Operation.
OperationDisplay the display information for a particular operation.
type OperationDisplay struct { // Provider - READ-ONLY; The resource provider of the operation. Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; The resource type of the operation. Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; A friendly name of the operation. Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; A friendly description of the operation. Description *string `json:"description,omitempty"` }
func (od OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
OperationListResult the list of available operations for Data Lake Analytics.
type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
OperationOrigin enumerates the values for operation origin.
type OperationOrigin string
const ( // OperationOriginSystem ... OperationOriginSystem OperationOrigin = "system" // OperationOriginUser ... OperationOriginUser OperationOrigin = "user" // OperationOriginUsersystem ... OperationOriginUsersystem OperationOrigin = "user,system" )
func PossibleOperationOriginValues() []OperationOrigin
PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
OperationsClient is the creates an Azure Data Lake Analytics account management client.
type OperationsClient struct { BaseClient }
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List lists all of the available Data Lake Analytics REST API operations.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (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.
Resource the resource model definition.
type Resource struct { // ID - READ-ONLY; The resource identifer. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - READ-ONLY; The resource location. Location *string `json:"location,omitempty"` // Tags - READ-ONLY; The resource tags. Tags map[string]*string `json:"tags"` }
func (r Resource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Resource.
SasTokenInformation SAS token information.
type SasTokenInformation struct { // AccessToken - READ-ONLY; The access token for the associated Azure Storage Container. AccessToken *string `json:"accessToken,omitempty"` }
func (sti SasTokenInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SasTokenInformation.
SasTokenInformationListResult the SAS response that contains the storage account, container and associated SAS token for connection use.
type SasTokenInformationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]SasTokenInformation `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (stilr SasTokenInformationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (stilr SasTokenInformationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SasTokenInformationListResult.
SasTokenInformationListResultIterator provides access to a complete listing of SasTokenInformation values.
type SasTokenInformationListResultIterator struct {
// contains filtered or unexported fields
}
func NewSasTokenInformationListResultIterator(page SasTokenInformationListResultPage) SasTokenInformationListResultIterator
Creates a new instance of the SasTokenInformationListResultIterator type.
func (iter *SasTokenInformationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
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 (iter SasTokenInformationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter SasTokenInformationListResultIterator) Response() SasTokenInformationListResult
Response returns the raw server response from the last page request.
func (iter SasTokenInformationListResultIterator) Value() SasTokenInformation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
SasTokenInformationListResultPage contains a page of SasTokenInformation values.
type SasTokenInformationListResultPage struct {
// contains filtered or unexported fields
}
func NewSasTokenInformationListResultPage(cur SasTokenInformationListResult, getNextPage func(context.Context, SasTokenInformationListResult) (SasTokenInformationListResult, error)) SasTokenInformationListResultPage
Creates a new instance of the SasTokenInformationListResultPage type.
func (page *SasTokenInformationListResultPage) 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 (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 (page SasTokenInformationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page SasTokenInformationListResultPage) Response() SasTokenInformationListResult
Response returns the raw server response from the last page request.
func (page SasTokenInformationListResultPage) Values() []SasTokenInformation
Values returns the slice of values for the current page or nil if there are no values.
StorageAccountInformation azure Storage account information.
type StorageAccountInformation struct { autorest.Response `json:"-"` // StorageAccountInformationProperties - READ-ONLY; The Azure Storage account properties. *StorageAccountInformationProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` }
func (sai StorageAccountInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageAccountInformation.
func (sai *StorageAccountInformation) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StorageAccountInformation struct.
StorageAccountInformationListResult azure Storage account list information.
type StorageAccountInformationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]StorageAccountInformation `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (sailr StorageAccountInformationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (sailr StorageAccountInformationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageAccountInformationListResult.
StorageAccountInformationListResultIterator provides access to a complete listing of StorageAccountInformation values.
type StorageAccountInformationListResultIterator struct {
// contains filtered or unexported fields
}
func NewStorageAccountInformationListResultIterator(page StorageAccountInformationListResultPage) StorageAccountInformationListResultIterator
Creates a new instance of the StorageAccountInformationListResultIterator type.
func (iter *StorageAccountInformationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
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 (iter StorageAccountInformationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter StorageAccountInformationListResultIterator) Response() StorageAccountInformationListResult
Response returns the raw server response from the last page request.
func (iter StorageAccountInformationListResultIterator) Value() StorageAccountInformation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
StorageAccountInformationListResultPage contains a page of StorageAccountInformation values.
type StorageAccountInformationListResultPage struct {
// contains filtered or unexported fields
}
func NewStorageAccountInformationListResultPage(cur StorageAccountInformationListResult, getNextPage func(context.Context, StorageAccountInformationListResult) (StorageAccountInformationListResult, error)) StorageAccountInformationListResultPage
Creates a new instance of the StorageAccountInformationListResultPage type.
func (page *StorageAccountInformationListResultPage) 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 (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 (page StorageAccountInformationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page StorageAccountInformationListResultPage) Response() StorageAccountInformationListResult
Response returns the raw server response from the last page request.
func (page StorageAccountInformationListResultPage) Values() []StorageAccountInformation
Values returns the slice of values for the current page or nil if there are no values.
StorageAccountInformationProperties the Azure Storage account properties.
type StorageAccountInformationProperties struct { // Suffix - READ-ONLY; The optional suffix for the storage account. Suffix *string `json:"suffix,omitempty"` }
func (saip StorageAccountInformationProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageAccountInformationProperties.
StorageAccountsClient is the creates an Azure Data Lake Analytics account management client.
type StorageAccountsClient struct { BaseClient }
func NewStorageAccountsClient(subscriptionID string) StorageAccountsClient
NewStorageAccountsClient creates an instance of the StorageAccountsClient client.
func NewStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) StorageAccountsClient
NewStorageAccountsClientWithBaseURI creates an instance of the StorageAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 (client StorageAccountsClient) AddPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)
AddPreparer prepares the Add request.
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 (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 (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 (client StorageAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client StorageAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (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 (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 (client StorageAccountsClient) GetStorageContainerPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)
GetStorageContainerPreparer prepares the GetStorageContainer request.
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 (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 (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 (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 (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 (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 (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 (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 (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 (client StorageAccountsClient) ListSasTokensPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)
ListSasTokensPreparer prepares the ListSasTokens request.
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 (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 (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 (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 (client StorageAccountsClient) ListStorageContainersPreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
ListStorageContainersPreparer prepares the ListStorageContainers request.
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 (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 (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 (client StorageAccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, storageAccountName string, parameters *UpdateStorageAccountParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (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.
StorageContainer azure Storage blob container information.
type StorageContainer struct { autorest.Response `json:"-"` // StorageContainerProperties - READ-ONLY; The properties of the blob container. *StorageContainerProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` }
func (sc StorageContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageContainer.
func (sc *StorageContainer) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StorageContainer struct.
StorageContainerListResult the list of blob containers associated with the storage account attached to the Data Lake Analytics account.
type StorageContainerListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The results of the list operation. Value *[]StorageContainer `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
func (sclr StorageContainerListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (sclr StorageContainerListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageContainerListResult.
StorageContainerListResultIterator provides access to a complete listing of StorageContainer values.
type StorageContainerListResultIterator struct {
// contains filtered or unexported fields
}
func NewStorageContainerListResultIterator(page StorageContainerListResultPage) StorageContainerListResultIterator
Creates a new instance of the StorageContainerListResultIterator type.
func (iter *StorageContainerListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
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 (iter StorageContainerListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter StorageContainerListResultIterator) Response() StorageContainerListResult
Response returns the raw server response from the last page request.
func (iter StorageContainerListResultIterator) Value() StorageContainer
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
StorageContainerListResultPage contains a page of StorageContainer values.
type StorageContainerListResultPage struct {
// contains filtered or unexported fields
}
func NewStorageContainerListResultPage(cur StorageContainerListResult, getNextPage func(context.Context, StorageContainerListResult) (StorageContainerListResult, error)) StorageContainerListResultPage
Creates a new instance of the StorageContainerListResultPage type.
func (page *StorageContainerListResultPage) 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 (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 (page StorageContainerListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page StorageContainerListResultPage) Response() StorageContainerListResult
Response returns the raw server response from the last page request.
func (page StorageContainerListResultPage) Values() []StorageContainer
Values returns the slice of values for the current page or nil if there are no values.
StorageContainerProperties azure Storage blob container properties information.
type StorageContainerProperties struct { // LastModifiedTime - READ-ONLY; The last modified time of the blob container. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` }
func (scp StorageContainerProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StorageContainerProperties.
SubResource the resource model definition for a nested resource.
type SubResource struct { // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` }
func (sr SubResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubResource.
SubscriptionState enumerates the values for subscription state.
type SubscriptionState string
const ( // SubscriptionStateDeleted ... SubscriptionStateDeleted SubscriptionState = "Deleted" // SubscriptionStateRegistered ... SubscriptionStateRegistered SubscriptionState = "Registered" // SubscriptionStateSuspended ... SubscriptionStateSuspended SubscriptionState = "Suspended" // SubscriptionStateUnregistered ... SubscriptionStateUnregistered SubscriptionState = "Unregistered" // SubscriptionStateWarned ... SubscriptionStateWarned SubscriptionState = "Warned" )
func PossibleSubscriptionStateValues() []SubscriptionState
PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.
TierType enumerates the values for tier type.
type TierType string
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() []TierType
PossibleTierTypeValues returns an array of possible values for the TierType const type.
UpdateComputePolicyParameters the parameters used to update a compute policy.
type UpdateComputePolicyParameters struct { // UpdateComputePolicyProperties - The compute policy properties to use when updating a compute policy. *UpdateComputePolicyProperties `json:"properties,omitempty"` }
func (ucpp UpdateComputePolicyParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateComputePolicyParameters.
func (ucpp *UpdateComputePolicyParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateComputePolicyParameters struct.
UpdateComputePolicyProperties the compute policy properties to use when updating a compute policy.
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"` }
UpdateComputePolicyWithAccountParameters the parameters used to update a compute policy while updating a Data Lake Analytics account.
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"` }
func (ucpwap UpdateComputePolicyWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateComputePolicyWithAccountParameters.
func (ucpwap *UpdateComputePolicyWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateComputePolicyWithAccountParameters struct.
UpdateDataLakeAnalyticsAccountParameters the parameters that can be used to update an existing Data Lake Analytics account.
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"` }
func (udlaap UpdateDataLakeAnalyticsAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateDataLakeAnalyticsAccountParameters.
func (udlaap *UpdateDataLakeAnalyticsAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateDataLakeAnalyticsAccountParameters struct.
UpdateDataLakeAnalyticsAccountProperties the properties to update that are associated with an underlying Data Lake Analytics account.
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"` }
UpdateDataLakeStoreProperties the Data Lake Store account properties to use when updating a Data Lake Store account.
type UpdateDataLakeStoreProperties struct { // Suffix - The optional suffix for the Data Lake Store account. Suffix *string `json:"suffix,omitempty"` }
UpdateDataLakeStoreWithAccountParameters the parameters used to update a Data Lake Store account while updating a Data Lake Analytics account.
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"` }
func (udlswap UpdateDataLakeStoreWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateDataLakeStoreWithAccountParameters.
func (udlswap *UpdateDataLakeStoreWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateDataLakeStoreWithAccountParameters struct.
UpdateFirewallRuleParameters the parameters used to update a firewall rule.
type UpdateFirewallRuleParameters struct { // UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule. *UpdateFirewallRuleProperties `json:"properties,omitempty"` }
func (ufrp UpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateFirewallRuleParameters.
func (ufrp *UpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleParameters struct.
UpdateFirewallRuleProperties the firewall rule properties to use when updating a firewall rule.
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"` }
UpdateFirewallRuleWithAccountParameters the parameters used to update a firewall rule while updating a Data Lake Analytics account.
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"` }
func (ufrwap UpdateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateFirewallRuleWithAccountParameters.
func (ufrwap *UpdateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleWithAccountParameters struct.
UpdateStorageAccountParameters the parameters used to update an Azure Storage account.
type UpdateStorageAccountParameters struct { // UpdateStorageAccountProperties - The Azure Storage account properties to use when updating an Azure Storage account. *UpdateStorageAccountProperties `json:"properties,omitempty"` }
func (usap UpdateStorageAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateStorageAccountParameters.
func (usap *UpdateStorageAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateStorageAccountParameters struct.
UpdateStorageAccountProperties the Azure Storage account properties to use when updating an Azure Storage account.
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"` }
UpdateStorageAccountWithAccountParameters the parameters used to update an Azure Storage account while updating a Data Lake Analytics account.
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"` }
func (usawap UpdateStorageAccountWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateStorageAccountWithAccountParameters.
func (usawap *UpdateStorageAccountWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateStorageAccountWithAccountParameters struct.
Name | Synopsis |
---|---|
.. | |
accountapi | Deprecated: Please note, this package has been deprecated. |