account

package
v17.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 9 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 - the status of the AzureAsuncOperation. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed'
	Status OperationStatus `json:"status,omitempty"`
	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

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

BaseClient is the base client for Account.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type Client

type Client struct {
	BaseClient
}

Client is the dataLake Store Client

func NewClient

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client.

func (Client) Create

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

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

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

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

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

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

CreatePreparer prepares the Create request.

func (Client) CreateResponder

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

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

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

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

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

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

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

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder

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

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

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

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

EnableKeyVaultPreparer prepares the EnableKeyVault request.

func (Client) EnableKeyVaultResponder

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

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

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

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

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

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

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

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

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 formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListByResourceGroup

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 formatxii without access to request headers for standard content-type negotiation (e.g Orders?$format=json). Optional.

func (Client) ListByResourceGroupComplete

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

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

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

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

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

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

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

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

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

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

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

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

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

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

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder

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

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

type CreateFuture struct {
	azure.Future
}

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

func (*CreateFuture) Result

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

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 - the namespace and type of the account.
	Type *string `json:"type,omitempty"`
	// ID - 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

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

MarshalJSON is the custom marshaler for DataLakeStoreAccount.

type DataLakeStoreAccountListResult

type DataLakeStoreAccountListResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]DataLakeStoreAccount `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
	// Count - 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

func (dlsalr DataLakeStoreAccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreAccountListResultIterator

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

DataLakeStoreAccountListResultIterator provides access to a complete listing of DataLakeStoreAccount values.

func (*DataLakeStoreAccountListResultIterator) Next

Next 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

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

func (DataLakeStoreAccountListResultIterator) Response

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

func (DataLakeStoreAccountListResultIterator) Value

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

type DataLakeStoreAccountListResultPage

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

DataLakeStoreAccountListResultPage contains a page of DataLakeStoreAccount values.

func (*DataLakeStoreAccountListResultPage) Next

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.

func (DataLakeStoreAccountListResultPage) NotDone

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

func (DataLakeStoreAccountListResultPage) Response

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

func (DataLakeStoreAccountListResultPage) Values

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

type DataLakeStoreAccountProperties

type DataLakeStoreAccountProperties struct {
	// ProvisioningState - 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 - the status of the Data Lake Store account after provisioning has completed. Possible values include: 'Active', 'Suspended'
	State DataLakeStoreAccountState `json:"state,omitempty"`
	// CreationTime - 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 - 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 - 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

type DataLakeStoreAccountState string

DataLakeStoreAccountState enumerates the values for data lake store account state.

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

func PossibleDataLakeStoreAccountStateValues

func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState

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

type DataLakeStoreAccountStatus

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

func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus

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

type DataLakeStoreFirewallRuleListResult

type DataLakeStoreFirewallRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - the results of the list operation
	Value *[]FirewallRule `json:"value,omitempty"`
	// NextLink - the link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
	// Count - 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

func (dlsfrlr DataLakeStoreFirewallRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreFirewallRuleListResultIterator

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

DataLakeStoreFirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.

func (*DataLakeStoreFirewallRuleListResultIterator) Next

Next 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

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

func (DataLakeStoreFirewallRuleListResultIterator) Response

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

func (DataLakeStoreFirewallRuleListResultIterator) Value

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

type DataLakeStoreFirewallRuleListResultPage

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

DataLakeStoreFirewallRuleListResultPage contains a page of FirewallRule values.

func (*DataLakeStoreFirewallRuleListResultPage) Next

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.

func (DataLakeStoreFirewallRuleListResultPage) NotDone

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

func (DataLakeStoreFirewallRuleListResultPage) Response

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

func (DataLakeStoreFirewallRuleListResultPage) Values

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

type DeleteFuture

type DeleteFuture struct {
	azure.Future
}

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

func (*DeleteFuture) Result

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

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

type EncryptionConfigType string

EncryptionConfigType enumerates the values for encryption config type.

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

func PossibleEncryptionConfigTypeValues

func PossibleEncryptionConfigTypeValues() []EncryptionConfigType

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

type EncryptionIdentity

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 - The principal identifier associated with the encryption.
	PrincipalID *uuid.UUID `json:"principalId,omitempty"`
	// TenantID - The tenant identifier associated with the encryption.
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
}

EncryptionIdentity ...

type EncryptionIdentityType

type EncryptionIdentityType string

EncryptionIdentityType enumerates the values for encryption identity type.

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

func PossibleEncryptionIdentityTypeValues

func PossibleEncryptionIdentityTypeValues() []EncryptionIdentityType

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

type EncryptionProvisioningState

type EncryptionProvisioningState string

EncryptionProvisioningState enumerates the values for encryption provisioning state.

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

func PossibleEncryptionProvisioningStateValues

func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState

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

type EncryptionState

type EncryptionState string

EncryptionState enumerates the values for encryption state.

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

func PossibleEncryptionStateValues

func PossibleEncryptionStateValues() []EncryptionState

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

type Error

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

Error data Lake Store error information

type ErrorDetails

type ErrorDetails struct {
	// Code - the HTTP status code or error code associated with this error
	Code *string `json:"code,omitempty"`
	// Message - the error message localized based on Accept-Language
	Message *string `json:"message,omitempty"`
	// Target - 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

type FirewallRule struct {
	autorest.Response `json:"-"`
	// Name - the firewall rule's name.
	Name *string `json:"name,omitempty"`
	// Type - 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

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

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

InnerError data Lake Store inner error information

type KeyVaultMetaInfo

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

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

func PossibleOperationStatusValues() []OperationStatus

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

type UpdateFuture

type UpdateFuture struct {
	azure.Future
}

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

func (*UpdateFuture) Result

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.

Jump to

Keyboard shortcuts

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