account

package
v12.5.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 9 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 AccountCreateFuture

type AccountCreateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (AccountCreateFuture) Result

func (future AccountCreateFuture) Result(client Client) (dlsa DataLakeStoreAccount, err error)

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

type AccountDeleteFuture

type AccountDeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (AccountDeleteFuture) Result

func (future AccountDeleteFuture) Result(client Client) (ar autorest.Response, err error)

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

type AccountUpdateFuture

type AccountUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (AccountUpdateFuture) Result

func (future AccountUpdateFuture) Result(client Client) (dlsa DataLakeStoreAccount, err error)

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

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

type Client struct {
	BaseClient
}

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

func NewClient

func NewClient(subscriptionID string) Client

NewClient creates an instance of the Client client.

func NewClientWithBaseURI

func NewClientWithBaseURI(baseURI string, subscriptionID string) Client

NewClientWithBaseURI creates an instance of the Client client.

func (Client) CheckNameAvailability

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

CheckNameAvailability checks whether the specified account name is available or taken.

location is the Resource location without whitespace. parameters is parameters supplied to check the Data Lake Store account name availability.

func (Client) CheckNameAvailabilityPreparer

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (Client) CheckNameAvailabilityResponder

func (client Client) 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 (Client) CheckNameAvailabilitySender

func (client Client) 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 (Client) Create

func (client Client) Create(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccount) (result AccountCreateFuture, err error)

Create creates the specified Data Lake Store account.

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

func (Client) CreatePreparer

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

CreatePreparer prepares the Create request.

func (Client) CreateResponder

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

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

func (Client) CreateSender

func (client Client) CreateSender(req *http.Request) (future AccountCreateFuture, err error)

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

func (Client) Delete

func (client Client) Delete(ctx context.Context, resourceGroupName string, name string) (result AccountDeleteFuture, err error)

Delete deletes the specified Data Lake Store account.

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

func (Client) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (Client) DeleteResponder

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

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

func (Client) DeleteSender

func (client Client) DeleteSender(req *http.Request) (future AccountDeleteFuture, err error)

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

func (Client) EnableKeyVault

func (client Client) EnableKeyVault(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)

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

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

func (Client) EnableKeyVaultPreparer

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

EnableKeyVaultPreparer prepares the EnableKeyVault request.

func (Client) EnableKeyVaultResponder

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

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

func (Client) EnableKeyVaultSender

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

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

func (Client) Get

func (client Client) Get(ctx context.Context, resourceGroupName string, name string) (result DataLakeStoreAccount, err error)

Get gets the specified Data Lake Store account.

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

func (Client) GetPreparer

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

GetPreparer prepares the Get request.

func (Client) GetResponder

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

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

func (Client) GetSender

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

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

func (Client) List

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

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

func (Client) ListByResourceGroup

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

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

func (Client) ListByResourceGroupComplete

func (client Client) 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 (Client) ListByResourceGroupPreparer

func (client Client) 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 (Client) ListByResourceGroupResponder

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

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

func (Client) ListByResourceGroupSender

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

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

func (Client) ListComplete

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

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

func (Client) ListPreparer

func (client Client) 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 (Client) ListResponder

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

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

func (Client) ListSender

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

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

func (Client) Update

func (client Client) Update(ctx context.Context, resourceGroupName string, name string, parameters DataLakeStoreAccountUpdateParameters) (result AccountUpdateFuture, err error)

Update updates the specified Data Lake Store account information.

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

func (Client) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (Client) UpdateResponder

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

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

func (Client) UpdateSender

func (client Client) UpdateSender(req *http.Request) (future AccountUpdateFuture, err error)

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

type DataLakeStoreAccount

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

DataLakeStoreAccount data Lake Store account information

func (*DataLakeStoreAccount) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccount struct.

type DataLakeStoreAccountBasic

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

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

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 (*DataLakeStoreAccountListResultIterator) Next

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

func (DataLakeStoreAccountListResultIterator) NotDone

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

func (DataLakeStoreAccountListResultIterator) Response

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

func (DataLakeStoreAccountListResultIterator) Value

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

type DataLakeStoreAccountListResultPage

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

DataLakeStoreAccountListResultPage contains a page of DataLakeStoreAccountBasic values.

func (*DataLakeStoreAccountListResultPage) Next

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

func (DataLakeStoreAccountListResultPage) NotDone

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

func (DataLakeStoreAccountListResultPage) Response

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

func (DataLakeStoreAccountListResultPage) Values

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

type DataLakeStoreAccountProperties

type DataLakeStoreAccountProperties struct {
	// ProvisioningState - the 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"`
	// AccountID - The unique identifier associated with this Data Lake Store account.
	AccountID *uuid.UUID `json:"accountId,omitempty"`
	// EncryptionState - The current state of encryption for this Data Lake store account. Possible values include: 'Enabled', 'Disabled'
	EncryptionState EncryptionState `json:"encryptionState,omitempty"`
	// EncryptionProvisioningState - The current state of encryption provisioning for this Data Lake store account. Possible values include: 'EncryptionProvisioningStateCreating', 'EncryptionProvisioningStateSucceeded'
	EncryptionProvisioningState EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"`
	// EncryptionConfig - The Key Vault encryption configuration.
	EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`
	// 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"`
	// FirewallRules - The list of firewall rules associated with this Data Lake store account.
	FirewallRules *[]FirewallRule `json:"firewallRules,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"`
	// TrustedIDProviders - The list of trusted identity providers associated with this Data Lake store account.
	TrustedIDProviders *[]TrustedIDProvider `json:"trustedIdProviders,omitempty"`
	// DefaultGroup - the default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,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"`
	// 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"`
}

DataLakeStoreAccountProperties data Lake Store account properties information

type DataLakeStoreAccountPropertiesBasic

type DataLakeStoreAccountPropertiesBasic struct {
	// 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"`
	// AccountID - The unique identifier associated with this Data Lake Store account.
	AccountID *uuid.UUID `json:"accountId,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"
)

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"
)

type DataLakeStoreAccountUpdateParameters

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

DataLakeStoreAccountUpdateParameters data Lake Store account information to update

func (*DataLakeStoreAccountUpdateParameters) UnmarshalJSON

func (dlsaup *DataLakeStoreAccountUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccountUpdateParameters struct.

type DataLakeStoreFirewallRuleListResult

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

DataLakeStoreFirewallRuleListResult data Lake Store firewall rule list information.

func (DataLakeStoreFirewallRuleListResult) IsEmpty

func (dlsfrlr DataLakeStoreFirewallRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreFirewallRuleListResultIterator

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

DataLakeStoreFirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.

func (*DataLakeStoreFirewallRuleListResultIterator) Next

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

func (DataLakeStoreFirewallRuleListResultIterator) NotDone

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

func (DataLakeStoreFirewallRuleListResultIterator) Response

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

func (DataLakeStoreFirewallRuleListResultIterator) Value

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

type DataLakeStoreFirewallRuleListResultPage

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

DataLakeStoreFirewallRuleListResultPage contains a page of FirewallRule values.

func (*DataLakeStoreFirewallRuleListResultPage) Next

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

func (DataLakeStoreFirewallRuleListResultPage) NotDone

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

func (DataLakeStoreFirewallRuleListResultPage) Response

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

func (DataLakeStoreFirewallRuleListResultPage) Values

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

type DataLakeStoreTrustedIDProviderListResult

type DataLakeStoreTrustedIDProviderListResult 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"`
}

DataLakeStoreTrustedIDProviderListResult data Lake Store trusted identity provider list information.

func (DataLakeStoreTrustedIDProviderListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type DataLakeStoreTrustedIDProviderListResultIterator

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

DataLakeStoreTrustedIDProviderListResultIterator provides access to a complete listing of TrustedIDProvider values.

func (*DataLakeStoreTrustedIDProviderListResultIterator) Next

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

func (DataLakeStoreTrustedIDProviderListResultIterator) NotDone

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

func (DataLakeStoreTrustedIDProviderListResultIterator) Response

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

func (DataLakeStoreTrustedIDProviderListResultIterator) Value

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

type DataLakeStoreTrustedIDProviderListResultPage

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

DataLakeStoreTrustedIDProviderListResultPage contains a page of TrustedIDProvider values.

func (*DataLakeStoreTrustedIDProviderListResultPage) Next

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

func (DataLakeStoreTrustedIDProviderListResultPage) NotDone

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

func (DataLakeStoreTrustedIDProviderListResultPage) Response

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

func (DataLakeStoreTrustedIDProviderListResultPage) Values

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

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"
)

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"
)

type EncryptionState

type EncryptionState string

EncryptionState enumerates the values for encryption state.

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

type ErrorDetails

type ErrorDetails struct {
	// Code - the HTTP status code or error code associated with this error
	Code *string `json:"code,omitempty"`
	// Message - the error message localized based on Accept-Language
	Message *string `json:"message,omitempty"`
	// Target - the target of the particular error (for example, the name of the property in error).
	Target *string `json:"target,omitempty"`
}

ErrorDetails data Lake Store error details information

type FirewallAllowAzureIpsState

type FirewallAllowAzureIpsState string

FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.

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

type FirewallRule

type FirewallRule struct {
	autorest.Response `json:"-"`
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// FirewallRuleProperties - the properties of the firewall rule.
	*FirewallRuleProperties `json:"properties,omitempty"`
}

FirewallRule data Lake Store firewall rule information

func (*FirewallRule) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for FirewallRule struct.

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 data Lake Store firewall rule properties information

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 FirewallRule) (result FirewallRule, err error)

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

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

func (FirewallRulesClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FirewallRulesClient) CreateOrUpdateResponder

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

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

func (FirewallRulesClient) CreateOrUpdateSender

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

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

func (FirewallRulesClient) Delete

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

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

func (FirewallRulesClient) DeletePreparer

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

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

func (FirewallRulesClient) GetPreparer

func (client FirewallRulesClient) GetPreparer(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 DataLakeStoreFirewallRuleListResultPage, err error)

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

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

func (FirewallRulesClient) ListByAccountComplete

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

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

func (FirewallRulesClient) ListByAccountSender

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

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

func (FirewallRulesClient) Update

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

Update updates the specified firewall rule.

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

func (FirewallRulesClient) UpdatePreparer

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

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.

location is 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"
)

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 - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags *map[string]*string `json:"tags,omitempty"`
}

Resource the Resource model definition.

type SubResource

type SubResource struct {
	// ID - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - 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"
)

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"
)

type TrustedIDProvider

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

TrustedIDProvider data Lake Store Trusted Identity Provider information

func (*TrustedIDProvider) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for TrustedIDProvider struct.

type TrustedIDProviderProperties

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

TrustedIDProviderProperties data Lake Store trusted identity provider properties information

type TrustedIDProviderState

type TrustedIDProviderState string

TrustedIDProviderState enumerates the values for trusted id provider state.

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

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 TrustedIDProvider) (result TrustedIDProvider, err error)

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

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

func (TrustedIDProvidersClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TrustedIDProvidersClient) CreateOrUpdateResponder

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

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

func (TrustedIDProvidersClient) CreateOrUpdateSender

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

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

func (TrustedIDProvidersClient) Delete

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

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

func (TrustedIDProvidersClient) DeletePreparer

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

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

func (TrustedIDProvidersClient) GetPreparer

func (client TrustedIDProvidersClient) GetPreparer(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 DataLakeStoreTrustedIDProviderListResultPage, err error)

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

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

func (TrustedIDProvidersClient) ListByAccountComplete

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

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

func (TrustedIDProvidersClient) ListByAccountSender

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

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

func (TrustedIDProvidersClient) Update

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

Update updates the specified trusted identity provider.

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

func (TrustedIDProvidersClient) UpdatePreparer

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

type UpdateDataLakeStoreAccountProperties struct {
	// 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"`
	// 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"`
	// DefaultGroup - the default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,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"`
	// 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"`
	// 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"`
}

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 properties of the firewall rule to update.
	*UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters data Lake Store firewall rule update parameters

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 data Lake Store firewall rule properties information

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 properties of the trusted identity provider to update.
	*UpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

UpdateTrustedIDProviderParameters data Lake Store Trusted Identity Provider update parameters

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 data Lake Store trusted identity provider property update information

Jump to

Keyboard shortcuts

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