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
- func UserAgent() string
- func Version() string
- type AccountsClient
- func (client AccountsClient) CheckNameAvailability(ctx context.Context, location string, ...) (result NameAvailabilityInformation, err error)
- func (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, ...) (*http.Request, error)
- func (client AccountsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityInformation, err error)
- func (client AccountsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) Create(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountsCreateFutureType, err error)
- func (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) CreateResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
- func (client AccountsClient) CreateSender(req *http.Request) (future AccountsCreateFutureType, err error)
- func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result AccountsDeleteFutureType, err error)
- func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDeleteFutureType, err error)
- func (client AccountsClient) EnableKeyVault(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)
- func (client AccountsClient) EnableKeyVaultPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) EnableKeyVaultResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AccountsClient) EnableKeyVaultSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result DataLakeStoreAccount, err error)
- func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client AccountsClient) GetResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
- func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) List(ctx context.Context, filter string, top *int32, skip *int32, ...) (result DataLakeStoreAccountListResultPage, err error)
- func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, ...) (result DataLakeStoreAccountListResultPage, err error)
- func (client AccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, ...) (result DataLakeStoreAccountListResultIterator, err error)
- func (client AccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, ...) (*http.Request, error)
- func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
- func (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) ListComplete(ctx context.Context, filter string, top *int32, skip *int32, ...) (result DataLakeStoreAccountListResultIterator, err error)
- func (client AccountsClient) ListPreparer(ctx context.Context, filter string, top *int32, skip *int32, ...) (*http.Request, error)
- func (client AccountsClient) ListResponder(resp *http.Response) (result DataLakeStoreAccountListResult, err error)
- func (client AccountsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client AccountsClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result AccountsUpdateFutureType, err error)
- func (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client AccountsClient) UpdateResponder(resp *http.Response) (result DataLakeStoreAccount, err error)
- func (client AccountsClient) UpdateSender(req *http.Request) (future AccountsUpdateFutureType, err error)
- type AccountsCreateFutureType
- type AccountsDeleteFutureType
- type AccountsUpdateFutureType
- type BaseClient
- type CapabilityInformation
- type CheckNameAvailabilityParameters
- type CreateDataLakeStoreAccountParameters
- type CreateDataLakeStoreAccountProperties
- type CreateFirewallRuleWithAccountParameters
- type CreateOrUpdateFirewallRuleParameters
- type CreateOrUpdateFirewallRuleProperties
- type CreateOrUpdateTrustedIDProviderParameters
- type CreateOrUpdateTrustedIDProviderProperties
- type CreateOrUpdateVirtualNetworkRuleParameters
- type CreateOrUpdateVirtualNetworkRuleProperties
- type CreateTrustedIDProviderWithAccountParameters
- type CreateVirtualNetworkRuleWithAccountParameters
- type DataLakeStoreAccount
- type DataLakeStoreAccountBasic
- type DataLakeStoreAccountListResult
- type DataLakeStoreAccountListResultIterator
- func (iter *DataLakeStoreAccountListResultIterator) Next() error
- func (iter *DataLakeStoreAccountListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DataLakeStoreAccountListResultIterator) NotDone() bool
- func (iter DataLakeStoreAccountListResultIterator) Response() DataLakeStoreAccountListResult
- func (iter DataLakeStoreAccountListResultIterator) Value() DataLakeStoreAccountBasic
- type DataLakeStoreAccountListResultPage
- func (page *DataLakeStoreAccountListResultPage) Next() error
- func (page *DataLakeStoreAccountListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DataLakeStoreAccountListResultPage) NotDone() bool
- func (page DataLakeStoreAccountListResultPage) Response() DataLakeStoreAccountListResult
- func (page DataLakeStoreAccountListResultPage) Values() []DataLakeStoreAccountBasic
- type DataLakeStoreAccountProperties
- type DataLakeStoreAccountPropertiesBasic
- type DataLakeStoreAccountState
- type DataLakeStoreAccountStatus
- type EncryptionConfig
- type EncryptionConfigType
- type EncryptionIdentity
- type EncryptionProvisioningState
- type EncryptionState
- type FirewallAllowAzureIpsState
- type FirewallRule
- type FirewallRuleListResult
- type FirewallRuleListResultIterator
- func (iter *FirewallRuleListResultIterator) Next() error
- func (iter *FirewallRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter FirewallRuleListResultIterator) NotDone() bool
- func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult
- func (iter FirewallRuleListResultIterator) Value() FirewallRule
- type FirewallRuleListResultPage
- func (page *FirewallRuleListResultPage) Next() error
- func (page *FirewallRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page FirewallRuleListResultPage) NotDone() bool
- func (page FirewallRuleListResultPage) Response() FirewallRuleListResult
- func (page FirewallRuleListResultPage) Values() []FirewallRule
- type FirewallRuleProperties
- type FirewallRulesClient
- func (client FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) GetResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result FirewallRuleListResultPage, err error)
- func (client FirewallRulesClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result FirewallRuleListResultIterator, err error)
- func (client FirewallRulesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client FirewallRulesClient) ListByAccountResponder(resp *http.Response) (result FirewallRuleListResult, err error)
- func (client FirewallRulesClient) ListByAccountSender(req *http.Request) (*http.Response, error)
- func (client FirewallRulesClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result FirewallRule, err error)
- func (client FirewallRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client FirewallRulesClient) UpdateResponder(resp *http.Response) (result FirewallRule, err error)
- func (client FirewallRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type FirewallState
- type KeyVaultMetaInfo
- type LocationsClient
- func (client LocationsClient) GetCapability(ctx context.Context, location string) (result CapabilityInformation, err error)
- func (client LocationsClient) GetCapabilityPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client LocationsClient) GetCapabilityResponder(resp *http.Response) (result CapabilityInformation, err error)
- func (client LocationsClient) GetCapabilitySender(req *http.Request) (*http.Response, error)
- func (client LocationsClient) GetUsage(ctx context.Context, location string) (result UsageListResult, err error)
- func (client LocationsClient) GetUsagePreparer(ctx context.Context, location string) (*http.Request, error)
- func (client LocationsClient) GetUsageResponder(resp *http.Response) (result UsageListResult, err error)
- func (client LocationsClient) GetUsageSender(req *http.Request) (*http.Response, error)
- type NameAvailabilityInformation
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationOrigin
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Resource
- type SubResource
- type SubscriptionState
- type TierType
- type TrustedIDProvider
- type TrustedIDProviderListResult
- type TrustedIDProviderListResultIterator
- func (iter *TrustedIDProviderListResultIterator) Next() error
- func (iter *TrustedIDProviderListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter TrustedIDProviderListResultIterator) NotDone() bool
- func (iter TrustedIDProviderListResultIterator) Response() TrustedIDProviderListResult
- func (iter TrustedIDProviderListResultIterator) Value() TrustedIDProvider
- type TrustedIDProviderListResultPage
- func (page *TrustedIDProviderListResultPage) Next() error
- func (page *TrustedIDProviderListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page TrustedIDProviderListResultPage) NotDone() bool
- func (page TrustedIDProviderListResultPage) Response() TrustedIDProviderListResult
- func (page TrustedIDProviderListResultPage) Values() []TrustedIDProvider
- type TrustedIDProviderProperties
- type TrustedIDProviderState
- type TrustedIDProvidersClient
- func (client TrustedIDProvidersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result TrustedIDProvider, err error)
- func (client TrustedIDProvidersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TrustedIDProvidersClient) CreateOrUpdateResponder(resp *http.Response) (result TrustedIDProvider, err error)
- func (client TrustedIDProvidersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client TrustedIDProvidersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client TrustedIDProvidersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TrustedIDProvidersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client TrustedIDProvidersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client TrustedIDProvidersClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result TrustedIDProvider, err error)
- func (client TrustedIDProvidersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TrustedIDProvidersClient) GetResponder(resp *http.Response) (result TrustedIDProvider, err error)
- func (client TrustedIDProvidersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client TrustedIDProvidersClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result TrustedIDProviderListResultPage, err error)
- func (client TrustedIDProvidersClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result TrustedIDProviderListResultIterator, err error)
- func (client TrustedIDProvidersClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client TrustedIDProvidersClient) ListByAccountResponder(resp *http.Response) (result TrustedIDProviderListResult, err error)
- func (client TrustedIDProvidersClient) ListByAccountSender(req *http.Request) (*http.Response, error)
- func (client TrustedIDProvidersClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result TrustedIDProvider, err error)
- func (client TrustedIDProvidersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client TrustedIDProvidersClient) UpdateResponder(resp *http.Response) (result TrustedIDProvider, err error)
- func (client TrustedIDProvidersClient) UpdateSender(req *http.Request) (*http.Response, error)
- type UpdateDataLakeStoreAccountParameters
- type UpdateDataLakeStoreAccountProperties
- type UpdateEncryptionConfig
- type UpdateFirewallRuleParameters
- type UpdateFirewallRuleProperties
- type UpdateFirewallRuleWithAccountParameters
- type UpdateKeyVaultMetaInfo
- type UpdateTrustedIDProviderParameters
- type UpdateTrustedIDProviderProperties
- type UpdateTrustedIDProviderWithAccountParameters
- type UpdateVirtualNetworkRuleParameters
- type UpdateVirtualNetworkRuleProperties
- type UpdateVirtualNetworkRuleWithAccountParameters
- type Usage
- type UsageListResult
- type UsageName
- type UsageUnit
- type VirtualNetworkRule
- type VirtualNetworkRuleListResult
- type VirtualNetworkRuleListResultIterator
- func (iter *VirtualNetworkRuleListResultIterator) Next() error
- func (iter *VirtualNetworkRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
- func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
- func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule
- type VirtualNetworkRuleListResultPage
- func (page *VirtualNetworkRuleListResultPage) Next() error
- func (page *VirtualNetworkRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualNetworkRuleListResultPage) NotDone() bool
- func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
- func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
- type VirtualNetworkRuleProperties
- type VirtualNetworkRulesClient
- func (client VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, ...) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, ...) (result autorest.Response, err error)
- func (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, accountName string, ...) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) GetResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) ListByAccount(ctx context.Context, resourceGroupName string, accountName string) (result VirtualNetworkRuleListResultPage, err error)
- func (client VirtualNetworkRulesClient) ListByAccountComplete(ctx context.Context, resourceGroupName string, accountName string) (result VirtualNetworkRuleListResultIterator, err error)
- func (client VirtualNetworkRulesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
- func (client VirtualNetworkRulesClient) ListByAccountResponder(resp *http.Response) (result VirtualNetworkRuleListResult, err error)
- func (client VirtualNetworkRulesClient) ListByAccountSender(req *http.Request) (*http.Response, error)
- func (client VirtualNetworkRulesClient) Update(ctx context.Context, resourceGroupName string, accountName string, ...) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, ...) (*http.Request, error)
- func (client VirtualNetworkRulesClient) UpdateResponder(resp *http.Response) (result VirtualNetworkRule, err error)
- func (client VirtualNetworkRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
Constants ¶
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (DataLakeStoreAccount, error) }
AccountsCreateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
type AccountsDeleteFutureType ¶
type AccountsDeleteFutureType struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (autorest.Response, error) }
AccountsDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
type AccountsUpdateFutureType ¶
type AccountsUpdateFutureType struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(AccountsClient) (DataLakeStoreAccount, error) }
AccountsUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
type BaseClient ¶
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CapabilityInformation ¶
type CapabilityInformation struct { autorest.Response `json:"-"` // SubscriptionID - READ-ONLY; The subscription credentials that uniquely identifies the subscription. SubscriptionID *uuid.UUID `json:"subscriptionId,omitempty"` // State - READ-ONLY; The subscription state. Possible values include: 'SubscriptionStateRegistered', 'SubscriptionStateSuspended', 'SubscriptionStateDeleted', 'SubscriptionStateUnregistered', 'SubscriptionStateWarned' State SubscriptionState `json:"state,omitempty"` // MaxAccountCount - READ-ONLY; The maximum supported number of accounts under this subscription. MaxAccountCount *int32 `json:"maxAccountCount,omitempty"` // AccountCount - READ-ONLY; The current number of accounts under this subscription. AccountCount *int32 `json:"accountCount,omitempty"` // MigrationState - READ-ONLY; 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 - READ-ONLY; The Key Vault encryption identity, if any. Identity *EncryptionIdentity `json:"identity,omitempty"` // DataLakeStoreAccountProperties - READ-ONLY; The Data Lake Store account properties. *DataLakeStoreAccountProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - READ-ONLY; The resource location. Location *string `json:"location,omitempty"` // Tags - READ-ONLY; 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 - READ-ONLY; The basic Data Lake Store account properties. *DataLakeStoreAccountPropertiesBasic `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - READ-ONLY; The resource location. Location *string `json:"location,omitempty"` // Tags - READ-ONLY; 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 - READ-ONLY; The results of the list operation. Value *[]DataLakeStoreAccountBasic `json:"value,omitempty"` // NextLink - READ-ONLY; 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 ¶
func (iter *DataLakeStoreAccountListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*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 ¶
func (iter DataLakeStoreAccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DataLakeStoreAccountListResultIterator) Response ¶
func (iter DataLakeStoreAccountListResultIterator) Response() DataLakeStoreAccountListResult
Response returns the raw server response from the last page request.
func (DataLakeStoreAccountListResultIterator) Value ¶
func (iter DataLakeStoreAccountListResultIterator) Value() DataLakeStoreAccountBasic
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 ¶
func NewDataLakeStoreAccountListResultPage(cur DataLakeStoreAccountListResult, getNextPage func(context.Context, DataLakeStoreAccountListResult) (DataLakeStoreAccountListResult, error)) DataLakeStoreAccountListResultPage
Creates a new instance of the DataLakeStoreAccountListResultPage type.
func (*DataLakeStoreAccountListResultPage) Next ¶
func (page *DataLakeStoreAccountListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*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 ¶
func (page DataLakeStoreAccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DataLakeStoreAccountListResultPage) Response ¶
func (page DataLakeStoreAccountListResultPage) Response() DataLakeStoreAccountListResult
Response returns the raw server response from the last page request.
func (DataLakeStoreAccountListResultPage) Values ¶
func (page DataLakeStoreAccountListResultPage) Values() []DataLakeStoreAccountBasic
Values returns the slice of values for the current page or nil if there are no values.
type DataLakeStoreAccountProperties ¶
type DataLakeStoreAccountProperties struct { // DefaultGroup - READ-ONLY; The default owner group for all new folders and files created in the Data Lake Store account. DefaultGroup *string `json:"defaultGroup,omitempty"` // EncryptionConfig - READ-ONLY; The Key Vault encryption configuration. EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"` // EncryptionState - READ-ONLY; The current state of encryption for this Data Lake Store account. Possible values include: 'Enabled', 'Disabled' EncryptionState EncryptionState `json:"encryptionState,omitempty"` // EncryptionProvisioningState - READ-ONLY; The current state of encryption provisioning for this Data Lake Store account. Possible values include: 'EncryptionProvisioningStateCreating', 'EncryptionProvisioningStateSucceeded' EncryptionProvisioningState EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"` // FirewallRules - READ-ONLY; The list of firewall rules associated with this Data Lake Store account. FirewallRules *[]FirewallRule `json:"firewallRules,omitempty"` // VirtualNetworkRules - READ-ONLY; The list of virtual network rules associated with this Data Lake Store account. VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` // FirewallState - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; The list of trusted identity providers associated with this Data Lake Store account. TrustedIDProviders *[]TrustedIDProvider `json:"trustedIdProviders,omitempty"` // TrustedIDProviderState - READ-ONLY; 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 - READ-ONLY; The commitment tier to use for next month. Possible values include: 'Consumption', 'Commitment1TB', 'Commitment10TB', 'Commitment100TB', 'Commitment500TB', 'Commitment1PB', 'Commitment5PB' NewTier TierType `json:"newTier,omitempty"` // CurrentTier - READ-ONLY; 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 - READ-ONLY; The unique identifier associated with this Data Lake Store account. AccountID *uuid.UUID `json:"accountId,omitempty"` // ProvisioningState - READ-ONLY; 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 - READ-ONLY; The state of the Data Lake Store account. Possible values include: 'Active', 'Suspended' State DataLakeStoreAccountState `json:"state,omitempty"` // CreationTime - READ-ONLY; The account creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - READ-ONLY; The account last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Endpoint - READ-ONLY; 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 - READ-ONLY; The unique identifier associated with this Data Lake Store account. AccountID *uuid.UUID `json:"accountId,omitempty"` // ProvisioningState - READ-ONLY; 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 - READ-ONLY; The state of the Data Lake Store account. Possible values include: 'Active', 'Suspended' State DataLakeStoreAccountState `json:"state,omitempty"` // CreationTime - READ-ONLY; The account creation time. CreationTime *date.Time `json:"creationTime,omitempty"` // LastModifiedTime - READ-ONLY; The account last modified time. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Endpoint - READ-ONLY; 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 - READ-ONLY; The principal identifier associated with the encryption. PrincipalID *uuid.UUID `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant identifier associated with the encryption. TenantID *uuid.UUID `json:"tenantId,omitempty"` }
EncryptionIdentity the encryption identity properties.
func (EncryptionIdentity) MarshalJSON ¶
func (ei EncryptionIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionIdentity.
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 - READ-ONLY; The firewall rule properties. *FirewallRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; 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 - READ-ONLY; The results of the list operation. Value *[]FirewallRule `json:"value,omitempty"` // NextLink - READ-ONLY; The link (url) to the next page of results. NextLink *string `json:"nextLink,omitempty"` }
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 ¶
func (iter *FirewallRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*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 ¶
func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
func (FirewallRuleListResultIterator) Value ¶
func (iter FirewallRuleListResultIterator) Value() FirewallRule
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(cur FirewallRuleListResult, 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 ¶
func (page FirewallRuleListResultPage) Response() FirewallRuleListResult
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 - READ-ONLY; 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 - READ-ONLY; 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 ¶
GetCapabilitySender sends the GetCapability request. The method will close the http.Response Body if it receives an error.
func (LocationsClient) GetUsage ¶
func (client LocationsClient) GetUsage(ctx context.Context, location string) (result UsageListResult, err error)
GetUsage gets the current usage count and the limit for the resources of the location under the subscription. Parameters: location - the resource location without whitespace.
func (LocationsClient) GetUsagePreparer ¶
func (client LocationsClient) GetUsagePreparer(ctx context.Context, location string) (*http.Request, error)
GetUsagePreparer prepares the GetUsage request.
func (LocationsClient) GetUsageResponder ¶
func (client LocationsClient) GetUsageResponder(resp *http.Response) (result UsageListResult, err error)
GetUsageResponder handles the response to the GetUsage request. The method always closes the http.Response Body.
func (LocationsClient) GetUsageSender ¶
GetUsageSender sends the GetUsage request. The method will close the http.Response Body if it receives an error.
type NameAvailabilityInformation ¶
type NameAvailabilityInformation struct { autorest.Response `json:"-"` // NameAvailable - READ-ONLY; 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 - READ-ONLY; The reason why the Data Lake Store account name is not available, if nameAvailable is false. Reason *string `json:"reason,omitempty"` // Message - READ-ONLY; 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 - READ-ONLY; The name of the operation. Name *string `json:"name,omitempty"` // Display - The display information for the operation. Display *OperationDisplay `json:"display,omitempty"` // Origin - READ-ONLY; 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.
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - READ-ONLY; The resource provider of the operation. Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; The resource type of the operation. Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; A friendly name of the operation. Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; 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 - READ-ONLY; The results of the list operation. Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type. Type *string `json:"type,omitempty"` // Location - READ-ONLY; The resource location. Location *string `json:"location,omitempty"` // Tags - READ-ONLY; The resource tags. Tags map[string]*string `json:"tags"` }
Resource the resource model definition.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type SubResource ¶
type SubResource struct { // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; 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 - READ-ONLY; The trusted identity provider properties. *TrustedIDProviderProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; 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 - READ-ONLY; The results of the list operation. Value *[]TrustedIDProvider `json:"value,omitempty"` // NextLink - READ-ONLY; 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 ¶
func (iter *TrustedIDProviderListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*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 ¶
func (iter TrustedIDProviderListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (TrustedIDProviderListResultIterator) Response ¶
func (iter TrustedIDProviderListResultIterator) Response() TrustedIDProviderListResult
Response returns the raw server response from the last page request.
func (TrustedIDProviderListResultIterator) Value ¶
func (iter TrustedIDProviderListResultIterator) Value() TrustedIDProvider
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(cur TrustedIDProviderListResult, getNextPage func(context.Context, TrustedIDProviderListResult) (TrustedIDProviderListResult, error)) TrustedIDProviderListResultPage
Creates a new instance of the TrustedIDProviderListResultPage type.
func (*TrustedIDProviderListResultPage) Next ¶
func (page *TrustedIDProviderListResultPage) 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 (*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 ¶
func (page TrustedIDProviderListResultPage) Response() TrustedIDProviderListResult
Response returns the raw server response from the last page request.
func (TrustedIDProviderListResultPage) Values ¶
func (page TrustedIDProviderListResultPage) Values() []TrustedIDProvider
Values returns the slice of values for the current page or nil if there are no values.
type TrustedIDProviderProperties ¶
type TrustedIDProviderProperties struct { // IDProvider - READ-ONLY; 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 ¶
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 ¶
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 ¶
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 Usage ¶
type Usage struct { // Unit - READ-ONLY; Gets the unit of measurement. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', 'BytesPerSecond' Unit UsageUnit `json:"unit,omitempty"` // ID - READ-ONLY; Resource identifier. ID *string `json:"id,omitempty"` // CurrentValue - READ-ONLY; Gets the current count of the allocated resources in the subscription. CurrentValue *int32 `json:"currentValue,omitempty"` // Limit - READ-ONLY; Gets the maximum count of the resources that can be allocated in the subscription. Limit *int32 `json:"limit,omitempty"` // Name - READ-ONLY; Gets the name of the type of usage. Name *UsageName `json:"name,omitempty"` }
Usage describes the Resource Usage.
type UsageListResult ¶
type UsageListResult struct { autorest.Response `json:"-"` // Value - Gets or sets the list of Storage Resource Usages. Value *[]Usage `json:"value,omitempty"` }
UsageListResult the response from the List Usages operation.
type UsageName ¶
type UsageName struct { // Value - READ-ONLY; Gets a string describing the resource name. Value *string `json:"value,omitempty"` // LocalizedValue - READ-ONLY; Gets a localized string describing the resource name. LocalizedValue *string `json:"localizedValue,omitempty"` }
UsageName the usage names that can be used.
type UsageUnit ¶
type UsageUnit string
UsageUnit enumerates the values for usage unit.
const ( // Bytes ... Bytes UsageUnit = "Bytes" // BytesPerSecond ... BytesPerSecond UsageUnit = "BytesPerSecond" // Count ... Count UsageUnit = "Count" // CountsPerSecond ... CountsPerSecond UsageUnit = "CountsPerSecond" // Percent ... Percent UsageUnit = "Percent" // Seconds ... Seconds UsageUnit = "Seconds" )
func PossibleUsageUnitValues ¶
func PossibleUsageUnitValues() []UsageUnit
PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { autorest.Response `json:"-"` // VirtualNetworkRuleProperties - READ-ONLY; The virtual network rule properties. *VirtualNetworkRuleProperties `json:"properties,omitempty"` // ID - READ-ONLY; The resource identifier. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; 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 - READ-ONLY; The results of the list operation. Value *[]VirtualNetworkRule `json:"value,omitempty"` // NextLink - READ-ONLY; 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 ¶
func (iter *VirtualNetworkRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*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 ¶
func (iter VirtualNetworkRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualNetworkRuleListResultIterator) Response ¶
func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultIterator) Value ¶
func (iter VirtualNetworkRuleListResultIterator) Value() VirtualNetworkRule
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 ¶
func NewVirtualNetworkRuleListResultPage(cur VirtualNetworkRuleListResult, getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage
Creates a new instance of the VirtualNetworkRuleListResultPage type.
func (*VirtualNetworkRuleListResultPage) Next ¶
func (page *VirtualNetworkRuleListResultPage) 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 (*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 ¶
func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (VirtualNetworkRuleListResultPage) Values ¶
func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
Values returns the slice of values for the current page or nil if there are no values.
type VirtualNetworkRuleProperties ¶
type VirtualNetworkRuleProperties struct { // SubnetID - READ-ONLY; 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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
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 ¶
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 ¶
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 ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.