Documentation ¶
Overview ¶
Package account implements the Azure ARM Account service API version 2015-10-01-preview.
Creates an Azure Data Lake Store account management client.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AzureAsyncOperationResult
- type Client
- func (client Client) Create(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (result autorest.Response, err error)
- func (client Client) CreateOrUpdateFirewallRule(resourceGroupName string, accountName string, name string, ...) (result FirewallRule, err error)
- func (client Client) CreateOrUpdateFirewallRulePreparer(resourceGroupName string, accountName string, name string, ...) (*http.Request, error)
- func (client Client) CreateOrUpdateFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
- func (client Client) CreateOrUpdateFirewallRuleSender(req *http.Request) (*http.Response, error)
- func (client Client) CreatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (*http.Request, error)
- func (client Client) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) CreateSender(req *http.Request) (*http.Response, error)
- func (client Client) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
- func (client Client) DeleteFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
- func (client Client) DeleteFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
- func (client Client) DeleteFirewallRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) DeleteFirewallRuleSender(req *http.Request) (*http.Response, error)
- func (client Client) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
- func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) DeleteSender(req *http.Request) (*http.Response, error)
- func (client Client) Get(resourceGroupName string, accountName string) (result DataLakeStoreAccount, err error)
- func (client Client) GetFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)
- func (client Client) GetFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
- func (client Client) GetFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
- func (client Client) GetFirewallRuleSender(req *http.Request) (*http.Response, error)
- func (client Client) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client Client) GetResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
- func (client Client) GetSender(req *http.Request) (*http.Response, error)
- func (client Client) List(filter string, top *int32, skip *int32, expand string, selectParameter string, ...) (result DataLakeStoreAccountListResult, err error)
- func (client Client) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, ...) (result DataLakeStoreAccountListResult, err error)
- func (client Client) ListByResourceGroupNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
- func (client Client) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, ...) (*http.Request, error)
- func (client Client) ListByResourceGroupResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
- func (client Client) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client Client) ListFirewallRules(resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResult, err error)
- func (client Client) ListFirewallRulesNextResults(lastResults DataLakeStoreFirewallRuleListResult) (result DataLakeStoreFirewallRuleListResult, err error)
- func (client Client) ListFirewallRulesPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client Client) ListFirewallRulesResponder(resp *http.Response) (result DataLakeStoreFirewallRuleListResult, err error)
- func (client Client) ListFirewallRulesSender(req *http.Request) (*http.Response, error)
- func (client Client) ListNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
- func (client Client) ListPreparer(filter string, top *int32, skip *int32, expand string, selectParameter string, ...) (*http.Request, error)
- func (client Client) ListResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
- func (client Client) ListSender(req *http.Request) (*http.Response, error)
- func (client Client) Update(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (result autorest.Response, err error)
- func (client Client) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (*http.Request, error)
- func (client Client) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) UpdateSender(req *http.Request) (*http.Response, error)
- type DataLakeStoreAccount
- type DataLakeStoreAccountListResult
- type DataLakeStoreAccountProperties
- type DataLakeStoreAccountState
- type DataLakeStoreAccountStatus
- type DataLakeStoreFirewallRuleListResult
- type Error
- type ErrorDetails
- type FirewallRule
- type FirewallRuleProperties
- type InnerError
- type ManagementClient
- func (client ManagementClient) Create(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (result autorest.Response, err error)
- func (client ManagementClient) CreateOrUpdateFirewallRule(resourceGroupName string, accountName string, name string, ...) (result FirewallRule, err error)
- func (client ManagementClient) CreateOrUpdateFirewallRulePreparer(resourceGroupName string, accountName string, name string, ...) (*http.Request, error)
- func (client ManagementClient) CreateOrUpdateFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
- func (client ManagementClient) CreateOrUpdateFirewallRuleSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) CreatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (*http.Request, error)
- func (client ManagementClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
- func (client ManagementClient) DeleteFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
- func (client ManagementClient) DeleteFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
- func (client ManagementClient) DeleteFirewallRuleResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) DeleteFirewallRuleSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
- func (client ManagementClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Get(resourceGroupName string, accountName string) (result DataLakeStoreAccount, err error)
- func (client ManagementClient) GetFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)
- func (client ManagementClient) GetFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
- func (client ManagementClient) GetFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
- func (client ManagementClient) GetFirewallRuleSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client ManagementClient) GetResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
- func (client ManagementClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) List(filter string, top *int32, skip *int32, expand string, selectParameter string, ...) (result DataLakeStoreAccountListResult, err error)
- func (client ManagementClient) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, ...) (result DataLakeStoreAccountListResult, err error)
- func (client ManagementClient) ListByResourceGroupNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
- func (client ManagementClient) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, ...) (*http.Request, error)
- func (client ManagementClient) ListByResourceGroupResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
- func (client ManagementClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) ListFirewallRules(resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResult, err error)
- func (client ManagementClient) ListFirewallRulesNextResults(lastResults DataLakeStoreFirewallRuleListResult) (result DataLakeStoreFirewallRuleListResult, err error)
- func (client ManagementClient) ListFirewallRulesPreparer(resourceGroupName string, accountName string) (*http.Request, error)
- func (client ManagementClient) ListFirewallRulesResponder(resp *http.Response) (result DataLakeStoreFirewallRuleListResult, err error)
- func (client ManagementClient) ListFirewallRulesSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) ListNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
- func (client ManagementClient) ListPreparer(filter string, top *int32, skip *int32, expand string, selectParameter string, ...) (*http.Request, error)
- func (client ManagementClient) ListResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
- func (client ManagementClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ManagementClient) Update(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (result autorest.Response, err error)
- func (client ManagementClient) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, ...) (*http.Request, error)
- func (client ManagementClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ManagementClient) UpdateSender(req *http.Request) (*http.Response, error)
- type OperationStatus
Constants ¶
const ( // APIVersion is the version of the Account APIVersion = "2015-10-01-preview" // 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 AzureAsyncOperationResult ¶
type AzureAsyncOperationResult struct { Status OperationStatus `json:"status,omitempty"` Error *Error `json:"error,omitempty"` }
AzureAsyncOperationResult is the response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.
type Client ¶
type Client struct {
ManagementClient
}
Client is the creates an Azure Data Lake Store account management client.
func NewClientWithBaseURI ¶
NewClientWithBaseURI creates an instance of the Client client.
func (Client) Create ¶
func (client Client) Create(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Create creates the specified Data Lake Store account. 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 Store account. name is the name of the Data Lake Store account to create. parameters is parameters supplied to create the Data Lake Store account.
func (Client) CreateOrUpdateFirewallRule ¶
func (client Client) CreateOrUpdateFirewallRule(resourceGroupName string, accountName string, name string, parameters FirewallRule) (result FirewallRule, err error)
CreateOrUpdateFirewallRule creates or updates the specified firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to which to add the firewall rule. name is the name of the firewall rule to create or update. parameters is parameters supplied to create the create firewall rule.
func (Client) CreateOrUpdateFirewallRulePreparer ¶
func (client Client) CreateOrUpdateFirewallRulePreparer(resourceGroupName string, accountName string, name string, parameters FirewallRule) (*http.Request, error)
CreateOrUpdateFirewallRulePreparer prepares the CreateOrUpdateFirewallRule request.
func (Client) CreateOrUpdateFirewallRuleResponder ¶
func (client Client) CreateOrUpdateFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
CreateOrUpdateFirewallRuleResponder handles the response to the CreateOrUpdateFirewallRule request. The method always closes the http.Response Body.
func (Client) CreateOrUpdateFirewallRuleSender ¶
CreateOrUpdateFirewallRuleSender sends the CreateOrUpdateFirewallRule request. The method will close the http.Response Body if it receives an error.
func (Client) CreatePreparer ¶
func (client Client) CreatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (*http.Request, error)
CreatePreparer prepares the Create request.
func (Client) CreateResponder ¶
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (Client) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (Client) Delete ¶
func (client Client) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
Delete deletes the specified Data Lake Store account. 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 Store account. accountName is the name of the Data Lake Store account to delete.
func (Client) DeleteFirewallRule ¶
func (client Client) DeleteFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
DeleteFirewallRule deletes the specified firewall rule from the specified Data Lake Store account
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to delete the firewall rule. firewallRuleName is the name of the firewall rule to delete.
func (Client) DeleteFirewallRulePreparer ¶
func (client Client) DeleteFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
DeleteFirewallRulePreparer prepares the DeleteFirewallRule request.
func (Client) DeleteFirewallRuleResponder ¶
func (client Client) DeleteFirewallRuleResponder(resp *http.Response) (result autorest.Response, err error)
DeleteFirewallRuleResponder handles the response to the DeleteFirewallRule request. The method always closes the http.Response Body.
func (Client) DeleteFirewallRuleSender ¶
DeleteFirewallRuleSender sends the DeleteFirewallRule request. The method will close the http.Response Body if it receives an error.
func (Client) DeletePreparer ¶
func (client Client) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (Client) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (Client) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (Client) Get ¶
func (client Client) Get(resourceGroupName string, accountName string) (result DataLakeStoreAccount, err error)
Get gets the specified Data Lake Store account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to retrieve.
func (Client) GetFirewallRule ¶
func (client Client) GetFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)
GetFirewallRule gets the specified Data Lake Store firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the firewall rule. firewallRuleName is the name of the firewall rule to retrieve.
func (Client) GetFirewallRulePreparer ¶
func (client Client) GetFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
GetFirewallRulePreparer prepares the GetFirewallRule request.
func (Client) GetFirewallRuleResponder ¶
func (client Client) GetFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
GetFirewallRuleResponder handles the response to the GetFirewallRule request. The method always closes the http.Response Body.
func (Client) GetFirewallRuleSender ¶
GetFirewallRuleSender sends the GetFirewallRule request. The method will close the http.Response Body if it receives an error.
func (Client) GetPreparer ¶
func (client Client) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (Client) GetResponder ¶
func (client Client) GetResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (Client) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (Client) List ¶
func (client Client) List(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResult, err error)
List lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, 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. expand is oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. 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. search is a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (Client) ListByResourceGroup ¶
func (client Client) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResult, err error)
ListByResourceGroup lists the Data Lake Store accounts within a specific resource group. 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 Store account(s). 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. expand is oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. 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 a 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. search is a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (Client) ListByResourceGroupNextResults ¶
func (client Client) ListByResourceGroupNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (Client) ListByResourceGroupPreparer ¶
func (client Client) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (Client) ListByResourceGroupResponder ¶
func (client Client) ListByResourceGroupResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (Client) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (Client) ListFirewallRules ¶
func (client Client) ListFirewallRules(resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResult, err error)
ListFirewallRules lists the Data Lake Store firewall rules within the specified Data Lake Store account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the firewall rules.
func (Client) ListFirewallRulesNextResults ¶
func (client Client) ListFirewallRulesNextResults(lastResults DataLakeStoreFirewallRuleListResult) (result DataLakeStoreFirewallRuleListResult, err error)
ListFirewallRulesNextResults retrieves the next set of results, if any.
func (Client) ListFirewallRulesPreparer ¶
func (client Client) ListFirewallRulesPreparer(resourceGroupName string, accountName string) (*http.Request, error)
ListFirewallRulesPreparer prepares the ListFirewallRules request.
func (Client) ListFirewallRulesResponder ¶
func (client Client) ListFirewallRulesResponder(resp *http.Response) (result DataLakeStoreFirewallRuleListResult, err error)
ListFirewallRulesResponder handles the response to the ListFirewallRules request. The method always closes the http.Response Body.
func (Client) ListFirewallRulesSender ¶
ListFirewallRulesSender sends the ListFirewallRules request. The method will close the http.Response Body if it receives an error.
func (Client) ListNextResults ¶
func (client Client) ListNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (Client) ListPreparer ¶
func (client Client) ListPreparer(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)
ListPreparer prepares the List request.
func (Client) ListResponder ¶
func (client Client) ListResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (Client) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (Client) Update ¶
func (client Client) Update(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Update updates the specified Data Lake Store account information. 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 Store account. name is the name of the Data Lake Store account to update. parameters is parameters supplied to update the Data Lake Store account.
func (Client) UpdatePreparer ¶
func (client Client) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (Client) UpdateResponder ¶
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
type DataLakeStoreAccount ¶
type DataLakeStoreAccount struct { autorest.Response `json:"-"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` ID *string `json:"id,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Properties *DataLakeStoreAccountProperties `json:"properties,omitempty"` }
DataLakeStoreAccount is data Lake Store account information
type DataLakeStoreAccountListResult ¶
type DataLakeStoreAccountListResult struct { autorest.Response `json:"-"` Value *[]DataLakeStoreAccount `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` Count *int64 `json:"count,omitempty"` }
DataLakeStoreAccountListResult is data Lake Store account list information response.
func (DataLakeStoreAccountListResult) DataLakeStoreAccountListResultPreparer ¶
func (client DataLakeStoreAccountListResult) DataLakeStoreAccountListResultPreparer() (*http.Request, error)
DataLakeStoreAccountListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type DataLakeStoreAccountProperties ¶
type DataLakeStoreAccountProperties struct { ProvisioningState DataLakeStoreAccountStatus `json:"provisioningState,omitempty"` State DataLakeStoreAccountState `json:"state,omitempty"` CreationTime *date.Time `json:"creationTime,omitempty"` LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` Endpoint *string `json:"endpoint,omitempty"` DefaultGroup *string `json:"defaultGroup,omitempty"` }
DataLakeStoreAccountProperties is data Lake Store account properties information
type DataLakeStoreAccountState ¶
type DataLakeStoreAccountState string
DataLakeStoreAccountState enumerates the values for data lake store account state.
const ( // Active specifies the active state for data lake store account state. Active DataLakeStoreAccountState = "active" // Suspended specifies the suspended state for data lake store account // state. Suspended DataLakeStoreAccountState = "suspended" )
type DataLakeStoreAccountStatus ¶
type DataLakeStoreAccountStatus string
DataLakeStoreAccountStatus enumerates the values for data lake store account status.
const ( // Creating specifies the creating state for data lake store account // status. Creating DataLakeStoreAccountStatus = "Creating" // Deleted specifies the deleted state for data lake store account status. Deleted DataLakeStoreAccountStatus = "Deleted" // Deleting specifies the deleting state for data lake store account // status. Deleting DataLakeStoreAccountStatus = "Deleting" // Failed specifies the failed state for data lake store account status. Failed DataLakeStoreAccountStatus = "Failed" // Patching specifies the patching state for data lake store account // status. Patching DataLakeStoreAccountStatus = "Patching" // Resuming specifies the resuming state for data lake store account // status. Resuming DataLakeStoreAccountStatus = "Resuming" // Running specifies the running state for data lake store account status. Running DataLakeStoreAccountStatus = "Running" // Succeeded specifies the succeeded state for data lake store account // status. Succeeded DataLakeStoreAccountStatus = "Succeeded" // Suspending specifies the suspending state for data lake store account // status. Suspending DataLakeStoreAccountStatus = "Suspending" )
type DataLakeStoreFirewallRuleListResult ¶
type DataLakeStoreFirewallRuleListResult struct { autorest.Response `json:"-"` Value *[]FirewallRule `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` Count *int64 `json:"count,omitempty"` }
DataLakeStoreFirewallRuleListResult is data Lake Store firewall rule list information.
func (DataLakeStoreFirewallRuleListResult) DataLakeStoreFirewallRuleListResultPreparer ¶
func (client DataLakeStoreFirewallRuleListResult) DataLakeStoreFirewallRuleListResultPreparer() (*http.Request, error)
DataLakeStoreFirewallRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type Error ¶
type Error struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` Details *[]ErrorDetails `json:"details,omitempty"` InnerError *InnerError `json:"innerError,omitempty"` }
Error is data Lake Store error information
type ErrorDetails ¶
type ErrorDetails struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
ErrorDetails is data Lake Store error details information
type FirewallRule ¶
type FirewallRule struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` ID *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Properties *FirewallRuleProperties `json:"properties,omitempty"` }
FirewallRule is data Lake Store firewall rule information
type FirewallRuleProperties ¶
type FirewallRuleProperties struct { StartIPAddress *string `json:"startIpAddress,omitempty"` EndIPAddress *string `json:"endIpAddress,omitempty"` }
FirewallRuleProperties is data Lake Store firewall rule properties information
type InnerError ¶
type InnerError struct { Trace *string `json:"trace,omitempty"` Context *string `json:"context,omitempty"` }
InnerError is data Lake Store inner error information
type ManagementClient ¶
type ManagementClient struct { autorest.Client BaseURI string APIVersion string SubscriptionID string }
ManagementClient is the base client for Account.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
func (ManagementClient) Create ¶
func (client ManagementClient) Create(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Create creates the specified Data Lake Store account. 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 Store account. name is the name of the Data Lake Store account to create. parameters is parameters supplied to create the Data Lake Store account.
func (ManagementClient) CreateOrUpdateFirewallRule ¶
func (client ManagementClient) CreateOrUpdateFirewallRule(resourceGroupName string, accountName string, name string, parameters FirewallRule) (result FirewallRule, err error)
CreateOrUpdateFirewallRule creates or updates the specified firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to which to add the firewall rule. name is the name of the firewall rule to create or update. parameters is parameters supplied to create the create firewall rule.
func (ManagementClient) CreateOrUpdateFirewallRulePreparer ¶
func (client ManagementClient) CreateOrUpdateFirewallRulePreparer(resourceGroupName string, accountName string, name string, parameters FirewallRule) (*http.Request, error)
CreateOrUpdateFirewallRulePreparer prepares the CreateOrUpdateFirewallRule request.
func (ManagementClient) CreateOrUpdateFirewallRuleResponder ¶
func (client ManagementClient) CreateOrUpdateFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
CreateOrUpdateFirewallRuleResponder handles the response to the CreateOrUpdateFirewallRule request. The method always closes the http.Response Body.
func (ManagementClient) CreateOrUpdateFirewallRuleSender ¶
func (client ManagementClient) CreateOrUpdateFirewallRuleSender(req *http.Request) (*http.Response, error)
CreateOrUpdateFirewallRuleSender sends the CreateOrUpdateFirewallRule request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) CreatePreparer ¶
func (client ManagementClient) CreatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ManagementClient) CreateResponder ¶
func (client ManagementClient) 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 (ManagementClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Delete ¶
func (client ManagementClient) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)
Delete deletes the specified Data Lake Store account. 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 Store account. accountName is the name of the Data Lake Store account to delete.
func (ManagementClient) DeleteFirewallRule ¶
func (client ManagementClient) DeleteFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)
DeleteFirewallRule deletes the specified firewall rule from the specified Data Lake Store account
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to delete the firewall rule. firewallRuleName is the name of the firewall rule to delete.
func (ManagementClient) DeleteFirewallRulePreparer ¶
func (client ManagementClient) DeleteFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
DeleteFirewallRulePreparer prepares the DeleteFirewallRule request.
func (ManagementClient) DeleteFirewallRuleResponder ¶
func (client ManagementClient) DeleteFirewallRuleResponder(resp *http.Response) (result autorest.Response, err error)
DeleteFirewallRuleResponder handles the response to the DeleteFirewallRule request. The method always closes the http.Response Body.
func (ManagementClient) DeleteFirewallRuleSender ¶
DeleteFirewallRuleSender sends the DeleteFirewallRule request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) DeletePreparer ¶
func (client ManagementClient) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ManagementClient) DeleteResponder ¶
func (client ManagementClient) 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 (ManagementClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Get ¶
func (client ManagementClient) Get(resourceGroupName string, accountName string) (result DataLakeStoreAccount, err error)
Get gets the specified Data Lake Store account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to retrieve.
func (ManagementClient) GetFirewallRule ¶
func (client ManagementClient) GetFirewallRule(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)
GetFirewallRule gets the specified Data Lake Store firewall rule.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the firewall rule. firewallRuleName is the name of the firewall rule to retrieve.
func (ManagementClient) GetFirewallRulePreparer ¶
func (client ManagementClient) GetFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
GetFirewallRulePreparer prepares the GetFirewallRule request.
func (ManagementClient) GetFirewallRuleResponder ¶
func (client ManagementClient) GetFirewallRuleResponder(resp *http.Response) (result FirewallRule, err error)
GetFirewallRuleResponder handles the response to the GetFirewallRule request. The method always closes the http.Response Body.
func (ManagementClient) GetFirewallRuleSender ¶
GetFirewallRuleSender sends the GetFirewallRule request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) GetPreparer ¶
func (client ManagementClient) GetPreparer(resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ManagementClient) GetResponder ¶
func (client ManagementClient) GetResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ManagementClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) List ¶
func (client ManagementClient) List(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResult, err error)
List lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, 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. expand is oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. 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. search is a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (ManagementClient) ListByResourceGroup ¶
func (client ManagementClient) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResult, err error)
ListByResourceGroup lists the Data Lake Store accounts within a specific resource group. 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 Store account(s). 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. expand is oData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. 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 a 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. search is a free form search. A free-text search expression to match for whether a particular entry should be included in the feed, e.g. Categories?$search=blue OR green. Optional. formatParameter is the desired return format. Return the response in particular formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.
func (ManagementClient) ListByResourceGroupNextResults ¶
func (client ManagementClient) ListByResourceGroupNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (ManagementClient) ListByResourceGroupPreparer ¶
func (client ManagementClient) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ManagementClient) ListByResourceGroupResponder ¶
func (client ManagementClient) ListByResourceGroupResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ManagementClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) ListFirewallRules ¶
func (client ManagementClient) ListFirewallRules(resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResult, err error)
ListFirewallRules lists the Data Lake Store firewall rules within the specified Data Lake Store account.
resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the firewall rules.
func (ManagementClient) ListFirewallRulesNextResults ¶
func (client ManagementClient) ListFirewallRulesNextResults(lastResults DataLakeStoreFirewallRuleListResult) (result DataLakeStoreFirewallRuleListResult, err error)
ListFirewallRulesNextResults retrieves the next set of results, if any.
func (ManagementClient) ListFirewallRulesPreparer ¶
func (client ManagementClient) ListFirewallRulesPreparer(resourceGroupName string, accountName string) (*http.Request, error)
ListFirewallRulesPreparer prepares the ListFirewallRules request.
func (ManagementClient) ListFirewallRulesResponder ¶
func (client ManagementClient) ListFirewallRulesResponder(resp *http.Response) (result DataLakeStoreFirewallRuleListResult, err error)
ListFirewallRulesResponder handles the response to the ListFirewallRules request. The method always closes the http.Response Body.
func (ManagementClient) ListFirewallRulesSender ¶
ListFirewallRulesSender sends the ListFirewallRules request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) ListNextResults ¶
func (client ManagementClient) ListNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (ManagementClient) ListPreparer ¶
func (client ManagementClient) ListPreparer(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)
ListPreparer prepares the List request.
func (ManagementClient) ListResponder ¶
func (client ManagementClient) ListResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ManagementClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (ManagementClient) Update ¶
func (client ManagementClient) Update(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (result autorest.Response, err error)
Update updates the specified Data Lake Store account information. 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 Store account. name is the name of the Data Lake Store account to update. parameters is parameters supplied to update the Data Lake Store account.
func (ManagementClient) UpdatePreparer ¶
func (client ManagementClient) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ManagementClient) UpdateResponder ¶
func (client ManagementClient) 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 (ManagementClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type OperationStatus ¶
type OperationStatus string
OperationStatus enumerates the values for operation status.
const ( // OperationStatusFailed specifies the operation status failed state for // operation status. OperationStatusFailed OperationStatus = "Failed" // OperationStatusInProgress specifies the operation status in progress // state for operation status. OperationStatusInProgress OperationStatus = "InProgress" // OperationStatusSucceeded specifies the operation status succeeded state // for operation status. OperationStatusSucceeded OperationStatus = "Succeeded" )