armdatalakestore

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 15 Imported by: 3

README

Azure Data Lake Storage Module for Go

PkgGoDev

The armdatalakestore module provides operations for working with Azure Data Lake Storage.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Data Lake Storage module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datalake-store/armdatalakestore

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Data Lake Storage. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Clients

Azure Data Lake Storage modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your credential.

client := armdatalakestore.NewLocationsClient(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options = arm.ClientOptions{
    Host: arm.AzureChina,
}
client := armdatalakestore.NewLocationsClient(<subscription ID>, cred, &options)

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Data Lake Storage label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsBeginCreateOptions

type AccountsBeginCreateOptions struct {
}

AccountsBeginCreateOptions contains the optional parameters for the Accounts.BeginCreate method.

type AccountsBeginDeleteOptions

type AccountsBeginDeleteOptions struct {
}

AccountsBeginDeleteOptions contains the optional parameters for the Accounts.BeginDelete method.

type AccountsBeginUpdateOptions

type AccountsBeginUpdateOptions struct {
}

AccountsBeginUpdateOptions contains the optional parameters for the Accounts.BeginUpdate method.

type AccountsCheckNameAvailabilityOptions

type AccountsCheckNameAvailabilityOptions struct {
}

AccountsCheckNameAvailabilityOptions contains the optional parameters for the Accounts.CheckNameAvailability method.

type AccountsCheckNameAvailabilityResponse

type AccountsCheckNameAvailabilityResponse struct {
	AccountsCheckNameAvailabilityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsCheckNameAvailabilityResponse contains the response from method Accounts.CheckNameAvailability.

type AccountsCheckNameAvailabilityResult

type AccountsCheckNameAvailabilityResult struct {
	NameAvailabilityInformation
}

AccountsCheckNameAvailabilityResult contains the result from method Accounts.CheckNameAvailability.

type AccountsClient

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

AccountsClient contains the methods for the Accounts group. Don't use this type directly, use NewAccountsClient() instead.

func NewAccountsClient

func NewAccountsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AccountsClient

NewAccountsClient creates a new instance of AccountsClient with the specified values.

func (*AccountsClient) BeginCreate

func (client *AccountsClient) BeginCreate(ctx context.Context, resourceGroupName string, accountName string, parameters CreateDataLakeStoreAccountParameters, options *AccountsBeginCreateOptions) (AccountsCreatePollerResponse, error)

BeginCreate - Creates the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*AccountsClient) BeginDelete

func (client *AccountsClient) BeginDelete(ctx context.Context, resourceGroupName string, accountName string, options *AccountsBeginDeleteOptions) (AccountsDeletePollerResponse, error)

BeginDelete - Deletes the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*AccountsClient) BeginUpdate

func (client *AccountsClient) BeginUpdate(ctx context.Context, resourceGroupName string, accountName string, parameters UpdateDataLakeStoreAccountParameters, options *AccountsBeginUpdateOptions) (AccountsUpdatePollerResponse, error)

BeginUpdate - Updates the specified Data Lake Store account information. If the operation fails it returns a generic error.

func (*AccountsClient) CheckNameAvailability

CheckNameAvailability - Checks whether the specified account name is available or taken. If the operation fails it returns a generic error.

func (*AccountsClient) EnableKeyVault

func (client *AccountsClient) EnableKeyVault(ctx context.Context, resourceGroupName string, accountName string, options *AccountsEnableKeyVaultOptions) (AccountsEnableKeyVaultResponse, error)

EnableKeyVault - Attempts to enable a user managed Key Vault for encryption of the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*AccountsClient) Get

func (client *AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string, options *AccountsGetOptions) (AccountsGetResponse, error)

Get - Gets the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*AccountsClient) List

func (client *AccountsClient) List(options *AccountsListOptions) *AccountsListPager

List - Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, if any. If the operation fails it returns a generic error.

func (*AccountsClient) ListByResourceGroup

func (client *AccountsClient) ListByResourceGroup(resourceGroupName string, options *AccountsListByResourceGroupOptions) *AccountsListByResourceGroupPager

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. If the operation fails it returns a generic error.

type AccountsCreatePoller

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

AccountsCreatePoller provides polling facilities until the operation reaches a terminal state.

func (*AccountsCreatePoller) Done

func (p *AccountsCreatePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*AccountsCreatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AccountsCreateResponse will be returned.

func (*AccountsCreatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*AccountsCreatePoller) ResumeToken

func (p *AccountsCreatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type AccountsCreatePollerResponse

type AccountsCreatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *AccountsCreatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsCreatePollerResponse contains the response from method Accounts.Create.

func (AccountsCreatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*AccountsCreatePollerResponse) Resume

func (l *AccountsCreatePollerResponse) Resume(ctx context.Context, client *AccountsClient, token string) error

Resume rehydrates a AccountsCreatePollerResponse from the provided client and resume token.

type AccountsCreateResponse

type AccountsCreateResponse struct {
	AccountsCreateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsCreateResponse contains the response from method Accounts.Create.

type AccountsCreateResult

type AccountsCreateResult struct {
	DataLakeStoreAccount
}

AccountsCreateResult contains the result from method Accounts.Create.

type AccountsDeletePoller

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

AccountsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*AccountsDeletePoller) Done

func (p *AccountsDeletePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*AccountsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AccountsDeleteResponse will be returned.

func (*AccountsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*AccountsDeletePoller) ResumeToken

func (p *AccountsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type AccountsDeletePollerResponse

type AccountsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *AccountsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsDeletePollerResponse contains the response from method Accounts.Delete.

func (AccountsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*AccountsDeletePollerResponse) Resume

func (l *AccountsDeletePollerResponse) Resume(ctx context.Context, client *AccountsClient, token string) error

Resume rehydrates a AccountsDeletePollerResponse from the provided client and resume token.

type AccountsDeleteResponse

type AccountsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsDeleteResponse contains the response from method Accounts.Delete.

type AccountsEnableKeyVaultOptions

type AccountsEnableKeyVaultOptions struct {
}

AccountsEnableKeyVaultOptions contains the optional parameters for the Accounts.EnableKeyVault method.

type AccountsEnableKeyVaultResponse

type AccountsEnableKeyVaultResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsEnableKeyVaultResponse contains the response from method Accounts.EnableKeyVault.

type AccountsGetOptions

type AccountsGetOptions struct {
}

AccountsGetOptions contains the optional parameters for the Accounts.Get method.

type AccountsGetResponse

type AccountsGetResponse struct {
	AccountsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsGetResponse contains the response from method Accounts.Get.

type AccountsGetResult

type AccountsGetResult struct {
	DataLakeStoreAccount
}

AccountsGetResult contains the result from method Accounts.Get.

type AccountsListByResourceGroupOptions

type AccountsListByResourceGroupOptions struct {
	// 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.
	Count *bool
	// OData filter. Optional.
	Filter *string
	// 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.
	Orderby *string
	// OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
	Select *string
	// The number of items to skip over before returning elements. Optional.
	Skip *int32
	// The number of items to return. Optional.
	Top *int32
}

AccountsListByResourceGroupOptions contains the optional parameters for the Accounts.ListByResourceGroup method.

type AccountsListByResourceGroupPager

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

AccountsListByResourceGroupPager provides operations for iterating over paged responses.

func (*AccountsListByResourceGroupPager) Err

Err returns the last error encountered while paging.

func (*AccountsListByResourceGroupPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccountsListByResourceGroupPager) PageResponse

PageResponse returns the current AccountsListByResourceGroupResponse page.

type AccountsListByResourceGroupResponse

type AccountsListByResourceGroupResponse struct {
	AccountsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsListByResourceGroupResponse contains the response from method Accounts.ListByResourceGroup.

type AccountsListByResourceGroupResult

type AccountsListByResourceGroupResult struct {
	DataLakeStoreAccountListResult
}

AccountsListByResourceGroupResult contains the result from method Accounts.ListByResourceGroup.

type AccountsListOptions

type AccountsListOptions struct {
	// 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.
	Count *bool
	// OData filter. Optional.
	Filter *string
	// 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.
	Orderby *string
	// OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
	Select *string
	// The number of items to skip over before returning elements. Optional.
	Skip *int32
	// The number of items to return. Optional.
	Top *int32
}

AccountsListOptions contains the optional parameters for the Accounts.List method.

type AccountsListPager

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

AccountsListPager provides operations for iterating over paged responses.

func (*AccountsListPager) Err

func (p *AccountsListPager) Err() error

Err returns the last error encountered while paging.

func (*AccountsListPager) NextPage

func (p *AccountsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*AccountsListPager) PageResponse

func (p *AccountsListPager) PageResponse() AccountsListResponse

PageResponse returns the current AccountsListResponse page.

type AccountsListResponse

type AccountsListResponse struct {
	AccountsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsListResponse contains the response from method Accounts.List.

type AccountsListResult

type AccountsListResult struct {
	DataLakeStoreAccountListResult
}

AccountsListResult contains the result from method Accounts.List.

type AccountsUpdatePoller

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

AccountsUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*AccountsUpdatePoller) Done

func (p *AccountsUpdatePoller) Done() bool

Done returns true if the LRO has reached a terminal state.

func (*AccountsUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AccountsUpdateResponse will be returned.

func (*AccountsUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*AccountsUpdatePoller) ResumeToken

func (p *AccountsUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type AccountsUpdatePollerResponse

type AccountsUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *AccountsUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsUpdatePollerResponse contains the response from method Accounts.Update.

func (AccountsUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*AccountsUpdatePollerResponse) Resume

func (l *AccountsUpdatePollerResponse) Resume(ctx context.Context, client *AccountsClient, token string) error

Resume rehydrates a AccountsUpdatePollerResponse from the provided client and resume token.

type AccountsUpdateResponse

type AccountsUpdateResponse struct {
	AccountsUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

AccountsUpdateResponse contains the response from method Accounts.Update.

type AccountsUpdateResult

type AccountsUpdateResult struct {
	DataLakeStoreAccount
}

AccountsUpdateResult contains the result from method Accounts.Update.

type CapabilityInformation

type CapabilityInformation struct {
	// READ-ONLY; The current number of accounts under this subscription.
	AccountCount *int32 `json:"accountCount,omitempty" azure:"ro"`

	// READ-ONLY; The maximum supported number of accounts under this subscription.
	MaxAccountCount *int32 `json:"maxAccountCount,omitempty" azure:"ro"`

	// READ-ONLY; The Boolean value of true or false to indicate the maintenance state.
	MigrationState *bool `json:"migrationState,omitempty" azure:"ro"`

	// READ-ONLY; The subscription state.
	State *SubscriptionState `json:"state,omitempty" azure:"ro"`

	// READ-ONLY; The subscription credentials that uniquely identifies the subscription.
	SubscriptionID *string `json:"subscriptionId,omitempty" azure:"ro"`
}

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

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	// REQUIRED; The Data Lake Store name to check availability for.
	Name *string `json:"name,omitempty"`

	// REQUIRED; The resource type. Note: This should not be set by the user, as the constant value is Microsoft.DataLakeStore/accounts
	Type *CheckNameAvailabilityParametersType `json:"type,omitempty"`
}

CheckNameAvailabilityParameters - Data Lake Store account name availability check parameters.

type CheckNameAvailabilityParametersType

type CheckNameAvailabilityParametersType string

CheckNameAvailabilityParametersType - The resource type. Note: This should not be set by the user, as the constant value is Microsoft.DataLakeStore/accounts

const (
	CheckNameAvailabilityParametersTypeMicrosoftDataLakeStoreAccounts CheckNameAvailabilityParametersType = "Microsoft.DataLakeStore/accounts"
)

func PossibleCheckNameAvailabilityParametersTypeValues

func PossibleCheckNameAvailabilityParametersTypeValues() []CheckNameAvailabilityParametersType

PossibleCheckNameAvailabilityParametersTypeValues returns the possible values for the CheckNameAvailabilityParametersType const type.

func (CheckNameAvailabilityParametersType) ToPtr

ToPtr returns a *CheckNameAvailabilityParametersType pointing to the current value.

type CreateDataLakeStoreAccountParameters

type CreateDataLakeStoreAccountParameters struct {
	// REQUIRED; The resource location.
	Location *string `json:"location,omitempty"`

	// The Key Vault encryption identity, if any.
	Identity *EncryptionIdentity `json:"identity,omitempty"`

	// The Data Lake Store account properties to use for creating.
	Properties *CreateDataLakeStoreAccountProperties `json:"properties,omitempty"`

	// The resource tags.
	Tags map[string]*string `json:"tags,omitempty"`
}

func (CreateDataLakeStoreAccountParameters) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type CreateDataLakeStoreAccountParameters.

type CreateDataLakeStoreAccountProperties

type CreateDataLakeStoreAccountProperties struct {
	// The default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,omitempty"`

	// The Key Vault encryption configuration.
	EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`

	// The current state of encryption for this Data Lake Store account.
	EncryptionState *EncryptionState `json:"encryptionState,omitempty"`

	// The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
	FirewallAllowAzureIPs *FirewallAllowAzureIPsState `json:"firewallAllowAzureIps,omitempty"`

	// The list of firewall rules associated with this Data Lake Store account.
	FirewallRules []*CreateFirewallRuleWithAccountParameters `json:"firewallRules,omitempty"`

	// The current state of the IP address firewall for this Data Lake Store account.
	FirewallState *FirewallState `json:"firewallState,omitempty"`

	// The commitment tier to use for next month.
	NewTier *TierType `json:"newTier,omitempty"`

	// The current state of the trusted identity provider feature for this Data Lake Store account.
	TrustedIDProviderState *TrustedIDProviderState `json:"trustedIdProviderState,omitempty"`

	// The list of trusted identity providers associated with this Data Lake Store account.
	TrustedIDProviders []*CreateTrustedIDProviderWithAccountParameters `json:"trustedIdProviders,omitempty"`

	// The list of virtual network rules associated with this Data Lake Store account.
	VirtualNetworkRules []*CreateVirtualNetworkRuleWithAccountParameters `json:"virtualNetworkRules,omitempty"`
}

func (CreateDataLakeStoreAccountProperties) MarshalJSON

func (c CreateDataLakeStoreAccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CreateDataLakeStoreAccountProperties.

type CreateFirewallRuleWithAccountParameters

type CreateFirewallRuleWithAccountParameters struct {
	// REQUIRED; The unique name of the firewall rule to create.
	Name *string `json:"name,omitempty"`

	// REQUIRED; The firewall rule properties to use when creating a new firewall rule.
	Properties *CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"`
}

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

type CreateOrUpdateFirewallRuleParameters

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

CreateOrUpdateFirewallRuleParameters - The parameters used to create a new firewall rule.

type CreateOrUpdateFirewallRuleProperties

type CreateOrUpdateFirewallRuleProperties struct {
	// REQUIRED; 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"`

	// REQUIRED; 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"`
}

CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule.

type CreateOrUpdateTrustedIDProviderParameters

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

CreateOrUpdateTrustedIDProviderParameters - The parameters used to create a new trusted identity provider.

type CreateOrUpdateTrustedIDProviderProperties

type CreateOrUpdateTrustedIDProviderProperties struct {
	// REQUIRED; 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 {
	// REQUIRED; The virtual network rule properties to use when creating a new virtual network rule.
	Properties *CreateOrUpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

CreateOrUpdateVirtualNetworkRuleParameters - The parameters used to create a new virtual network rule.

type CreateOrUpdateVirtualNetworkRuleProperties

type CreateOrUpdateVirtualNetworkRuleProperties struct {
	// REQUIRED; 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 {
	// REQUIRED; The unique name of the trusted identity provider to create.
	Name *string `json:"name,omitempty"`

	// REQUIRED; The trusted identity provider properties to use when creating a new trusted identity provider.
	Properties *CreateOrUpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

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

type CreateVirtualNetworkRuleWithAccountParameters

type CreateVirtualNetworkRuleWithAccountParameters struct {
	// REQUIRED; The unique name of the virtual network rule to create.
	Name *string `json:"name,omitempty"`

	// REQUIRED; The virtual network rule properties to use when creating a new virtual network rule.
	Properties *CreateOrUpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

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

type DataLakeStoreAccount

type DataLakeStoreAccount struct {
	Resource
	// READ-ONLY; The Key Vault encryption identity, if any.
	Identity *EncryptionIdentity `json:"identity,omitempty" azure:"ro"`

	// READ-ONLY; The Data Lake Store account properties.
	Properties *DataLakeStoreAccountProperties `json:"properties,omitempty" azure:"ro"`
}

DataLakeStoreAccount - Data Lake Store account information.

func (DataLakeStoreAccount) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type DataLakeStoreAccount.

type DataLakeStoreAccountBasic

type DataLakeStoreAccountBasic struct {
	Resource
	// READ-ONLY; The basic Data Lake Store account properties.
	Properties *DataLakeStoreAccountPropertiesBasic `json:"properties,omitempty" azure:"ro"`
}

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

func (DataLakeStoreAccountBasic) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type DataLakeStoreAccountBasic.

type DataLakeStoreAccountListResult

type DataLakeStoreAccountListResult struct {
	// READ-ONLY; The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; The results of the list operation.
	Value []*DataLakeStoreAccountBasic `json:"value,omitempty" azure:"ro"`
}

DataLakeStoreAccountListResult - Data Lake Store account list information response.

func (DataLakeStoreAccountListResult) MarshalJSON

func (d DataLakeStoreAccountListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataLakeStoreAccountListResult.

type DataLakeStoreAccountProperties

type DataLakeStoreAccountProperties struct {
	DataLakeStoreAccountPropertiesBasic
	// READ-ONLY; The commitment tier in use for the current month.
	CurrentTier *TierType `json:"currentTier,omitempty" azure:"ro"`

	// READ-ONLY; The default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,omitempty" azure:"ro"`

	// READ-ONLY; The Key Vault encryption configuration.
	EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty" azure:"ro"`

	// READ-ONLY; The current state of encryption provisioning for this Data Lake Store account.
	EncryptionProvisioningState *EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The current state of encryption for this Data Lake Store account.
	EncryptionState *EncryptionState `json:"encryptionState,omitempty" azure:"ro"`

	// 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.
	FirewallAllowAzureIPs *FirewallAllowAzureIPsState `json:"firewallAllowAzureIps,omitempty" azure:"ro"`

	// READ-ONLY; The list of firewall rules associated with this Data Lake Store account.
	FirewallRules []*FirewallRule `json:"firewallRules,omitempty" azure:"ro"`

	// READ-ONLY; The current state of the IP address firewall for this Data Lake Store account.
	FirewallState *FirewallState `json:"firewallState,omitempty" azure:"ro"`

	// READ-ONLY; The commitment tier to use for next month.
	NewTier *TierType `json:"newTier,omitempty" azure:"ro"`

	// READ-ONLY; The current state of the trusted identity provider feature for this Data Lake Store account.
	TrustedIDProviderState *TrustedIDProviderState `json:"trustedIdProviderState,omitempty" azure:"ro"`

	// READ-ONLY; The list of trusted identity providers associated with this Data Lake Store account.
	TrustedIDProviders []*TrustedIDProvider `json:"trustedIdProviders,omitempty" azure:"ro"`

	// READ-ONLY; The list of virtual network rules associated with this Data Lake Store account.
	VirtualNetworkRules []*VirtualNetworkRule `json:"virtualNetworkRules,omitempty" azure:"ro"`
}

DataLakeStoreAccountProperties - Data Lake Store account properties information.

func (DataLakeStoreAccountProperties) MarshalJSON

func (d DataLakeStoreAccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataLakeStoreAccountProperties.

func (*DataLakeStoreAccountProperties) UnmarshalJSON

func (d *DataLakeStoreAccountProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataLakeStoreAccountProperties.

type DataLakeStoreAccountPropertiesBasic

type DataLakeStoreAccountPropertiesBasic struct {
	// READ-ONLY; The unique identifier associated with this Data Lake Store account.
	AccountID *string `json:"accountId,omitempty" azure:"ro"`

	// READ-ONLY; The account creation time.
	CreationTime *time.Time `json:"creationTime,omitempty" azure:"ro"`

	// READ-ONLY; The full CName endpoint for this account.
	Endpoint *string `json:"endpoint,omitempty" azure:"ro"`

	// READ-ONLY; The account last modified time.
	LastModifiedTime *time.Time `json:"lastModifiedTime,omitempty" azure:"ro"`

	// READ-ONLY; The provisioning status of the Data Lake Store account.
	ProvisioningState *DataLakeStoreAccountStatus `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; The state of the Data Lake Store account.
	State *DataLakeStoreAccountState `json:"state,omitempty" azure:"ro"`
}

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

func (DataLakeStoreAccountPropertiesBasic) MarshalJSON

func (d DataLakeStoreAccountPropertiesBasic) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataLakeStoreAccountPropertiesBasic.

func (*DataLakeStoreAccountPropertiesBasic) UnmarshalJSON

func (d *DataLakeStoreAccountPropertiesBasic) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DataLakeStoreAccountPropertiesBasic.

type DataLakeStoreAccountState

type DataLakeStoreAccountState string

DataLakeStoreAccountState - The state of the Data Lake Store account.

const (
	DataLakeStoreAccountStateActive    DataLakeStoreAccountState = "Active"
	DataLakeStoreAccountStateSuspended DataLakeStoreAccountState = "Suspended"
)

func PossibleDataLakeStoreAccountStateValues

func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState

PossibleDataLakeStoreAccountStateValues returns the possible values for the DataLakeStoreAccountState const type.

func (DataLakeStoreAccountState) ToPtr

ToPtr returns a *DataLakeStoreAccountState pointing to the current value.

type DataLakeStoreAccountStatus

type DataLakeStoreAccountStatus string

DataLakeStoreAccountStatus - The provisioning status of the Data Lake Store account.

const (
	DataLakeStoreAccountStatusFailed     DataLakeStoreAccountStatus = "Failed"
	DataLakeStoreAccountStatusCreating   DataLakeStoreAccountStatus = "Creating"
	DataLakeStoreAccountStatusRunning    DataLakeStoreAccountStatus = "Running"
	DataLakeStoreAccountStatusSucceeded  DataLakeStoreAccountStatus = "Succeeded"
	DataLakeStoreAccountStatusPatching   DataLakeStoreAccountStatus = "Patching"
	DataLakeStoreAccountStatusSuspending DataLakeStoreAccountStatus = "Suspending"
	DataLakeStoreAccountStatusResuming   DataLakeStoreAccountStatus = "Resuming"
	DataLakeStoreAccountStatusDeleting   DataLakeStoreAccountStatus = "Deleting"
	DataLakeStoreAccountStatusDeleted    DataLakeStoreAccountStatus = "Deleted"
	DataLakeStoreAccountStatusUndeleting DataLakeStoreAccountStatus = "Undeleting"
	DataLakeStoreAccountStatusCanceled   DataLakeStoreAccountStatus = "Canceled"
)

func PossibleDataLakeStoreAccountStatusValues

func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus

PossibleDataLakeStoreAccountStatusValues returns the possible values for the DataLakeStoreAccountStatus const type.

func (DataLakeStoreAccountStatus) ToPtr

ToPtr returns a *DataLakeStoreAccountStatus pointing to the current value.

type EncryptionConfig

type EncryptionConfig struct {
	// REQUIRED; The type of encryption configuration being used. Currently the only supported types are 'UserManaged' and 'ServiceManaged'.
	Type *EncryptionConfigType `json:"type,omitempty"`

	// 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 - The type of encryption configuration being used. Currently the only supported types are 'UserManaged' and 'ServiceManaged'.

const (
	EncryptionConfigTypeUserManaged    EncryptionConfigType = "UserManaged"
	EncryptionConfigTypeServiceManaged EncryptionConfigType = "ServiceManaged"
)

func PossibleEncryptionConfigTypeValues

func PossibleEncryptionConfigTypeValues() []EncryptionConfigType

PossibleEncryptionConfigTypeValues returns the possible values for the EncryptionConfigType const type.

func (EncryptionConfigType) ToPtr

ToPtr returns a *EncryptionConfigType pointing to the current value.

type EncryptionIdentity

type EncryptionIdentity struct {
	// REQUIRED; The type of encryption being used. Currently the only supported type is 'SystemAssigned'.
	Type *string `json:"type,omitempty"`

	// READ-ONLY; The principal identifier associated with the encryption.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The tenant identifier associated with the encryption.
	TenantID *string `json:"tenantId,omitempty" azure:"ro"`
}

EncryptionIdentity - The encryption identity properties.

type EncryptionProvisioningState

type EncryptionProvisioningState string

EncryptionProvisioningState - The current state of encryption provisioning for this Data Lake Store account.

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

func PossibleEncryptionProvisioningStateValues

func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState

PossibleEncryptionProvisioningStateValues returns the possible values for the EncryptionProvisioningState const type.

func (EncryptionProvisioningState) ToPtr

ToPtr returns a *EncryptionProvisioningState pointing to the current value.

type EncryptionState

type EncryptionState string

EncryptionState - The current state of encryption for this Data Lake Store account.

const (
	EncryptionStateEnabled  EncryptionState = "Enabled"
	EncryptionStateDisabled EncryptionState = "Disabled"
)

func PossibleEncryptionStateValues

func PossibleEncryptionStateValues() []EncryptionState

PossibleEncryptionStateValues returns the possible values for the EncryptionState const type.

func (EncryptionState) ToPtr

func (c EncryptionState) ToPtr() *EncryptionState

ToPtr returns a *EncryptionState pointing to the current value.

type FirewallAllowAzureIPsState

type FirewallAllowAzureIPsState string

FirewallAllowAzureIPsState - The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.

const (
	FirewallAllowAzureIPsStateEnabled  FirewallAllowAzureIPsState = "Enabled"
	FirewallAllowAzureIPsStateDisabled FirewallAllowAzureIPsState = "Disabled"
)

func PossibleFirewallAllowAzureIPsStateValues

func PossibleFirewallAllowAzureIPsStateValues() []FirewallAllowAzureIPsState

PossibleFirewallAllowAzureIPsStateValues returns the possible values for the FirewallAllowAzureIPsState const type.

func (FirewallAllowAzureIPsState) ToPtr

ToPtr returns a *FirewallAllowAzureIPsState pointing to the current value.

type FirewallRule

type FirewallRule struct {
	SubResource
	// READ-ONLY; The firewall rule properties.
	Properties *FirewallRuleProperties `json:"properties,omitempty" azure:"ro"`
}

FirewallRule - Data Lake Store firewall rule information.

type FirewallRuleListResult

type FirewallRuleListResult struct {
	// READ-ONLY; The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; The results of the list operation.
	Value []*FirewallRule `json:"value,omitempty" azure:"ro"`
}

FirewallRuleListResult - Data Lake Store firewall rule list information.

func (FirewallRuleListResult) MarshalJSON

func (f FirewallRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FirewallRuleListResult.

type FirewallRuleProperties

type FirewallRuleProperties struct {
	// 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" azure:"ro"`

	// 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" azure:"ro"`
}

FirewallRuleProperties - The firewall rule properties.

type FirewallRulesClient

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

FirewallRulesClient contains the methods for the FirewallRules group. Don't use this type directly, use NewFirewallRulesClient() instead.

func NewFirewallRulesClient

func NewFirewallRulesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *FirewallRulesClient

NewFirewallRulesClient creates a new instance of FirewallRulesClient with the specified values.

func (*FirewallRulesClient) CreateOrUpdate

func (client *FirewallRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters CreateOrUpdateFirewallRuleParameters, options *FirewallRulesCreateOrUpdateOptions) (FirewallRulesCreateOrUpdateResponse, 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. If the operation fails it returns a generic error.

func (*FirewallRulesClient) Delete

func (client *FirewallRulesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, options *FirewallRulesDeleteOptions) (FirewallRulesDeleteResponse, error)

Delete - Deletes the specified firewall rule from the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*FirewallRulesClient) Get

func (client *FirewallRulesClient) Get(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, options *FirewallRulesGetOptions) (FirewallRulesGetResponse, error)

Get - Gets the specified Data Lake Store firewall rule. If the operation fails it returns a generic error.

func (*FirewallRulesClient) ListByAccount

func (client *FirewallRulesClient) ListByAccount(resourceGroupName string, accountName string, options *FirewallRulesListByAccountOptions) *FirewallRulesListByAccountPager

ListByAccount - Lists the Data Lake Store firewall rules within the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*FirewallRulesClient) Update

func (client *FirewallRulesClient) Update(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, options *FirewallRulesUpdateOptions) (FirewallRulesUpdateResponse, error)

Update - Updates the specified firewall rule. If the operation fails it returns a generic error.

type FirewallRulesCreateOrUpdateOptions

type FirewallRulesCreateOrUpdateOptions struct {
}

FirewallRulesCreateOrUpdateOptions contains the optional parameters for the FirewallRules.CreateOrUpdate method.

type FirewallRulesCreateOrUpdateResponse

type FirewallRulesCreateOrUpdateResponse struct {
	FirewallRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallRulesCreateOrUpdateResponse contains the response from method FirewallRules.CreateOrUpdate.

type FirewallRulesCreateOrUpdateResult

type FirewallRulesCreateOrUpdateResult struct {
	FirewallRule
}

FirewallRulesCreateOrUpdateResult contains the result from method FirewallRules.CreateOrUpdate.

type FirewallRulesDeleteOptions

type FirewallRulesDeleteOptions struct {
}

FirewallRulesDeleteOptions contains the optional parameters for the FirewallRules.Delete method.

type FirewallRulesDeleteResponse

type FirewallRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallRulesDeleteResponse contains the response from method FirewallRules.Delete.

type FirewallRulesGetOptions

type FirewallRulesGetOptions struct {
}

FirewallRulesGetOptions contains the optional parameters for the FirewallRules.Get method.

type FirewallRulesGetResponse

type FirewallRulesGetResponse struct {
	FirewallRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallRulesGetResponse contains the response from method FirewallRules.Get.

type FirewallRulesGetResult

type FirewallRulesGetResult struct {
	FirewallRule
}

FirewallRulesGetResult contains the result from method FirewallRules.Get.

type FirewallRulesListByAccountOptions

type FirewallRulesListByAccountOptions struct {
}

FirewallRulesListByAccountOptions contains the optional parameters for the FirewallRules.ListByAccount method.

type FirewallRulesListByAccountPager

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

FirewallRulesListByAccountPager provides operations for iterating over paged responses.

func (*FirewallRulesListByAccountPager) Err

Err returns the last error encountered while paging.

func (*FirewallRulesListByAccountPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*FirewallRulesListByAccountPager) PageResponse

PageResponse returns the current FirewallRulesListByAccountResponse page.

type FirewallRulesListByAccountResponse

type FirewallRulesListByAccountResponse struct {
	FirewallRulesListByAccountResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallRulesListByAccountResponse contains the response from method FirewallRules.ListByAccount.

type FirewallRulesListByAccountResult

type FirewallRulesListByAccountResult struct {
	FirewallRuleListResult
}

FirewallRulesListByAccountResult contains the result from method FirewallRules.ListByAccount.

type FirewallRulesUpdateOptions

type FirewallRulesUpdateOptions struct {
	// Parameters supplied to update the firewall rule.
	Parameters *UpdateFirewallRuleParameters
}

FirewallRulesUpdateOptions contains the optional parameters for the FirewallRules.Update method.

type FirewallRulesUpdateResponse

type FirewallRulesUpdateResponse struct {
	FirewallRulesUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

FirewallRulesUpdateResponse contains the response from method FirewallRules.Update.

type FirewallRulesUpdateResult

type FirewallRulesUpdateResult struct {
	FirewallRule
}

FirewallRulesUpdateResult contains the result from method FirewallRules.Update.

type FirewallState

type FirewallState string

FirewallState - The current state of the IP address firewall for this Data Lake Store account.

const (
	FirewallStateEnabled  FirewallState = "Enabled"
	FirewallStateDisabled FirewallState = "Disabled"
)

func PossibleFirewallStateValues

func PossibleFirewallStateValues() []FirewallState

PossibleFirewallStateValues returns the possible values for the FirewallState const type.

func (FirewallState) ToPtr

func (c FirewallState) ToPtr() *FirewallState

ToPtr returns a *FirewallState pointing to the current value.

type KeyVaultMetaInfo

type KeyVaultMetaInfo struct {
	// REQUIRED; The name of the user managed encryption key.
	EncryptionKeyName *string `json:"encryptionKeyName,omitempty"`

	// REQUIRED; The version of the user managed encryption key.
	EncryptionKeyVersion *string `json:"encryptionKeyVersion,omitempty"`

	// REQUIRED; The resource identifier for the user managed Key Vault being used to encrypt.
	KeyVaultResourceID *string `json:"keyVaultResourceId,omitempty"`
}

KeyVaultMetaInfo - Metadata information used by account encryption.

type LocationsClient

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

LocationsClient contains the methods for the Locations group. Don't use this type directly, use NewLocationsClient() instead.

func NewLocationsClient

func NewLocationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *LocationsClient

NewLocationsClient creates a new instance of LocationsClient with the specified values.

func (*LocationsClient) GetCapability

GetCapability - Gets subscription-level properties and limits for Data Lake Store specified by resource location. If the operation fails it returns a generic error.

func (*LocationsClient) GetUsage

func (client *LocationsClient) GetUsage(ctx context.Context, location string, options *LocationsGetUsageOptions) (LocationsGetUsageResponse, error)

GetUsage - Gets the current usage count and the limit for the resources of the location under the subscription. If the operation fails it returns a generic error.

type LocationsGetCapabilityOptions

type LocationsGetCapabilityOptions struct {
}

LocationsGetCapabilityOptions contains the optional parameters for the Locations.GetCapability method.

type LocationsGetCapabilityResponse

type LocationsGetCapabilityResponse struct {
	LocationsGetCapabilityResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocationsGetCapabilityResponse contains the response from method Locations.GetCapability.

type LocationsGetCapabilityResult

type LocationsGetCapabilityResult struct {
	CapabilityInformation
}

LocationsGetCapabilityResult contains the result from method Locations.GetCapability.

type LocationsGetUsageOptions

type LocationsGetUsageOptions struct {
}

LocationsGetUsageOptions contains the optional parameters for the Locations.GetUsage method.

type LocationsGetUsageResponse

type LocationsGetUsageResponse struct {
	LocationsGetUsageResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocationsGetUsageResponse contains the response from method Locations.GetUsage.

type LocationsGetUsageResult

type LocationsGetUsageResult struct {
	UsageListResult
}

LocationsGetUsageResult contains the result from method Locations.GetUsage.

type NameAvailabilityInformation

type NameAvailabilityInformation struct {
	// READ-ONLY; The message describing why the Data Lake Store account name is not available, if nameAvailable is false.
	Message *string `json:"message,omitempty" azure:"ro"`

	// 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" azure:"ro"`

	// READ-ONLY; The reason why the Data Lake Store account name is not available, if nameAvailable is false.
	Reason *string `json:"reason,omitempty" azure:"ro"`
}

NameAvailabilityInformation - Data Lake Store account name availability result information.

type Operation

type Operation struct {
	// The display information for the operation.
	Display *OperationDisplay `json:"display,omitempty"`

	// READ-ONLY; The name of the operation.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The intended executor of the operation.
	Origin *OperationOrigin `json:"origin,omitempty" azure:"ro"`
}

Operation - An available operation for Data Lake Store.

type OperationDisplay

type OperationDisplay struct {
	// READ-ONLY; A friendly description of the operation.
	Description *string `json:"description,omitempty" azure:"ro"`

	// READ-ONLY; A friendly name of the operation.
	Operation *string `json:"operation,omitempty" azure:"ro"`

	// READ-ONLY; The resource provider of the operation.
	Provider *string `json:"provider,omitempty" azure:"ro"`

	// READ-ONLY; The resource type of the operation.
	Resource *string `json:"resource,omitempty" azure:"ro"`
}

OperationDisplay - The display information for a particular operation.

type OperationListResult

type OperationListResult struct {
	// READ-ONLY; The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; The results of the list operation.
	Value []*Operation `json:"value,omitempty" azure:"ro"`
}

OperationListResult - The list of available operations for Data Lake Store.

func (OperationListResult) MarshalJSON

func (o OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationListResult.

type OperationOrigin

type OperationOrigin string

OperationOrigin - The intended executor of the operation.

const (
	OperationOriginSystem     OperationOrigin = "system"
	OperationOriginUser       OperationOrigin = "user"
	OperationOriginUserSystem OperationOrigin = "user,system"
)

func PossibleOperationOriginValues

func PossibleOperationOriginValues() []OperationOrigin

PossibleOperationOriginValues returns the possible values for the OperationOrigin const type.

func (OperationOrigin) ToPtr

func (c OperationOrigin) ToPtr() *OperationOrigin

ToPtr returns a *OperationOrigin pointing to the current value.

type OperationsClient

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

OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.

func NewOperationsClient

func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *OperationsClient

NewOperationsClient creates a new instance of OperationsClient with the specified values.

func (*OperationsClient) List

List - Lists all of the available Data Lake Store REST API operations. If the operation fails it returns a generic error.

type OperationsListOptions

type OperationsListOptions struct {
}

OperationsListOptions contains the optional parameters for the Operations.List method.

type OperationsListResponse

type OperationsListResponse struct {
	OperationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

OperationsListResponse contains the response from method Operations.List.

type OperationsListResult

type OperationsListResult struct {
	OperationListResult
}

OperationsListResult contains the result from method Operations.List.

type Resource

type Resource struct {
	// READ-ONLY; The resource identifier.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The resource location.
	Location *string `json:"location,omitempty" azure:"ro"`

	// READ-ONLY; The resource name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource tags.
	Tags map[string]*string `json:"tags,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

Resource - The resource model definition.

func (Resource) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type Resource.

type SubResource

type SubResource struct {
	// READ-ONLY; The resource identifier.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The resource name.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The resource type.
	Type *string `json:"type,omitempty" azure:"ro"`
}

SubResource - The resource model definition for a nested resource.

type SubscriptionState

type SubscriptionState string

SubscriptionState - The subscription state.

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

func PossibleSubscriptionStateValues

func PossibleSubscriptionStateValues() []SubscriptionState

PossibleSubscriptionStateValues returns the possible values for the SubscriptionState const type.

func (SubscriptionState) ToPtr

ToPtr returns a *SubscriptionState pointing to the current value.

type TierType

type TierType string

TierType - The commitment tier to use for next month.

const (
	TierTypeConsumption     TierType = "Consumption"
	TierTypeCommitment1TB   TierType = "Commitment_1TB"
	TierTypeCommitment10TB  TierType = "Commitment_10TB"
	TierTypeCommitment100TB TierType = "Commitment_100TB"
	TierTypeCommitment500TB TierType = "Commitment_500TB"
	TierTypeCommitment1PB   TierType = "Commitment_1PB"
	TierTypeCommitment5PB   TierType = "Commitment_5PB"
)

func PossibleTierTypeValues

func PossibleTierTypeValues() []TierType

PossibleTierTypeValues returns the possible values for the TierType const type.

func (TierType) ToPtr

func (c TierType) ToPtr() *TierType

ToPtr returns a *TierType pointing to the current value.

type TrustedIDProvider

type TrustedIDProvider struct {
	SubResource
	// READ-ONLY; The trusted identity provider properties.
	Properties *TrustedIDProviderProperties `json:"properties,omitempty" azure:"ro"`
}

TrustedIDProvider - Data Lake Store trusted identity provider information.

type TrustedIDProviderListResult

type TrustedIDProviderListResult struct {
	// READ-ONLY; The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; The results of the list operation.
	Value []*TrustedIDProvider `json:"value,omitempty" azure:"ro"`
}

TrustedIDProviderListResult - Data Lake Store trusted identity provider list information.

func (TrustedIDProviderListResult) MarshalJSON

func (t TrustedIDProviderListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TrustedIDProviderListResult.

type TrustedIDProviderProperties

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

TrustedIDProviderProperties - The trusted identity provider properties.

type TrustedIDProviderState

type TrustedIDProviderState string

TrustedIDProviderState - The current state of the trusted identity provider feature for this Data Lake Store account.

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

func PossibleTrustedIDProviderStateValues

func PossibleTrustedIDProviderStateValues() []TrustedIDProviderState

PossibleTrustedIDProviderStateValues returns the possible values for the TrustedIDProviderState const type.

func (TrustedIDProviderState) ToPtr

ToPtr returns a *TrustedIDProviderState pointing to the current value.

type TrustedIDProvidersClient

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

TrustedIDProvidersClient contains the methods for the TrustedIDProviders group. Don't use this type directly, use NewTrustedIDProvidersClient() instead.

func NewTrustedIDProvidersClient

func NewTrustedIDProvidersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *TrustedIDProvidersClient

NewTrustedIDProvidersClient creates a new instance of TrustedIDProvidersClient with the specified values.

func (*TrustedIDProvidersClient) CreateOrUpdate

func (client *TrustedIDProvidersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, parameters CreateOrUpdateTrustedIDProviderParameters, options *TrustedIDProvidersCreateOrUpdateOptions) (TrustedIDProvidersCreateOrUpdateResponse, 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 If the operation fails it returns a generic error.

func (*TrustedIDProvidersClient) Delete

func (client *TrustedIDProvidersClient) Delete(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, options *TrustedIDProvidersDeleteOptions) (TrustedIDProvidersDeleteResponse, error)

Delete - Deletes the specified trusted identity provider from the specified Data Lake Store account If the operation fails it returns a generic error.

func (*TrustedIDProvidersClient) Get

func (client *TrustedIDProvidersClient) Get(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, options *TrustedIDProvidersGetOptions) (TrustedIDProvidersGetResponse, error)

Get - Gets the specified Data Lake Store trusted identity provider. If the operation fails it returns a generic error.

func (*TrustedIDProvidersClient) ListByAccount

func (client *TrustedIDProvidersClient) ListByAccount(resourceGroupName string, accountName string, options *TrustedIDProvidersListByAccountOptions) *TrustedIDProvidersListByAccountPager

ListByAccount - Lists the Data Lake Store trusted identity providers within the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*TrustedIDProvidersClient) Update

func (client *TrustedIDProvidersClient) Update(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, options *TrustedIDProvidersUpdateOptions) (TrustedIDProvidersUpdateResponse, error)

Update - Updates the specified trusted identity provider. If the operation fails it returns a generic error.

type TrustedIDProvidersCreateOrUpdateOptions

type TrustedIDProvidersCreateOrUpdateOptions struct {
}

TrustedIDProvidersCreateOrUpdateOptions contains the optional parameters for the TrustedIDProviders.CreateOrUpdate method.

type TrustedIDProvidersCreateOrUpdateResponse

type TrustedIDProvidersCreateOrUpdateResponse struct {
	TrustedIDProvidersCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TrustedIDProvidersCreateOrUpdateResponse contains the response from method TrustedIDProviders.CreateOrUpdate.

type TrustedIDProvidersCreateOrUpdateResult

type TrustedIDProvidersCreateOrUpdateResult struct {
	TrustedIDProvider
}

TrustedIDProvidersCreateOrUpdateResult contains the result from method TrustedIDProviders.CreateOrUpdate.

type TrustedIDProvidersDeleteOptions

type TrustedIDProvidersDeleteOptions struct {
}

TrustedIDProvidersDeleteOptions contains the optional parameters for the TrustedIDProviders.Delete method.

type TrustedIDProvidersDeleteResponse

type TrustedIDProvidersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TrustedIDProvidersDeleteResponse contains the response from method TrustedIDProviders.Delete.

type TrustedIDProvidersGetOptions

type TrustedIDProvidersGetOptions struct {
}

TrustedIDProvidersGetOptions contains the optional parameters for the TrustedIDProviders.Get method.

type TrustedIDProvidersGetResponse

type TrustedIDProvidersGetResponse struct {
	TrustedIDProvidersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TrustedIDProvidersGetResponse contains the response from method TrustedIDProviders.Get.

type TrustedIDProvidersGetResult

type TrustedIDProvidersGetResult struct {
	TrustedIDProvider
}

TrustedIDProvidersGetResult contains the result from method TrustedIDProviders.Get.

type TrustedIDProvidersListByAccountOptions

type TrustedIDProvidersListByAccountOptions struct {
}

TrustedIDProvidersListByAccountOptions contains the optional parameters for the TrustedIDProviders.ListByAccount method.

type TrustedIDProvidersListByAccountPager

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

TrustedIDProvidersListByAccountPager provides operations for iterating over paged responses.

func (*TrustedIDProvidersListByAccountPager) Err

Err returns the last error encountered while paging.

func (*TrustedIDProvidersListByAccountPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*TrustedIDProvidersListByAccountPager) PageResponse

PageResponse returns the current TrustedIDProvidersListByAccountResponse page.

type TrustedIDProvidersListByAccountResponse

type TrustedIDProvidersListByAccountResponse struct {
	TrustedIDProvidersListByAccountResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TrustedIDProvidersListByAccountResponse contains the response from method TrustedIDProviders.ListByAccount.

type TrustedIDProvidersListByAccountResult

type TrustedIDProvidersListByAccountResult struct {
	TrustedIDProviderListResult
}

TrustedIDProvidersListByAccountResult contains the result from method TrustedIDProviders.ListByAccount.

type TrustedIDProvidersUpdateOptions

type TrustedIDProvidersUpdateOptions struct {
	// Parameters supplied to update the trusted identity provider.
	Parameters *UpdateTrustedIDProviderParameters
}

TrustedIDProvidersUpdateOptions contains the optional parameters for the TrustedIDProviders.Update method.

type TrustedIDProvidersUpdateResponse

type TrustedIDProvidersUpdateResponse struct {
	TrustedIDProvidersUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TrustedIDProvidersUpdateResponse contains the response from method TrustedIDProviders.Update.

type TrustedIDProvidersUpdateResult

type TrustedIDProvidersUpdateResult struct {
	TrustedIDProvider
}

TrustedIDProvidersUpdateResult contains the result from method TrustedIDProviders.Update.

type UpdateDataLakeStoreAccountParameters

type UpdateDataLakeStoreAccountParameters struct {
	// The Data Lake Store account properties to update.
	Properties *UpdateDataLakeStoreAccountProperties `json:"properties,omitempty"`

	// Resource tags
	Tags map[string]*string `json:"tags,omitempty"`
}

UpdateDataLakeStoreAccountParameters - Data Lake Store account information to update.

func (UpdateDataLakeStoreAccountParameters) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type UpdateDataLakeStoreAccountParameters.

type UpdateDataLakeStoreAccountProperties

type UpdateDataLakeStoreAccountProperties struct {
	// The default owner group for all new folders and files created in the Data Lake Store account.
	DefaultGroup *string `json:"defaultGroup,omitempty"`

	// 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"`

	// The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
	FirewallAllowAzureIPs *FirewallAllowAzureIPsState `json:"firewallAllowAzureIps,omitempty"`

	// The list of firewall rules associated with this Data Lake Store account.
	FirewallRules []*UpdateFirewallRuleWithAccountParameters `json:"firewallRules,omitempty"`

	// 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.
	FirewallState *FirewallState `json:"firewallState,omitempty"`

	// The commitment tier to use for next month.
	NewTier *TierType `json:"newTier,omitempty"`

	// 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.
	TrustedIDProviderState *TrustedIDProviderState `json:"trustedIdProviderState,omitempty"`

	// The list of trusted identity providers associated with this Data Lake Store account.
	TrustedIDProviders []*UpdateTrustedIDProviderWithAccountParameters `json:"trustedIdProviders,omitempty"`

	// The list of virtual network rules associated with this Data Lake Store account.
	VirtualNetworkRules []*UpdateVirtualNetworkRuleWithAccountParameters `json:"virtualNetworkRules,omitempty"`
}

UpdateDataLakeStoreAccountProperties - Data Lake Store account properties information to be updated.

func (UpdateDataLakeStoreAccountProperties) MarshalJSON

func (u UpdateDataLakeStoreAccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UpdateDataLakeStoreAccountProperties.

type UpdateEncryptionConfig

type UpdateEncryptionConfig struct {
	// 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 {
	// The firewall rule properties to use when updating a firewall rule.
	Properties *UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

UpdateFirewallRuleParameters - The parameters used to update a firewall rule.

func (UpdateFirewallRuleParameters) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type UpdateFirewallRuleParameters.

type UpdateFirewallRuleProperties

type UpdateFirewallRuleProperties struct {
	// 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"`

	// 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"`
}

UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule.

type UpdateFirewallRuleWithAccountParameters

type UpdateFirewallRuleWithAccountParameters struct {
	// REQUIRED; The unique name of the firewall rule to update.
	Name *string `json:"name,omitempty"`

	// The firewall rule properties to use when updating a firewall rule.
	Properties *UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

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

type UpdateKeyVaultMetaInfo

type UpdateKeyVaultMetaInfo struct {
	// 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 {
	// The trusted identity provider properties to use when updating a trusted identity provider.
	Properties *UpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

UpdateTrustedIDProviderParameters - The parameters used to update a trusted identity provider.

func (UpdateTrustedIDProviderParameters) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type UpdateTrustedIDProviderParameters.

type UpdateTrustedIDProviderProperties

type UpdateTrustedIDProviderProperties struct {
	// 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 {
	// REQUIRED; The unique name of the trusted identity provider to update.
	Name *string `json:"name,omitempty"`

	// The trusted identity provider properties to use when updating a trusted identity provider.
	Properties *UpdateTrustedIDProviderProperties `json:"properties,omitempty"`
}

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

type UpdateVirtualNetworkRuleParameters

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

UpdateVirtualNetworkRuleParameters - The parameters used to update a virtual network rule.

func (UpdateVirtualNetworkRuleParameters) MarshalJSON

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

MarshalJSON implements the json.Marshaller interface for type UpdateVirtualNetworkRuleParameters.

type UpdateVirtualNetworkRuleProperties

type UpdateVirtualNetworkRuleProperties struct {
	// 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 {
	// REQUIRED; The unique name of the virtual network rule to update.
	Name *string `json:"name,omitempty"`

	// The virtual network rule properties to use when updating a virtual network rule.
	Properties *UpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

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

type Usage

type Usage struct {
	// READ-ONLY; Gets the current count of the allocated resources in the subscription.
	CurrentValue *int32 `json:"currentValue,omitempty" azure:"ro"`

	// READ-ONLY; Resource identifier.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; Gets the maximum count of the resources that can be allocated in the subscription.
	Limit *int32 `json:"limit,omitempty" azure:"ro"`

	// READ-ONLY; Gets the name of the type of usage.
	Name *UsageName `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; Gets the unit of measurement.
	Unit *UsageUnit `json:"unit,omitempty" azure:"ro"`
}

Usage - Describes the Resource Usage.

type UsageListResult

type UsageListResult struct {
	// Gets or sets the list of Storage Resource Usages.
	Value []*Usage `json:"value,omitempty"`
}

UsageListResult - The response from the List Usages operation.

func (UsageListResult) MarshalJSON

func (u UsageListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UsageListResult.

type UsageName

type UsageName struct {
	// READ-ONLY; Gets a localized string describing the resource name.
	LocalizedValue *string `json:"localizedValue,omitempty" azure:"ro"`

	// READ-ONLY; Gets a string describing the resource name.
	Value *string `json:"value,omitempty" azure:"ro"`
}

UsageName - The usage names that can be used.

type UsageUnit

type UsageUnit string

UsageUnit - Gets the unit of measurement.

const (
	UsageUnitCount           UsageUnit = "Count"
	UsageUnitBytes           UsageUnit = "Bytes"
	UsageUnitSeconds         UsageUnit = "Seconds"
	UsageUnitPercent         UsageUnit = "Percent"
	UsageUnitCountsPerSecond UsageUnit = "CountsPerSecond"
	UsageUnitBytesPerSecond  UsageUnit = "BytesPerSecond"
)

func PossibleUsageUnitValues

func PossibleUsageUnitValues() []UsageUnit

PossibleUsageUnitValues returns the possible values for the UsageUnit const type.

func (UsageUnit) ToPtr

func (c UsageUnit) ToPtr() *UsageUnit

ToPtr returns a *UsageUnit pointing to the current value.

type VirtualNetworkRule

type VirtualNetworkRule struct {
	SubResource
	// READ-ONLY; The virtual network rule properties.
	Properties *VirtualNetworkRuleProperties `json:"properties,omitempty" azure:"ro"`
}

VirtualNetworkRule - Data Lake Store virtual network rule information.

type VirtualNetworkRuleListResult

type VirtualNetworkRuleListResult struct {
	// READ-ONLY; The link (url) to the next page of results.
	NextLink *string `json:"nextLink,omitempty" azure:"ro"`

	// READ-ONLY; The results of the list operation.
	Value []*VirtualNetworkRule `json:"value,omitempty" azure:"ro"`
}

VirtualNetworkRuleListResult - Data Lake Store virtual network rule list information.

func (VirtualNetworkRuleListResult) MarshalJSON

func (v VirtualNetworkRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualNetworkRuleListResult.

type VirtualNetworkRuleProperties

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

VirtualNetworkRuleProperties - The virtual network rule properties.

type VirtualNetworkRulesClient

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

VirtualNetworkRulesClient contains the methods for the VirtualNetworkRules group. Don't use this type directly, use NewVirtualNetworkRulesClient() instead.

func NewVirtualNetworkRulesClient

func NewVirtualNetworkRulesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *VirtualNetworkRulesClient

NewVirtualNetworkRulesClient creates a new instance of VirtualNetworkRulesClient with the specified values.

func (*VirtualNetworkRulesClient) CreateOrUpdate

func (client *VirtualNetworkRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters CreateOrUpdateVirtualNetworkRuleParameters, options *VirtualNetworkRulesCreateOrUpdateOptions) (VirtualNetworkRulesCreateOrUpdateResponse, 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. If the operation fails it returns a generic error.

func (*VirtualNetworkRulesClient) Delete

func (client *VirtualNetworkRulesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, options *VirtualNetworkRulesDeleteOptions) (VirtualNetworkRulesDeleteResponse, error)

Delete - Deletes the specified virtual network rule from the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*VirtualNetworkRulesClient) Get

func (client *VirtualNetworkRulesClient) Get(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, options *VirtualNetworkRulesGetOptions) (VirtualNetworkRulesGetResponse, error)

Get - Gets the specified Data Lake Store virtual network rule. If the operation fails it returns a generic error.

func (*VirtualNetworkRulesClient) ListByAccount

func (client *VirtualNetworkRulesClient) ListByAccount(resourceGroupName string, accountName string, options *VirtualNetworkRulesListByAccountOptions) *VirtualNetworkRulesListByAccountPager

ListByAccount - Lists the Data Lake Store virtual network rules within the specified Data Lake Store account. If the operation fails it returns a generic error.

func (*VirtualNetworkRulesClient) Update

func (client *VirtualNetworkRulesClient) Update(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, options *VirtualNetworkRulesUpdateOptions) (VirtualNetworkRulesUpdateResponse, error)

Update - Updates the specified virtual network rule. If the operation fails it returns a generic error.

type VirtualNetworkRulesCreateOrUpdateOptions

type VirtualNetworkRulesCreateOrUpdateOptions struct {
}

VirtualNetworkRulesCreateOrUpdateOptions contains the optional parameters for the VirtualNetworkRules.CreateOrUpdate method.

type VirtualNetworkRulesCreateOrUpdateResponse

type VirtualNetworkRulesCreateOrUpdateResponse struct {
	VirtualNetworkRulesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkRulesCreateOrUpdateResponse contains the response from method VirtualNetworkRules.CreateOrUpdate.

type VirtualNetworkRulesCreateOrUpdateResult

type VirtualNetworkRulesCreateOrUpdateResult struct {
	VirtualNetworkRule
}

VirtualNetworkRulesCreateOrUpdateResult contains the result from method VirtualNetworkRules.CreateOrUpdate.

type VirtualNetworkRulesDeleteOptions

type VirtualNetworkRulesDeleteOptions struct {
}

VirtualNetworkRulesDeleteOptions contains the optional parameters for the VirtualNetworkRules.Delete method.

type VirtualNetworkRulesDeleteResponse

type VirtualNetworkRulesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkRulesDeleteResponse contains the response from method VirtualNetworkRules.Delete.

type VirtualNetworkRulesGetOptions

type VirtualNetworkRulesGetOptions struct {
}

VirtualNetworkRulesGetOptions contains the optional parameters for the VirtualNetworkRules.Get method.

type VirtualNetworkRulesGetResponse

type VirtualNetworkRulesGetResponse struct {
	VirtualNetworkRulesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkRulesGetResponse contains the response from method VirtualNetworkRules.Get.

type VirtualNetworkRulesGetResult

type VirtualNetworkRulesGetResult struct {
	VirtualNetworkRule
}

VirtualNetworkRulesGetResult contains the result from method VirtualNetworkRules.Get.

type VirtualNetworkRulesListByAccountOptions

type VirtualNetworkRulesListByAccountOptions struct {
}

VirtualNetworkRulesListByAccountOptions contains the optional parameters for the VirtualNetworkRules.ListByAccount method.

type VirtualNetworkRulesListByAccountPager

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

VirtualNetworkRulesListByAccountPager provides operations for iterating over paged responses.

func (*VirtualNetworkRulesListByAccountPager) Err

Err returns the last error encountered while paging.

func (*VirtualNetworkRulesListByAccountPager) NextPage

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*VirtualNetworkRulesListByAccountPager) PageResponse

PageResponse returns the current VirtualNetworkRulesListByAccountResponse page.

type VirtualNetworkRulesListByAccountResponse

type VirtualNetworkRulesListByAccountResponse struct {
	VirtualNetworkRulesListByAccountResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkRulesListByAccountResponse contains the response from method VirtualNetworkRules.ListByAccount.

type VirtualNetworkRulesListByAccountResult

type VirtualNetworkRulesListByAccountResult struct {
	VirtualNetworkRuleListResult
}

VirtualNetworkRulesListByAccountResult contains the result from method VirtualNetworkRules.ListByAccount.

type VirtualNetworkRulesUpdateOptions

type VirtualNetworkRulesUpdateOptions struct {
	// Parameters supplied to update the virtual network rule.
	Parameters *UpdateVirtualNetworkRuleParameters
}

VirtualNetworkRulesUpdateOptions contains the optional parameters for the VirtualNetworkRules.Update method.

type VirtualNetworkRulesUpdateResponse

type VirtualNetworkRulesUpdateResponse struct {
	VirtualNetworkRulesUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

VirtualNetworkRulesUpdateResponse contains the response from method VirtualNetworkRules.Update.

type VirtualNetworkRulesUpdateResult

type VirtualNetworkRulesUpdateResult struct {
	VirtualNetworkRule
}

VirtualNetworkRulesUpdateResult contains the result from method VirtualNetworkRules.Update.

Jump to

Keyboard shortcuts

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