azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/datalake/store/mgmt/2015-10-01-preview/account Index | Files | Directories

package account

import "github.com/Azure/azure-sdk-for-go/services/preview/datalake/store/mgmt/2015-10-01-preview/account"

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

DataLake Store Client

Index

Package Files

account.go client.go models.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AzureAsyncOperationResult Uses

type AzureAsyncOperationResult struct {
    // Status - READ-ONLY; the status of the AzureAsyncOperation. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed'
    Status OperationStatus `json:"status,omitempty"`
    // Error - READ-ONLY
    Error *Error `json:"error,omitempty"`
}

AzureAsyncOperationResult 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 BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Account.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type Client Uses

type Client struct {
    BaseClient
}

Client is the dataLake Store Client

func NewClient Uses

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI Uses

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client.

func (Client) Create Uses

func (client Client) Create(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (result CreateFuture, err error)

Create creates the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. name - the name of the Data Lake Store account to create. parameters - parameters supplied to create the Data Lake Store account.

func (Client) CreateOrUpdateFirewallRule Uses

func (client Client) CreateOrUpdateFirewallRule(ctx context.Context, resourceGroupName string, accountName string, name string, parameters FirewallRule) (result FirewallRule, err error)

CreateOrUpdateFirewallRule creates or updates the specified firewall rule. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account to which to add the firewall rule. name - the name of the firewall rule to create or update. parameters - parameters supplied to create the create firewall rule.

func (Client) CreateOrUpdateFirewallRulePreparer Uses

func (client Client) CreateOrUpdateFirewallRulePreparer(ctx context.Context, resourceGroupName string, accountName string, name string, parameters FirewallRule) (*http.Request, error)

CreateOrUpdateFirewallRulePreparer prepares the CreateOrUpdateFirewallRule request.

func (Client) CreateOrUpdateFirewallRuleResponder Uses

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 Uses

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

func (client Client) CreatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (*http.Request, error)

CreatePreparer prepares the Create request.

func (Client) CreateResponder Uses

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

func (client Client) CreateSender(req *http.Request) (future CreateFuture, err error)

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

func (Client) Delete Uses

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

Delete deletes the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account to delete.

func (Client) DeleteFirewallRule Uses

func (client Client) DeleteFirewallRule(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)

DeleteFirewallRule deletes the specified firewall rule from the specified Data Lake Store account Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account from which to delete the firewall rule. firewallRuleName - the name of the firewall rule to delete.

func (Client) DeleteFirewallRulePreparer Uses

func (client Client) DeleteFirewallRulePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

DeleteFirewallRulePreparer prepares the DeleteFirewallRule request.

func (Client) DeleteFirewallRuleResponder Uses

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 Uses

func (client Client) 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 (Client) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder Uses

func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (Client) DeleteSender Uses

func (client Client) DeleteSender(req *http.Request) (future DeleteFuture, err error)

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

func (Client) EnableKeyVault Uses

func (client Client) EnableKeyVault(ctx context.Context, 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. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account to attempt to enable the Key Vault for.

func (Client) EnableKeyVaultPreparer Uses

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

EnableKeyVaultPreparer prepares the EnableKeyVault request.

func (Client) EnableKeyVaultResponder Uses

func (client Client) 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 (Client) EnableKeyVaultSender Uses

func (client Client) 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 (Client) Get Uses

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

Get gets the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account to retrieve.

func (Client) GetFirewallRule Uses

func (client Client) GetFirewallRule(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)

GetFirewallRule gets the specified Data Lake Store firewall rule. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account from which to get the firewall rule. firewallRuleName - the name of the firewall rule to retrieve.

func (Client) GetFirewallRulePreparer Uses

func (client Client) GetFirewallRulePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

GetFirewallRulePreparer prepares the GetFirewallRule request.

func (Client) GetFirewallRuleResponder Uses

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 Uses

func (client Client) 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 (Client) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (Client) GetResponder Uses

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 Uses

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

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

func (Client) List Uses

func (client Client) List(ctx context.Context, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResultPage, 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. Parameters: filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. expand - 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 - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count - the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. search - 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 - the desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListByResourceGroup Uses

func (client Client) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResultPage, 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. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account(s). filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. Optional. expand - 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 - oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby - orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count - 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 - 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 - the desired return format. Return the response in particular format without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListByResourceGroupComplete Uses

func (client Client) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListByResourceGroupPreparer Uses

func (client Client) ListByResourceGroupPreparer(ctx context.Context, 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 Uses

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 Uses

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

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

func (Client) ListComplete Uses

func (client Client) ListComplete(ctx context.Context, filter string, top *int32, skip *int32, expand string, selectParameter string, orderby string, count *bool, search string, formatParameter string) (result DataLakeStoreAccountListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListFirewallRules Uses

func (client Client) ListFirewallRules(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResultPage, err error)

ListFirewallRules lists the Data Lake Store firewall rules within the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. accountName - the name of the Data Lake Store account from which to get the firewall rules.

func (Client) ListFirewallRulesComplete Uses

func (client Client) ListFirewallRulesComplete(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResultIterator, err error)

ListFirewallRulesComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListFirewallRulesPreparer Uses

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

ListFirewallRulesPreparer prepares the ListFirewallRules request.

func (Client) ListFirewallRulesResponder Uses

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 Uses

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

func (client Client) ListPreparer(ctx context.Context, 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 Uses

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 Uses

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

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

func (Client) Update Uses

func (client Client) Update(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (result UpdateFuture, err error)

Update updates the specified Data Lake Store account information. Parameters: resourceGroupName - the name of the Azure resource group that contains the Data Lake Store account. name - the name of the Data Lake Store account to update. parameters - parameters supplied to update the Data Lake Store account.

func (Client) UpdatePreparer Uses

func (client Client) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder Uses

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

func (client Client) UpdateSender(req *http.Request) (future UpdateFuture, err error)

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

type CreateFuture Uses

type CreateFuture struct {
    azure.Future
}

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

func (*CreateFuture) Result Uses

func (future *CreateFuture) Result(client Client) (dlsa DataLakeStoreAccount, err error)

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

type DataLakeStoreAccount Uses

type DataLakeStoreAccount struct {
    autorest.Response `json:"-"`
    // Location - the account regional location.
    Location *string `json:"location,omitempty"`
    // Name - the account name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; the namespace and type of the account.
    Type *string `json:"type,omitempty"`
    // ID - READ-ONLY; the account subscription ID.
    ID  *string `json:"id,omitempty"`
    // Identity - The Key vault encryption identity, if any.
    Identity *EncryptionIdentity `json:"identity,omitempty"`
    // Tags - the value of custom properties.
    Tags map[string]*string `json:"tags"`
    // Properties - the Data Lake Store account properties.
    Properties *DataLakeStoreAccountProperties `json:"properties,omitempty"`
}

DataLakeStoreAccount data Lake Store account information

func (DataLakeStoreAccount) MarshalJSON Uses

func (dlsa DataLakeStoreAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeStoreAccount.

type DataLakeStoreAccountListResult Uses

type DataLakeStoreAccountListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; the results of the list operation
    Value *[]DataLakeStoreAccount `json:"value,omitempty"`
    // NextLink - READ-ONLY; the link (url) to the next page of results.
    NextLink *string `json:"nextLink,omitempty"`
    // Count - READ-ONLY; the total count of results that are available, but might not be returned in the current page.
    Count *int64 `json:"count,omitempty"`
}

DataLakeStoreAccountListResult data Lake Store account list information response.

func (DataLakeStoreAccountListResult) IsEmpty Uses

func (dlsalr DataLakeStoreAccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreAccountListResultIterator Uses

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

DataLakeStoreAccountListResultIterator provides access to a complete listing of DataLakeStoreAccount values.

func NewDataLakeStoreAccountListResultIterator Uses

func NewDataLakeStoreAccountListResultIterator(page DataLakeStoreAccountListResultPage) DataLakeStoreAccountListResultIterator

Creates a new instance of the DataLakeStoreAccountListResultIterator type.

func (*DataLakeStoreAccountListResultIterator) Next Uses

func (iter *DataLakeStoreAccountListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeStoreAccountListResultIterator) NextWithContext Uses

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

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

func (DataLakeStoreAccountListResultIterator) NotDone Uses

func (iter DataLakeStoreAccountListResultIterator) NotDone() bool

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

func (DataLakeStoreAccountListResultIterator) Response Uses

func (iter DataLakeStoreAccountListResultIterator) Response() DataLakeStoreAccountListResult

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

func (DataLakeStoreAccountListResultIterator) Value Uses

func (iter DataLakeStoreAccountListResultIterator) Value() DataLakeStoreAccount

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

type DataLakeStoreAccountListResultPage Uses

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

DataLakeStoreAccountListResultPage contains a page of DataLakeStoreAccount values.

func NewDataLakeStoreAccountListResultPage Uses

func NewDataLakeStoreAccountListResultPage(getNextPage func(context.Context, DataLakeStoreAccountListResult) (DataLakeStoreAccountListResult, error)) DataLakeStoreAccountListResultPage

Creates a new instance of the DataLakeStoreAccountListResultPage type.

func (*DataLakeStoreAccountListResultPage) Next Uses

func (page *DataLakeStoreAccountListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeStoreAccountListResultPage) NextWithContext Uses

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

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeStoreAccountListResultPage) NotDone Uses

func (page DataLakeStoreAccountListResultPage) NotDone() bool

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

func (DataLakeStoreAccountListResultPage) Response Uses

func (page DataLakeStoreAccountListResultPage) Response() DataLakeStoreAccountListResult

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

func (DataLakeStoreAccountListResultPage) Values Uses

func (page DataLakeStoreAccountListResultPage) Values() []DataLakeStoreAccount

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

type DataLakeStoreAccountProperties Uses

type DataLakeStoreAccountProperties struct {
    // ProvisioningState - READ-ONLY; the status of the Data Lake Store account while being provisioned. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted'
    ProvisioningState DataLakeStoreAccountStatus `json:"provisioningState,omitempty"`
    // State - READ-ONLY; the status of the Data Lake Store account after provisioning has completed. Possible values include: 'Active', 'Suspended'
    State DataLakeStoreAccountState `json:"state,omitempty"`
    // CreationTime - READ-ONLY; the account creation time.
    CreationTime *date.Time `json:"creationTime,omitempty"`
    // EncryptionState - The current state of encryption for this Data Lake store account. Possible values include: 'Enabled', 'Disabled'
    EncryptionState EncryptionState `json:"encryptionState,omitempty"`
    // EncryptionProvisioningState - READ-ONLY; The current state of encryption provisioning for this Data Lake store account. Possible values include: 'EncryptionProvisioningStateCreating', 'EncryptionProvisioningStateSucceeded'
    EncryptionProvisioningState EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"`
    // EncryptionConfig - The Key vault encryption configuration.
    EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`
    // LastModifiedTime - READ-ONLY; the account last modified time.
    LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
    // Endpoint - the gateway host.
    Endpoint *string `json:"endpoint,omitempty"`
    // DefaultGroup - the default owner group for all new folders and files created in the Data Lake Store account.
    DefaultGroup *string `json:"defaultGroup,omitempty"`
}

DataLakeStoreAccountProperties data Lake Store account properties information

type DataLakeStoreAccountState Uses

type DataLakeStoreAccountState string

DataLakeStoreAccountState enumerates the values for data lake store account state.

const (
    // Active ...
    Active DataLakeStoreAccountState = "active"
    // Suspended ...
    Suspended DataLakeStoreAccountState = "suspended"
)

func PossibleDataLakeStoreAccountStateValues Uses

func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState

PossibleDataLakeStoreAccountStateValues returns an array of possible values for the DataLakeStoreAccountState const type.

type DataLakeStoreAccountStatus Uses

type DataLakeStoreAccountStatus string

DataLakeStoreAccountStatus enumerates the values for data lake store account status.

const (
    // Creating ...
    Creating DataLakeStoreAccountStatus = "Creating"
    // Deleted ...
    Deleted DataLakeStoreAccountStatus = "Deleted"
    // Deleting ...
    Deleting DataLakeStoreAccountStatus = "Deleting"
    // Failed ...
    Failed DataLakeStoreAccountStatus = "Failed"
    // Patching ...
    Patching DataLakeStoreAccountStatus = "Patching"
    // Resuming ...
    Resuming DataLakeStoreAccountStatus = "Resuming"
    // Running ...
    Running DataLakeStoreAccountStatus = "Running"
    // Succeeded ...
    Succeeded DataLakeStoreAccountStatus = "Succeeded"
    // Suspending ...
    Suspending DataLakeStoreAccountStatus = "Suspending"
)

func PossibleDataLakeStoreAccountStatusValues Uses

func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus

PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.

type DataLakeStoreFirewallRuleListResult Uses

type DataLakeStoreFirewallRuleListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; the results of the list operation
    Value *[]FirewallRule `json:"value,omitempty"`
    // NextLink - READ-ONLY; the link (url) to the next page of results.
    NextLink *string `json:"nextLink,omitempty"`
    // Count - READ-ONLY; the total count of results that are available, but might not be returned in the current page.
    Count *int64 `json:"count,omitempty"`
}

DataLakeStoreFirewallRuleListResult data Lake Store firewall rule list information.

func (DataLakeStoreFirewallRuleListResult) IsEmpty Uses

func (dlsfrlr DataLakeStoreFirewallRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreFirewallRuleListResultIterator Uses

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

DataLakeStoreFirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.

func NewDataLakeStoreFirewallRuleListResultIterator Uses

func NewDataLakeStoreFirewallRuleListResultIterator(page DataLakeStoreFirewallRuleListResultPage) DataLakeStoreFirewallRuleListResultIterator

Creates a new instance of the DataLakeStoreFirewallRuleListResultIterator type.

func (*DataLakeStoreFirewallRuleListResultIterator) Next Uses

func (iter *DataLakeStoreFirewallRuleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeStoreFirewallRuleListResultIterator) NextWithContext Uses

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

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

func (DataLakeStoreFirewallRuleListResultIterator) NotDone Uses

func (iter DataLakeStoreFirewallRuleListResultIterator) NotDone() bool

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

func (DataLakeStoreFirewallRuleListResultIterator) Response Uses

func (iter DataLakeStoreFirewallRuleListResultIterator) Response() DataLakeStoreFirewallRuleListResult

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

func (DataLakeStoreFirewallRuleListResultIterator) Value Uses

func (iter DataLakeStoreFirewallRuleListResultIterator) Value() FirewallRule

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

type DataLakeStoreFirewallRuleListResultPage Uses

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

DataLakeStoreFirewallRuleListResultPage contains a page of FirewallRule values.

func NewDataLakeStoreFirewallRuleListResultPage Uses

func NewDataLakeStoreFirewallRuleListResultPage(getNextPage func(context.Context, DataLakeStoreFirewallRuleListResult) (DataLakeStoreFirewallRuleListResult, error)) DataLakeStoreFirewallRuleListResultPage

Creates a new instance of the DataLakeStoreFirewallRuleListResultPage type.

func (*DataLakeStoreFirewallRuleListResultPage) Next Uses

func (page *DataLakeStoreFirewallRuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DataLakeStoreFirewallRuleListResultPage) NextWithContext Uses

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

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DataLakeStoreFirewallRuleListResultPage) NotDone Uses

func (page DataLakeStoreFirewallRuleListResultPage) NotDone() bool

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

func (DataLakeStoreFirewallRuleListResultPage) Response Uses

func (page DataLakeStoreFirewallRuleListResultPage) Response() DataLakeStoreFirewallRuleListResult

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

func (DataLakeStoreFirewallRuleListResultPage) Values Uses

func (page DataLakeStoreFirewallRuleListResultPage) Values() []FirewallRule

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

type DeleteFuture Uses

type DeleteFuture struct {
    azure.Future
}

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

func (*DeleteFuture) Result Uses

func (future *DeleteFuture) Result(client Client) (ar autorest.Response, err error)

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

type EncryptionConfig Uses

type EncryptionConfig struct {
    // Type - The type of encryption configuration being used. Currently the only supported types are 'UserManaged' and 'ServiceManaged'. Possible values include: 'UserManaged', 'ServiceManaged'
    Type EncryptionConfigType `json:"type,omitempty"`
    // KeyVaultMetaInfo - The Key vault information for connecting to user managed encryption keys.
    KeyVaultMetaInfo *KeyVaultMetaInfo `json:"keyVaultMetaInfo,omitempty"`
}

EncryptionConfig ...

type EncryptionConfigType Uses

type EncryptionConfigType string

EncryptionConfigType enumerates the values for encryption config type.

const (
    // ServiceManaged ...
    ServiceManaged EncryptionConfigType = "ServiceManaged"
    // UserManaged ...
    UserManaged EncryptionConfigType = "UserManaged"
)

func PossibleEncryptionConfigTypeValues Uses

func PossibleEncryptionConfigTypeValues() []EncryptionConfigType

PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const type.

type EncryptionIdentity Uses

type EncryptionIdentity struct {
    // Type - The type of encryption being used. Currently the only supported type is 'SystemAssigned'. Possible values include: 'SystemAssigned'
    Type EncryptionIdentityType `json:"type,omitempty"`
    // PrincipalID - READ-ONLY; The principal identifier associated with the encryption.
    PrincipalID *uuid.UUID `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant identifier associated with the encryption.
    TenantID *uuid.UUID `json:"tenantId,omitempty"`
}

EncryptionIdentity ...

type EncryptionIdentityType Uses

type EncryptionIdentityType string

EncryptionIdentityType enumerates the values for encryption identity type.

const (
    // SystemAssigned ...
    SystemAssigned EncryptionIdentityType = "SystemAssigned"
)

func PossibleEncryptionIdentityTypeValues Uses

func PossibleEncryptionIdentityTypeValues() []EncryptionIdentityType

PossibleEncryptionIdentityTypeValues returns an array of possible values for the EncryptionIdentityType const type.

type EncryptionProvisioningState Uses

type EncryptionProvisioningState string

EncryptionProvisioningState enumerates the values for encryption provisioning state.

const (
    // EncryptionProvisioningStateCreating ...
    EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating"
    // EncryptionProvisioningStateSucceeded ...
    EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded"
)

func PossibleEncryptionProvisioningStateValues Uses

func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState

PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.

type EncryptionState Uses

type EncryptionState string

EncryptionState enumerates the values for encryption state.

const (
    // Disabled ...
    Disabled EncryptionState = "Disabled"
    // Enabled ...
    Enabled EncryptionState = "Enabled"
)

func PossibleEncryptionStateValues Uses

func PossibleEncryptionStateValues() []EncryptionState

PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.

type Error Uses

type Error struct {
    // Code - READ-ONLY; the HTTP status code or error code associated with this error
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; the error message to display.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; the target of the error.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; the list of error details
    Details *[]ErrorDetails `json:"details,omitempty"`
    // InnerError - READ-ONLY; the inner exceptions or errors, if any
    InnerError *InnerError `json:"innerError,omitempty"`
}

Error data Lake Store error information

type ErrorDetails Uses

type ErrorDetails struct {
    // Code - READ-ONLY; the HTTP status code or error code associated with this error
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; the error message localized based on Accept-Language
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; the target of the particular error (for example, the name of the property in error).
    Target *string `json:"target,omitempty"`
}

ErrorDetails data Lake Store error details information

type FirewallRule Uses

type FirewallRule struct {
    autorest.Response `json:"-"`
    // Name - the firewall rule's name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; the namespace and type of the firewall Rule.
    Type *string `json:"type,omitempty"`
    // ID - the firewall rule's subscription ID.
    ID  *string `json:"id,omitempty"`
    // Location - the firewall rule's regional location.
    Location *string `json:"location,omitempty"`
    // Properties - the properties of the firewall rule.
    Properties *FirewallRuleProperties `json:"properties,omitempty"`
}

FirewallRule data Lake Store firewall rule information

type FirewallRuleProperties Uses

type FirewallRuleProperties struct {
    // StartIPAddress - the start IP address for the firewall rule.
    StartIPAddress *string `json:"startIpAddress,omitempty"`
    // EndIPAddress - the end IP address for the firewall rule.
    EndIPAddress *string `json:"endIpAddress,omitempty"`
}

FirewallRuleProperties data Lake Store firewall rule properties information

type InnerError Uses

type InnerError struct {
    // Trace - READ-ONLY; the stack trace for the error
    Trace *string `json:"trace,omitempty"`
    // Context - READ-ONLY; the context for the error message
    Context *string `json:"context,omitempty"`
}

InnerError data Lake Store inner error information

type KeyVaultMetaInfo Uses

type KeyVaultMetaInfo struct {
    // KeyVaultResourceID - The resource identifier for the user managed Key Vault being used to encrypt.
    KeyVaultResourceID *string `json:"keyVaultResourceId,omitempty"`
    // EncryptionKeyName - The name of the user managed encryption key.
    EncryptionKeyName *string `json:"encryptionKeyName,omitempty"`
    // EncryptionKeyVersion - The version of the user managed encryption key.
    EncryptionKeyVersion *string `json:"encryptionKeyVersion,omitempty"`
}

KeyVaultMetaInfo ...

type OperationStatus Uses

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
    // OperationStatusFailed ...
    OperationStatusFailed OperationStatus = "Failed"
    // OperationStatusInProgress ...
    OperationStatusInProgress OperationStatus = "InProgress"
    // OperationStatusSucceeded ...
    OperationStatusSucceeded OperationStatus = "Succeeded"
)

func PossibleOperationStatusValues Uses

func PossibleOperationStatusValues() []OperationStatus

PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.

type UpdateFuture Uses

type UpdateFuture struct {
    azure.Future
}

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

func (*UpdateFuture) Result Uses

func (future *UpdateFuture) Result(client Client) (dlsa DataLakeStoreAccount, err error)

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

Directories

PathSynopsis
accountapi

Package account imports 10 packages (graph) and is imported by 4 packages. Updated 2019-07-30. Refresh now. Tools for package owners.