const ( // DefaultBaseURI is the default URI used for the service Account DefaultBaseURI = "https://management.azure.com" )
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
AccountsClient is the creates an Azure Data Lake Store account management client.
type AccountsClient struct { BaseClient }
func NewAccountsClient(subscriptionID string) AccountsClient
NewAccountsClient creates an instance of the AccountsClient client.
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 (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 (client AccountsClient) CheckNameAvailabilityPreparer(ctx context.Context, location string, parameters CheckNameAvailabilityParameters) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
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 (client AccountsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (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 (client AccountsClient) CreatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters CreateDataLakeStoreAccountParameters) (*http.Request, error)
CreatePreparer prepares the Create request.
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 (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 (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 (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (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 (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 (client AccountsClient) EnableKeyVaultPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
EnableKeyVaultPreparer prepares the EnableKeyVault request.
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 (client AccountsClient) EnableKeyVaultSender(req *http.Request) (*http.Response, error)
EnableKeyVaultSender sends the EnableKeyVault request. The method will close the http.Response Body if it receives an error.
func (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 (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (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 (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 (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 (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 (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 (client AccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (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 (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 (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 (client AccountsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (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 (client AccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters UpdateDataLakeStoreAccountParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (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.
AccountsCreateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
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) }
func (future *AccountsCreateFutureType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AccountsDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
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) }
func (future *AccountsDeleteFutureType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
AccountsUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
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) }
func (future *AccountsUpdateFutureType) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
BaseClient is the base client for Account.
type BaseClient struct { autorest.Client BaseURI string SubscriptionID string }
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
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).
CapabilityInformation subscription-level properties and limits for Data Lake Store.
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"` }
func (ci CapabilityInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CapabilityInformation.
CheckNameAvailabilityParameters data Lake Store account name availability check parameters.
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"` }
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"` }
func (cdlsap CreateDataLakeStoreAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateDataLakeStoreAccountParameters.
func (cdlsap *CreateDataLakeStoreAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateDataLakeStoreAccountParameters struct.
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"` }
CreateFirewallRuleWithAccountParameters the parameters used to create a new firewall rule while creating a new Data Lake Store account.
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"` }
func (cfrwap CreateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateFirewallRuleWithAccountParameters.
func (cfrwap *CreateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateFirewallRuleWithAccountParameters struct.
CreateOrUpdateFirewallRuleParameters the parameters used to create a new firewall rule.
type CreateOrUpdateFirewallRuleParameters struct { // CreateOrUpdateFirewallRuleProperties - The firewall rule properties to use when creating a new firewall rule. *CreateOrUpdateFirewallRuleProperties `json:"properties,omitempty"` }
func (coufrp CreateOrUpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrUpdateFirewallRuleParameters.
func (coufrp *CreateOrUpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateOrUpdateFirewallRuleParameters struct.
CreateOrUpdateFirewallRuleProperties the firewall rule properties to use when creating a new firewall rule.
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"` }
CreateOrUpdateTrustedIDProviderParameters the parameters used to create a new trusted identity provider.
type CreateOrUpdateTrustedIDProviderParameters struct { // CreateOrUpdateTrustedIDProviderProperties - The trusted identity provider properties to use when creating a new trusted identity provider. *CreateOrUpdateTrustedIDProviderProperties `json:"properties,omitempty"` }
func (coutipp CreateOrUpdateTrustedIDProviderParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrUpdateTrustedIDProviderParameters.
func (coutipp *CreateOrUpdateTrustedIDProviderParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateOrUpdateTrustedIDProviderParameters struct.
CreateOrUpdateTrustedIDProviderProperties the trusted identity provider properties to use when creating a new trusted identity provider.
type CreateOrUpdateTrustedIDProviderProperties struct { // IDProvider - The URL of this trusted identity provider. IDProvider *string `json:"idProvider,omitempty"` }
CreateOrUpdateVirtualNetworkRuleParameters the parameters used to create a new virtual network rule.
type CreateOrUpdateVirtualNetworkRuleParameters struct { // CreateOrUpdateVirtualNetworkRuleProperties - The virtual network rule properties to use when creating a new virtual network rule. *CreateOrUpdateVirtualNetworkRuleProperties `json:"properties,omitempty"` }
func (couvnrp CreateOrUpdateVirtualNetworkRuleParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateOrUpdateVirtualNetworkRuleParameters.
func (couvnrp *CreateOrUpdateVirtualNetworkRuleParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateOrUpdateVirtualNetworkRuleParameters struct.
CreateOrUpdateVirtualNetworkRuleProperties the virtual network rule properties to use when creating a new virtual network rule.
type CreateOrUpdateVirtualNetworkRuleProperties struct { // SubnetID - The resource identifier for the subnet. SubnetID *string `json:"subnetId,omitempty"` }
CreateTrustedIDProviderWithAccountParameters the parameters used to create a new trusted identity provider while creating a new Data Lake Store account.
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"` }
func (ctipwap CreateTrustedIDProviderWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateTrustedIDProviderWithAccountParameters.
func (ctipwap *CreateTrustedIDProviderWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateTrustedIDProviderWithAccountParameters struct.
CreateVirtualNetworkRuleWithAccountParameters the parameters used to create a new virtual network rule while creating a new Data Lake Store account.
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"` }
func (cvnrwap CreateVirtualNetworkRuleWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateVirtualNetworkRuleWithAccountParameters.
func (cvnrwap *CreateVirtualNetworkRuleWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateVirtualNetworkRuleWithAccountParameters struct.
DataLakeStoreAccount data Lake Store account information.
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"` }
func (dlsa DataLakeStoreAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccount.
func (dlsa *DataLakeStoreAccount) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccount struct.
DataLakeStoreAccountBasic basic Data Lake Store account information, returned on list calls.
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"` }
func (dlsab DataLakeStoreAccountBasic) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountBasic.
func (dlsab *DataLakeStoreAccountBasic) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DataLakeStoreAccountBasic struct.
DataLakeStoreAccountListResult data Lake Store account list information response.
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"` }
func (dlsalr DataLakeStoreAccountListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (dlsalr DataLakeStoreAccountListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountListResult.
DataLakeStoreAccountListResultIterator provides access to a complete listing of DataLakeStoreAccountBasic values.
type DataLakeStoreAccountListResultIterator struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreAccountListResultIterator(page DataLakeStoreAccountListResultPage) DataLakeStoreAccountListResultIterator
Creates a new instance of the DataLakeStoreAccountListResultIterator type.
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 (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 (iter DataLakeStoreAccountListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter DataLakeStoreAccountListResultIterator) Response() DataLakeStoreAccountListResult
Response returns the raw server response from the last page request.
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.
DataLakeStoreAccountListResultPage contains a page of DataLakeStoreAccountBasic values.
type DataLakeStoreAccountListResultPage struct {
// contains filtered or unexported fields
}
func NewDataLakeStoreAccountListResultPage(cur DataLakeStoreAccountListResult, getNextPage func(context.Context, DataLakeStoreAccountListResult) (DataLakeStoreAccountListResult, error)) DataLakeStoreAccountListResultPage
Creates a new instance of the DataLakeStoreAccountListResultPage type.
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 (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 (page DataLakeStoreAccountListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page DataLakeStoreAccountListResultPage) Response() DataLakeStoreAccountListResult
Response returns the raw server response from the last page request.
func (page DataLakeStoreAccountListResultPage) Values() []DataLakeStoreAccountBasic
Values returns the slice of values for the current page or nil if there are no values.
DataLakeStoreAccountProperties data Lake Store account properties information.
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"` }
func (dlsap DataLakeStoreAccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountProperties.
DataLakeStoreAccountPropertiesBasic the basic account specific properties that are associated with an underlying Data Lake Store account.
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"` }
func (dlsapb DataLakeStoreAccountPropertiesBasic) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DataLakeStoreAccountPropertiesBasic.
DataLakeStoreAccountState enumerates the values for data lake store account state.
type DataLakeStoreAccountState string
const ( // Active ... Active DataLakeStoreAccountState = "Active" // Suspended ... Suspended DataLakeStoreAccountState = "Suspended" )
func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState
PossibleDataLakeStoreAccountStateValues returns an array of possible values for the DataLakeStoreAccountState const type.
DataLakeStoreAccountStatus enumerates the values for data lake store account status.
type DataLakeStoreAccountStatus string
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() []DataLakeStoreAccountStatus
PossibleDataLakeStoreAccountStatusValues returns an array of possible values for the DataLakeStoreAccountStatus const type.
EncryptionConfig the encryption configuration for the account.
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"` }
EncryptionConfigType enumerates the values for encryption config type.
type EncryptionConfigType string
const ( // ServiceManaged ... ServiceManaged EncryptionConfigType = "ServiceManaged" // UserManaged ... UserManaged EncryptionConfigType = "UserManaged" )
func PossibleEncryptionConfigTypeValues() []EncryptionConfigType
PossibleEncryptionConfigTypeValues returns an array of possible values for the EncryptionConfigType const type.
EncryptionIdentity the encryption identity properties.
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"` }
func (ei EncryptionIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionIdentity.
EncryptionProvisioningState enumerates the values for encryption provisioning state.
type EncryptionProvisioningState string
const ( // EncryptionProvisioningStateCreating ... EncryptionProvisioningStateCreating EncryptionProvisioningState = "Creating" // EncryptionProvisioningStateSucceeded ... EncryptionProvisioningStateSucceeded EncryptionProvisioningState = "Succeeded" )
func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState
PossibleEncryptionProvisioningStateValues returns an array of possible values for the EncryptionProvisioningState const type.
EncryptionState enumerates the values for encryption state.
type EncryptionState string
const ( // Disabled ... Disabled EncryptionState = "Disabled" // Enabled ... Enabled EncryptionState = "Enabled" )
func PossibleEncryptionStateValues() []EncryptionState
PossibleEncryptionStateValues returns an array of possible values for the EncryptionState const type.
FirewallAllowAzureIpsState enumerates the values for firewall allow azure ips state.
type FirewallAllowAzureIpsState string
const ( // FirewallAllowAzureIpsStateDisabled ... FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = "Disabled" // FirewallAllowAzureIpsStateEnabled ... FirewallAllowAzureIpsStateEnabled FirewallAllowAzureIpsState = "Enabled" )
func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState
PossibleFirewallAllowAzureIpsStateValues returns an array of possible values for the FirewallAllowAzureIpsState const type.
FirewallRule data Lake Store firewall rule information.
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"` }
func (fr FirewallRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRule.
func (fr *FirewallRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FirewallRule struct.
FirewallRuleListResult data Lake Store firewall rule list information.
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"` }
func (frlr FirewallRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (frlr FirewallRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRuleListResult.
FirewallRuleListResultIterator provides access to a complete listing of FirewallRule values.
type FirewallRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewFirewallRuleListResultIterator(page FirewallRuleListResultPage) FirewallRuleListResultIterator
Creates a new instance of the FirewallRuleListResultIterator type.
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 (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 (iter FirewallRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter FirewallRuleListResultIterator) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
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.
FirewallRuleListResultPage contains a page of FirewallRule values.
type FirewallRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewFirewallRuleListResultPage(cur FirewallRuleListResult, getNextPage func(context.Context, FirewallRuleListResult) (FirewallRuleListResult, error)) FirewallRuleListResultPage
Creates a new instance of the FirewallRuleListResultPage type.
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 (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 (page FirewallRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page FirewallRuleListResultPage) Response() FirewallRuleListResult
Response returns the raw server response from the last page request.
func (page FirewallRuleListResultPage) Values() []FirewallRule
Values returns the slice of values for the current page or nil if there are no values.
FirewallRuleProperties the firewall rule properties.
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"` }
func (frp FirewallRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FirewallRuleProperties.
FirewallRulesClient is the creates an Azure Data Lake Store account management client.
type FirewallRulesClient struct { BaseClient }
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient
NewFirewallRulesClient creates an instance of the FirewallRulesClient client.
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 (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 (client FirewallRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters CreateOrUpdateFirewallRuleParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
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 (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (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 (client FirewallRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (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 (client FirewallRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (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 (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 (client FirewallRulesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
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 (client FirewallRulesClient) ListByAccountSender(req *http.Request) (*http.Response, error)
ListByAccountSender sends the ListByAccount request. The method will close the http.Response Body if it receives an error.
func (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 (client FirewallRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, firewallRuleName string, parameters *UpdateFirewallRuleParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (client FirewallRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
FirewallState enumerates the values for firewall state.
type FirewallState string
const ( // FirewallStateDisabled ... FirewallStateDisabled FirewallState = "Disabled" // FirewallStateEnabled ... FirewallStateEnabled FirewallState = "Enabled" )
func PossibleFirewallStateValues() []FirewallState
PossibleFirewallStateValues returns an array of possible values for the FirewallState const type.
KeyVaultMetaInfo metadata information used by account encryption.
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"` }
LocationsClient is the creates an Azure Data Lake Store account management client.
type LocationsClient struct { BaseClient }
func NewLocationsClient(subscriptionID string) LocationsClient
NewLocationsClient creates an instance of the LocationsClient client.
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 (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 (client LocationsClient) GetCapabilityPreparer(ctx context.Context, location string) (*http.Request, error)
GetCapabilityPreparer prepares the GetCapability request.
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 (client LocationsClient) GetCapabilitySender(req *http.Request) (*http.Response, error)
GetCapabilitySender sends the GetCapability request. The method will close the http.Response Body if it receives an error.
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 (client LocationsClient) GetUsagePreparer(ctx context.Context, location string) (*http.Request, error)
GetUsagePreparer prepares the GetUsage request.
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 (client LocationsClient) GetUsageSender(req *http.Request) (*http.Response, error)
GetUsageSender sends the GetUsage request. The method will close the http.Response Body if it receives an error.
NameAvailabilityInformation data Lake Store account name availability result information.
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"` }
func (nai NameAvailabilityInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NameAvailabilityInformation.
Operation an available operation for Data Lake Store.
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"` }
func (o Operation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Operation.
OperationDisplay the display information for a particular operation.
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"` }
func (od OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
OperationListResult the list of available operations for Data Lake Store.
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"` }
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
OperationOrigin enumerates the values for operation origin.
type OperationOrigin string
const ( // System ... System OperationOrigin = "system" // User ... User OperationOrigin = "user" // Usersystem ... Usersystem OperationOrigin = "user,system" )
func PossibleOperationOriginValues() []OperationOrigin
PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
OperationsClient is the creates an Azure Data Lake Store account management client.
type OperationsClient struct { BaseClient }
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
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 (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List lists all of the available Data Lake Store REST API operations.
func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
ListPreparer prepares the List request.
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 (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
Resource the resource model definition.
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"` }
func (r Resource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Resource.
SubResource the resource model definition for a nested resource.
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"` }
func (sr SubResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SubResource.
SubscriptionState enumerates the values for subscription state.
type SubscriptionState string
const ( // SubscriptionStateDeleted ... SubscriptionStateDeleted SubscriptionState = "Deleted" // SubscriptionStateRegistered ... SubscriptionStateRegistered SubscriptionState = "Registered" // SubscriptionStateSuspended ... SubscriptionStateSuspended SubscriptionState = "Suspended" // SubscriptionStateUnregistered ... SubscriptionStateUnregistered SubscriptionState = "Unregistered" // SubscriptionStateWarned ... SubscriptionStateWarned SubscriptionState = "Warned" )
func PossibleSubscriptionStateValues() []SubscriptionState
PossibleSubscriptionStateValues returns an array of possible values for the SubscriptionState const type.
TierType enumerates the values for tier type.
type TierType string
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() []TierType
PossibleTierTypeValues returns an array of possible values for the TierType const type.
TrustedIDProvider data Lake Store trusted identity provider information.
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"` }
func (tip TrustedIDProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrustedIDProvider.
func (tip *TrustedIDProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for TrustedIDProvider struct.
TrustedIDProviderListResult data Lake Store trusted identity provider list information.
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"` }
func (tiplr TrustedIDProviderListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (tiplr TrustedIDProviderListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrustedIDProviderListResult.
TrustedIDProviderListResultIterator provides access to a complete listing of TrustedIDProvider values.
type TrustedIDProviderListResultIterator struct {
// contains filtered or unexported fields
}
func NewTrustedIDProviderListResultIterator(page TrustedIDProviderListResultPage) TrustedIDProviderListResultIterator
Creates a new instance of the TrustedIDProviderListResultIterator type.
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 (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 (iter TrustedIDProviderListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter TrustedIDProviderListResultIterator) Response() TrustedIDProviderListResult
Response returns the raw server response from the last page request.
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.
TrustedIDProviderListResultPage contains a page of TrustedIDProvider values.
type TrustedIDProviderListResultPage struct {
// contains filtered or unexported fields
}
func NewTrustedIDProviderListResultPage(cur TrustedIDProviderListResult, getNextPage func(context.Context, TrustedIDProviderListResult) (TrustedIDProviderListResult, error)) TrustedIDProviderListResultPage
Creates a new instance of the TrustedIDProviderListResultPage type.
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 (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 (page TrustedIDProviderListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page TrustedIDProviderListResultPage) Response() TrustedIDProviderListResult
Response returns the raw server response from the last page request.
func (page TrustedIDProviderListResultPage) Values() []TrustedIDProvider
Values returns the slice of values for the current page or nil if there are no values.
TrustedIDProviderProperties the trusted identity provider properties.
type TrustedIDProviderProperties struct { // IDProvider - READ-ONLY; The URL of this trusted identity provider. IDProvider *string `json:"idProvider,omitempty"` }
func (tipp TrustedIDProviderProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrustedIDProviderProperties.
TrustedIDProviderState enumerates the values for trusted id provider state.
type TrustedIDProviderState string
const ( // TrustedIDProviderStateDisabled ... TrustedIDProviderStateDisabled TrustedIDProviderState = "Disabled" // TrustedIDProviderStateEnabled ... TrustedIDProviderStateEnabled TrustedIDProviderState = "Enabled" )
func PossibleTrustedIDProviderStateValues() []TrustedIDProviderState
PossibleTrustedIDProviderStateValues returns an array of possible values for the TrustedIDProviderState const type.
TrustedIDProvidersClient is the creates an Azure Data Lake Store account management client.
type TrustedIDProvidersClient struct { BaseClient }
func NewTrustedIDProvidersClient(subscriptionID string) TrustedIDProvidersClient
NewTrustedIDProvidersClient creates an instance of the TrustedIDProvidersClient client.
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 (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 (client TrustedIDProvidersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, parameters CreateOrUpdateTrustedIDProviderParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
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 (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 (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 (client TrustedIDProvidersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (client TrustedIDProvidersClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (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 (client TrustedIDProvidersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (client TrustedIDProvidersClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (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 (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 (client TrustedIDProvidersClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
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 (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 (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 (client TrustedIDProvidersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, trustedIDProviderName string, parameters *UpdateTrustedIDProviderParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (client TrustedIDProvidersClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
UpdateDataLakeStoreAccountParameters data Lake Store account information to update.
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"` }
func (udlsap UpdateDataLakeStoreAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateDataLakeStoreAccountParameters.
func (udlsap *UpdateDataLakeStoreAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateDataLakeStoreAccountParameters struct.
UpdateDataLakeStoreAccountProperties data Lake Store account properties information to be updated.
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"` }
UpdateEncryptionConfig the encryption configuration used to update a user managed Key Vault key.
type UpdateEncryptionConfig struct { // KeyVaultMetaInfo - The updated Key Vault key to use in user managed key rotation. KeyVaultMetaInfo *UpdateKeyVaultMetaInfo `json:"keyVaultMetaInfo,omitempty"` }
UpdateFirewallRuleParameters the parameters used to update a firewall rule.
type UpdateFirewallRuleParameters struct { // UpdateFirewallRuleProperties - The firewall rule properties to use when updating a firewall rule. *UpdateFirewallRuleProperties `json:"properties,omitempty"` }
func (ufrp UpdateFirewallRuleParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateFirewallRuleParameters.
func (ufrp *UpdateFirewallRuleParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleParameters struct.
UpdateFirewallRuleProperties the firewall rule properties to use when updating a firewall rule.
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"` }
UpdateFirewallRuleWithAccountParameters the parameters used to update a firewall rule while updating a Data Lake Store account.
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"` }
func (ufrwap UpdateFirewallRuleWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateFirewallRuleWithAccountParameters.
func (ufrwap *UpdateFirewallRuleWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateFirewallRuleWithAccountParameters struct.
UpdateKeyVaultMetaInfo the Key Vault update information used for user managed key rotation.
type UpdateKeyVaultMetaInfo struct { // EncryptionKeyVersion - The version of the user managed encryption key to update through a key rotation. EncryptionKeyVersion *string `json:"encryptionKeyVersion,omitempty"` }
UpdateTrustedIDProviderParameters the parameters used to update a trusted identity provider.
type UpdateTrustedIDProviderParameters struct { // UpdateTrustedIDProviderProperties - The trusted identity provider properties to use when updating a trusted identity provider. *UpdateTrustedIDProviderProperties `json:"properties,omitempty"` }
func (utipp UpdateTrustedIDProviderParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateTrustedIDProviderParameters.
func (utipp *UpdateTrustedIDProviderParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateTrustedIDProviderParameters struct.
UpdateTrustedIDProviderProperties the trusted identity provider properties to use when updating a trusted identity provider.
type UpdateTrustedIDProviderProperties struct { // IDProvider - The URL of this trusted identity provider. IDProvider *string `json:"idProvider,omitempty"` }
UpdateTrustedIDProviderWithAccountParameters the parameters used to update a trusted identity provider while updating a Data Lake Store account.
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"` }
func (utipwap UpdateTrustedIDProviderWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateTrustedIDProviderWithAccountParameters.
func (utipwap *UpdateTrustedIDProviderWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateTrustedIDProviderWithAccountParameters struct.
UpdateVirtualNetworkRuleParameters the parameters used to update a virtual network rule.
type UpdateVirtualNetworkRuleParameters struct { // UpdateVirtualNetworkRuleProperties - The virtual network rule properties to use when updating a virtual network rule. *UpdateVirtualNetworkRuleProperties `json:"properties,omitempty"` }
func (uvnrp UpdateVirtualNetworkRuleParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateVirtualNetworkRuleParameters.
func (uvnrp *UpdateVirtualNetworkRuleParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateVirtualNetworkRuleParameters struct.
UpdateVirtualNetworkRuleProperties the virtual network rule properties to use when updating a virtual network rule.
type UpdateVirtualNetworkRuleProperties struct { // SubnetID - The resource identifier for the subnet. SubnetID *string `json:"subnetId,omitempty"` }
UpdateVirtualNetworkRuleWithAccountParameters the parameters used to update a virtual network rule while updating a Data Lake Store account.
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"` }
func (uvnrwap UpdateVirtualNetworkRuleWithAccountParameters) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateVirtualNetworkRuleWithAccountParameters.
func (uvnrwap *UpdateVirtualNetworkRuleWithAccountParameters) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for UpdateVirtualNetworkRuleWithAccountParameters struct.
Usage describes the Resource 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"` }
func (u Usage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Usage.
UsageListResult the response from the List Usages operation.
type UsageListResult struct { autorest.Response `json:"-"` // Value - Gets or sets the list of Storage Resource Usages. Value *[]Usage `json:"value,omitempty"` }
UsageName the usage names that can be used.
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"` }
func (un UsageName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UsageName.
UsageUnit enumerates the values for usage unit.
type UsageUnit string
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() []UsageUnit
PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
VirtualNetworkRule data Lake Store virtual network rule information.
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"` }
func (vnr VirtualNetworkRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRule.
func (vnr *VirtualNetworkRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualNetworkRule struct.
VirtualNetworkRuleListResult data Lake Store virtual network rule list information.
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"` }
func (vnrlr VirtualNetworkRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
func (vnrlr VirtualNetworkRuleListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRuleListResult.
VirtualNetworkRuleListResultIterator provides access to a complete listing of VirtualNetworkRule values.
type VirtualNetworkRuleListResultIterator struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkRuleListResultIterator(page VirtualNetworkRuleListResultPage) VirtualNetworkRuleListResultIterator
Creates a new instance of the VirtualNetworkRuleListResultIterator type.
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 (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 (iter VirtualNetworkRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter VirtualNetworkRuleListResultIterator) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
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.
VirtualNetworkRuleListResultPage contains a page of VirtualNetworkRule values.
type VirtualNetworkRuleListResultPage struct {
// contains filtered or unexported fields
}
func NewVirtualNetworkRuleListResultPage(cur VirtualNetworkRuleListResult, getNextPage func(context.Context, VirtualNetworkRuleListResult) (VirtualNetworkRuleListResult, error)) VirtualNetworkRuleListResultPage
Creates a new instance of the VirtualNetworkRuleListResultPage type.
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 (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 (page VirtualNetworkRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page VirtualNetworkRuleListResultPage) Response() VirtualNetworkRuleListResult
Response returns the raw server response from the last page request.
func (page VirtualNetworkRuleListResultPage) Values() []VirtualNetworkRule
Values returns the slice of values for the current page or nil if there are no values.
VirtualNetworkRuleProperties the virtual network rule properties.
type VirtualNetworkRuleProperties struct { // SubnetID - READ-ONLY; The resource identifier for the subnet. SubnetID *string `json:"subnetId,omitempty"` }
func (vnrp VirtualNetworkRuleProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualNetworkRuleProperties.
VirtualNetworkRulesClient is the creates an Azure Data Lake Store account management client.
type VirtualNetworkRulesClient struct { BaseClient }
func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient
NewVirtualNetworkRulesClient creates an instance of the VirtualNetworkRulesClient client.
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 (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 (client VirtualNetworkRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters CreateOrUpdateVirtualNetworkRuleParameters) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
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 (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 (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 (client VirtualNetworkRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
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 (client VirtualNetworkRulesClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (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 (client VirtualNetworkRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
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 (client VirtualNetworkRulesClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (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 (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 (client VirtualNetworkRulesClient) ListByAccountPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)
ListByAccountPreparer prepares the ListByAccount request.
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 (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 (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 (client VirtualNetworkRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, virtualNetworkRuleName string, parameters *UpdateVirtualNetworkRuleParameters) (*http.Request, error)
UpdatePreparer prepares the Update request.
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 (client VirtualNetworkRulesClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
Name | Synopsis |
---|---|
.. | |
accountapi | Deprecated: Please note, this package has been deprecated. |