account

package
v10.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: May 4, 2017 License: Apache-2.0 Imports: 7 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 (
	// 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 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"`
	NewTier                     TierType                    `json:"newTier,omitempty"`
	CurrentTier                 TierType                    `json:"currentTier,omitempty"`
	FirewallAllowAzureIps       FirewallAllowAzureIpsState  `json:"firewallAllowAzureIps,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 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 FirewallAllowAzureIpsState

type FirewallAllowAzureIpsState string

FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.

const (
	// FirewallAllowAzureIpsStateDisabled specifies the firewall allow azure
	// ips state disabled state for firewall allow azure ips state.
	FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = "Disabled"
	// FirewallAllowAzureIpsStateEnabled specifies the firewall allow azure ips
	// state enabled state for firewall allow azure ips state.
	FirewallAllowAzureIpsStateEnabled FirewallAllowAzureIpsState = "Enabled"
)

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 add or replace 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.

func (FirewallRulesClient) Update

func (client FirewallRulesClient) Update(resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (result FirewallRule, err error)

Update updates the specified firewall rule.

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

func (FirewallRulesClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (FirewallRulesClient) UpdateResponder

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

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

func (FirewallRulesClient) UpdateSender

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

type GroupClient struct {
	ManagementClient
}

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

func NewGroupClient

func NewGroupClient(subscriptionID string) GroupClient

NewGroupClient creates an instance of the GroupClient client.

func NewGroupClientWithBaseURI

func NewGroupClientWithBaseURI(baseURI string, subscriptionID string) GroupClient

NewGroupClientWithBaseURI creates an instance of the GroupClient client.

func (GroupClient) Create

func (client GroupClient) Create(resourceGroupName string, name string, parameters DataLakeStoreAccount, cancel <-chan struct{}) (<-chan DataLakeStoreAccount, <-chan error)

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

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

func (GroupClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (GroupClient) CreateResponder

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

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

func (GroupClient) CreateSender

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

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

func (GroupClient) Delete

func (client GroupClient) Delete(resourceGroupName string, name string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

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

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

func (GroupClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (GroupClient) DeleteResponder

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

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

func (GroupClient) DeleteSender

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

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

func (GroupClient) EnableKeyVault

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

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

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

func (GroupClient) EnableKeyVaultPreparer

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

EnableKeyVaultPreparer prepares the EnableKeyVault request.

func (GroupClient) EnableKeyVaultResponder

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

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

func (GroupClient) EnableKeyVaultSender

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

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

func (GroupClient) Get

func (client GroupClient) Get(resourceGroupName string, name 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. name is the name of the Data Lake Store account to retrieve.

func (GroupClient) GetPreparer

func (client GroupClient) GetPreparer(resourceGroupName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GroupClient) GetResponder

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

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

func (GroupClient) GetSender

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

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

func (GroupClient) List

func (client GroupClient) List(filter string, top *int32, skip *int32, 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 (GroupClient) ListByResourceGroup

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

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

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (GroupClient) ListByResourceGroupPreparer

func (client GroupClient) ListByResourceGroupPreparer(resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (GroupClient) ListByResourceGroupResponder

func (client GroupClient) ListByResourceGroupResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (GroupClient) ListByResourceGroupSender

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

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

func (GroupClient) ListNextResults

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

ListNextResults retrieves the next set of results, if any.

func (GroupClient) ListPreparer

func (client GroupClient) ListPreparer(filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (GroupClient) ListResponder

func (client GroupClient) ListResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GroupClient) ListSender

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

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

func (GroupClient) Update

func (client GroupClient) Update(resourceGroupName string, name string, parameters DataLakeStoreAccountUpdateParameters, cancel <-chan struct{}) (<-chan DataLakeStoreAccount, <-chan error)

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

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

func (GroupClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (GroupClient) UpdateResponder

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

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

func (GroupClient) UpdateSender

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

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

type 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
	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 TierType

type TierType string

TierType enumerates the values for tier type.

const (
	// Commitment100TB specifies the commitment 100tb state for tier type.
	Commitment100TB TierType = "Commitment_100TB"
	// Commitment10TB specifies the commitment 10tb state for tier type.
	Commitment10TB TierType = "Commitment_10TB"
	// Commitment1PB specifies the commitment 1pb state for tier type.
	Commitment1PB TierType = "Commitment_1PB"
	// Commitment1TB specifies the commitment 1tb state for tier type.
	Commitment1TB TierType = "Commitment_1TB"
	// Commitment500TB specifies the commitment 500tb state for tier type.
	Commitment500TB TierType = "Commitment_500TB"
	// Commitment5PB specifies the commitment 5pb state for tier type.
	Commitment5PB TierType = "Commitment_5PB"
	// Consumption specifies the consumption state for tier type.
	Consumption TierType = "Consumption"
)

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 Trusted Identity Provider 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 add or replace 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 or replace 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.

func (TrustedIDProvidersClient) Update

func (client TrustedIDProvidersClient) Update(resourceGroupName string, accountName string, trustedIDProviderName string, parameters *UpdateTrustedIDProviderParameters) (result TrustedIDProvider, err error)

Update updates the specified 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 to which to update 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 update the trusted identity provider.

func (TrustedIDProvidersClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (TrustedIDProvidersClient) UpdateResponder

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

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

func (TrustedIDProvidersClient) UpdateSender

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

type UpdateDataLakeStoreAccountProperties struct {
	FirewallState          FirewallState              `json:"firewallState,omitempty"`
	TrustedIDProviderState TrustedIDProviderState     `json:"trustedIdProviderState,omitempty"`
	DefaultGroup           *string                    `json:"defaultGroup,omitempty"`
	NewTier                TierType                   `json:"newTier,omitempty"`
	FirewallAllowAzureIps  FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
}

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

type UpdateFirewallRuleParameters

type UpdateFirewallRuleParameters struct {
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters is data Lake Analytics firewall rule update parameters

type UpdateFirewallRuleProperties

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

UpdateFirewallRuleProperties is data Lake Analytics firewall rule properties information

type UpdateTrustedIDProviderParameters

type UpdateTrustedIDProviderParameters struct {
	*UpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

UpdateTrustedIDProviderParameters is data Lake Store Trusted Identity Provider update parameters

type UpdateTrustedIDProviderProperties

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

UpdateTrustedIDProviderProperties is data Lake Store trusted identity provider property update information

Jump to

Keyboard shortcuts

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