account

package
v26.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 11 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 AccountsClient

type AccountsClient struct {
	BaseClient
}

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

func NewAccountsClient

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client.

func (AccountsClient) CheckNameAvailability

func (client AccountsClient) CheckNameAvailability(ctx context.Context, location string, parameters CheckNameAvailabilityParameters) (result NameAvailabilityInformation, err error)

CheckNameAvailability checks whether the specified account name is available or taken. Parameters: location - the resource location without whitespace. parameters - parameters supplied to check the Data Lake Store account name availability.

func (AccountsClient) CheckNameAvailabilityPreparer

func (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters CheckNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (AccountsClient) CheckNameAvailabilityResponder

func (client AccountsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityInformation, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (AccountsClient) CheckNameAvailabilitySender

func (client AccountsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (AccountsClient) Create

func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, parameters CreateDataLakeStoreAccountParameters) (result AccountsCreateFutureType, err error)

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

func (AccountsClient) CreatePreparer

func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters CreateDataLakeStoreAccountParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AccountsClient) CreateResponder

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

func (client AccountsClient) CreateSender(req *http.Request) (future AccountsCreateFutureType, err error)

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

func (AccountsClient) Delete

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

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

func (AccountsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder

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

func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDeleteFutureType, err error)

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

func (AccountsClient) EnableKeyVault

func (client AccountsClient) 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. accountName - the name of the Data Lake Store account.

func (AccountsClient) EnableKeyVaultPreparer

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

EnableKeyVaultPreparer prepares the EnableKeyVault request.

func (AccountsClient) EnableKeyVaultResponder

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

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

func (client AccountsClient) 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. accountName - the name of the Data Lake Store account.

func (AccountsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

func (client AccountsClient) 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 (AccountsClient) GetSender

func (client AccountsClient) 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 (AccountsClient) List

func (client AccountsClient) List(ctx context.Context, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (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. 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.

func (AccountsClient) ListByResourceGroup

func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skip *int32, selectParameter string, orderby string, count *bool) (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. filter - oData filter. Optional. top - the number of items to return. Optional. skip - the number of items to skip over before returning elements. 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.

func (AccountsClient) ListByResourceGroupComplete

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

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

func (AccountsClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder

func (client AccountsClient) 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 (AccountsClient) ListByResourceGroupSender

func (client AccountsClient) 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 (AccountsClient) ListComplete

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

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

func (AccountsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AccountsClient) ListResponder

func (client AccountsClient) 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 (AccountsClient) ListSender

func (client AccountsClient) 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 (AccountsClient) Update

func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters UpdateDataLakeStoreAccountParameters) (result AccountsUpdateFutureType, err error)

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

func (AccountsClient) UpdatePreparer

func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters UpdateDataLakeStoreAccountParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder

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

func (client AccountsClient) UpdateSender(req *http.Request) (future AccountsUpdateFutureType, err error)

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

type AccountsCreateFutureType

type AccountsCreateFutureType struct {
	azure.Future
}

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

func (*AccountsCreateFutureType) Result

func (future *AccountsCreateFutureType) Result(client AccountsClient) (dlsa DataLakeStoreAccount, err error)

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

type AccountsDeleteFutureType

type AccountsDeleteFutureType struct {
	azure.Future
}

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

func (*AccountsDeleteFutureType) Result

func (future *AccountsDeleteFutureType) Result(client AccountsClient) (ar autorest.Response, err error)

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

type AccountsUpdateFutureType

type AccountsUpdateFutureType struct {
	azure.Future
}

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

func (*AccountsUpdateFutureType) Result

func (future *AccountsUpdateFutureType) Result(client AccountsClient) (dlsa DataLakeStoreAccount, err error)

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

type BaseClient

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

BaseClient is the base client for Account.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CapabilityInformation

type CapabilityInformation struct {
	autorest.Response `json:"-"`
	// SubscriptionID - The subscription credentials that uniquely identifies the subscription.
	SubscriptionID *uuid.UUID `json:"subscriptionId,omitempty"`
	// State - The subscription state. Possible values include: 'SubscriptionStateRegistered', 'SubscriptionStateSuspended', 'SubscriptionStateDeleted', 'SubscriptionStateUnregistered', 'SubscriptionStateWarned'
	State SubscriptionState `json:"state,omitempty"`
	// MaxAccountCount - The maximum supported number of accounts under this subscription.
	MaxAccountCount *int32 `json:"maxAccountCount,omitempty"`
	// AccountCount - The current number of accounts under this subscription.
	AccountCount *int32 `json:"accountCount,omitempty"`
	// MigrationState - The Boolean value of true or false to indicate the maintenance state.
	MigrationState *bool `json:"migrationState,omitempty"`
}

CapabilityInformation subscription-level properties and limits for Data Lake Store.

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	// Name - The Data Lake Store name to check availability for.
	Name *string `json:"name,omitempty"`
	// Type - The resource type. Note: This should not be set by the user, as the constant value is Microsoft.DataLakeStore/accounts
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityParameters data Lake Store account name availability check parameters.

type CreateDataLakeStoreAccountParameters

type CreateDataLakeStoreAccountParameters struct {
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
	// Identity - The Key Vault encryption identity, if any.
	Identity *EncryptionIdentity `json:"identity,omitempty"`
	// CreateDataLakeStoreAccountProperties - The Data Lake Store account properties to use for creating.
	*CreateDataLakeStoreAccountProperties `json:"properties,omitempty"`
}

CreateDataLakeStoreAccountParameters ...

func (CreateDataLakeStoreAccountParameters) MarshalJSON

func (cdlsap CreateDataLakeStoreAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateDataLakeStoreAccountParameters.

func (*CreateDataLakeStoreAccountParameters) UnmarshalJSON

func (cdlsap *CreateDataLakeStoreAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateDataLakeStoreAccountParameters struct.

type CreateDataLakeStoreAccountProperties

type CreateDataLakeStoreAccountProperties struct {
	// DefaultGroup - The default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,omitempty"`
	// EncryptionConfig - The Key Vault encryption configuration.
	EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`
	// EncryptionState - The current state of encryption for this Data Lake Store account. Possible values include: 'Enabled', 'Disabled'
	EncryptionState EncryptionState `json:"encryptionState,omitempty"`
	// FirewallRules - The list of firewall rules associated with this Data Lake Store account.
	FirewallRules *[]CreateFirewallRuleWithAccountParameters `json:"firewallRules,omitempty"`
	// VirtualNetworkRules - The list of virtual network rules associated with this Data Lake Store account.
	VirtualNetworkRules *[]CreateVirtualNetworkRuleWithAccountParameters `json:"virtualNetworkRules,omitempty"`
	// FirewallState - The current state of the IP address firewall for this Data Lake Store account. Possible values include: 'FirewallStateEnabled', 'FirewallStateDisabled'
	FirewallState FirewallState `json:"firewallState,omitempty"`
	// FirewallAllowAzureIps - The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: 'FirewallAllowAzureIpsStateEnabled', 'FirewallAllowAzureIpsStateDisabled'
	FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
	// TrustedIDProviders - The list of trusted identity providers associated with this Data Lake Store account.
	TrustedIDProviders *[]CreateTrustedIDProviderWithAccountParameters `json:"trustedIdProviders,omitempty"`
	// TrustedIDProviderState - The current state of the trusted identity provider feature for this Data Lake Store account. Possible values include: 'TrustedIDProviderStateEnabled', 'TrustedIDProviderStateDisabled'
	TrustedIDProviderState TrustedIDProviderState `json:"trustedIdProviderState,omitempty"`
	// NewTier - The commitment tier to use for next month. Possible values include: 'Consumption', 'Commitment1TB', 'Commitment10TB', 'Commitment100TB', 'Commitment500TB', 'Commitment1PB', 'Commitment5PB'
	NewTier TierType `json:"newTier,omitempty"`
}

CreateDataLakeStoreAccountProperties ...

type CreateFirewallRuleWithAccountParameters

type CreateFirewallRuleWithAccountParameters struct {
	// Name - The unique name of the firewall rule to create.
	Name *string `json:"name,omitempty"`
	// CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule.
	*CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"`
}

CreateFirewallRuleWithAccountParameters the parameters used to create a new firewall rule while creating a new Data Lake Store account.

func (CreateFirewallRuleWithAccountParameters) MarshalJSON

func (cfrwap CreateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateFirewallRuleWithAccountParameters.

func (*CreateFirewallRuleWithAccountParameters) UnmarshalJSON

func (cfrwap *CreateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateFirewallRuleWithAccountParameters struct.

type CreateOrUpdateFirewallRuleParameters

type CreateOrUpdateFirewallRuleParameters struct {
	// CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule.
	*CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"`
}

CreateOrUpdateFirewallRuleParameters the parameters used to create a new firewall rule.

func (CreateOrUpdateFirewallRuleParameters) MarshalJSON

func (coufrp CreateOrUpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateOrUpdateFirewallRuleParameters.

func (*CreateOrUpdateFirewallRuleParameters) UnmarshalJSON

func (coufrp *CreateOrUpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateOrUpdateFirewallRuleParameters struct.

type CreateOrUpdateFirewallRuleProperties

type CreateOrUpdateFirewallRuleProperties struct {
	// StartIPAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	// EndIPAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	EndIPAddress *string `json:"endIpAddress,omitempty"`
}

CreateOrUpdateFirewallRuleProperties the firewall rule properties to use when creating a new firewall rule.

type CreateOrUpdateTrustedIDProviderParameters

type CreateOrUpdateTrustedIDProviderParameters struct {
	// CreateOrUpdateTrustedIDProviderProperties - The trusted identity provider properties to use when creating a new trusted identity provider.
	*CreateOrUpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

CreateOrUpdateTrustedIDProviderParameters the parameters used to create a new trusted identity provider.

func (CreateOrUpdateTrustedIDProviderParameters) MarshalJSON

func (coutipp CreateOrUpdateTrustedIDProviderParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateOrUpdateTrustedIDProviderParameters.

func (*CreateOrUpdateTrustedIDProviderParameters) UnmarshalJSON

func (coutipp *CreateOrUpdateTrustedIDProviderParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateOrUpdateTrustedIDProviderParameters struct.

type CreateOrUpdateTrustedIDProviderProperties

type CreateOrUpdateTrustedIDProviderProperties struct {
	// IDProvider - The URL of this trusted identity provider.
	IDProvider *string `json:"idProvider,omitempty"`
}

CreateOrUpdateTrustedIDProviderProperties the trusted identity provider properties to use when creating a new trusted identity provider.

type CreateOrUpdateVirtualNetworkRuleParameters

type CreateOrUpdateVirtualNetworkRuleParameters struct {
	// CreateOrUpdateVirtualNetworkRuleProperties - The virtual network rule properties to use when creating a new virtual network rule.
	*CreateOrUpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

CreateOrUpdateVirtualNetworkRuleParameters the parameters used to create a new virtual network rule.

func (CreateOrUpdateVirtualNetworkRuleParameters) MarshalJSON

func (couvnrp CreateOrUpdateVirtualNetworkRuleParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateOrUpdateVirtualNetworkRuleParameters.

func (*CreateOrUpdateVirtualNetworkRuleParameters) UnmarshalJSON

func (couvnrp *CreateOrUpdateVirtualNetworkRuleParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateOrUpdateVirtualNetworkRuleParameters struct.

type CreateOrUpdateVirtualNetworkRuleProperties

type CreateOrUpdateVirtualNetworkRuleProperties struct {
	// SubnetID - The resource identifier for the subnet.
	SubnetID *string `json:"subnetId,omitempty"`
}

CreateOrUpdateVirtualNetworkRuleProperties the virtual network rule properties to use when creating a new virtual network rule.

type CreateTrustedIDProviderWithAccountParameters

type CreateTrustedIDProviderWithAccountParameters struct {
	// Name - The unique name of the trusted identity provider to create.
	Name *string `json:"name,omitempty"`
	// CreateOrUpdateTrustedIDProviderProperties - The trusted identity provider properties to use when creating a new trusted identity provider.
	*CreateOrUpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

CreateTrustedIDProviderWithAccountParameters the parameters used to create a new trusted identity provider while creating a new Data Lake Store account.

func (CreateTrustedIDProviderWithAccountParameters) MarshalJSON

func (ctipwap CreateTrustedIDProviderWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateTrustedIDProviderWithAccountParameters.

func (*CreateTrustedIDProviderWithAccountParameters) UnmarshalJSON

func (ctipwap *CreateTrustedIDProviderWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateTrustedIDProviderWithAccountParameters struct.

type CreateVirtualNetworkRuleWithAccountParameters

type CreateVirtualNetworkRuleWithAccountParameters struct {
	// Name - The unique name of the virtual network rule to create.
	Name *string `json:"name,omitempty"`
	// CreateOrUpdateVirtualNetworkRuleProperties - The virtual network rule properties to use when creating a new virtual network rule.
	*CreateOrUpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

CreateVirtualNetworkRuleWithAccountParameters the parameters used to create a new virtual network rule while creating a new Data Lake Store account.

func (CreateVirtualNetworkRuleWithAccountParameters) MarshalJSON

func (cvnrwap CreateVirtualNetworkRuleWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateVirtualNetworkRuleWithAccountParameters.

func (*CreateVirtualNetworkRuleWithAccountParameters) UnmarshalJSON

func (cvnrwap *CreateVirtualNetworkRuleWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateVirtualNetworkRuleWithAccountParameters struct.

type DataLakeStoreAccount

type DataLakeStoreAccount struct {
	autorest.Response `json:"-"`
	// Identity - The Key Vault encryption identity, if any.
	Identity *EncryptionIdentity `json:"identity,omitempty"`
	// DataLakeStoreAccountProperties - The Data Lake Store account properties.
	*DataLakeStoreAccountProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

DataLakeStoreAccount data Lake Store account information.

func (DataLakeStoreAccount) MarshalJSON

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

MarshalJSON is the custom marshaler for DataLakeStoreAccount.

func (*DataLakeStoreAccount) UnmarshalJSON

func (dlsa *DataLakeStoreAccount) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccount struct.

type DataLakeStoreAccountBasic

type DataLakeStoreAccountBasic struct {
	// DataLakeStoreAccountPropertiesBasic - The basic Data Lake Store account properties.
	*DataLakeStoreAccountPropertiesBasic `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Tags - The resource tags.
	Tags map[string]*string `json:"tags"`
}

DataLakeStoreAccountBasic basic Data Lake Store account information, returned on list calls.

func (DataLakeStoreAccountBasic) MarshalJSON

func (dlsab DataLakeStoreAccountBasic) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataLakeStoreAccountBasic.

func (*DataLakeStoreAccountBasic) UnmarshalJSON

func (dlsab *DataLakeStoreAccountBasic) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccountBasic struct.

type DataLakeStoreAccountListResult

type DataLakeStoreAccountListResult struct {
	autorest.Response `json:"-"`
	// Value - The results of the list operation.
	Value *[]DataLakeStoreAccountBasic `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DataLakeStoreAccountListResult data Lake Store account list information response.

func (DataLakeStoreAccountListResult) IsEmpty

func (dlsalr DataLakeStoreAccountListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreAccountListResultIterator

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

DataLakeStoreAccountListResultIterator provides access to a complete listing of DataLakeStoreAccountBasic values.

func NewDataLakeStoreAccountListResultIterator

func NewDataLakeStoreAccountListResultIterator(page DataLakeStoreAccountListResultPage) DataLakeStoreAccountListResultIterator

Creates a new instance of the DataLakeStoreAccountListResultIterator type.

func (*DataLakeStoreAccountListResultIterator) Next

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

func (*DataLakeStoreAccountListResultIterator) NextWithContext

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

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

func (DataLakeStoreAccountListResultIterator) NotDone

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

func (DataLakeStoreAccountListResultIterator) Response

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

func (DataLakeStoreAccountListResultIterator) Value

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

type DataLakeStoreAccountListResultPage

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

DataLakeStoreAccountListResultPage contains a page of DataLakeStoreAccountBasic values.

func NewDataLakeStoreAccountListResultPage

Creates a new instance of the DataLakeStoreAccountListResultPage type.

func (*DataLakeStoreAccountListResultPage) Next

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

func (*DataLakeStoreAccountListResultPage) NextWithContext

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

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

func (DataLakeStoreAccountListResultPage) NotDone

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

func (DataLakeStoreAccountListResultPage) Response

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

func (DataLakeStoreAccountListResultPage) Values

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

type DataLakeStoreAccountProperties

type DataLakeStoreAccountProperties struct {
	// DefaultGroup - The default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,omitempty"`
	// EncryptionConfig - The Key Vault encryption configuration.
	EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`
	// EncryptionState - The current state of encryption for this Data Lake Store account. Possible values include: 'Enabled', 'Disabled'
	EncryptionState EncryptionState `json:"encryptionState,omitempty"`
	// EncryptionProvisioningState - The current state of encryption provisioning for this Data Lake Store account. Possible values include: 'EncryptionProvisioningStateCreating', 'EncryptionProvisioningStateSucceeded'
	EncryptionProvisioningState EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"`
	// FirewallRules - The list of firewall rules associated with this Data Lake Store account.
	FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"`
	// VirtualNetworkRules - The list of virtual network rules associated with this Data Lake Store account.
	VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
	// FirewallState - The current state of the IP address firewall for this Data Lake Store account. Possible values include: 'FirewallStateEnabled', 'FirewallStateDisabled'
	FirewallState FirewallState `json:"firewallState,omitempty"`
	// FirewallAllowAzureIps - The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: 'FirewallAllowAzureIpsStateEnabled', 'FirewallAllowAzureIpsStateDisabled'
	FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
	// TrustedIDProviders - The list of trusted identity providers associated with this Data Lake Store account.
	TrustedIDProviders *[]TrustedIDProvider `json:"trustedIdProviders,omitempty"`
	// TrustedIDProviderState - The current state of the trusted identity provider feature for this Data Lake Store account. Possible values include: 'TrustedIDProviderStateEnabled', 'TrustedIDProviderStateDisabled'
	TrustedIDProviderState TrustedIDProviderState `json:"trustedIdProviderState,omitempty"`
	// NewTier - The commitment tier to use for next month. Possible values include: 'Consumption', 'Commitment1TB', 'Commitment10TB', 'Commitment100TB', 'Commitment500TB', 'Commitment1PB', 'Commitment5PB'
	NewTier TierType `json:"newTier,omitempty"`
	// CurrentTier - The commitment tier in use for the current month. Possible values include: 'Consumption', 'Commitment1TB', 'Commitment10TB', 'Commitment100TB', 'Commitment500TB', 'Commitment1PB', 'Commitment5PB'
	CurrentTier TierType `json:"currentTier,omitempty"`
	// AccountID - The unique identifier associated with this Data Lake Store account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
	// ProvisioningState - The provisioning status of the Data Lake Store account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
	ProvisioningState DataLakeStoreAccountStatus `json:"provisioningState,omitempty"`
	// State - The state of the Data Lake Store account. Possible values include: 'Active', 'Suspended'
	State DataLakeStoreAccountState `json:"state,omitempty"`
	// CreationTime - The account creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - The account last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Endpoint - The full CName endpoint for this account.
	Endpoint *string `json:"endpoint,omitempty"`
}

DataLakeStoreAccountProperties data Lake Store account properties information.

type DataLakeStoreAccountPropertiesBasic

type DataLakeStoreAccountPropertiesBasic struct {
	// AccountID - The unique identifier associated with this Data Lake Store account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
	// ProvisioningState - The provisioning status of the Data Lake Store account. Possible values include: 'Failed', 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming', 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
	ProvisioningState DataLakeStoreAccountStatus `json:"provisioningState,omitempty"`
	// State - The state of the Data Lake Store account. Possible values include: 'Active', 'Suspended'
	State DataLakeStoreAccountState `json:"state,omitempty"`
	// CreationTime - The account creation time.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// LastModifiedTime - The account last modified time.
	LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
	// Endpoint - The full CName endpoint for this account.
	Endpoint *string `json:"endpoint,omitempty"`
}

DataLakeStoreAccountPropertiesBasic the basic account specific properties that are associated with an underlying Data Lake Store account.

type DataLakeStoreAccountState

type DataLakeStoreAccountState string

DataLakeStoreAccountState enumerates the values for data lake store account state.

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

func PossibleDataLakeStoreAccountStateValues

func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState

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

type DataLakeStoreAccountStatus

type DataLakeStoreAccountStatus string

DataLakeStoreAccountStatus enumerates the values for data lake store account status.

const (
	// Canceled ...
	Canceled DataLakeStoreAccountStatus = "Canceled"
	// 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"
	// Undeleting ...
	Undeleting DataLakeStoreAccountStatus = "Undeleting"
)

func PossibleDataLakeStoreAccountStatusValues

func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus

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

type EncryptionConfig

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

EncryptionConfig the encryption configuration for the account.

type EncryptionConfigType

type EncryptionConfigType string

EncryptionConfigType enumerates the values for encryption config type.

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

func PossibleEncryptionConfigTypeValues

func PossibleEncryptionConfigTypeValues() []EncryptionConfigType

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

type EncryptionIdentity

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

EncryptionIdentity the encryption identity properties.

type EncryptionProvisioningState

type EncryptionProvisioningState string

EncryptionProvisioningState enumerates the values for encryption provisioning state.

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

func PossibleEncryptionProvisioningStateValues

func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState

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

type EncryptionState

type EncryptionState string

EncryptionState enumerates the values for encryption state.

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

func PossibleEncryptionStateValues

func PossibleEncryptionStateValues() []EncryptionState

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

type FirewallAllowAzureIpsState

type FirewallAllowAzureIpsState string

FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.

const (
	// FirewallAllowAzureIpsStateDisabled ...
	FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = "Disabled"
	// FirewallAllowAzureIpsStateEnabled ...
	FirewallAllowAzureIpsStateEnabled FirewallAllowAzureIpsState = "Enabled"
)

func PossibleFirewallAllowAzureIpsStateValues

func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState

PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.

type FirewallRule

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

FirewallRule data Lake Store firewall rule information.

func (FirewallRule) MarshalJSON

func (fr FirewallRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallRule.

func (*FirewallRule) UnmarshalJSON

func (fr *FirewallRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallRule struct.

type FirewallRuleListResult

type FirewallRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - The results of the list operation.
	Value *[]FirewallRule `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

FirewallRuleListResult data Lake Store firewall rule list information.

func (FirewallRuleListResult) IsEmpty

func (frlr FirewallRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FirewallRuleListResultIterator

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

FirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.

func NewFirewallRuleListResultIterator

func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator

Creates a new instance of the FirewallRuleListResultIterator type.

func (*FirewallRuleListResultIterator) Next

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

func (*FirewallRuleListResultIterator) NextWithContext

func (iter *FirewallRuleListResultIterator) 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 (FirewallRuleListResultIterator) NotDone

func (iter FirewallRuleListResultIterator) NotDone() bool

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

func (FirewallRuleListResultIterator) Response

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

func (FirewallRuleListResultIterator) Value

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

type FirewallRuleListResultPage

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

FirewallRuleListResultPage contains a page of FirewallRule values.

func NewFirewallRuleListResultPage

func NewFirewallRuleListResultPage(getNextPage func(context.Context, FirewallRuleListResult) (FirewallRuleListResult, error)) FirewallRuleListResultPage

Creates a new instance of the FirewallRuleListResultPage type.

func (*FirewallRuleListResultPage) Next

func (page *FirewallRuleListResultPage) 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 (*FirewallRuleListResultPage) NextWithContext

func (page *FirewallRuleListResultPage) 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 (FirewallRuleListResultPage) NotDone

func (page FirewallRuleListResultPage) NotDone() bool

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

func (FirewallRuleListResultPage) Response

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

func (FirewallRuleListResultPage) Values

func (page FirewallRuleListResultPage) Values() []FirewallRule

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

type FirewallRuleProperties

type FirewallRuleProperties struct {
	// StartIPAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	// EndIPAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	EndIPAddress *string `json:"endIpAddress,omitempty"`
}

FirewallRuleProperties the firewall rule properties.

type FirewallRulesClient

type FirewallRulesClient struct {
	BaseClient
}

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(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters CreateOrUpdateFirewallRuleParameters) (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. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. firewallRuleName - the name of the firewall rule to create or update. parameters - parameters supplied to create or update the firewall rule.

func (FirewallRulesClient) CreateOrUpdatePreparer

func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters CreateOrUpdateFirewallRuleParameters) (*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(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (result autorest.Response, err error)

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

func (FirewallRulesClient) DeletePreparer

func (client FirewallRulesClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (result FirewallRule, err error)

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

func (FirewallRulesClient) GetPreparer

func (client FirewallRulesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string) (result FirewallRuleListResultPage, err error)

ListByAccount lists the Data Lake Store firewall rules within the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account.

func (FirewallRulesClient) ListByAccountComplete

func (client FirewallRulesClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result FirewallRuleListResultIterator, err error)

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

func (FirewallRulesClient) ListByAccountPreparer

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

ListByAccountPreparer prepares the ListByAccount request.

func (FirewallRulesClient) ListByAccountResponder

func (client FirewallRulesClient) ListByAccountResponder(resp *http.Response) (result FirewallRuleListResult, 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(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (result FirewallRule, err error)

Update updates the specified firewall rule. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. firewallRuleName - the name of the firewall rule to update. parameters - parameters supplied to update the firewall rule.

func (FirewallRulesClient) UpdatePreparer

func (client FirewallRulesClient) UpdatePreparer(ctx context.Context, 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 ...
	FirewallStateDisabled FirewallState = "Disabled"
	// FirewallStateEnabled ...
	FirewallStateEnabled FirewallState = "Enabled"
)

func PossibleFirewallStateValues

func PossibleFirewallStateValues() []FirewallState

PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.

type KeyVaultMetaInfo

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

KeyVaultMetaInfo metadata information used by account encryption.

type LocationsClient

type LocationsClient struct {
	BaseClient
}

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

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.

func (LocationsClient) GetCapability

func (client LocationsClient) GetCapability(ctx context.Context, location string) (result CapabilityInformation, err error)

GetCapability gets subscription-level properties and limits for Data Lake Store specified by resource location. Parameters: location - the resource location without whitespace.

func (LocationsClient) GetCapabilityPreparer

func (client LocationsClient) GetCapabilityPreparer(ctx context.Context, location string) (*http.Request, error)

GetCapabilityPreparer prepares the GetCapability request.

func (LocationsClient) GetCapabilityResponder

func (client LocationsClient) GetCapabilityResponder(resp *http.Response) (result CapabilityInformation, err error)

GetCapabilityResponder handles the response to the GetCapability request. The method always closes the http.Response Body.

func (LocationsClient) GetCapabilitySender

func (client LocationsClient) GetCapabilitySender(req *http.Request) (*http.Response, error)

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

type NameAvailabilityInformation

type NameAvailabilityInformation struct {
	autorest.Response `json:"-"`
	// NameAvailable - The Boolean value of true or false to indicate whether the Data Lake Store account name is available or not.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - The reason why the Data Lake Store account name is not available, if nameAvailable is false.
	Reason *string `json:"reason,omitempty"`
	// Message - The message describing why the Data Lake Store account name is not available, if nameAvailable is false.
	Message *string `json:"message,omitempty"`
}

NameAvailabilityInformation data Lake Store account name availability result information.

type Operation

type Operation struct {
	// Name - The name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - The display information for the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - The intended executor of the operation. Possible values include: 'User', 'System', 'Usersystem'
	Origin OperationOrigin `json:"origin,omitempty"`
}

Operation an available operation for Data Lake Store.

type OperationDisplay

type OperationDisplay struct {
	// Provider - The resource provider of the operation.
	Provider *string `json:"provider,omitempty"`
	// Resource - The resource type of the operation.
	Resource *string `json:"resource,omitempty"`
	// Operation - A friendly name of the operation.
	Operation *string `json:"operation,omitempty"`
	// Description - A friendly description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay the display information for a particular operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - The results of the list operation.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult the list of available operations for Data Lake Store.

type OperationOrigin

type OperationOrigin string

OperationOrigin enumerates the values for operation origin.

const (
	// System ...
	System OperationOrigin = "system"
	// User ...
	User OperationOrigin = "user"
	// Usersystem ...
	Usersystem OperationOrigin = "user,system"
)

func PossibleOperationOriginValues

func PossibleOperationOriginValues() []OperationOrigin

PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

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

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available Data Lake Store REST API operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender

func (client OperationsClient) 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.

type Resource

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

Resource the resource model definition.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type SubResource

type SubResource struct {
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

SubResource the resource model definition for a nested resource.

type SubscriptionState

type SubscriptionState string

SubscriptionState enumerates the values for subscription state.

const (
	// SubscriptionStateDeleted ...
	SubscriptionStateDeleted SubscriptionState = "Deleted"
	// SubscriptionStateRegistered ...
	SubscriptionStateRegistered SubscriptionState = "Registered"
	// SubscriptionStateSuspended ...
	SubscriptionStateSuspended SubscriptionState = "Suspended"
	// SubscriptionStateUnregistered ...
	SubscriptionStateUnregistered SubscriptionState = "Unregistered"
	// SubscriptionStateWarned ...
	SubscriptionStateWarned SubscriptionState = "Warned"
)

func PossibleSubscriptionStateValues

func PossibleSubscriptionStateValues() []SubscriptionState

PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.

type TierType

type TierType string

TierType enumerates the values for tier type.

const (
	// Commitment100TB ...
	Commitment100TB TierType = "Commitment_100TB"
	// Commitment10TB ...
	Commitment10TB TierType = "Commitment_10TB"
	// Commitment1PB ...
	Commitment1PB TierType = "Commitment_1PB"
	// Commitment1TB ...
	Commitment1TB TierType = "Commitment_1TB"
	// Commitment500TB ...
	Commitment500TB TierType = "Commitment_500TB"
	// Commitment5PB ...
	Commitment5PB TierType = "Commitment_5PB"
	// Consumption ...
	Consumption TierType = "Consumption"
)

func PossibleTierTypeValues

func PossibleTierTypeValues() []TierType

PossibleTierTypeValues returns an array of possible values for the TierType const type.

type TrustedIDProvider

type TrustedIDProvider struct {
	autorest.Response `json:"-"`
	// TrustedIDProviderProperties - The trusted identity provider properties.
	*TrustedIDProviderProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

TrustedIDProvider data Lake Store trusted identity provider information.

func (TrustedIDProvider) MarshalJSON

func (tip TrustedIDProvider) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrustedIDProvider.

func (*TrustedIDProvider) UnmarshalJSON

func (tip *TrustedIDProvider) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TrustedIDProvider struct.

type TrustedIDProviderListResult

type TrustedIDProviderListResult struct {
	autorest.Response `json:"-"`
	// Value - The results of the list operation.
	Value *[]TrustedIDProvider `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

TrustedIDProviderListResult data Lake Store trusted identity provider list information.

func (TrustedIDProviderListResult) IsEmpty

func (tiplr TrustedIDProviderListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type TrustedIDProviderListResultIterator

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

TrustedIDProviderListResultIterator provides access to a complete listing of TrustedIDProvider values.

func NewTrustedIDProviderListResultIterator

func NewTrustedIDProviderListResultIterator(page TrustedIDProviderListResultPage) TrustedIDProviderListResultIterator

Creates a new instance of the TrustedIDProviderListResultIterator type.

func (*TrustedIDProviderListResultIterator) Next

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

func (*TrustedIDProviderListResultIterator) NextWithContext

func (iter *TrustedIDProviderListResultIterator) 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 (TrustedIDProviderListResultIterator) NotDone

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

func (TrustedIDProviderListResultIterator) Response

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

func (TrustedIDProviderListResultIterator) Value

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

type TrustedIDProviderListResultPage

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

TrustedIDProviderListResultPage contains a page of TrustedIDProvider values.

func NewTrustedIDProviderListResultPage

func NewTrustedIDProviderListResultPage(getNextPage func(context.Context, TrustedIDProviderListResult) (TrustedIDProviderListResult, error)) TrustedIDProviderListResultPage

Creates a new instance of the TrustedIDProviderListResultPage type.

func (*TrustedIDProviderListResultPage) Next

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

func (*TrustedIDProviderListResultPage) NextWithContext

func (page *TrustedIDProviderListResultPage) 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 (TrustedIDProviderListResultPage) NotDone

func (page TrustedIDProviderListResultPage) NotDone() bool

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

func (TrustedIDProviderListResultPage) Response

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

func (TrustedIDProviderListResultPage) Values

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

type TrustedIDProviderProperties

type TrustedIDProviderProperties struct {
	// IDProvider - The URL of this trusted identity provider.
	IDProvider *string `json:"idProvider,omitempty"`
}

TrustedIDProviderProperties the trusted identity provider properties.

type TrustedIDProviderState

type TrustedIDProviderState string

TrustedIDProviderState enumerates the values for trusted id provider state.

const (
	// TrustedIDProviderStateDisabled ...
	TrustedIDProviderStateDisabled TrustedIDProviderState = "Disabled"
	// TrustedIDProviderStateEnabled ...
	TrustedIDProviderStateEnabled TrustedIDProviderState = "Enabled"
)

func PossibleTrustedIDProviderStateValues

func PossibleTrustedIDProviderStateValues() []TrustedIDProviderState

PossibleTrustedIDProviderStateValues returns an array of possible values for the TrustedIDProviderState const type.

type TrustedIDProvidersClient

type TrustedIDProvidersClient struct {
	BaseClient
}

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(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, parameters CreateOrUpdateTrustedIDProviderParameters) (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 Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. trustedIDProviderName - the name of the trusted identity provider. This is used for differentiation of providers in the account. parameters - parameters supplied to create or replace the trusted identity provider.

func (TrustedIDProvidersClient) CreateOrUpdatePreparer

func (client TrustedIDProvidersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, parameters CreateOrUpdateTrustedIDProviderParameters) (*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(ctx context.Context, 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 Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. trustedIDProviderName - the name of the trusted identity provider to delete.

func (TrustedIDProvidersClient) DeletePreparer

func (client TrustedIDProvidersClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string) (result TrustedIDProvider, err error)

Get gets the specified Data Lake Store trusted identity provider. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. trustedIDProviderName - the name of the trusted identity provider to retrieve.

func (TrustedIDProvidersClient) GetPreparer

func (client TrustedIDProvidersClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, accountName string) (result TrustedIDProviderListResultPage, err error)

ListByAccount lists the Data Lake Store trusted identity providers within the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account.

func (TrustedIDProvidersClient) ListByAccountComplete

func (client TrustedIDProvidersClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result TrustedIDProviderListResultIterator, err error)

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

func (TrustedIDProvidersClient) ListByAccountPreparer

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

ListByAccountPreparer prepares the ListByAccount request.

func (TrustedIDProvidersClient) ListByAccountResponder

func (client TrustedIDProvidersClient) ListByAccountResponder(resp *http.Response) (result TrustedIDProviderListResult, 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(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, parameters *UpdateTrustedIDProviderParameters) (result TrustedIDProvider, err error)

Update updates the specified trusted identity provider. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. trustedIDProviderName - the name of the trusted identity provider. This is used for differentiation of providers in the account. parameters - parameters supplied to update the trusted identity provider.

func (TrustedIDProvidersClient) UpdatePreparer

func (client TrustedIDProvidersClient) UpdatePreparer(ctx context.Context, 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 UpdateDataLakeStoreAccountParameters

type UpdateDataLakeStoreAccountParameters struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// UpdateDataLakeStoreAccountProperties - The Data Lake Store account properties to update.
	*UpdateDataLakeStoreAccountProperties `json:"properties,omitempty"`
}

UpdateDataLakeStoreAccountParameters data Lake Store account information to update.

func (UpdateDataLakeStoreAccountParameters) MarshalJSON

func (udlsap UpdateDataLakeStoreAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateDataLakeStoreAccountParameters.

func (*UpdateDataLakeStoreAccountParameters) UnmarshalJSON

func (udlsap *UpdateDataLakeStoreAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateDataLakeStoreAccountParameters struct.

type UpdateDataLakeStoreAccountProperties

type UpdateDataLakeStoreAccountProperties struct {
	// DefaultGroup - The default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,omitempty"`
	// EncryptionConfig - Used for rotation of user managed Key Vault keys. Can only be used to rotate a user managed encryption Key Vault key.
	EncryptionConfig *UpdateEncryptionConfig `json:"encryptionConfig,omitempty"`
	// FirewallRules - The list of firewall rules associated with this Data Lake Store account.
	FirewallRules *[]UpdateFirewallRuleWithAccountParameters `json:"firewallRules,omitempty"`
	// VirtualNetworkRules - The list of virtual network rules associated with this Data Lake Store account.
	VirtualNetworkRules *[]UpdateVirtualNetworkRuleWithAccountParameters `json:"virtualNetworkRules,omitempty"`
	// FirewallState - The current state of the IP address firewall for this Data Lake Store account. Disabling the firewall does not remove existing rules, they will just be ignored until the firewall is re-enabled. Possible values include: 'FirewallStateEnabled', 'FirewallStateDisabled'
	FirewallState FirewallState `json:"firewallState,omitempty"`
	// FirewallAllowAzureIps - The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: 'FirewallAllowAzureIpsStateEnabled', 'FirewallAllowAzureIpsStateDisabled'
	FirewallAllowAzureIps FirewallAllowAzureIpsState `json:"firewallAllowAzureIps,omitempty"`
	// TrustedIDProviders - The list of trusted identity providers associated with this Data Lake Store account.
	TrustedIDProviders *[]UpdateTrustedIDProviderWithAccountParameters `json:"trustedIdProviders,omitempty"`
	// TrustedIDProviderState - The current state of the trusted identity provider feature for this Data Lake Store account. Disabling trusted identity provider functionality does not remove the providers, they will just be ignored until this feature is re-enabled. Possible values include: 'TrustedIDProviderStateEnabled', 'TrustedIDProviderStateDisabled'
	TrustedIDProviderState TrustedIDProviderState `json:"trustedIdProviderState,omitempty"`
	// NewTier - The commitment tier to use for next month. Possible values include: 'Consumption', 'Commitment1TB', 'Commitment10TB', 'Commitment100TB', 'Commitment500TB', 'Commitment1PB', 'Commitment5PB'
	NewTier TierType `json:"newTier,omitempty"`
}

UpdateDataLakeStoreAccountProperties data Lake Store account properties information to be updated.

type UpdateEncryptionConfig

type UpdateEncryptionConfig struct {
	// KeyVaultMetaInfo - The updated Key Vault key to use in user managed key rotation.
	KeyVaultMetaInfo *UpdateKeyVaultMetaInfo `json:"keyVaultMetaInfo,omitempty"`
}

UpdateEncryptionConfig the encryption configuration used to update a user managed Key Vault key.

type UpdateFirewallRuleParameters

type UpdateFirewallRuleParameters struct {
	// UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule.
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters the parameters used to update a firewall rule.

func (UpdateFirewallRuleParameters) MarshalJSON

func (ufrp UpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateFirewallRuleParameters.

func (*UpdateFirewallRuleParameters) UnmarshalJSON

func (ufrp *UpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleParameters struct.

type UpdateFirewallRuleProperties

type UpdateFirewallRuleProperties struct {
	// StartIPAddress - The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	// EndIPAddress - The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
	EndIPAddress *string `json:"endIpAddress,omitempty"`
}

UpdateFirewallRuleProperties the firewall rule properties to use when updating a firewall rule.

type UpdateFirewallRuleWithAccountParameters

type UpdateFirewallRuleWithAccountParameters struct {
	// Name - The unique name of the firewall rule to update.
	Name *string `json:"name,omitempty"`
	// UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule.
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleWithAccountParameters the parameters used to update a firewall rule while updating a Data Lake Store account.

func (UpdateFirewallRuleWithAccountParameters) MarshalJSON

func (ufrwap UpdateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateFirewallRuleWithAccountParameters.

func (*UpdateFirewallRuleWithAccountParameters) UnmarshalJSON

func (ufrwap *UpdateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleWithAccountParameters struct.

type UpdateKeyVaultMetaInfo

type UpdateKeyVaultMetaInfo struct {
	// EncryptionKeyVersion - The version of the user managed encryption key to update through a key rotation.
	EncryptionKeyVersion *string `json:"encryptionKeyVersion,omitempty"`
}

UpdateKeyVaultMetaInfo the Key Vault update information used for user managed key rotation.

type UpdateTrustedIDProviderParameters

type UpdateTrustedIDProviderParameters struct {
	// UpdateTrustedIDProviderProperties - The trusted identity provider properties to use when updating a trusted identity provider.
	*UpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

UpdateTrustedIDProviderParameters the parameters used to update a trusted identity provider.

func (UpdateTrustedIDProviderParameters) MarshalJSON

func (utipp UpdateTrustedIDProviderParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateTrustedIDProviderParameters.

func (*UpdateTrustedIDProviderParameters) UnmarshalJSON

func (utipp *UpdateTrustedIDProviderParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateTrustedIDProviderParameters struct.

type UpdateTrustedIDProviderProperties

type UpdateTrustedIDProviderProperties struct {
	// IDProvider - The URL of this trusted identity provider.
	IDProvider *string `json:"idProvider,omitempty"`
}

UpdateTrustedIDProviderProperties the trusted identity provider properties to use when updating a trusted identity provider.

type UpdateTrustedIDProviderWithAccountParameters

type UpdateTrustedIDProviderWithAccountParameters struct {
	// Name - The unique name of the trusted identity provider to update.
	Name *string `json:"name,omitempty"`
	// UpdateTrustedIDProviderProperties - The trusted identity provider properties to use when updating a trusted identity provider.
	*UpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

UpdateTrustedIDProviderWithAccountParameters the parameters used to update a trusted identity provider while updating a Data Lake Store account.

func (UpdateTrustedIDProviderWithAccountParameters) MarshalJSON

func (utipwap UpdateTrustedIDProviderWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateTrustedIDProviderWithAccountParameters.

func (*UpdateTrustedIDProviderWithAccountParameters) UnmarshalJSON

func (utipwap *UpdateTrustedIDProviderWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateTrustedIDProviderWithAccountParameters struct.

type UpdateVirtualNetworkRuleParameters

type UpdateVirtualNetworkRuleParameters struct {
	// UpdateVirtualNetworkRuleProperties - The virtual network rule properties to use when updating a virtual network rule.
	*UpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

UpdateVirtualNetworkRuleParameters the parameters used to update a virtual network rule.

func (UpdateVirtualNetworkRuleParameters) MarshalJSON

func (uvnrp UpdateVirtualNetworkRuleParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateVirtualNetworkRuleParameters.

func (*UpdateVirtualNetworkRuleParameters) UnmarshalJSON

func (uvnrp *UpdateVirtualNetworkRuleParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateVirtualNetworkRuleParameters struct.

type UpdateVirtualNetworkRuleProperties

type UpdateVirtualNetworkRuleProperties struct {
	// SubnetID - The resource identifier for the subnet.
	SubnetID *string `json:"subnetId,omitempty"`
}

UpdateVirtualNetworkRuleProperties the virtual network rule properties to use when updating a virtual network rule.

type UpdateVirtualNetworkRuleWithAccountParameters

type UpdateVirtualNetworkRuleWithAccountParameters struct {
	// Name - The unique name of the virtual network rule to update.
	Name *string `json:"name,omitempty"`
	// UpdateVirtualNetworkRuleProperties - The virtual network rule properties to use when updating a virtual network rule.
	*UpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

UpdateVirtualNetworkRuleWithAccountParameters the parameters used to update a virtual network rule while updating a Data Lake Store account.

func (UpdateVirtualNetworkRuleWithAccountParameters) MarshalJSON

func (uvnrwap UpdateVirtualNetworkRuleWithAccountParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateVirtualNetworkRuleWithAccountParameters.

func (*UpdateVirtualNetworkRuleWithAccountParameters) UnmarshalJSON

func (uvnrwap *UpdateVirtualNetworkRuleWithAccountParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateVirtualNetworkRuleWithAccountParameters struct.

type VirtualNetworkRule

type VirtualNetworkRule struct {
	autorest.Response `json:"-"`
	// VirtualNetworkRuleProperties - The virtual network rule properties.
	*VirtualNetworkRuleProperties `json:"properties,omitempty"`
	// ID - The resource identifier.
	ID *string `json:"id,omitempty"`
	// Name - The resource name.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

VirtualNetworkRule data Lake Store virtual network rule information.

func (VirtualNetworkRule) MarshalJSON

func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkRule.

func (*VirtualNetworkRule) UnmarshalJSON

func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.

type VirtualNetworkRuleListResult

type VirtualNetworkRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - The results of the list operation.
	Value *[]VirtualNetworkRule `json:"value,omitempty"`
	// NextLink - The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkRuleListResult data Lake Store virtual network rule list information.

func (VirtualNetworkRuleListResult) IsEmpty

func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkRuleListResultIterator

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

VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.

func NewVirtualNetworkRuleListResultIterator

func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator

Creates a new instance of the VirtualNetworkRuleListResultIterator type.

func (*VirtualNetworkRuleListResultIterator) Next

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

func (*VirtualNetworkRuleListResultIterator) NextWithContext

func (iter *VirtualNetworkRuleListResultIterator) 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 (VirtualNetworkRuleListResultIterator) NotDone

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

func (VirtualNetworkRuleListResultIterator) Response

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

func (VirtualNetworkRuleListResultIterator) Value

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

type VirtualNetworkRuleListResultPage

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

VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.

func NewVirtualNetworkRuleListResultPage

Creates a new instance of the VirtualNetworkRuleListResultPage type.

func (*VirtualNetworkRuleListResultPage) Next

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

func (*VirtualNetworkRuleListResultPage) NextWithContext

func (page *VirtualNetworkRuleListResultPage) 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 (VirtualNetworkRuleListResultPage) NotDone

func (page VirtualNetworkRuleListResultPage) NotDone() bool

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

func (VirtualNetworkRuleListResultPage) Response

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

func (VirtualNetworkRuleListResultPage) Values

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

type VirtualNetworkRuleProperties

type VirtualNetworkRuleProperties struct {
	// SubnetID - The resource identifier for the subnet.
	SubnetID *string `json:"subnetId,omitempty"`
}

VirtualNetworkRuleProperties the virtual network rule properties.

type VirtualNetworkRulesClient

type VirtualNetworkRulesClient struct {
	BaseClient
}

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

func NewVirtualNetworkRulesClient

func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient

NewVirtualNetworkRulesClient creates an instance of the VirtualNetworkRulesClient client.

func NewVirtualNetworkRulesClientWithBaseURI

func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient

NewVirtualNetworkRulesClientWithBaseURI creates an instance of the VirtualNetworkRulesClient client.

func (VirtualNetworkRulesClient) CreateOrUpdate

func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters CreateOrUpdateVirtualNetworkRuleParameters) (result VirtualNetworkRule, err error)

CreateOrUpdate creates or updates the specified virtual network rule. During update, the virtual network rule with the specified name will be replaced with this new virtual network rule. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. virtualNetworkRuleName - the name of the virtual network rule to create or update. parameters - parameters supplied to create or update the virtual network rule.

func (VirtualNetworkRulesClient) CreateOrUpdatePreparer

func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters CreateOrUpdateVirtualNetworkRuleParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkRulesClient) CreateOrUpdateResponder

func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)

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

func (VirtualNetworkRulesClient) CreateOrUpdateSender

func (client VirtualNetworkRulesClient) 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 (VirtualNetworkRulesClient) Delete

func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string) (result autorest.Response, err error)

Delete deletes the specified virtual network rule from the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. virtualNetworkRuleName - the name of the virtual network rule to delete.

func (VirtualNetworkRulesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (VirtualNetworkRulesClient) DeleteResponder

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

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

func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string) (result VirtualNetworkRule, err error)

Get gets the specified Data Lake Store virtual network rule. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. virtualNetworkRuleName - the name of the virtual network rule to retrieve.

func (VirtualNetworkRulesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (VirtualNetworkRulesClient) GetResponder

func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)

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

func (VirtualNetworkRulesClient) GetSender

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

func (client VirtualNetworkRulesClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result VirtualNetworkRuleListResultPage, err error)

ListByAccount lists the Data Lake Store virtual network rules within the specified Data Lake Store account. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account.

func (VirtualNetworkRulesClient) ListByAccountComplete

func (client VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result VirtualNetworkRuleListResultIterator, err error)

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

func (VirtualNetworkRulesClient) ListByAccountPreparer

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

ListByAccountPreparer prepares the ListByAccount request.

func (VirtualNetworkRulesClient) ListByAccountResponder

func (client VirtualNetworkRulesClient) ListByAccountResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)

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

func (VirtualNetworkRulesClient) ListByAccountSender

func (client VirtualNetworkRulesClient) 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 (VirtualNetworkRulesClient) Update

func (client VirtualNetworkRulesClient) Update(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters *UpdateVirtualNetworkRuleParameters) (result VirtualNetworkRule, err error)

Update updates the specified virtual network rule. Parameters: resourceGroupName - the name of the Azure resource group. accountName - the name of the Data Lake Store account. virtualNetworkRuleName - the name of the virtual network rule to update. parameters - parameters supplied to update the virtual network rule.

func (VirtualNetworkRulesClient) UpdatePreparer

func (client VirtualNetworkRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters *UpdateVirtualNetworkRuleParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualNetworkRulesClient) UpdateResponder

func (client VirtualNetworkRulesClient) UpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)

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

func (VirtualNetworkRulesClient) UpdateSender

func (client VirtualNetworkRulesClient) 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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