accounts

package
v0.20240617.1095803 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MPL-2.0 Imports: 16 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datalakestore/2016-11-01/accounts Documentation

The accounts SDK allows for interaction with the Azure Resource Manager Service datalakestore (API Version 2016-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/datalakestore/2016-11-01/accounts"

Client Initialization

client := accounts.NewAccountsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AccountsClient.CheckNameAvailability

ctx := context.TODO()
id := accounts.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

payload := accounts.CheckNameAvailabilityParameters{
	// ...
}


read, err := client.CheckNameAvailability(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AccountsClient.Create

ctx := context.TODO()
id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := accounts.CreateDataLakeStoreAccountParameters{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AccountsClient.Delete

ctx := context.TODO()
id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: AccountsClient.EnableKeyVault

ctx := context.TODO()
id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

read, err := client.EnableKeyVault(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AccountsClient.Get

ctx := context.TODO()
id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AccountsClient.List

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id, accounts.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, accounts.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AccountsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id, accounts.DefaultListByResourceGroupOperationOptions())` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id, accounts.DefaultListByResourceGroupOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AccountsClient.Update

ctx := context.TODO()
id := accounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := accounts.UpdateDataLakeStoreAccountParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCheckNameAvailabilityParametersType added in v0.20240320.1143605

func PossibleValuesForCheckNameAvailabilityParametersType() []string

func PossibleValuesForDataLakeStoreAccountState

func PossibleValuesForDataLakeStoreAccountState() []string

func PossibleValuesForDataLakeStoreAccountStatus

func PossibleValuesForDataLakeStoreAccountStatus() []string

func PossibleValuesForEncryptionConfigType

func PossibleValuesForEncryptionConfigType() []string

func PossibleValuesForEncryptionProvisioningState

func PossibleValuesForEncryptionProvisioningState() []string

func PossibleValuesForEncryptionState

func PossibleValuesForEncryptionState() []string

func PossibleValuesForFirewallAllowAzureIPsState

func PossibleValuesForFirewallAllowAzureIPsState() []string

func PossibleValuesForFirewallState

func PossibleValuesForFirewallState() []string

func PossibleValuesForTierType

func PossibleValuesForTierType() []string

func PossibleValuesForTrustedIdProviderState

func PossibleValuesForTrustedIdProviderState() []string

func ValidateAccountID

func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateAccountID checks that 'input' can be parsed as a Account ID

func ValidateLocationID

func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)

ValidateLocationID checks that 'input' can be parsed as a Location ID

Types

type AccountId

type AccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

AccountId is a struct representing the Resource ID for a Account

func NewAccountID

func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId

NewAccountID returns a new AccountId struct

func ParseAccountID

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

ParseAccountID parses 'input' into a AccountId

func ParseAccountIDInsensitively

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

ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input

func (*AccountId) FromParseResult

func (id *AccountId) FromParseResult(input resourceids.ParseResult) error

func (AccountId) ID

func (id AccountId) ID() string

ID returns the formatted Account ID

func (AccountId) Segments

func (id AccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Account ID

func (AccountId) String

func (id AccountId) String() string

String returns a human-readable description of this Account ID

type AccountsClient

type AccountsClient struct {
	Client *resourcemanager.Client
}

func NewAccountsClientWithBaseURI

func NewAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*AccountsClient, error)

func (AccountsClient) CheckNameAvailability

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 DeleteOperationResponse, 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 EnableKeyVaultOperationResponse, err error)

EnableKeyVault ...

func (AccountsClient) Get

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

Get ...

func (AccountsClient) List

List ...

func (AccountsClient) ListByResourceGroup

ListByResourceGroup ...

func (AccountsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (AccountsClient) ListByResourceGroupCompleteMatchingPredicate

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AccountsClient) ListComplete

ListComplete retrieves all the results into a single object

func (AccountsClient) ListCompleteMatchingPredicate

func (c AccountsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate DataLakeStoreAccountBasicOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AccountsClient) Update

Update ...

func (AccountsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type CheckNameAvailabilityOperationResponse

type CheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *NameAvailabilityInformation
}

type CheckNameAvailabilityParameters

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

type CheckNameAvailabilityParametersType added in v0.20240320.1143605

type CheckNameAvailabilityParametersType string
const (
	CheckNameAvailabilityParametersTypeMicrosoftPointDataLakeStoreAccounts CheckNameAvailabilityParametersType = "Microsoft.DataLakeStore/accounts"
)

func (*CheckNameAvailabilityParametersType) UnmarshalJSON added in v0.20240320.1143605

func (s *CheckNameAvailabilityParametersType) UnmarshalJSON(bytes []byte) error

type CreateDataLakeStoreAccountParameters

type CreateDataLakeStoreAccountParameters struct {
	Identity   *identity.SystemAssigned              `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 CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataLakeStoreAccount
}

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 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.SystemAssigned        `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 DataLakeStoreAccountBasicOperationPredicate

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

func (DataLakeStoreAccountBasicOperationPredicate) 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"`
}

func (*DataLakeStoreAccountProperties) GetCreationTimeAsTime

func (o *DataLakeStoreAccountProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*DataLakeStoreAccountProperties) GetLastModifiedTimeAsTime

func (o *DataLakeStoreAccountProperties) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*DataLakeStoreAccountProperties) SetCreationTimeAsTime

func (o *DataLakeStoreAccountProperties) SetCreationTimeAsTime(input time.Time)

func (*DataLakeStoreAccountProperties) SetLastModifiedTimeAsTime

func (o *DataLakeStoreAccountProperties) SetLastModifiedTimeAsTime(input time.Time)

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

func (*DataLakeStoreAccountPropertiesBasic) GetCreationTimeAsTime

func (o *DataLakeStoreAccountPropertiesBasic) GetCreationTimeAsTime() (*time.Time, error)

func (*DataLakeStoreAccountPropertiesBasic) GetLastModifiedTimeAsTime

func (o *DataLakeStoreAccountPropertiesBasic) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*DataLakeStoreAccountPropertiesBasic) SetCreationTimeAsTime

func (o *DataLakeStoreAccountPropertiesBasic) SetCreationTimeAsTime(input time.Time)

func (*DataLakeStoreAccountPropertiesBasic) SetLastModifiedTimeAsTime

func (o *DataLakeStoreAccountPropertiesBasic) SetLastModifiedTimeAsTime(input time.Time)

type DataLakeStoreAccountState

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

func (*DataLakeStoreAccountState) UnmarshalJSON

func (s *DataLakeStoreAccountState) UnmarshalJSON(bytes []byte) error

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

func (*DataLakeStoreAccountStatus) UnmarshalJSON

func (s *DataLakeStoreAccountStatus) UnmarshalJSON(bytes []byte) error

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type EnableKeyVaultOperationResponse

type EnableKeyVaultOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

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

func (*EncryptionConfigType) UnmarshalJSON

func (s *EncryptionConfigType) UnmarshalJSON(bytes []byte) error

type EncryptionProvisioningState

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

func (*EncryptionProvisioningState) UnmarshalJSON

func (s *EncryptionProvisioningState) UnmarshalJSON(bytes []byte) error

type EncryptionState

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

func (*EncryptionState) UnmarshalJSON

func (s *EncryptionState) UnmarshalJSON(bytes []byte) error

type FirewallAllowAzureIPsState

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

func (*FirewallAllowAzureIPsState) UnmarshalJSON

func (s *FirewallAllowAzureIPsState) UnmarshalJSON(bytes []byte) error

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

func (*FirewallState) UnmarshalJSON

func (s *FirewallState) UnmarshalJSON(bytes []byte) error

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataLakeStoreAccount
}

type KeyVaultMetaInfo

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

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataLakeStoreAccountBasic
}

type ListByResourceGroupOperationOptions

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

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders

func (ListByResourceGroupOperationOptions) ToOData

func (ListByResourceGroupOperationOptions) ToQuery

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataLakeStoreAccountBasic
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataLakeStoreAccountBasic
}

type ListOperationOptions

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

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataLakeStoreAccountBasic
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

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

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

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

ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input

func (*LocationId) FromParseResult

func (id *LocationId) FromParseResult(input resourceids.ParseResult) error

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

func (id LocationId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type NameAvailabilityInformation

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

type TierType

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

func (*TierType) UnmarshalJSON

func (s *TierType) UnmarshalJSON(bytes []byte) error

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

func (*TrustedIdProviderState) UnmarshalJSON

func (s *TrustedIdProviderState) UnmarshalJSON(bytes []byte) error

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 UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataLakeStoreAccount
}

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