account

package
v7.0.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package account implements the Azure ARM Account service API version 2016-11-01.

Creates an Azure Data Lake Store account management client.

Index

Constants

View Source
const (
	// APIVersion is the version of the Account
	APIVersion = "2016-11-01"

	// 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 Client

type Client struct {
	ManagementClient
}

Client is the creates an Azure Data Lake Store account management 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(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (result autorest.Response, err error)

Create creates the specified Data Lake Store account. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. name is the name of the Data Lake Store account to create. parameters is parameters supplied to create the Data Lake Store account.

func (Client) CreatePreparer

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

CreatePreparer prepares the Create request.

func (Client) CreateResponder

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

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

func (Client) CreateSender

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

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

func (Client) Delete

func (client Client) Delete(resourceGroupName string, accountName string, cancel <-chan struct{}) (result autorest.Response, err error)

Delete deletes the specified Data Lake Store account. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to delete.

func (Client) DeletePreparer

func (client Client) DeletePreparer(resourceGroupName string, accountName string, cancel <-chan struct{}) (*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) (*http.Response, 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(resourceGroupName string, accountName string) (result autorest.Response, err error)

EnableKeyVault attempts to enable a user managed key vault for encryption of the specified Data Lake Store account.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to attempt to enable the Key Vault for.

func (Client) EnableKeyVaultPreparer

func (client Client) EnableKeyVaultPreparer(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(resourceGroupName string, accountName string) (result DataLakeStoreAccount, err error)

Get gets the specified Data Lake Store account.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to retrieve.

func (Client) GetPreparer

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

GetPreparer prepares the Get request.

func (Client) GetResponder

func (client Client) GetResponder(resp *http.Response) (result DataLakeStoreAccount, err error)

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

func (Client) GetSender

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(filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeStoreAccountListResult, err error)

List lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any.

filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. selectParameter is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count is the Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.

func (Client) ListByResourceGroup

func (client Client) ListByResourceGroup(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (result DataLakeStoreAccountListResult, err error)

ListByResourceGroup lists the Data Lake Store accounts within a specific resource group. The response includes a link to the next page of results, if any.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account(s). filter is oData filter. Optional. top is the number of items to return. Optional. skip is the number of items to skip over before returning elements. Optional. selectParameter is oData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. orderby is orderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. count is a Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.

func (Client) ListByResourceGroupNextResults

func (client Client) ListByResourceGroupNextResults(lastResults DataLakeStoreAccountListResult) (result DataLakeStoreAccountListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (Client) ListByResourceGroupPreparer

func (client Client) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*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) ListNextResults

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

ListNextResults retrieves the next set of results, if any.

func (Client) ListPreparer

func (client Client) ListPreparer(filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*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(resourceGroupName string, name string, parameters DataLakeStoreAccountUpdateParameters, cancel <-chan struct{}) (result autorest.Response, err error)

Update updates the specified Data Lake Store account information. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. name is the name of the Data Lake Store account to update. parameters is parameters supplied to update the Data Lake Store account.

func (Client) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder

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

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

func (Client) UpdateSender

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

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

type DataLakeStoreAccount

type DataLakeStoreAccount struct {
	autorest.Response               `json:"-"`
	ID                              *string             `json:"id,omitempty"`
	Name                            *string             `json:"name,omitempty"`
	Type                            *string             `json:"type,omitempty"`
	Location                        *string             `json:"location,omitempty"`
	Tags                            *map[string]*string `json:"tags,omitempty"`
	Identity                        *EncryptionIdentity `json:"identity,omitempty"`
	*DataLakeStoreAccountProperties `json:"properties,omitempty"`
}

DataLakeStoreAccount is data Lake Store account information

type DataLakeStoreAccountListResult

type DataLakeStoreAccountListResult struct {
	autorest.Response `json:"-"`
	Value             *[]DataLakeStoreAccount `json:"value,omitempty"`
	NextLink          *string                 `json:"nextLink,omitempty"`
}

DataLakeStoreAccountListResult is data Lake Store account list information response.

func (DataLakeStoreAccountListResult) DataLakeStoreAccountListResultPreparer

func (client DataLakeStoreAccountListResult) DataLakeStoreAccountListResultPreparer() (*http.Request, error)

DataLakeStoreAccountListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DataLakeStoreAccountProperties

type DataLakeStoreAccountProperties struct {
	ProvisioningState           DataLakeStoreAccountStatus  `json:"provisioningState,omitempty"`
	State                       DataLakeStoreAccountState   `json:"state,omitempty"`
	CreationTime                *date.Time                  `json:"creationTime,omitempty"`
	EncryptionState             EncryptionState             `json:"encryptionState,omitempty"`
	EncryptionProvisioningState EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"`
	EncryptionConfig            *EncryptionConfig           `json:"encryptionConfig,omitempty"`
	FirewallState               FirewallState               `json:"firewallState,omitempty"`
	FirewallRules               *[]FirewallRule             `json:"firewallRules,omitempty"`
	TrustedIDProviderState      TrustedIDProviderState      `json:"trustedIdProviderState,omitempty"`
	TrustedIDProviders          *[]TrustedIDProvider        `json:"trustedIdProviders,omitempty"`
	LastModifiedTime            *date.Time                  `json:"lastModifiedTime,omitempty"`
	Endpoint                    *string                     `json:"endpoint,omitempty"`
	DefaultGroup                *string                     `json:"defaultGroup,omitempty"`
}

DataLakeStoreAccountProperties is data Lake Store account properties information

type DataLakeStoreAccountState

type DataLakeStoreAccountState string

DataLakeStoreAccountState enumerates the values for data lake store account state.

const (
	// Active specifies the active state for data lake store account state.
	Active DataLakeStoreAccountState = "Active"
	// Suspended specifies the suspended state for data lake store account
	// state.
	Suspended DataLakeStoreAccountState = "Suspended"
)

type DataLakeStoreAccountStatus

type DataLakeStoreAccountStatus string

DataLakeStoreAccountStatus enumerates the values for data lake store account status.

const (
	// Creating specifies the creating state for data lake store account
	// status.
	Creating DataLakeStoreAccountStatus = "Creating"
	// Deleted specifies the deleted state for data lake store account status.
	Deleted DataLakeStoreAccountStatus = "Deleted"
	// Deleting specifies the deleting state for data lake store account
	// status.
	Deleting DataLakeStoreAccountStatus = "Deleting"
	// Failed specifies the failed state for data lake store account status.
	Failed DataLakeStoreAccountStatus = "Failed"
	// Patching specifies the patching state for data lake store account
	// status.
	Patching DataLakeStoreAccountStatus = "Patching"
	// Resuming specifies the resuming state for data lake store account
	// status.
	Resuming DataLakeStoreAccountStatus = "Resuming"
	// Running specifies the running state for data lake store account status.
	Running DataLakeStoreAccountStatus = "Running"
	// Succeeded specifies the succeeded state for data lake store account
	// status.
	Succeeded DataLakeStoreAccountStatus = "Succeeded"
	// Suspending specifies the suspending state for data lake store account
	// status.
	Suspending DataLakeStoreAccountStatus = "Suspending"
)

type DataLakeStoreAccountUpdateParameters

type DataLakeStoreAccountUpdateParameters struct {
	Tags                                  *map[string]*string `json:"tags,omitempty"`
	*UpdateDataLakeStoreAccountProperties `json:"properties,omitempty"`
}

DataLakeStoreAccountUpdateParameters is data Lake Store account information to update

type DataLakeStoreFirewallRuleListResult

type DataLakeStoreFirewallRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]FirewallRule `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

DataLakeStoreFirewallRuleListResult is data Lake Store firewall rule list information.

func (DataLakeStoreFirewallRuleListResult) DataLakeStoreFirewallRuleListResultPreparer

func (client DataLakeStoreFirewallRuleListResult) DataLakeStoreFirewallRuleListResultPreparer() (*http.Request, error)

DataLakeStoreFirewallRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DataLakeStoreTrustedIDProviderListResult

type DataLakeStoreTrustedIDProviderListResult struct {
	autorest.Response `json:"-"`
	Value             *[]TrustedIDProvider `json:"value,omitempty"`
	NextLink          *string              `json:"nextLink,omitempty"`
}

DataLakeStoreTrustedIDProviderListResult is data Lake Store trusted identity provider list information.

func (DataLakeStoreTrustedIDProviderListResult) DataLakeStoreTrustedIDProviderListResultPreparer

func (client DataLakeStoreTrustedIDProviderListResult) DataLakeStoreTrustedIDProviderListResultPreparer() (*http.Request, error)

DataLakeStoreTrustedIDProviderListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type EncryptionConfig

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

EncryptionConfig is the encryption configuration for the account.

type EncryptionConfigType

type EncryptionConfigType string

EncryptionConfigType enumerates the values for encryption config type.

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

type EncryptionIdentity

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

EncryptionIdentity is the encryption identity properties.

type EncryptionProvisioningState

type EncryptionProvisioningState string

EncryptionProvisioningState enumerates the values for encryption provisioning state.

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

type EncryptionState

type EncryptionState string

EncryptionState enumerates the values for encryption state.

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

type Error

type Error struct {
	Code       *string         `json:"code,omitempty"`
	Message    *string         `json:"message,omitempty"`
	Target     *string         `json:"target,omitempty"`
	Details    *[]ErrorDetails `json:"details,omitempty"`
	InnerError *InnerError     `json:"innerError,omitempty"`
}

Error is data Lake Store error information

type ErrorDetails

type ErrorDetails struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Target  *string `json:"target,omitempty"`
}

ErrorDetails is data Lake Store error details information

type FirewallRule

type FirewallRule struct {
	autorest.Response       `json:"-"`
	ID                      *string `json:"id,omitempty"`
	Name                    *string `json:"name,omitempty"`
	Type                    *string `json:"type,omitempty"`
	*FirewallRuleProperties `json:"properties,omitempty"`
}

FirewallRule is data Lake Store firewall rule information

type FirewallRuleProperties

type FirewallRuleProperties struct {
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	EndIPAddress   *string `json:"endIpAddress,omitempty"`
}

FirewallRuleProperties is data Lake Store firewall rule properties information

type FirewallRulesClient

type FirewallRulesClient struct {
	ManagementClient
}

FirewallRulesClient is the creates an Azure Data Lake Store account management client.

func NewFirewallRulesClient

func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient

NewFirewallRulesClient creates an instance of the FirewallRulesClient client.

func NewFirewallRulesClientWithBaseURI

func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient

NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.

func (FirewallRulesClient) CreateOrUpdate

func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, accountName string, firewallRuleName string, parameters FirewallRule) (result FirewallRule, err error)

CreateOrUpdate creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to which to add the firewall rule. firewallRuleName is the name of the firewall rule to create or update. parameters is parameters supplied to create or update the firewall rule.

func (FirewallRulesClient) CreateOrUpdatePreparer

func (client FirewallRulesClient) CreateOrUpdatePreparer(resourceGroupName string, accountName string, firewallRuleName string, parameters FirewallRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FirewallRulesClient) CreateOrUpdateResponder

func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (FirewallRulesClient) CreateOrUpdateSender

func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (FirewallRulesClient) Delete

func (client FirewallRulesClient) Delete(resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)

Delete deletes the specified firewall rule from the specified Data Lake Store account

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to delete the firewall rule. firewallRuleName is the name of the firewall rule to delete.

func (FirewallRulesClient) DeletePreparer

func (client FirewallRulesClient) DeletePreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FirewallRulesClient) DeleteResponder

func (client FirewallRulesClient) 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 (FirewallRulesClient) DeleteSender

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

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

func (FirewallRulesClient) Get

func (client FirewallRulesClient) Get(resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)

Get gets the specified Data Lake Store firewall rule.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the firewall rule. firewallRuleName is the name of the firewall rule to retrieve.

func (FirewallRulesClient) GetPreparer

func (client FirewallRulesClient) GetPreparer(resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FirewallRulesClient) GetResponder

func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)

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

func (FirewallRulesClient) GetSender

func (client FirewallRulesClient) 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 (FirewallRulesClient) ListByAccount

func (client FirewallRulesClient) ListByAccount(resourceGroupName string, accountName string) (result DataLakeStoreFirewallRuleListResult, err error)

ListByAccount lists the Data Lake Store firewall rules within the specified Data Lake Store account.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the firewall rules.

func (FirewallRulesClient) ListByAccountNextResults

func (client FirewallRulesClient) ListByAccountNextResults(lastResults DataLakeStoreFirewallRuleListResult) (result DataLakeStoreFirewallRuleListResult, err error)

ListByAccountNextResults retrieves the next set of results, if any.

func (FirewallRulesClient) ListByAccountPreparer

func (client FirewallRulesClient) ListByAccountPreparer(resourceGroupName string, accountName string) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (FirewallRulesClient) ListByAccountResponder

func (client FirewallRulesClient) ListByAccountResponder(resp *http.Response) (result DataLakeStoreFirewallRuleListResult, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (FirewallRulesClient) ListByAccountSender

func (client FirewallRulesClient) ListByAccountSender(req *http.Request) (*http.Response, error)

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

type FirewallState

type FirewallState string

FirewallState enumerates the values for firewall state.

const (
	// FirewallStateDisabled specifies the firewall state disabled state for
	// firewall state.
	FirewallStateDisabled FirewallState = "Disabled"
	// FirewallStateEnabled specifies the firewall state enabled state for
	// firewall state.
	FirewallStateEnabled FirewallState = "Enabled"
)

type InnerError

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

InnerError is data Lake Store inner error information

type KeyVaultMetaInfo

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

KeyVaultMetaInfo is metadata information used by account encryption.

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	APIVersion     string
	SubscriptionID string
}

ManagementClient is the base client for Account.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the Resource model definition.

type SubResource

type SubResource struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

SubResource is the Resource model definition for a nested resource.

type TrustedIDProvider

type TrustedIDProvider struct {
	autorest.Response            `json:"-"`
	ID                           *string `json:"id,omitempty"`
	Name                         *string `json:"name,omitempty"`
	Type                         *string `json:"type,omitempty"`
	*TrustedIDProviderProperties `json:"properties,omitempty"`
}

TrustedIDProvider is data Lake Store firewall rule information

type TrustedIDProviderProperties

type TrustedIDProviderProperties struct {
	IDProvider *string `json:"idProvider,omitempty"`
}

TrustedIDProviderProperties is data Lake Store trusted identity provider properties information

type TrustedIDProviderState

type TrustedIDProviderState string

TrustedIDProviderState enumerates the values for trusted id provider state.

const (
	// TrustedIDProviderStateDisabled specifies the trusted id provider state
	// disabled state for trusted id provider state.
	TrustedIDProviderStateDisabled TrustedIDProviderState = "Disabled"
	// TrustedIDProviderStateEnabled specifies the trusted id provider state
	// enabled state for trusted id provider state.
	TrustedIDProviderStateEnabled TrustedIDProviderState = "Enabled"
)

type TrustedIDProvidersClient

type TrustedIDProvidersClient struct {
	ManagementClient
}

TrustedIDProvidersClient is the creates an Azure Data Lake Store account management client.

func NewTrustedIDProvidersClient

func NewTrustedIDProvidersClient(subscriptionID string) TrustedIDProvidersClient

NewTrustedIDProvidersClient creates an instance of the TrustedIDProvidersClient client.

func NewTrustedIDProvidersClientWithBaseURI

func NewTrustedIDProvidersClientWithBaseURI(baseURI string, subscriptionID string) TrustedIDProvidersClient

NewTrustedIDProvidersClientWithBaseURI creates an instance of the TrustedIDProvidersClient client.

func (TrustedIDProvidersClient) CreateOrUpdate

func (client TrustedIDProvidersClient) CreateOrUpdate(resourceGroupName string, accountName string, trustedIDProviderName string, parameters TrustedIDProvider) (result TrustedIDProvider, err error)

CreateOrUpdate creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account to which to add the trusted identity provider. trustedIDProviderName is the name of the trusted identity provider. This is used for differentiation of providers in the account. parameters is parameters supplied to create the create the trusted identity provider.

func (TrustedIDProvidersClient) CreateOrUpdatePreparer

func (client TrustedIDProvidersClient) CreateOrUpdatePreparer(resourceGroupName string, accountName string, trustedIDProviderName string, parameters TrustedIDProvider) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TrustedIDProvidersClient) CreateOrUpdateResponder

func (client TrustedIDProvidersClient) CreateOrUpdateResponder(resp *http.Response) (result TrustedIDProvider, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (TrustedIDProvidersClient) CreateOrUpdateSender

func (client TrustedIDProvidersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (TrustedIDProvidersClient) Delete

func (client TrustedIDProvidersClient) Delete(resourceGroupName string, accountName string, trustedIDProviderName string) (result autorest.Response, err error)

Delete deletes the specified trusted identity provider from the specified Data Lake Store account

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to delete the trusted identity provider. trustedIDProviderName is the name of the trusted identity provider to delete.

func (TrustedIDProvidersClient) DeletePreparer

func (client TrustedIDProvidersClient) DeletePreparer(resourceGroupName string, accountName string, trustedIDProviderName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TrustedIDProvidersClient) DeleteResponder

func (client TrustedIDProvidersClient) 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 (TrustedIDProvidersClient) DeleteSender

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

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

func (TrustedIDProvidersClient) Get

func (client TrustedIDProvidersClient) Get(resourceGroupName string, accountName string, trustedIDProviderName string) (result TrustedIDProvider, err error)

Get gets the specified Data Lake Store trusted identity provider.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the trusted identity provider. trustedIDProviderName is the name of the trusted identity provider to retrieve.

func (TrustedIDProvidersClient) GetPreparer

func (client TrustedIDProvidersClient) GetPreparer(resourceGroupName string, accountName string, trustedIDProviderName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (TrustedIDProvidersClient) GetResponder

func (client TrustedIDProvidersClient) GetResponder(resp *http.Response) (result TrustedIDProvider, err error)

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

func (TrustedIDProvidersClient) GetSender

func (client TrustedIDProvidersClient) 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 (TrustedIDProvidersClient) ListByAccount

func (client TrustedIDProvidersClient) ListByAccount(resourceGroupName string, accountName string) (result DataLakeStoreTrustedIDProviderListResult, err error)

ListByAccount lists the Data Lake Store trusted identity providers within the specified Data Lake Store account.

resourceGroupName is the name of the Azure resource group that contains the Data Lake Store account. accountName is the name of the Data Lake Store account from which to get the trusted identity providers.

func (TrustedIDProvidersClient) ListByAccountNextResults

ListByAccountNextResults retrieves the next set of results, if any.

func (TrustedIDProvidersClient) ListByAccountPreparer

func (client TrustedIDProvidersClient) ListByAccountPreparer(resourceGroupName string, accountName string) (*http.Request, error)

ListByAccountPreparer prepares the ListByAccount request.

func (TrustedIDProvidersClient) ListByAccountResponder

func (client TrustedIDProvidersClient) ListByAccountResponder(resp *http.Response) (result DataLakeStoreTrustedIDProviderListResult, err error)

ListByAccountResponder handles the response to the ListByAccount request. The method always closes the http.Response Body.

func (TrustedIDProvidersClient) ListByAccountSender

func (client TrustedIDProvidersClient) ListByAccountSender(req *http.Request) (*http.Response, error)

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

type UpdateDataLakeStoreAccountProperties

type UpdateDataLakeStoreAccountProperties struct {
	FirewallState          FirewallState          `json:"firewallState,omitempty"`
	TrustedIDProviderState TrustedIDProviderState `json:"trustedIdProviderState,omitempty"`
	DefaultGroup           *string                `json:"defaultGroup,omitempty"`
}

UpdateDataLakeStoreAccountProperties is data Lake Store account properties information to be updated.

Jump to

Keyboard shortcuts

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