accounts

package
v0.20240214.1100807 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

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

The accounts SDK allows for interaction with the Azure Resource Manager Service datalakeanalytics (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/datalakeanalytics/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.CreateDataLakeAnalyticsAccountParameters{
	// ...
}


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.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.UpdateDataLakeAnalyticsAccountParameters{
	// ...
}


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 PossibleValuesForAADObjectType

func PossibleValuesForAADObjectType() []string

func PossibleValuesForDataLakeAnalyticsAccountState

func PossibleValuesForDataLakeAnalyticsAccountState() []string

func PossibleValuesForDataLakeAnalyticsAccountStatus

func PossibleValuesForDataLakeAnalyticsAccountStatus() []string

func PossibleValuesForDebugDataAccessLevel

func PossibleValuesForDebugDataAccessLevel() []string

func PossibleValuesForFirewallAllowAzureIPsState

func PossibleValuesForFirewallAllowAzureIPsState() []string

func PossibleValuesForFirewallState

func PossibleValuesForFirewallState() []string

func PossibleValuesForNestedResourceProvisioningState

func PossibleValuesForNestedResourceProvisioningState() []string

func PossibleValuesForTierType

func PossibleValuesForTierType() []string

func PossibleValuesForType

func PossibleValuesForType() []string

func PossibleValuesForVirtualNetworkRuleState

func PossibleValuesForVirtualNetworkRuleState() []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 AADObjectType

type AADObjectType string
const (
	AADObjectTypeGroup            AADObjectType = "Group"
	AADObjectTypeServicePrincipal AADObjectType = "ServicePrincipal"
	AADObjectTypeUser             AADObjectType = "User"
)

func (*AADObjectType) UnmarshalJSON

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

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

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 AddDataLakeStoreProperties

type AddDataLakeStoreProperties struct {
	Suffix *string `json:"suffix,omitempty"`
}

type AddDataLakeStoreWithAccountParameters

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

type AddStorageAccountProperties

type AddStorageAccountProperties struct {
	AccessKey string  `json:"accessKey"`
	Suffix    *string `json:"suffix,omitempty"`
}

type AddStorageAccountWithAccountParameters

type AddStorageAccountWithAccountParameters struct {
	Name       string                      `json:"name"`
	Properties AddStorageAccountProperties `json:"properties"`
}

type CheckNameAvailabilityOperationResponse

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

type CheckNameAvailabilityParameters

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

type ComputePolicy

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

type ComputePolicyProperties

type ComputePolicyProperties struct {
	MaxDegreeOfParallelismPerJob *int64         `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int64         `json:"minPriorityPerJob,omitempty"`
	ObjectId                     *string        `json:"objectId,omitempty"`
	ObjectType                   *AADObjectType `json:"objectType,omitempty"`
}

type CreateComputePolicyWithAccountParameters

type CreateComputePolicyWithAccountParameters struct {
	Name       string                                `json:"name"`
	Properties CreateOrUpdateComputePolicyProperties `json:"properties"`
}

type CreateDataLakeAnalyticsAccountParameters

type CreateDataLakeAnalyticsAccountParameters struct {
	Location   string                                   `json:"location"`
	Properties CreateDataLakeAnalyticsAccountProperties `json:"properties"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
}

type CreateDataLakeAnalyticsAccountProperties

type CreateDataLakeAnalyticsAccountProperties struct {
	ComputePolicies              *[]CreateComputePolicyWithAccountParameters `json:"computePolicies,omitempty"`
	DataLakeStoreAccounts        []AddDataLakeStoreWithAccountParameters     `json:"dataLakeStoreAccounts"`
	DefaultDataLakeStoreAccount  string                                      `json:"defaultDataLakeStoreAccount"`
	FirewallAllowAzureIPs        *FirewallAllowAzureIPsState                 `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules                *[]CreateFirewallRuleWithAccountParameters  `json:"firewallRules,omitempty"`
	FirewallState                *FirewallState                              `json:"firewallState,omitempty"`
	MaxDegreeOfParallelism       *int64                                      `json:"maxDegreeOfParallelism,omitempty"`
	MaxDegreeOfParallelismPerJob *int64                                      `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MaxJobCount                  *int64                                      `json:"maxJobCount,omitempty"`
	MinPriorityPerJob            *int64                                      `json:"minPriorityPerJob,omitempty"`
	NewTier                      *TierType                                   `json:"newTier,omitempty"`
	QueryStoreRetention          *int64                                      `json:"queryStoreRetention,omitempty"`
	StorageAccounts              *[]AddStorageAccountWithAccountParameters   `json:"storageAccounts,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        *DataLakeAnalyticsAccount
}

type CreateOrUpdateComputePolicyProperties

type CreateOrUpdateComputePolicyProperties struct {
	MaxDegreeOfParallelismPerJob *int64        `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int64        `json:"minPriorityPerJob,omitempty"`
	ObjectId                     string        `json:"objectId"`
	ObjectType                   AADObjectType `json:"objectType"`
}

type CreateOrUpdateFirewallRuleProperties

type CreateOrUpdateFirewallRuleProperties struct {
	EndIPAddress   string `json:"endIpAddress"`
	StartIPAddress string `json:"startIpAddress"`
}

type DataLakeAnalyticsAccount

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

type DataLakeAnalyticsAccountBasic

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

type DataLakeAnalyticsAccountBasicOperationPredicate

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

func (DataLakeAnalyticsAccountBasicOperationPredicate) Matches

type DataLakeAnalyticsAccountProperties

type DataLakeAnalyticsAccountProperties struct {
	AccountId                    *string                            `json:"accountId,omitempty"`
	ComputePolicies              *[]ComputePolicy                   `json:"computePolicies,omitempty"`
	CreationTime                 *string                            `json:"creationTime,omitempty"`
	CurrentTier                  *TierType                          `json:"currentTier,omitempty"`
	DataLakeStoreAccounts        *[]DataLakeStoreAccountInformation `json:"dataLakeStoreAccounts,omitempty"`
	DebugDataAccessLevel         *DebugDataAccessLevel              `json:"debugDataAccessLevel,omitempty"`
	DefaultDataLakeStoreAccount  *string                            `json:"defaultDataLakeStoreAccount,omitempty"`
	Endpoint                     *string                            `json:"endpoint,omitempty"`
	FirewallAllowAzureIPs        *FirewallAllowAzureIPsState        `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules                *[]FirewallRule                    `json:"firewallRules,omitempty"`
	FirewallState                *FirewallState                     `json:"firewallState,omitempty"`
	HiveMetastores               *[]HiveMetastore                   `json:"hiveMetastores,omitempty"`
	LastModifiedTime             *string                            `json:"lastModifiedTime,omitempty"`
	MaxActiveJobCountPerUser     *int64                             `json:"maxActiveJobCountPerUser,omitempty"`
	MaxDegreeOfParallelism       *int64                             `json:"maxDegreeOfParallelism,omitempty"`
	MaxDegreeOfParallelismPerJob *int64                             `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MaxJobCount                  *int64                             `json:"maxJobCount,omitempty"`
	MaxJobRunningTimeInMin       *int64                             `json:"maxJobRunningTimeInMin,omitempty"`
	MaxQueuedJobCountPerUser     *int64                             `json:"maxQueuedJobCountPerUser,omitempty"`
	MinPriorityPerJob            *int64                             `json:"minPriorityPerJob,omitempty"`
	NewTier                      *TierType                          `json:"newTier,omitempty"`
	ProvisioningState            *DataLakeAnalyticsAccountStatus    `json:"provisioningState,omitempty"`
	PublicDataLakeStoreAccounts  *[]DataLakeStoreAccountInformation `json:"publicDataLakeStoreAccounts,omitempty"`
	QueryStoreRetention          *int64                             `json:"queryStoreRetention,omitempty"`
	State                        *DataLakeAnalyticsAccountState     `json:"state,omitempty"`
	StorageAccounts              *[]StorageAccountInformation       `json:"storageAccounts,omitempty"`
	SystemMaxDegreeOfParallelism *int64                             `json:"systemMaxDegreeOfParallelism,omitempty"`
	SystemMaxJobCount            *int64                             `json:"systemMaxJobCount,omitempty"`
	VirtualNetworkRules          *[]VirtualNetworkRule              `json:"virtualNetworkRules,omitempty"`
}

func (*DataLakeAnalyticsAccountProperties) GetCreationTimeAsTime

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

func (*DataLakeAnalyticsAccountProperties) GetLastModifiedTimeAsTime

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

func (*DataLakeAnalyticsAccountProperties) SetCreationTimeAsTime

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

func (*DataLakeAnalyticsAccountProperties) SetLastModifiedTimeAsTime

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

type DataLakeAnalyticsAccountPropertiesBasic

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

func (*DataLakeAnalyticsAccountPropertiesBasic) GetCreationTimeAsTime

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

func (*DataLakeAnalyticsAccountPropertiesBasic) GetLastModifiedTimeAsTime

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

func (*DataLakeAnalyticsAccountPropertiesBasic) SetCreationTimeAsTime

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

func (*DataLakeAnalyticsAccountPropertiesBasic) SetLastModifiedTimeAsTime

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

type DataLakeAnalyticsAccountState

type DataLakeAnalyticsAccountState string
const (
	DataLakeAnalyticsAccountStateActive    DataLakeAnalyticsAccountState = "Active"
	DataLakeAnalyticsAccountStateSuspended DataLakeAnalyticsAccountState = "Suspended"
)

func (*DataLakeAnalyticsAccountState) UnmarshalJSON

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

type DataLakeAnalyticsAccountStatus

type DataLakeAnalyticsAccountStatus string
const (
	DataLakeAnalyticsAccountStatusCanceled   DataLakeAnalyticsAccountStatus = "Canceled"
	DataLakeAnalyticsAccountStatusCreating   DataLakeAnalyticsAccountStatus = "Creating"
	DataLakeAnalyticsAccountStatusDeleted    DataLakeAnalyticsAccountStatus = "Deleted"
	DataLakeAnalyticsAccountStatusDeleting   DataLakeAnalyticsAccountStatus = "Deleting"
	DataLakeAnalyticsAccountStatusFailed     DataLakeAnalyticsAccountStatus = "Failed"
	DataLakeAnalyticsAccountStatusPatching   DataLakeAnalyticsAccountStatus = "Patching"
	DataLakeAnalyticsAccountStatusResuming   DataLakeAnalyticsAccountStatus = "Resuming"
	DataLakeAnalyticsAccountStatusRunning    DataLakeAnalyticsAccountStatus = "Running"
	DataLakeAnalyticsAccountStatusSucceeded  DataLakeAnalyticsAccountStatus = "Succeeded"
	DataLakeAnalyticsAccountStatusSuspending DataLakeAnalyticsAccountStatus = "Suspending"
	DataLakeAnalyticsAccountStatusUndeleting DataLakeAnalyticsAccountStatus = "Undeleting"
)

func (*DataLakeAnalyticsAccountStatus) UnmarshalJSON

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

type DataLakeStoreAccountInformation

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

type DataLakeStoreAccountInformationProperties

type DataLakeStoreAccountInformationProperties struct {
	Suffix *string `json:"suffix,omitempty"`
}

type DebugDataAccessLevel

type DebugDataAccessLevel string
const (
	DebugDataAccessLevelAll      DebugDataAccessLevel = "All"
	DebugDataAccessLevelCustomer DebugDataAccessLevel = "Customer"
	DebugDataAccessLevelNone     DebugDataAccessLevel = "None"
)

func (*DebugDataAccessLevel) UnmarshalJSON

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

type DeleteOperationResponse

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

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        *DataLakeAnalyticsAccount
}

type HiveMetastore

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

type HiveMetastoreProperties

type HiveMetastoreProperties struct {
	DatabaseName                    *string                          `json:"databaseName,omitempty"`
	NestedResourceProvisioningState *NestedResourceProvisioningState `json:"nestedResourceProvisioningState,omitempty"`
	Password                        *string                          `json:"password,omitempty"`
	RuntimeVersion                  *string                          `json:"runtimeVersion,omitempty"`
	ServerUri                       *string                          `json:"serverUri,omitempty"`
	UserName                        *string                          `json:"userName,omitempty"`
}

type ListByResourceGroupCompleteResult

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

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        *[]DataLakeAnalyticsAccountBasic
}

type ListCompleteResult

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

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        *[]DataLakeAnalyticsAccountBasic
}

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 NestedResourceProvisioningState

type NestedResourceProvisioningState string
const (
	NestedResourceProvisioningStateCanceled  NestedResourceProvisioningState = "Canceled"
	NestedResourceProvisioningStateFailed    NestedResourceProvisioningState = "Failed"
	NestedResourceProvisioningStateSucceeded NestedResourceProvisioningState = "Succeeded"
)

func (*NestedResourceProvisioningState) UnmarshalJSON

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

type StorageAccountInformation

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

type StorageAccountInformationProperties

type StorageAccountInformationProperties struct {
	Suffix *string `json:"suffix,omitempty"`
}

type TierType

type TierType string
const (
	TierTypeCommitmentFiveHundredAUHours         TierType = "Commitment_500AUHours"
	TierTypeCommitmentFiveHundredThousandAUHours TierType = "Commitment_500000AUHours"
	TierTypeCommitmentFiveThousandAUHours        TierType = "Commitment_5000AUHours"
	TierTypeCommitmentFiveZeroThousandAUHours    TierType = "Commitment_50000AUHours"
	TierTypeCommitmentOneHundredAUHours          TierType = "Commitment_100AUHours"
	TierTypeCommitmentOneHundredThousandAUHours  TierType = "Commitment_100000AUHours"
	TierTypeCommitmentOneThousandAUHours         TierType = "Commitment_1000AUHours"
	TierTypeCommitmentOneZeroThousandAUHours     TierType = "Commitment_10000AUHours"
	TierTypeConsumption                          TierType = "Consumption"
)

func (*TierType) UnmarshalJSON

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

type Type

type Type string
const (
	TypeMicrosoftPointDataLakeAnalyticsAccounts Type = "Microsoft.DataLakeAnalytics/accounts"
)

func (*Type) UnmarshalJSON

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

type UpdateComputePolicyProperties

type UpdateComputePolicyProperties struct {
	MaxDegreeOfParallelismPerJob *int64         `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MinPriorityPerJob            *int64         `json:"minPriorityPerJob,omitempty"`
	ObjectId                     *string        `json:"objectId,omitempty"`
	ObjectType                   *AADObjectType `json:"objectType,omitempty"`
}

type UpdateComputePolicyWithAccountParameters

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

type UpdateDataLakeAnalyticsAccountParameters

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

type UpdateDataLakeAnalyticsAccountProperties

type UpdateDataLakeAnalyticsAccountProperties struct {
	ComputePolicies              *[]UpdateComputePolicyWithAccountParameters  `json:"computePolicies,omitempty"`
	DataLakeStoreAccounts        *[]UpdateDataLakeStoreWithAccountParameters  `json:"dataLakeStoreAccounts,omitempty"`
	FirewallAllowAzureIPs        *FirewallAllowAzureIPsState                  `json:"firewallAllowAzureIps,omitempty"`
	FirewallRules                *[]UpdateFirewallRuleWithAccountParameters   `json:"firewallRules,omitempty"`
	FirewallState                *FirewallState                               `json:"firewallState,omitempty"`
	MaxDegreeOfParallelism       *int64                                       `json:"maxDegreeOfParallelism,omitempty"`
	MaxDegreeOfParallelismPerJob *int64                                       `json:"maxDegreeOfParallelismPerJob,omitempty"`
	MaxJobCount                  *int64                                       `json:"maxJobCount,omitempty"`
	MinPriorityPerJob            *int64                                       `json:"minPriorityPerJob,omitempty"`
	NewTier                      *TierType                                    `json:"newTier,omitempty"`
	QueryStoreRetention          *int64                                       `json:"queryStoreRetention,omitempty"`
	StorageAccounts              *[]UpdateStorageAccountWithAccountParameters `json:"storageAccounts,omitempty"`
}

type UpdateDataLakeStoreProperties

type UpdateDataLakeStoreProperties struct {
	Suffix *string `json:"suffix,omitempty"`
}

type UpdateDataLakeStoreWithAccountParameters

type UpdateDataLakeStoreWithAccountParameters struct {
	Name       string                         `json:"name"`
	Properties *UpdateDataLakeStoreProperties `json:"properties,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 UpdateOperationResponse

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

type UpdateStorageAccountProperties

type UpdateStorageAccountProperties struct {
	AccessKey *string `json:"accessKey,omitempty"`
	Suffix    *string `json:"suffix,omitempty"`
}

type UpdateStorageAccountWithAccountParameters

type UpdateStorageAccountWithAccountParameters struct {
	Name       string                          `json:"name"`
	Properties *UpdateStorageAccountProperties `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"`
	VirtualNetworkRuleState *VirtualNetworkRuleState `json:"virtualNetworkRuleState,omitempty"`
}

type VirtualNetworkRuleState

type VirtualNetworkRuleState string
const (
	VirtualNetworkRuleStateActive               VirtualNetworkRuleState = "Active"
	VirtualNetworkRuleStateFailed               VirtualNetworkRuleState = "Failed"
	VirtualNetworkRuleStateNetworkSourceDeleted VirtualNetworkRuleState = "NetworkSourceDeleted"
)

func (*VirtualNetworkRuleState) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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