Documentation ¶
Overview ¶
Package account implements the Azure ARM Account service API version 2016-11-01.
Creates an Azure Data Lake Analytics account management client.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AddDataLakeStoreParameters
- type AddStorageAccountParameters
- type DataLakeAnalyticsAccount
- type DataLakeAnalyticsAccountListDataLakeStoreResult
- type DataLakeAnalyticsAccountListResult
- type DataLakeAnalyticsAccountListStorageAccountsResult
- type DataLakeAnalyticsAccountProperties
- type DataLakeAnalyticsAccountState
- type DataLakeAnalyticsAccountStatus
- type DataLakeAnalyticsAccountUpdateParameters
- type DataLakeAnalyticsFirewallRuleListResult
- type DataLakeStoreAccountInfo
- type DataLakeStoreAccountInfoProperties
- type DataLakeStoreAccountsClient
- func (client DataLakeStoreAccountsClient) Add(resourceGroupName string, accountName string, dataLakeStoreAccountName string, ...) (result autorest.Response, err error)
- func (client DataLakeStoreAccountsClient) AddPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string, ...) (*http.Request, error)
- func (client DataLakeStoreAccountsClient) AddResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataLakeStoreAccountsClient) AddSender(req *http.Request) (*http.Response, error)
- func (client DataLakeStoreAccountsClient) Delete(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result autorest.Response, err error)
- func (client DataLakeStoreAccountsClient) DeletePreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
- func (client DataLakeStoreAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DataLakeStoreAccountsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DataLakeStoreAccountsClient) Get(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result DataLakeStoreAccountInfo, err error)
- func (client DataLakeStoreAccountsClient) GetPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
- func (client DataLakeStoreAccountsClient) GetResponder(resp *http.Response) (result DataLakeStoreAccountInfo, err error)
- func (client DataLakeStoreAccountsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DataLakeStoreAccountsClient) ListByAccount(resourceGroupName string, accountName string, filter string, top *int32, ...) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
- func (client DataLakeStoreAccountsClient) ListByAccountNextResults(lastResults DataLakeAnalyticsAccountListDataLakeStoreResult) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
- func (client DataLakeStoreAccountsClient) ListByAccountPreparer(resourceGroupName string, accountName string, filter string, top *int32, ...) (*http.Request, error)
- func (client DataLakeStoreAccountsClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
- func (client DataLakeStoreAccountsClient) ListByAccountSender(req *http.Request) (*http.Response, error)
- type FirewallAllowAzureIpsState
- type FirewallRule
- type FirewallRuleProperties
- type FirewallRulesClient
- func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, accountName string, firewallRuleName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Delete(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeletePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
- func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Get(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetPreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
- func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) ListByAccount(resourceGroupName string, accountName string) (result DataLakeAnalyticsFirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByAccountNextResults(lastResults DataLakeAnalyticsFirewallRuleListResult) (result DataLakeAnalyticsFirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByAccountPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client FirewallRulesClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsFirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByAccountSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Update(resourceGroupName string, accountName string, firewallRuleName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) UpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) UpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type FirewallState
- type GroupClient
- func (client GroupClient) Create(resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client GroupClient) CreatePreparer(resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client GroupClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
- func (client GroupClient) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
- func (client GroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Get(resourceGroupName string, accountName string) (result DataLakeAnalyticsAccount, err error)
- func (client GroupClient) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client GroupClient) GetResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)
- func (client GroupClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) List(filter string, top *int32, skip *int32, selectParameter string, orderby string, ...) (result DataLakeAnalyticsAccountListResult, err error)
- func (client GroupClient) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, ...) (result DataLakeAnalyticsAccountListResult, err error)
- func (client GroupClient) ListByResourceGroupNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
- func (client GroupClient) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, ...) (*http.Request, error)
- func (client GroupClient) ListByResourceGroupResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)
- func (client GroupClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) ListNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
- func (client GroupClient) ListPreparer(filter string, top *int32, skip *int32, selectParameter string, orderby string, ...) (*http.Request, error)
- func (client GroupClient) ListResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)
- func (client GroupClient) ListSender(req *http.Request) (*http.Response, error)
- func (client GroupClient) Update(resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client GroupClient) UpdatePreparer(resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client GroupClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GroupClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ListSasTokensResult
- type ListStorageContainersResult
- type ManagementClient
- type OptionalSubResource
- type Resource
- type SasTokenInfo
- type StorageAccountInfo
- type StorageAccountProperties
- type StorageAccountsClient
- func (client StorageAccountsClient) Add(resourceGroupName string, accountName string, storageAccountName string, ...) (result autorest.Response, err error)
- func (client StorageAccountsClient) AddPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client StorageAccountsClient) AddResponder(resp *http.Response) (result autorest.Response, err error)
- func (client StorageAccountsClient) AddSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) Delete(resourceGroupName string, accountName string, storageAccountName string) (result autorest.Response, err error)
- func (client StorageAccountsClient) DeletePreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
- func (client StorageAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client StorageAccountsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) Get(resourceGroupName string, accountName string, storageAccountName string) (result StorageAccountInfo, err error)
- func (client StorageAccountsClient) GetPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
- func (client StorageAccountsClient) GetResponder(resp *http.Response) (result StorageAccountInfo, err error)
- func (client StorageAccountsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) GetStorageContainer(resourceGroupName string, accountName string, storageAccountName string, ...) (result StorageContainer, err error)
- func (client StorageAccountsClient) GetStorageContainerPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client StorageAccountsClient) GetStorageContainerResponder(resp *http.Response) (result StorageContainer, err error)
- func (client StorageAccountsClient) GetStorageContainerSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) ListByAccount(resourceGroupName string, accountName string, filter string, top *int32, ...) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
- func (client StorageAccountsClient) ListByAccountNextResults(lastResults DataLakeAnalyticsAccountListStorageAccountsResult) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
- func (client StorageAccountsClient) ListByAccountPreparer(resourceGroupName string, accountName string, filter string, top *int32, ...) (*http.Request, error)
- func (client StorageAccountsClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
- func (client StorageAccountsClient) ListByAccountSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) ListSasTokens(resourceGroupName string, accountName string, storageAccountName string, ...) (result ListSasTokensResult, err error)
- func (client StorageAccountsClient) ListSasTokensNextResults(lastResults ListSasTokensResult) (result ListSasTokensResult, err error)
- func (client StorageAccountsClient) ListSasTokensPreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client StorageAccountsClient) ListSasTokensResponder(resp *http.Response) (result ListSasTokensResult, err error)
- func (client StorageAccountsClient) ListSasTokensSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) ListStorageContainers(resourceGroupName string, accountName string, storageAccountName string) (result ListStorageContainersResult, err error)
- func (client StorageAccountsClient) ListStorageContainersNextResults(lastResults ListStorageContainersResult) (result ListStorageContainersResult, err error)
- func (client StorageAccountsClient) ListStorageContainersPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
- func (client StorageAccountsClient) ListStorageContainersResponder(resp *http.Response) (result ListStorageContainersResult, err error)
- func (client StorageAccountsClient) ListStorageContainersSender(req *http.Request) (*http.Response, error)
- func (client StorageAccountsClient) Update(resourceGroupName string, accountName string, storageAccountName string, ...) (result autorest.Response, err error)
- func (client StorageAccountsClient) UpdatePreparer(resourceGroupName string, accountName string, storageAccountName string, ...) (*http.Request, error)
- func (client StorageAccountsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client StorageAccountsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type StorageContainer
- type StorageContainerProperties
- type SubResource
- type TierType
- type UpdateDataLakeAnalyticsAccountProperties
- type UpdateFirewallRuleParameters
- type UpdateFirewallRuleProperties
- type UpdateStorageAccountParameters
- type UpdateStorageAccountProperties
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Account
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AddDataLakeStoreParameters ¶
type AddDataLakeStoreParameters struct {
*DataLakeStoreAccountInfoProperties `json:"properties,omitempty"`
}
AddDataLakeStoreParameters is additional Data Lake Store parameters.
type AddStorageAccountParameters ¶
type AddStorageAccountParameters struct {
*StorageAccountProperties `json:"properties,omitempty"`
}
AddStorageAccountParameters is storage account parameters for a storage account being added to a Data Lake Analytics account.
type DataLakeAnalyticsAccount ¶
type DataLakeAnalyticsAccount struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *DataLakeAnalyticsAccountProperties `json:"properties,omitempty"` }
DataLakeAnalyticsAccount is a Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.
type DataLakeAnalyticsAccountListDataLakeStoreResult ¶
type DataLakeAnalyticsAccountListDataLakeStoreResult struct { autorest.Response `json:"-"` Value *[]DataLakeStoreAccountInfo `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsAccountListDataLakeStoreResult is data Lake Account list information.
func (DataLakeAnalyticsAccountListDataLakeStoreResult) DataLakeAnalyticsAccountListDataLakeStoreResultPreparer ¶
func (client DataLakeAnalyticsAccountListDataLakeStoreResult) DataLakeAnalyticsAccountListDataLakeStoreResultPreparer() (*http.Request, error)
DataLakeAnalyticsAccountListDataLakeStoreResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeAnalyticsAccountListResult ¶
type DataLakeAnalyticsAccountListResult struct { autorest.Response `json:"-"` Value *[]DataLakeAnalyticsAccount `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsAccountListResult is dataLakeAnalytics Account list information.
func (DataLakeAnalyticsAccountListResult) DataLakeAnalyticsAccountListResultPreparer ¶
func (client DataLakeAnalyticsAccountListResult) DataLakeAnalyticsAccountListResultPreparer() (*http.Request, error)
DataLakeAnalyticsAccountListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeAnalyticsAccountListStorageAccountsResult ¶
type DataLakeAnalyticsAccountListStorageAccountsResult struct { autorest.Response `json:"-"` Value *[]StorageAccountInfo `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsAccountListStorageAccountsResult is azure Storage Account list information.
func (DataLakeAnalyticsAccountListStorageAccountsResult) DataLakeAnalyticsAccountListStorageAccountsResultPreparer ¶
func (client DataLakeAnalyticsAccountListStorageAccountsResult) DataLakeAnalyticsAccountListStorageAccountsResultPreparer() (*http.Request, error)
DataLakeAnalyticsAccountListStorageAccountsResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeAnalyticsAccountProperties ¶
type DataLakeAnalyticsAccountProperties struct { ProvisioningState DataLakeAnalyticsAccountStatus `json:"provisioningState,omitempty"` State DataLakeAnalyticsAccountState `json:"state,omitempty"` DefaultDataLakeStoreAccount *string `json:"defaultDataLakeStoreAccount,omitempty"` MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"` QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"` MaxJobCount *int32 `json:"maxJobCount,omitempty"` SystemMaxDegreeOfParallelism *int32 `json:"systemMaxDegreeOfParallelism,omitempty"` SystemMaxJobCount *int32 `json:"systemMaxJobCount,omitempty"` DataLakeStoreAccounts *[]DataLakeStoreAccountInfo `json:"dataLakeStoreAccounts,omitempty"` StorageAccounts *[]StorageAccountInfo `json:"storageAccounts,omitempty"` CreationTime *date.Time `json:"creationTime,omitempty"` LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` Endpoint *string `json:"endpoint,omitempty"` NewTier TierType `json:"newTier,omitempty"` CurrentTier TierType `json:"currentTier,omitempty"` FirewallState FirewallState `json:"firewallState,omitempty"` FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"` FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"` }
DataLakeAnalyticsAccountProperties is the account specific properties that are associated with an underlying Data Lake Analytics account.
type DataLakeAnalyticsAccountState ¶
type DataLakeAnalyticsAccountState string
DataLakeAnalyticsAccountState enumerates the values for data lake analytics account state.
const ( // Active specifies the active state for data lake analytics account state. Active DataLakeAnalyticsAccountState = "Active" // Suspended specifies the suspended state for data lake analytics account // state. Suspended DataLakeAnalyticsAccountState = "Suspended" )
type DataLakeAnalyticsAccountStatus ¶
type DataLakeAnalyticsAccountStatus string
DataLakeAnalyticsAccountStatus enumerates the values for data lake analytics account status.
const ( // Creating specifies the creating state for data lake analytics account // status. Creating DataLakeAnalyticsAccountStatus = "Creating" // Deleted specifies the deleted state for data lake analytics account // status. Deleted DataLakeAnalyticsAccountStatus = "Deleted" // Deleting specifies the deleting state for data lake analytics account // status. Deleting DataLakeAnalyticsAccountStatus = "Deleting" // Failed specifies the failed state for data lake analytics account // status. Failed DataLakeAnalyticsAccountStatus = "Failed" // Patching specifies the patching state for data lake analytics account // status. Patching DataLakeAnalyticsAccountStatus = "Patching" // Resuming specifies the resuming state for data lake analytics account // status. Resuming DataLakeAnalyticsAccountStatus = "Resuming" // Running specifies the running state for data lake analytics account // status. Running DataLakeAnalyticsAccountStatus = "Running" // Succeeded specifies the succeeded state for data lake analytics account // status. Succeeded DataLakeAnalyticsAccountStatus = "Succeeded" // Suspending specifies the suspending state for data lake analytics // account status. Suspending DataLakeAnalyticsAccountStatus = "Suspending" )
type DataLakeAnalyticsAccountUpdateParameters ¶
type DataLakeAnalyticsAccountUpdateParameters struct { Tags *map[string]*string `json:"tags,omitempty"` *UpdateDataLakeAnalyticsAccountProperties `json:"properties,omitempty"` }
DataLakeAnalyticsAccountUpdateParameters is the parameters that can be used to update an existing Data Lake Analytics account.
type DataLakeAnalyticsFirewallRuleListResult ¶
type DataLakeAnalyticsFirewallRuleListResult struct { autorest.Response `json:"-"` Value *[]FirewallRule `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DataLakeAnalyticsFirewallRuleListResult is data Lake Analytics firewall rule list information.
func (DataLakeAnalyticsFirewallRuleListResult) DataLakeAnalyticsFirewallRuleListResultPreparer ¶
func (client DataLakeAnalyticsFirewallRuleListResult) DataLakeAnalyticsFirewallRuleListResultPreparer() (*http.Request, error)
DataLakeAnalyticsFirewallRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeStoreAccountInfo ¶
type DataLakeStoreAccountInfo struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *DataLakeStoreAccountInfoProperties `json:"properties,omitempty"` }
DataLakeStoreAccountInfo is data Lake Store account information.
type DataLakeStoreAccountInfoProperties ¶
type DataLakeStoreAccountInfoProperties struct {
Suffix *string `json:"suffix,omitempty"`
}
DataLakeStoreAccountInfoProperties is data Lake Store account properties information.
type DataLakeStoreAccountsClient ¶
type DataLakeStoreAccountsClient struct {
ManagementClient
}
DataLakeStoreAccountsClient is the creates an Azure Data Lake Analytics account management client.
func NewDataLakeStoreAccountsClient ¶
func NewDataLakeStoreAccountsClient(subscriptionID string) DataLakeStoreAccountsClient
NewDataLakeStoreAccountsClient creates an instance of the DataLakeStoreAccountsClient client.
func NewDataLakeStoreAccountsClientWithBaseURI ¶
func NewDataLakeStoreAccountsClientWithBaseURI(baseURI string, subscriptionID string) DataLakeStoreAccountsClient
NewDataLakeStoreAccountsClientWithBaseURI creates an instance of the DataLakeStoreAccountsClient client.
func (DataLakeStoreAccountsClient) Add ¶
func (client DataLakeStoreAccountsClient) Add(resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters *AddDataLakeStoreParameters) (result autorest.Response, err error)
Add updates the specified Data Lake Analytics account to include the additional Data Lake Store account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to which to add the Data Lake Store account. dataLakeStoreAccountName is the name of the Data Lake Store account to add. parameters is the details of the Data Lake Store account.
func (DataLakeStoreAccountsClient) AddPreparer ¶
func (client DataLakeStoreAccountsClient) AddPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string, parameters *AddDataLakeStoreParameters) (*http.Request, error)
AddPreparer prepares the Add request.
func (DataLakeStoreAccountsClient) AddResponder ¶
func (client DataLakeStoreAccountsClient) AddResponder(resp *http.Response) (result autorest.Response, err error)
AddResponder handles the response to the Add request. The method always closes the http.Response Body.
func (DataLakeStoreAccountsClient) AddSender ¶
AddSender sends the Add request. The method will close the http.Response Body if it receives an error.
func (DataLakeStoreAccountsClient) Delete ¶
func (client DataLakeStoreAccountsClient) Delete(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result autorest.Response, err error)
Delete updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to remove the Data Lake Store account. dataLakeStoreAccountName is the name of the Data Lake Store account to remove
func (DataLakeStoreAccountsClient) DeletePreparer ¶
func (client DataLakeStoreAccountsClient) DeletePreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DataLakeStoreAccountsClient) DeleteResponder ¶
func (client DataLakeStoreAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DataLakeStoreAccountsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DataLakeStoreAccountsClient) Get ¶
func (client DataLakeStoreAccountsClient) Get(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (result DataLakeStoreAccountInfo, err error)
Get gets the specified Data Lake Store account details in the specified Data Lake Analytics account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details. dataLakeStoreAccountName is the name of the Data Lake Store account to retrieve
func (DataLakeStoreAccountsClient) GetPreparer ¶
func (client DataLakeStoreAccountsClient) GetPreparer(resourceGroupName string, accountName string, dataLakeStoreAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DataLakeStoreAccountsClient) GetResponder ¶
func (client DataLakeStoreAccountsClient) GetResponder(resp *http.Response) (result DataLakeStoreAccountInfo, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DataLakeStoreAccountsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DataLakeStoreAccountsClient) ListByAccount ¶
func (client DataLakeStoreAccountsClient) ListByAccount(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
ListByAccount gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to list Data Lake Store accounts. filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. selectParameter is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count is the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
func (DataLakeStoreAccountsClient) ListByAccountNextResults ¶
func (client DataLakeStoreAccountsClient) ListByAccountNextResults(lastResults DataLakeAnalyticsAccountListDataLakeStoreResult) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
ListByAccountNextResults retrieves the next set of results, if any.
func (DataLakeStoreAccountsClient) ListByAccountPreparer ¶
func (client DataLakeStoreAccountsClient) ListByAccountPreparer(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
func (DataLakeStoreAccountsClient) ListByAccountResponder ¶
func (client DataLakeStoreAccountsClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsAccountListDataLakeStoreResult, err error)
ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.
func (DataLakeStoreAccountsClient) ListByAccountSender ¶
func (client DataLakeStoreAccountsClient) ListByAccountSender(req *http.Request) (*http.Response, error)
ListByAccountSender sends the ListByAccount request. The method will close the http.Response Body if it receives an error.
type FirewallAllowAzureIpsState ¶
type FirewallAllowAzureIpsState string
FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.
const ( // Disabled specifies the disabled state for firewall allow azure ips // state. Disabled FirewallAllowAzureIpsState = "Disabled" // Enabled specifies the enabled state for firewall allow azure ips state. Enabled FirewallAllowAzureIpsState = "Enabled" )
type FirewallRule ¶
type FirewallRule struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *FirewallRuleProperties `json:"properties,omitempty"` }
FirewallRule is data Lake Analytics firewall rule information
type FirewallRuleProperties ¶
type FirewallRuleProperties struct { StartIPAddress *string `json:"startIpAddress,omitempty"` EndIPAddress *string `json:"endIpAddress,omitempty"` }
FirewallRuleProperties is data Lake Analytics firewall rule properties information
type FirewallRulesClient ¶
type FirewallRulesClient struct {
ManagementClient
}
FirewallRulesClient is the creates an Azure Data Lake Analytics account management client.
func NewFirewallRulesClient ¶
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient
NewFirewallRulesClient creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI ¶
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient
NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func (FirewallRulesClient) CreateOrUpdate ¶
func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, accountName string, firewallRuleName string, parameters FirewallRule) (result FirewallRule, err error)
CreateOrUpdate creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to add or replace the firewall rule. firewallRuleName is the name of the firewall rule to create or update. parameters is parameters supplied to create or update the firewall rule.
func (FirewallRulesClient) CreateOrUpdatePreparer ¶
func (client FirewallRulesClient) CreateOrUpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (FirewallRulesClient) CreateOrUpdateResponder ¶
func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (FirewallRulesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) Delete ¶
func (client FirewallRulesClient) Delete(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
Delete deletes the specified firewall rule from the specified Data Lake Analytics account
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to delete the firewall rule. firewallRuleName is the name of the firewall rule to delete.
func (FirewallRulesClient) DeletePreparer ¶
func (client FirewallRulesClient) DeletePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FirewallRulesClient) DeleteResponder ¶
func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (FirewallRulesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) Get ¶
func (client FirewallRulesClient) Get(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)
Get gets the specified Data Lake Analytics firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to get the firewall rule. firewallRuleName is the name of the firewall rule to retrieve.
func (FirewallRulesClient) GetPreparer ¶
func (client FirewallRulesClient) GetPreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FirewallRulesClient) GetResponder ¶
func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (FirewallRulesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) ListByAccount ¶
func (client FirewallRulesClient) ListByAccount(resourceGroupName string, accountName string) (result DataLakeAnalyticsFirewallRuleListResult, err error)
ListByAccount lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to get the firewall rules.
func (FirewallRulesClient) ListByAccountNextResults ¶
func (client FirewallRulesClient) ListByAccountNextResults(lastResults DataLakeAnalyticsFirewallRuleListResult) (result DataLakeAnalyticsFirewallRuleListResult, err error)
ListByAccountNextResults retrieves the next set of results, if any.
func (FirewallRulesClient) ListByAccountPreparer ¶
func (client FirewallRulesClient) ListByAccountPreparer(resourceGroupName string, accountName string) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
func (FirewallRulesClient) ListByAccountResponder ¶
func (client FirewallRulesClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsFirewallRuleListResult, err error)
ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.
func (FirewallRulesClient) ListByAccountSender ¶
ListByAccountSender sends the ListByAccount request. The method will close the http.Response Body if it receives an error.
func (FirewallRulesClient) Update ¶
func (client FirewallRulesClient) Update(resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (result FirewallRule, err error)
Update updates the specified firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to which to update the firewall rule. firewallRuleName is the name of the firewall rule to update. parameters is parameters supplied to update the firewall rule.
func (FirewallRulesClient) UpdatePreparer ¶
func (client FirewallRulesClient) UpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (FirewallRulesClient) UpdateResponder ¶
func (client FirewallRulesClient) UpdateResponder(resp *http.Response) (result FirewallRule, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (FirewallRulesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type FirewallState ¶
type FirewallState string
FirewallState enumerates the values for firewall state.
const ( // FirewallStateDisabled specifies the firewall state disabled state for // firewall state. FirewallStateDisabled FirewallState = "Disabled" // FirewallStateEnabled specifies the firewall state enabled state for // firewall state. FirewallStateEnabled FirewallState = "Enabled" )
type GroupClient ¶
type GroupClient struct {
ManagementClient
}
GroupClient is the creates an Azure Data Lake Analytics account management client.
func NewGroupClient ¶
func NewGroupClient(subscriptionID string) GroupClient
NewGroupClient creates an instance of the GroupClient client.
func NewGroupClientWithBaseURI ¶
func NewGroupClientWithBaseURI(baseURI string, subscriptionID string) GroupClient
NewGroupClientWithBaseURI creates an instance of the GroupClient client.
func (GroupClient) Create ¶
func (client GroupClient) Create(resourceGroupName string, accountName string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Create creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with. accountName is the name of the Data Lake Analytics account to create. parameters is parameters supplied to the create Data Lake Analytics account operation.
func (GroupClient) CreatePreparer ¶
func (client GroupClient) CreatePreparer(resourceGroupName string, accountName string, parameters DataLakeAnalyticsAccount, cancel <-chan struct{}) (*http.Request, error)
CreatePreparer prepares the Create request.
func (GroupClient) CreateResponder ¶
func (client GroupClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (GroupClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Delete ¶
func (client GroupClient) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
Delete begins the delete delete process for the Data Lake Analytics account object specified by the account name. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to delete
func (GroupClient) DeletePreparer ¶
func (client GroupClient) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (GroupClient) DeleteResponder ¶
func (client GroupClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (GroupClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Get ¶
func (client GroupClient) Get(resourceGroupName string, accountName string) (result DataLakeAnalyticsAccount, err error)
Get gets details of the specified Data Lake Analytics account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to retrieve.
func (GroupClient) GetPreparer ¶
func (client GroupClient) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GroupClient) GetResponder ¶
func (client GroupClient) GetResponder(resp *http.Response) (result DataLakeAnalyticsAccount, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (GroupClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GroupClient) List ¶
func (client GroupClient) List(filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListResult, err error)
List gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.
filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. selectParameter is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count is the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
func (GroupClient) ListByResourceGroup ¶
func (client GroupClient) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListResult, err error)
ListByResourceGroup gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. selectParameter is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count is the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
func (GroupClient) ListByResourceGroupNextResults ¶
func (client GroupClient) ListByResourceGroupNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (GroupClient) ListByResourceGroupPreparer ¶
func (client GroupClient) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (GroupClient) ListByResourceGroupResponder ¶
func (client GroupClient) ListByResourceGroupResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (GroupClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (GroupClient) ListNextResults ¶
func (client GroupClient) ListNextResults(lastResults DataLakeAnalyticsAccountListResult) (result DataLakeAnalyticsAccountListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (GroupClient) ListPreparer ¶
func (client GroupClient) ListPreparer(filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)
ListPreparer prepares the List request.
func (GroupClient) ListResponder ¶
func (client GroupClient) ListResponder(resp *http.Response) (result DataLakeAnalyticsAccountListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (GroupClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (GroupClient) Update ¶
func (client GroupClient) Update(resourceGroupName string, accountName string, parameters *DataLakeAnalyticsAccountUpdateParameters, cancel <-chan struct{}) (result autorest.Response, err error)
Update updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to update. parameters is parameters supplied to the update Data Lake Analytics account operation.
func (GroupClient) UpdatePreparer ¶
func (client GroupClient) UpdatePreparer(resourceGroupName string, accountName string, parameters *DataLakeAnalyticsAccountUpdateParameters, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (GroupClient) UpdateResponder ¶
func (client GroupClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (GroupClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ListSasTokensResult ¶
type ListSasTokensResult struct { autorest.Response `json:"-"` Value *[]SasTokenInfo `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListSasTokensResult is the SAS response that contains the storage account, container and associated SAS token for connection use.
func (ListSasTokensResult) ListSasTokensResultPreparer ¶
func (client ListSasTokensResult) ListSasTokensResultPreparer() (*http.Request, error)
ListSasTokensResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ListStorageContainersResult ¶
type ListStorageContainersResult struct { autorest.Response `json:"-"` Value *[]StorageContainer `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListStorageContainersResult is the list of blob containers associated with the storage account attached to the Data Lake Analytics account.
func (ListStorageContainersResult) ListStorageContainersResultPreparer ¶
func (client ListStorageContainersResult) ListStorageContainersResultPreparer() (*http.Request, error)
ListStorageContainersResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ManagementClient ¶
ManagementClient is the base client for Account.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type OptionalSubResource ¶
type OptionalSubResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
OptionalSubResource is the Resource model definition for a nested resource with no required properties.
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
Resource is the Resource model definition.
type SasTokenInfo ¶
type SasTokenInfo struct {
AccessToken *string `json:"accessToken,omitempty"`
}
SasTokenInfo is sAS token information.
type StorageAccountInfo ¶
type StorageAccountInfo struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` *StorageAccountProperties `json:"properties,omitempty"` }
StorageAccountInfo is azure Storage account information.
type StorageAccountProperties ¶
type StorageAccountProperties struct { AccessKey *string `json:"accessKey,omitempty"` Suffix *string `json:"suffix,omitempty"` }
StorageAccountProperties is azure Storage account properties information.
type StorageAccountsClient ¶
type StorageAccountsClient struct {
ManagementClient
}
StorageAccountsClient is the creates an Azure Data Lake Analytics account management client.
func NewStorageAccountsClient ¶
func NewStorageAccountsClient(subscriptionID string) StorageAccountsClient
NewStorageAccountsClient creates an instance of the StorageAccountsClient client.
func NewStorageAccountsClientWithBaseURI ¶
func NewStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) StorageAccountsClient
NewStorageAccountsClientWithBaseURI creates an instance of the StorageAccountsClient client.
func (StorageAccountsClient) Add ¶
func (client StorageAccountsClient) Add(resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (result autorest.Response, err error)
Add updates the specified Data Lake Analytics account to add an Azure Storage account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to which to add the Azure Storage account. storageAccountName is the name of the Azure Storage account to add parameters is the parameters containing the access key and optional suffix for the Azure Storage Account.
func (StorageAccountsClient) AddPreparer ¶
func (client StorageAccountsClient) AddPreparer(resourceGroupName string, accountName string, storageAccountName string, parameters AddStorageAccountParameters) (*http.Request, error)
AddPreparer prepares the Add request.
func (StorageAccountsClient) AddResponder ¶
func (client StorageAccountsClient) AddResponder(resp *http.Response) (result autorest.Response, err error)
AddResponder handles the response to the Add request. The method always closes the http.Response Body.
func (StorageAccountsClient) AddSender ¶
AddSender sends the Add request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) Delete ¶
func (client StorageAccountsClient) Delete(resourceGroupName string, accountName string, storageAccountName string) (result autorest.Response, err error)
Delete updates the specified Data Lake Analytics account to remove an Azure Storage account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to remove the Azure Storage account. storageAccountName is the name of the Azure Storage account to remove
func (StorageAccountsClient) DeletePreparer ¶
func (client StorageAccountsClient) DeletePreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (StorageAccountsClient) DeleteResponder ¶
func (client StorageAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (StorageAccountsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) Get ¶
func (client StorageAccountsClient) Get(resourceGroupName string, accountName string, storageAccountName string) (result StorageAccountInfo, err error)
Get gets the specified Azure Storage account linked to the given Data Lake Analytics account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which to retrieve Azure storage account details. storageAccountName is the name of the Azure Storage account for which to retrieve the details.
func (StorageAccountsClient) GetPreparer ¶
func (client StorageAccountsClient) GetPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (StorageAccountsClient) GetResponder ¶
func (client StorageAccountsClient) GetResponder(resp *http.Response) (result StorageAccountInfo, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (StorageAccountsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) GetStorageContainer ¶
func (client StorageAccountsClient) GetStorageContainer(resourceGroupName string, accountName string, storageAccountName string, containerName string) (result StorageContainer, err error)
GetStorageContainer gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to retrieve blob container. storageAccountName is the name of the Azure storage account from which to retrieve the blob container. containerName is the name of the Azure storage container to retrieve
func (StorageAccountsClient) GetStorageContainerPreparer ¶
func (client StorageAccountsClient) GetStorageContainerPreparer(resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)
GetStorageContainerPreparer prepares the GetStorageContainer request.
func (StorageAccountsClient) GetStorageContainerResponder ¶
func (client StorageAccountsClient) GetStorageContainerResponder(resp *http.Response) (result StorageContainer, err error)
GetStorageContainerResponder handles the response to the GetStorageContainer request. The method always closes the http.Response Body.
func (StorageAccountsClient) GetStorageContainerSender ¶
func (client StorageAccountsClient) GetStorageContainerSender(req *http.Request) (*http.Response, error)
GetStorageContainerSender sends the GetStorageContainer request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) ListByAccount ¶
func (client StorageAccountsClient) ListByAccount(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
ListByAccount gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to list Azure Storage accounts. filter is the OData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. selectParameter is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count is the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
func (StorageAccountsClient) ListByAccountNextResults ¶
func (client StorageAccountsClient) ListByAccountNextResults(lastResults DataLakeAnalyticsAccountListStorageAccountsResult) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
ListByAccountNextResults retrieves the next set of results, if any.
func (StorageAccountsClient) ListByAccountPreparer ¶
func (client StorageAccountsClient) ListByAccountPreparer(resourceGroupName string, accountName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
func (StorageAccountsClient) ListByAccountResponder ¶
func (client StorageAccountsClient) ListByAccountResponder(resp *http.Response) (result DataLakeAnalyticsAccountListStorageAccountsResult, err error)
ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.
func (StorageAccountsClient) ListByAccountSender ¶
ListByAccountSender sends the ListByAccount request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) ListSasTokens ¶
func (client StorageAccountsClient) ListSasTokens(resourceGroupName string, accountName string, storageAccountName string, containerName string) (result ListSasTokensResult, err error)
ListSasTokens gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account from which an Azure Storage account's SAS token is being requested. storageAccountName is the name of the Azure storage account for which the SAS token is being requested. containerName is the name of the Azure storage container for which the SAS token is being requested.
func (StorageAccountsClient) ListSasTokensNextResults ¶
func (client StorageAccountsClient) ListSasTokensNextResults(lastResults ListSasTokensResult) (result ListSasTokensResult, err error)
ListSasTokensNextResults retrieves the next set of results, if any.
func (StorageAccountsClient) ListSasTokensPreparer ¶
func (client StorageAccountsClient) ListSasTokensPreparer(resourceGroupName string, accountName string, storageAccountName string, containerName string) (*http.Request, error)
ListSasTokensPreparer prepares the ListSasTokens request.
func (StorageAccountsClient) ListSasTokensResponder ¶
func (client StorageAccountsClient) ListSasTokensResponder(resp *http.Response) (result ListSasTokensResult, err error)
ListSasTokensResponder handles the response to the ListSasTokens request. The method always closes the http.Response Body.
func (StorageAccountsClient) ListSasTokensSender ¶
ListSasTokensSender sends the ListSasTokens request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) ListStorageContainers ¶
func (client StorageAccountsClient) ListStorageContainers(resourceGroupName string, accountName string, storageAccountName string) (result ListStorageContainersResult, err error)
ListStorageContainers lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account for which to list Azure Storage blob containers. storageAccountName is the name of the Azure storage account from which to list blob containers.
func (StorageAccountsClient) ListStorageContainersNextResults ¶
func (client StorageAccountsClient) ListStorageContainersNextResults(lastResults ListStorageContainersResult) (result ListStorageContainersResult, err error)
ListStorageContainersNextResults retrieves the next set of results, if any.
func (StorageAccountsClient) ListStorageContainersPreparer ¶
func (client StorageAccountsClient) ListStorageContainersPreparer(resourceGroupName string, accountName string, storageAccountName string) (*http.Request, error)
ListStorageContainersPreparer prepares the ListStorageContainers request.
func (StorageAccountsClient) ListStorageContainersResponder ¶
func (client StorageAccountsClient) ListStorageContainersResponder(resp *http.Response) (result ListStorageContainersResult, err error)
ListStorageContainersResponder handles the response to the ListStorageContainers request. The method always closes the http.Response Body.
func (StorageAccountsClient) ListStorageContainersSender ¶
func (client StorageAccountsClient) ListStorageContainersSender(req *http.Request) (*http.Response, error)
ListStorageContainersSender sends the ListStorageContainers request. The method will close the http.Response Body if it receives an error.
func (StorageAccountsClient) Update ¶
func (client StorageAccountsClient) Update(resourceGroupName string, accountName string, storageAccountName string, parameters *UpdateStorageAccountParameters) (result autorest.Response, err error)
Update updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Analytics account. accountName is the name of the Data Lake Analytics account to modify storage accounts in storageAccountName is the Azure Storage account to modify parameters is the parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change.
func (StorageAccountsClient) UpdatePreparer ¶
func (client StorageAccountsClient) UpdatePreparer(resourceGroupName string, accountName string, storageAccountName string, parameters *UpdateStorageAccountParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (StorageAccountsClient) UpdateResponder ¶
func (client StorageAccountsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (StorageAccountsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type StorageContainer ¶
type StorageContainer struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` ID *string `json:"id,omitempty"` Type *string `json:"type,omitempty"` *StorageContainerProperties `json:"properties,omitempty"` }
StorageContainer is azure Storage blob container information.
type StorageContainerProperties ¶
type StorageContainerProperties struct {
LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
}
StorageContainerProperties is azure Storage blob container properties information.
type SubResource ¶
type SubResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
SubResource is the Sub Resource model definition.
type TierType ¶
type TierType string
TierType enumerates the values for tier type.
const ( // Commitment100000AUHours specifies the commitment 100000au hours state // for tier type. Commitment100000AUHours TierType = "Commitment_100000AUHours" // Commitment10000AUHours specifies the commitment 10000au hours state for // tier type. Commitment10000AUHours TierType = "Commitment_10000AUHours" // Commitment1000AUHours specifies the commitment 1000au hours state for // tier type. Commitment1000AUHours TierType = "Commitment_1000AUHours" // Commitment100AUHours specifies the commitment 100au hours state for tier // type. Commitment100AUHours TierType = "Commitment_100AUHours" // Commitment500000AUHours specifies the commitment 500000au hours state // for tier type. Commitment500000AUHours TierType = "Commitment_500000AUHours" // Commitment50000AUHours specifies the commitment 50000au hours state for // tier type. Commitment50000AUHours TierType = "Commitment_50000AUHours" // Commitment5000AUHours specifies the commitment 5000au hours state for // tier type. Commitment5000AUHours TierType = "Commitment_5000AUHours" // Commitment500AUHours specifies the commitment 500au hours state for tier // type. Commitment500AUHours TierType = "Commitment_500AUHours" // Consumption specifies the consumption state for tier type. Consumption TierType = "Consumption" )
type UpdateDataLakeAnalyticsAccountProperties ¶
type UpdateDataLakeAnalyticsAccountProperties struct { MaxDegreeOfParallelism *int32 `json:"maxDegreeOfParallelism,omitempty"` QueryStoreRetention *int32 `json:"queryStoreRetention,omitempty"` MaxJobCount *int32 `json:"maxJobCount,omitempty"` NewTier TierType `json:"newTier,omitempty"` FirewallState FirewallState `json:"firewallState,omitempty"` FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"` FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"` }
UpdateDataLakeAnalyticsAccountProperties is the properties to update that are associated with an underlying Data Lake Analytics account to.
type UpdateFirewallRuleParameters ¶
type UpdateFirewallRuleParameters struct {
*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}
UpdateFirewallRuleParameters is data Lake Analytics firewall rule update parameters
type UpdateFirewallRuleProperties ¶
type UpdateFirewallRuleProperties struct { StartIPAddress *string `json:"startIpAddress,omitempty"` EndIPAddress *string `json:"endIpAddress,omitempty"` }
UpdateFirewallRuleProperties is data Lake Analytics firewall rule properties information
type UpdateStorageAccountParameters ¶
type UpdateStorageAccountParameters struct {
*UpdateStorageAccountProperties `json:"properties,omitempty"`
}
UpdateStorageAccountParameters is storage account parameters for a storage account being updated in a Data Lake Analytics account.
type UpdateStorageAccountProperties ¶
type UpdateStorageAccountProperties struct { AccessKey *string `json:"accessKey,omitempty"` Suffix *string `json:"suffix,omitempty"` }
UpdateStorageAccountProperties is azure Storage account properties information to update.