accounts

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountId

type AccountId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewAccountID

func NewAccountID(subscriptionId, resourceGroup, name string) AccountId

func ParseAccountID

func ParseAccountID(input string) (*AccountId, error)

ParseAccountID parses a Account ID into an AccountId struct

func ParseAccountIDInsensitively

func ParseAccountIDInsensitively(input string) (*AccountId, error)

ParseAccountIDInsensitively parses an Account ID into an AccountId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseAccountID method should be used instead for validation etc.

func (AccountId) ID

func (id AccountId) ID() string

func (AccountId) String

func (id AccountId) String() string

type AccountsClient

type AccountsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(endpoint string) AccountsClient

func (AccountsClient) CheckNameAvailability

func (c AccountsClient) CheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityParameters) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailability ...

func (AccountsClient) Create

Create ...

func (AccountsClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (AccountsClient) Delete

func (c AccountsClient) Delete(ctx context.Context, id AccountId) (result DeleteResponse, err error)

Delete ...

func (AccountsClient) DeleteThenPoll

func (c AccountsClient) DeleteThenPoll(ctx context.Context, id AccountId) error

DeleteThenPoll performs Delete then polls until it's completed

func (AccountsClient) EnableKeyVault

func (c AccountsClient) EnableKeyVault(ctx context.Context, id AccountId) (result EnableKeyVaultResponse, err error)

EnableKeyVault ...

func (AccountsClient) Get

func (c AccountsClient) Get(ctx context.Context, id AccountId) (result GetResponse, err error)

Get ...

func (AccountsClient) List

func (c AccountsClient) List(ctx context.Context, id SubscriptionId, options ListOptions) (resp ListResponse, err error)

List ...

func (AccountsClient) ListByResourceGroup

ListByResourceGroup ...

func (AccountsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (AccountsClient) ListByResourceGroupCompleteMatchingPredicate

func (c AccountsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, options ListByResourceGroupOptions, predicate DataLakeStoreAccountBasicPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (AccountsClient) ListComplete

func (c AccountsClient) ListComplete(ctx context.Context, id SubscriptionId, options ListOptions) (ListCompleteResult, error)

ListComplete retrieves all of the results into a single object

func (AccountsClient) ListCompleteMatchingPredicate

func (c AccountsClient) ListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, options ListOptions, predicate DataLakeStoreAccountBasicPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (AccountsClient) Update

Update ...

func (AccountsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	Name string `json:"name"`
	Type Type   `json:"type"`
}

type CheckNameAvailabilityResponse

type CheckNameAvailabilityResponse struct {
	HttpResponse *http.Response
	Model        *NameAvailabilityInformation
}

type CreateDataLakeStoreAccountParameters

type CreateDataLakeStoreAccountParameters struct {
	Identity   *identity.SystemAssignedIdentity      `json:"identity,omitempty"`
	Location   string                                `json:"location"`
	Properties *CreateDataLakeStoreAccountProperties `json:"properties,omitempty"`
	Tags       *map[string]string                    `json:"tags,omitempty"`
}

type CreateDataLakeStoreAccountProperties

type CreateDataLakeStoreAccountProperties struct {
	DefaultGroup           *string                                          `json:"defaultGroup,omitempty"`
	EncryptionConfig       *EncryptionConfig                                `json:"encryptionConfig,omitempty"`
	EncryptionState        *EncryptionState                                 `json:"encryptionState,omitempty"`
	FirewallAllowAzureIps  *FirewallAllowAzureIpsState                      `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules          *[]CreateFirewallRuleWithAccountParameters       `json:"firewallRules,omitempty"`
	FirewallState          *FirewallState                                   `json:"firewallState,omitempty"`
	NewTier                *TierType                                        `json:"newTier,omitempty"`
	TrustedIdProviderState *TrustedIdProviderState                          `json:"trustedIdProviderState,omitempty"`
	TrustedIdProviders     *[]CreateTrustedIdProviderWithAccountParameters  `json:"trustedIdProviders,omitempty"`
	VirtualNetworkRules    *[]CreateVirtualNetworkRuleWithAccountParameters `json:"virtualNetworkRules,omitempty"`
}

type CreateFirewallRuleWithAccountParameters

type CreateFirewallRuleWithAccountParameters struct {
	Name       string                               `json:"name"`
	Properties CreateOrUpdateFirewallRuleProperties `json:"properties"`
}

type CreateOrUpdateFirewallRuleProperties

type CreateOrUpdateFirewallRuleProperties struct {
	EndIpAddress   string `json:"endIpAddress"`
	StartIpAddress string `json:"startIpAddress"`
}

type CreateOrUpdateTrustedIdProviderProperties

type CreateOrUpdateTrustedIdProviderProperties struct {
	IdProvider string `json:"idProvider"`
}

type CreateOrUpdateVirtualNetworkRuleProperties

type CreateOrUpdateVirtualNetworkRuleProperties struct {
	SubnetId string `json:"subnetId"`
}

type CreateResponse

type CreateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CreateTrustedIdProviderWithAccountParameters

type CreateTrustedIdProviderWithAccountParameters struct {
	Name       string                                    `json:"name"`
	Properties CreateOrUpdateTrustedIdProviderProperties `json:"properties"`
}

type CreateVirtualNetworkRuleWithAccountParameters

type CreateVirtualNetworkRuleWithAccountParameters struct {
	Name       string                                     `json:"name"`
	Properties CreateOrUpdateVirtualNetworkRuleProperties `json:"properties"`
}

type DataLakeStoreAccount

type DataLakeStoreAccount struct {
	Id         *string                          `json:"id,omitempty"`
	Identity   *identity.SystemAssignedIdentity `json:"identity,omitempty"`
	Location   *string                          `json:"location,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *DataLakeStoreAccountProperties  `json:"properties,omitempty"`
	Tags       *map[string]string               `json:"tags,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type DataLakeStoreAccountBasic

type DataLakeStoreAccountBasic struct {
	Id         *string                              `json:"id,omitempty"`
	Location   *string                              `json:"location,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *DataLakeStoreAccountPropertiesBasic `json:"properties,omitempty"`
	Tags       *map[string]string                   `json:"tags,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type DataLakeStoreAccountBasicPredicate

type DataLakeStoreAccountBasicPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (DataLakeStoreAccountBasicPredicate) Matches

type DataLakeStoreAccountProperties

type DataLakeStoreAccountProperties struct {
	AccountId                   *string                      `json:"accountId,omitempty"`
	CreationTime                *string                      `json:"creationTime,omitempty"`
	CurrentTier                 *TierType                    `json:"currentTier,omitempty"`
	DefaultGroup                *string                      `json:"defaultGroup,omitempty"`
	EncryptionConfig            *EncryptionConfig            `json:"encryptionConfig,omitempty"`
	EncryptionProvisioningState *EncryptionProvisioningState `json:"encryptionProvisioningState,omitempty"`
	EncryptionState             *EncryptionState             `json:"encryptionState,omitempty"`
	Endpoint                    *string                      `json:"endpoint,omitempty"`
	FirewallAllowAzureIps       *FirewallAllowAzureIpsState  `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules               *[]FirewallRule              `json:"firewallRules,omitempty"`
	FirewallState               *FirewallState               `json:"firewallState,omitempty"`
	LastModifiedTime            *string                      `json:"lastModifiedTime,omitempty"`
	NewTier                     *TierType                    `json:"newTier,omitempty"`
	ProvisioningState           *DataLakeStoreAccountStatus  `json:"provisioningState,omitempty"`
	State                       *DataLakeStoreAccountState   `json:"state,omitempty"`
	TrustedIdProviderState      *TrustedIdProviderState      `json:"trustedIdProviderState,omitempty"`
	TrustedIdProviders          *[]TrustedIdProvider         `json:"trustedIdProviders,omitempty"`
	VirtualNetworkRules         *[]VirtualNetworkRule        `json:"virtualNetworkRules,omitempty"`
}

type DataLakeStoreAccountPropertiesBasic

type DataLakeStoreAccountPropertiesBasic struct {
	AccountId         *string                     `json:"accountId,omitempty"`
	CreationTime      *string                     `json:"creationTime,omitempty"`
	Endpoint          *string                     `json:"endpoint,omitempty"`
	LastModifiedTime  *string                     `json:"lastModifiedTime,omitempty"`
	ProvisioningState *DataLakeStoreAccountStatus `json:"provisioningState,omitempty"`
	State             *DataLakeStoreAccountState  `json:"state,omitempty"`
}

type DataLakeStoreAccountState

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

type DataLakeStoreAccountStatus

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

type DeleteResponse

type DeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type EnableKeyVaultResponse

type EnableKeyVaultResponse struct {
	HttpResponse *http.Response
}

type EncryptionConfig

type EncryptionConfig struct {
	KeyVaultMetaInfo *KeyVaultMetaInfo    `json:"keyVaultMetaInfo,omitempty"`
	Type             EncryptionConfigType `json:"type"`
}

type EncryptionConfigType

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

type EncryptionProvisioningState

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

type EncryptionState

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

type FirewallAllowAzureIpsState

type FirewallAllowAzureIpsState string
const (
	FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = "Disabled"
	FirewallAllowAzureIpsStateEnabled  FirewallAllowAzureIpsState = "Enabled"
)

type FirewallRule

type FirewallRule struct {
	Id         *string                 `json:"id,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	Properties *FirewallRuleProperties `json:"properties,omitempty"`
	Type       *string                 `json:"type,omitempty"`
}

type FirewallRuleProperties

type FirewallRuleProperties struct {
	EndIpAddress   *string `json:"endIpAddress,omitempty"`
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

type FirewallState

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

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *DataLakeStoreAccount
}

type KeyVaultMetaInfo

type KeyVaultMetaInfo struct {
	EncryptionKeyName    string `json:"encryptionKeyName"`
	EncryptionKeyVersion string `json:"encryptionKeyVersion"`
	KeyVaultResourceId   string `json:"keyVaultResourceId"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []DataLakeStoreAccountBasic
}

type ListByResourceGroupOptions

type ListByResourceGroupOptions struct {
	Count   *bool
	Filter  *string
	Orderby *string
	Select  *string
	Skip    *int64
	Top     *int64
}

func DefaultListByResourceGroupOptions

func DefaultListByResourceGroupOptions() ListByResourceGroupOptions

type ListByResourceGroupResponse

type ListByResourceGroupResponse struct {
	HttpResponse *http.Response
	Model        *[]DataLakeStoreAccountBasic
	// contains filtered or unexported fields
}

func (ListByResourceGroupResponse) HasMore

func (r ListByResourceGroupResponse) HasMore() bool

func (ListByResourceGroupResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []DataLakeStoreAccountBasic
}

type ListOptions

type ListOptions struct {
	Count   *bool
	Filter  *string
	Orderby *string
	Select  *string
	Skip    *int64
	Top     *int64
}

func DefaultListOptions

func DefaultListOptions() ListOptions

type ListResponse

type ListResponse struct {
	HttpResponse *http.Response
	Model        *[]DataLakeStoreAccountBasic
	// contains filtered or unexported fields
}

func (ListResponse) HasMore

func (r ListResponse) HasMore() bool

func (ListResponse) LoadMore

func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, err error)

type LocationId

type LocationId struct {
	SubscriptionId string
	Name           string
}

func NewLocationID

func NewLocationID(subscriptionId, name string) LocationId

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses a Location ID into an LocationId struct

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

ParseLocationIDInsensitively parses an Location ID into an LocationId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseLocationID method should be used instead for validation etc.

func (LocationId) ID

func (id LocationId) ID() string

func (LocationId) String

func (id LocationId) String() string

type NameAvailabilityInformation

type NameAvailabilityInformation struct {
	Message       *string `json:"message,omitempty"`
	NameAvailable *bool   `json:"nameAvailable,omitempty"`
	Reason        *string `json:"reason,omitempty"`
}

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId string
	ResourceGroup  string
}

func NewResourceGroupID

func NewResourceGroupID(subscriptionId, resourceGroup string) ResourceGroupId

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses a ResourceGroup ID into an ResourceGroupId struct

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

ParseResourceGroupIDInsensitively parses an ResourceGroup ID into an ResourceGroupId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseResourceGroupID method should be used instead for validation etc.

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses a Subscription ID into an SubscriptionId struct

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

ParseSubscriptionIDInsensitively parses an Subscription ID into an SubscriptionId struct, insensitively This should only be used to parse an ID for rewriting to a consistent casing, the ParseSubscriptionID method should be used instead for validation etc.

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

func (SubscriptionId) String

func (id SubscriptionId) String() string

type TierType

type TierType string
const (
	TierTypeCommitmentFivePB         TierType = "Commitment_5PB"
	TierTypeCommitmentFiveZeroZeroTB TierType = "Commitment_500TB"
	TierTypeCommitmentOnePB          TierType = "Commitment_1PB"
	TierTypeCommitmentOneTB          TierType = "Commitment_1TB"
	TierTypeCommitmentOneZeroTB      TierType = "Commitment_10TB"
	TierTypeCommitmentOneZeroZeroTB  TierType = "Commitment_100TB"
	TierTypeConsumption              TierType = "Consumption"
)

type TrustedIdProvider

type TrustedIdProvider struct {
	Id         *string                      `json:"id,omitempty"`
	Name       *string                      `json:"name,omitempty"`
	Properties *TrustedIdProviderProperties `json:"properties,omitempty"`
	Type       *string                      `json:"type,omitempty"`
}

type TrustedIdProviderProperties

type TrustedIdProviderProperties struct {
	IdProvider *string `json:"idProvider,omitempty"`
}

type TrustedIdProviderState

type TrustedIdProviderState string
const (
	TrustedIdProviderStateDisabled TrustedIdProviderState = "Disabled"
	TrustedIdProviderStateEnabled  TrustedIdProviderState = "Enabled"
)

type Type

type Type string
const (
	TypeMicrosoftPointDataLakeStoreAccounts Type = "Microsoft.DataLakeStore/accounts"
)

type UpdateDataLakeStoreAccountParameters

type UpdateDataLakeStoreAccountParameters struct {
	Properties *UpdateDataLakeStoreAccountProperties `json:"properties,omitempty"`
	Tags       *map[string]string                    `json:"tags,omitempty"`
}

type UpdateDataLakeStoreAccountProperties

type UpdateDataLakeStoreAccountProperties struct {
	DefaultGroup           *string                                          `json:"defaultGroup,omitempty"`
	EncryptionConfig       *UpdateEncryptionConfig                          `json:"encryptionConfig,omitempty"`
	FirewallAllowAzureIps  *FirewallAllowAzureIpsState                      `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules          *[]UpdateFirewallRuleWithAccountParameters       `json:"firewallRules,omitempty"`
	FirewallState          *FirewallState                                   `json:"firewallState,omitempty"`
	NewTier                *TierType                                        `json:"newTier,omitempty"`
	TrustedIdProviderState *TrustedIdProviderState                          `json:"trustedIdProviderState,omitempty"`
	TrustedIdProviders     *[]UpdateTrustedIdProviderWithAccountParameters  `json:"trustedIdProviders,omitempty"`
	VirtualNetworkRules    *[]UpdateVirtualNetworkRuleWithAccountParameters `json:"virtualNetworkRules,omitempty"`
}

type UpdateEncryptionConfig

type UpdateEncryptionConfig struct {
	KeyVaultMetaInfo *UpdateKeyVaultMetaInfo `json:"keyVaultMetaInfo,omitempty"`
}

type UpdateFirewallRuleProperties

type UpdateFirewallRuleProperties struct {
	EndIpAddress   *string `json:"endIpAddress,omitempty"`
	StartIpAddress *string `json:"startIpAddress,omitempty"`
}

type UpdateFirewallRuleWithAccountParameters

type UpdateFirewallRuleWithAccountParameters struct {
	Name       string                        `json:"name"`
	Properties *UpdateFirewallRuleProperties `json:"properties,omitempty"`
}

type UpdateKeyVaultMetaInfo

type UpdateKeyVaultMetaInfo struct {
	EncryptionKeyVersion *string `json:"encryptionKeyVersion,omitempty"`
}

type UpdateResponse

type UpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UpdateTrustedIdProviderProperties

type UpdateTrustedIdProviderProperties struct {
	IdProvider *string `json:"idProvider,omitempty"`
}

type UpdateTrustedIdProviderWithAccountParameters

type UpdateTrustedIdProviderWithAccountParameters struct {
	Name       string                             `json:"name"`
	Properties *UpdateTrustedIdProviderProperties `json:"properties,omitempty"`
}

type UpdateVirtualNetworkRuleProperties

type UpdateVirtualNetworkRuleProperties struct {
	SubnetId *string `json:"subnetId,omitempty"`
}

type UpdateVirtualNetworkRuleWithAccountParameters

type UpdateVirtualNetworkRuleWithAccountParameters struct {
	Name       string                              `json:"name"`
	Properties *UpdateVirtualNetworkRuleProperties `json:"properties,omitempty"`
}

type VirtualNetworkRule

type VirtualNetworkRule struct {
	Id         *string                       `json:"id,omitempty"`
	Name       *string                       `json:"name,omitempty"`
	Properties *VirtualNetworkRuleProperties `json:"properties,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type VirtualNetworkRuleProperties

type VirtualNetworkRuleProperties struct {
	SubnetId *string `json:"subnetId,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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