const ( // DefaultBaseURI is the default URI used for the service Account DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
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 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"` }
func (aaor AzureAsyncOperationResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureAsyncOperationResult.
BaseClient is the base client for Account.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
Client is the dataLake Store Client
type Client struct { BaseClient }
func NewClient(subscriptionID string) Client
NewClient creates an instance of the Client client.
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client
NewClientWithBaseURI creates an instance of the Client client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 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 Client) CreateOrUpdateFirewallRulePreparer(ctx context.Context, resourceGroupName string, accountName string, name string, parameters FirewallRule) (*http.Request, error)
CreateOrUpdateFirewallRulePreparer prepares the CreateOrUpdateFirewallRule request.
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 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 Client) CreatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (*http.Request, error)
CreatePreparer prepares the Create request.
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 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 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 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 Client) DeleteFirewallRulePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
DeleteFirewallRulePreparer prepares the DeleteFirewallRule request.
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 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 Client) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 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 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 Client) EnableKeyVaultPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
EnableKeyVaultPreparer prepares the EnableKeyVault request.
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 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 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 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 Client) GetFirewallRulePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
GetFirewallRulePreparer prepares the GetFirewallRule request.
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 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 Client) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 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 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 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 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 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 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 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 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 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 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 Client) ListFirewallRulesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListFirewallRulesPreparer prepares the ListFirewallRules request.
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 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 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 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 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 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 Client) UpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 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.
CreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type CreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(Client) (DataLakeStoreAccount, error) }
func (future *CreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
DataLakeStoreAccount data Lake Store account information
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"` }
func (dlsa DataLakeStoreAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccount.
DataLakeStoreAccountListResult data Lake Store account list information response.
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"` }
func (dlsalr DataLakeStoreAccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlsalr DataLakeStoreAccountListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountListResult.
DataLakeStoreAccountListResultIterator provides access to a complete listing of DataLakeStoreAccount values.
type DataLakeStoreAccountListResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreAccountListResultIterator(page DataLakeStoreAccountListResultPage) DataLakeStoreAccountListResultIterator
Creates a new instance of the DataLakeStoreAccountListResultIterator type.
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 (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 (iter DataLakeStoreAccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeStoreAccountListResultIterator) Response() DataLakeStoreAccountListResult
Response returns the raw server response from the last page request.
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.
DataLakeStoreAccountListResultPage contains a page of DataLakeStoreAccount values.
type DataLakeStoreAccountListResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreAccountListResultPage(cur DataLakeStoreAccountListResult, getNextPage func(context.Context, DataLakeStoreAccountListResult) (DataLakeStoreAccountListResult, error)) DataLakeStoreAccountListResultPage
Creates a new instance of the DataLakeStoreAccountListResultPage type.
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 (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 (page DataLakeStoreAccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeStoreAccountListResultPage) Response() DataLakeStoreAccountListResult
Response returns the raw server response from the last page request.
func (page DataLakeStoreAccountListResultPage) Values() []DataLakeStoreAccount
Values returns the slice of values for the current page or nil if there are no values.
DataLakeStoreAccountProperties data Lake Store account properties information
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"` }
func (dlsap DataLakeStoreAccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountProperties.
DataLakeStoreAccountState enumerates the values for data lake store account state.
type DataLakeStoreAccountState string
const ( // Active ... Active DataLakeStoreAccountState = "active" // Suspended ... Suspended DataLakeStoreAccountState = "suspended" )
func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState
PossibleDataLakeStoreAccountStateValues returns an array of possible values for the DataLakeStoreAccountState const type.
DataLakeStoreAccountStatus enumerates the values for data lake store account status.
type DataLakeStoreAccountStatus string
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() []DataLakeStoreAccountStatus
PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.
DataLakeStoreFirewallRuleListResult data Lake Store firewall rule list information.
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"` }
func (dlsfrlr DataLakeStoreFirewallRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlsfrlr DataLakeStoreFirewallRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreFirewallRuleListResult.
DataLakeStoreFirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.
type DataLakeStoreFirewallRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreFirewallRuleListResultIterator(page DataLakeStoreFirewallRuleListResultPage) DataLakeStoreFirewallRuleListResultIterator
Creates a new instance of the DataLakeStoreFirewallRuleListResultIterator type.
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 (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 (iter DataLakeStoreFirewallRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeStoreFirewallRuleListResultIterator) Response() DataLakeStoreFirewallRuleListResult
Response returns the raw server response from the last page request.
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.
DataLakeStoreFirewallRuleListResultPage contains a page of FirewallRule values.
type DataLakeStoreFirewallRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreFirewallRuleListResultPage(cur DataLakeStoreFirewallRuleListResult, getNextPage func(context.Context, DataLakeStoreFirewallRuleListResult) (DataLakeStoreFirewallRuleListResult, error)) DataLakeStoreFirewallRuleListResultPage
Creates a new instance of the DataLakeStoreFirewallRuleListResultPage type.
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 (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 (page DataLakeStoreFirewallRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeStoreFirewallRuleListResultPage) Response() DataLakeStoreFirewallRuleListResult
Response returns the raw server response from the last page request.
func (page DataLakeStoreFirewallRuleListResultPage) Values() []FirewallRule
Values returns the slice of values for the current page or nil if there are no values.
DeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type DeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(Client) (autorest.Response, error) }
func (future *DeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
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"` }
EncryptionConfigType enumerates the values for encryption config type.
type EncryptionConfigType string
const ( // ServiceManaged ... ServiceManaged EncryptionConfigType = "ServiceManaged" // UserManaged ... UserManaged EncryptionConfigType = "UserManaged" )
func PossibleEncryptionConfigTypeValues() []EncryptionConfigType
PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const 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 - 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"` }
func (ei EncryptionIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionIdentity.
EncryptionIdentityType enumerates the values for encryption identity type.
type EncryptionIdentityType string
const ( // SystemAssigned ... SystemAssigned EncryptionIdentityType = "SystemAssigned" )
func PossibleEncryptionIdentityTypeValues() []EncryptionIdentityType
PossibleEncryptionIdentityTypeValues returns an array of possible values for the EncryptionIdentityType const type.
EncryptionProvisioningState enumerates the values for encryption provisioning state.
type EncryptionProvisioningState string
const ( // EncryptionProvisioningStateCreating ... EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating" // EncryptionProvisioningStateSucceeded ... EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded" )
func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState
PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.
EncryptionState enumerates the values for encryption state.
type EncryptionState string
const ( // Disabled ... Disabled EncryptionState = "Disabled" // Enabled ... Enabled EncryptionState = "Enabled" )
func PossibleEncryptionStateValues() []EncryptionState
PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.
Error data Lake Store error information
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"` }
func (e Error) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Error.
ErrorDetails data Lake Store error details information
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"` }
func (ed ErrorDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetails.
FirewallRule data Lake Store firewall rule information
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"` }
func (fr FirewallRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRule.
FirewallRuleProperties data Lake Store firewall rule properties information
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"` }
InnerError data Lake Store inner error information
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"` }
func (ie InnerError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for InnerError.
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"` }
OperationStatus enumerates the values for operation status.
type OperationStatus string
const ( // OperationStatusFailed ... OperationStatusFailed OperationStatus = "Failed" // OperationStatusInProgress ... OperationStatusInProgress OperationStatus = "InProgress" // OperationStatusSucceeded ... OperationStatusSucceeded OperationStatus = "Succeeded" )
func PossibleOperationStatusValues() []OperationStatus
PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.
UpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
type UpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(Client) (DataLakeStoreAccount, error) }
func (future *UpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
Name | Synopsis |
---|---|
.. | |
accountapi | Deprecated: Please note, this package has been deprecated. |