account

package
v11.2.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package account implements the Azure ARM Account service API version 2015-10-01-preview.

DataLake Store Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Account
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type 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 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"`
	Identity          *EncryptionIdentity             `json:"identity,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"`
	EncryptionState             EncryptionState             `json:"encryptionState,omitempty"`
	EncryptionProvisioningState EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"`
	EncryptionConfig            *EncryptionConfig           `json:"encryptionConfig,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 EncryptionConfig

type EncryptionConfig struct {
	Type             EncryptionConfigType `json:"type,omitempty"`
	KeyVaultMetaInfo *KeyVaultMetaInfo    `json:"keyVaultMetaInfo,omitempty"`
}

EncryptionConfig is

type EncryptionConfigType

type EncryptionConfigType string

EncryptionConfigType enumerates the values for encryption config type.

const (
	// ServiceManaged specifies the service managed state for encryption config type.
	ServiceManaged EncryptionConfigType = "ServiceManaged"
	// UserManaged specifies the user managed state for encryption config type.
	UserManaged EncryptionConfigType = "UserManaged"
)

type EncryptionIdentity

type EncryptionIdentity struct {
	Type        EncryptionIdentityType `json:"type,omitempty"`
	PrincipalID *uuid.UUID             `json:"principalId,omitempty"`
	TenantID    *uuid.UUID             `json:"tenantId,omitempty"`
}

EncryptionIdentity is

type EncryptionIdentityType

type EncryptionIdentityType string

EncryptionIdentityType enumerates the values for encryption identity type.

const (
	// SystemAssigned specifies the system assigned state for encryption identity type.
	SystemAssigned EncryptionIdentityType = "SystemAssigned"
)

type EncryptionProvisioningState

type EncryptionProvisioningState string

EncryptionProvisioningState enumerates the values for encryption provisioning state.

const (
	// EncryptionProvisioningStateCreating specifies the encryption provisioning state creating state for encryption
	// provisioning state.
	EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating"
	// EncryptionProvisioningStateSucceeded specifies the encryption provisioning state succeeded state for encryption
	// provisioning state.
	EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded"
)

type EncryptionState

type EncryptionState string

EncryptionState enumerates the values for encryption state.

const (
	// Disabled specifies the disabled state for encryption state.
	Disabled EncryptionState = "Disabled"
	// Enabled specifies the enabled state for encryption state.
	Enabled EncryptionState = "Enabled"
)

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 GroupClient

type GroupClient struct {
	ManagementClient
}

GroupClient is the dataLake Store 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, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (<-chan DataLakeStoreAccount, <-chan 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 (GroupClient) CreateOrUpdateFirewallRule

func (client GroupClient) 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 (GroupClient) CreateOrUpdateFirewallRulePreparer

func (client GroupClient) CreateOrUpdateFirewallRulePreparer(resourceGroupName string, accountName string, name string, parameters FirewallRule) (*http.Request, error)

CreateOrUpdateFirewallRulePreparer prepares the CreateOrUpdateFirewallRule request.

func (GroupClient) CreateOrUpdateFirewallRuleResponder

func (client GroupClient) 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 (GroupClient) CreateOrUpdateFirewallRuleSender

func (client GroupClient) 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 (GroupClient) CreatePreparer

func (client GroupClient) CreatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (*http.Request, error)

CreatePreparer prepares the Create request.

func (GroupClient) CreateResponder

func (client GroupClient) CreateResponder(resp *http.Response) (result DataLakeStoreAccount, err error)

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

func (GroupClient) CreateSender

func (client GroupClient) CreateSender(req *http.Request) (*http.Response, error)

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{}) (<-chan autorest.Response, <-chan 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 (GroupClient) DeleteFirewallRule

func (client GroupClient) 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 (GroupClient) DeleteFirewallRulePreparer

func (client GroupClient) DeleteFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

DeleteFirewallRulePreparer prepares the DeleteFirewallRule request.

func (GroupClient) DeleteFirewallRuleResponder

func (client GroupClient) 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 (GroupClient) DeleteFirewallRuleSender

func (client GroupClient) DeleteFirewallRuleSender(req *http.Request) (*http.Response, error)

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

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

func (client GroupClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (GroupClient) EnableKeyVault

func (client GroupClient) EnableKeyVault(resourceGroupName string, accountName string) (result autorest.Response, err error)

EnableKeyVault attempts to enable a user managed key vault for encryption of 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 attempt to enable the Key Vault for.

func (GroupClient) EnableKeyVaultPreparer

func (client GroupClient) EnableKeyVaultPreparer(resourceGroupName string, accountName string) (*http.Request, error)

EnableKeyVaultPreparer prepares the EnableKeyVault request.

func (GroupClient) EnableKeyVaultResponder

func (client GroupClient) EnableKeyVaultResponder(resp *http.Response) (result autorest.Response, err error)

EnableKeyVaultResponder handles the response to the EnableKeyVault request. The method always closes the http.Response Body.

func (GroupClient) EnableKeyVaultSender

func (client GroupClient) EnableKeyVaultSender(req *http.Request) (*http.Response, error)

EnableKeyVaultSender sends the EnableKeyVault 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 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 (GroupClient) GetFirewallRule

func (client GroupClient) 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 (GroupClient) GetFirewallRulePreparer

func (client GroupClient) GetFirewallRulePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

GetFirewallRulePreparer prepares the GetFirewallRule request.

func (GroupClient) GetFirewallRuleResponder

func (client GroupClient) 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 (GroupClient) GetFirewallRuleSender

func (client GroupClient) GetFirewallRuleSender(req *http.Request) (*http.Response, error)

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

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 DataLakeStoreAccount, err error)

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

func (GroupClient) GetSender

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

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

func (GroupClient) List

func (client GroupClient) 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 (GroupClient) ListByResourceGroup

func (client GroupClient) 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 (GroupClient) ListByResourceGroupComplete

func (client GroupClient) ListByResourceGroupComplete(resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string, cancel <-chan struct{}) (<-chan DataLakeStoreAccount, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (GroupClient) ListByResourceGroupNextResults

func (client GroupClient) ListByResourceGroupNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, 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, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (GroupClient) ListByResourceGroupResponder

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

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

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

func (GroupClient) ListComplete

func (client GroupClient) ListComplete(filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string, cancel <-chan struct{}) (<-chan DataLakeStoreAccount, <-chan error)

ListComplete gets all elements from the list without paging.

func (GroupClient) ListFirewallRules

func (client GroupClient) 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 (GroupClient) ListFirewallRulesComplete

func (client GroupClient) ListFirewallRulesComplete(resourceGroupName string, accountName string, cancel <-chan struct{}) (<-chan FirewallRule, <-chan error)

ListFirewallRulesComplete gets all elements from the list without paging.

func (GroupClient) ListFirewallRulesNextResults

func (client GroupClient) ListFirewallRulesNextResults(lastResults DataLakeStoreFirewallRuleListResult) (result DataLakeStoreFirewallRuleListResult, err error)

ListFirewallRulesNextResults retrieves the next set of results, if any.

func (GroupClient) ListFirewallRulesPreparer

func (client GroupClient) ListFirewallRulesPreparer(resourceGroupName string, accountName string) (*http.Request, error)

ListFirewallRulesPreparer prepares the ListFirewallRules request.

func (GroupClient) ListFirewallRulesResponder

func (client GroupClient) 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 (GroupClient) ListFirewallRulesSender

func (client GroupClient) ListFirewallRulesSender(req *http.Request) (*http.Response, error)

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

func (GroupClient) ListNextResults

func (client GroupClient) ListNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (GroupClient) ListPreparer

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

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

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

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

func (GroupClient) Update

func (client GroupClient) Update(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (<-chan DataLakeStoreAccount, <-chan 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 (GroupClient) UpdatePreparer

func (client GroupClient) UpdatePreparer(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GroupClient) UpdateResponder

func (client GroupClient) UpdateResponder(resp *http.Response) (result DataLakeStoreAccount, err error)

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

func (GroupClient) UpdateSender

func (client GroupClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type InnerError

type InnerError struct {
	Trace   *string `json:"trace,omitempty"`
	Context *string `json:"context,omitempty"`
}

InnerError is data Lake Store inner error information

type KeyVaultMetaInfo

type KeyVaultMetaInfo struct {
	KeyVaultResourceID   *string `json:"keyVaultResourceId,omitempty"`
	EncryptionKeyName    *string `json:"encryptionKeyName,omitempty"`
	EncryptionKeyVersion *string `json:"encryptionKeyVersion,omitempty"`
}

KeyVaultMetaInfo is

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        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.

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

Jump to

Keyboard shortcuts

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