clusters

package
v0.20240522.1080424 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/kusto/2023-08-15/clusters Documentation

The clusters SDK allows for interaction with the Azure Resource Manager Service kusto (API Version 2023-08-15).

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/kusto/2023-08-15/clusters"

Client Initialization

client := clusters.NewClustersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ClustersClient.AddLanguageExtensions

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

payload := clusters.LanguageExtensionsList{
	// ...
}


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

Example Usage: ClustersClient.CheckNameAvailability

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

payload := clusters.ClusterCheckNameRequest{
	// ...
}


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: ClustersClient.CreateOrUpdate

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

payload := clusters.Cluster{
	// ...
}


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

Example Usage: ClustersClient.Delete

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

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

Example Usage: ClustersClient.DetachFollowerDatabases

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

payload := clusters.FollowerDatabaseDefinition{
	// ...
}


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

Example Usage: ClustersClient.DiagnoseVirtualNetwork

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

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

Example Usage: ClustersClient.Get

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

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: ClustersClient.List

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

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

Example Usage: ClustersClient.ListByResourceGroup

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

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

Example Usage: ClustersClient.ListFollowerDatabases

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

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

Example Usage: ClustersClient.ListLanguageExtensions

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

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

Example Usage: ClustersClient.ListSkusByResource

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

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

Example Usage: ClustersClient.Migrate

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

payload := clusters.ClusterMigrateRequest{
	// ...
}


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

Example Usage: ClustersClient.RemoveLanguageExtensions

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

payload := clusters.LanguageExtensionsList{
	// ...
}


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

Example Usage: ClustersClient.Start

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

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

Example Usage: ClustersClient.Stop

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

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

Example Usage: ClustersClient.Update

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

payload := clusters.ClusterUpdate{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAzureScaleType

func PossibleValuesForAzureScaleType() []string

func PossibleValuesForAzureSkuName

func PossibleValuesForAzureSkuName() []string

func PossibleValuesForAzureSkuTier

func PossibleValuesForAzureSkuTier() []string

func PossibleValuesForClusterNetworkAccessFlag

func PossibleValuesForClusterNetworkAccessFlag() []string

func PossibleValuesForClusterType

func PossibleValuesForClusterType() []string

func PossibleValuesForDatabaseShareOrigin

func PossibleValuesForDatabaseShareOrigin() []string

func PossibleValuesForEngineType

func PossibleValuesForEngineType() []string

func PossibleValuesForLanguageExtensionImageName

func PossibleValuesForLanguageExtensionImageName() []string

func PossibleValuesForLanguageExtensionName

func PossibleValuesForLanguageExtensionName() []string

func PossibleValuesForMigrationClusterRole

func PossibleValuesForMigrationClusterRole() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicIPType

func PossibleValuesForPublicIPType() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForReason

func PossibleValuesForReason() []string

func PossibleValuesForState

func PossibleValuesForState() []string

func PossibleValuesForVnetState

func PossibleValuesForVnetState() []string

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 AcceptedAudiences

type AcceptedAudiences struct {
	Value *string `json:"value,omitempty"`
}

type AddLanguageExtensionsOperationResponse

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

type AzureCapacity

type AzureCapacity struct {
	Default   int64          `json:"default"`
	Maximum   int64          `json:"maximum"`
	Minimum   int64          `json:"minimum"`
	ScaleType AzureScaleType `json:"scaleType"`
}

type AzureResourceSku

type AzureResourceSku struct {
	Capacity     *AzureCapacity `json:"capacity,omitempty"`
	ResourceType *string        `json:"resourceType,omitempty"`
	Sku          *AzureSku      `json:"sku,omitempty"`
}

type AzureScaleType

type AzureScaleType string
const (
	AzureScaleTypeAutomatic AzureScaleType = "automatic"
	AzureScaleTypeManual    AzureScaleType = "manual"
	AzureScaleTypeNone      AzureScaleType = "none"
)

func (*AzureScaleType) UnmarshalJSON

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

type AzureSku

type AzureSku struct {
	Capacity *int64       `json:"capacity,omitempty"`
	Name     AzureSkuName `json:"name"`
	Tier     AzureSkuTier `json:"tier"`
}

type AzureSkuName

type AzureSkuName string
const (
	AzureSkuNameDevNoSLAStandardDOneOneVTwo              AzureSkuName = "Dev(No SLA)_Standard_D11_v2"
	AzureSkuNameDevNoSLAStandardETwoaVFour               AzureSkuName = "Dev(No SLA)_Standard_E2a_v4"
	AzureSkuNameStandardDOneFourVTwo                     AzureSkuName = "Standard_D14_v2"
	AzureSkuNameStandardDOneOneVTwo                      AzureSkuName = "Standard_D11_v2"
	AzureSkuNameStandardDOneSixdVFive                    AzureSkuName = "Standard_D16d_v5"
	AzureSkuNameStandardDOneThreeVTwo                    AzureSkuName = "Standard_D13_v2"
	AzureSkuNameStandardDOneTwoVTwo                      AzureSkuName = "Standard_D12_v2"
	AzureSkuNameStandardDSOneFourVTwoPositiveFourTBPS    AzureSkuName = "Standard_DS14_v2+4TB_PS"
	AzureSkuNameStandardDSOneFourVTwoPositiveThreeTBPS   AzureSkuName = "Standard_DS14_v2+3TB_PS"
	AzureSkuNameStandardDSOneThreeVTwoPositiveOneTBPS    AzureSkuName = "Standard_DS13_v2+1TB_PS"
	AzureSkuNameStandardDSOneThreeVTwoPositiveTwoTBPS    AzureSkuName = "Standard_DS13_v2+2TB_PS"
	AzureSkuNameStandardDThreeTwodVFive                  AzureSkuName = "Standard_D32d_v5"
	AzureSkuNameStandardDThreeTwodVFour                  AzureSkuName = "Standard_D32d_v4"
	AzureSkuNameStandardECEightadsVFive                  AzureSkuName = "Standard_EC8ads_v5"
	AzureSkuNameStandardECEightasVFivePositiveOneTBPS    AzureSkuName = "Standard_EC8as_v5+1TB_PS"
	AzureSkuNameStandardECEightasVFivePositiveTwoTBPS    AzureSkuName = "Standard_EC8as_v5+2TB_PS"
	AzureSkuNameStandardECOneSixadsVFive                 AzureSkuName = "Standard_EC16ads_v5"
	AzureSkuNameStandardECOneSixasVFivePositiveFourTBPS  AzureSkuName = "Standard_EC16as_v5+4TB_PS"
	AzureSkuNameStandardECOneSixasVFivePositiveThreeTBPS AzureSkuName = "Standard_EC16as_v5+3TB_PS"
	AzureSkuNameStandardEEightZeroidsVFour               AzureSkuName = "Standard_E80ids_v4"
	AzureSkuNameStandardEEightaVFour                     AzureSkuName = "Standard_E8a_v4"
	AzureSkuNameStandardEEightadsVFive                   AzureSkuName = "Standard_E8ads_v5"
	AzureSkuNameStandardEEightasVFivePositiveOneTBPS     AzureSkuName = "Standard_E8as_v5+1TB_PS"
	AzureSkuNameStandardEEightasVFivePositiveTwoTBPS     AzureSkuName = "Standard_E8as_v5+2TB_PS"
	AzureSkuNameStandardEEightasVFourPositiveOneTBPS     AzureSkuName = "Standard_E8as_v4+1TB_PS"
	AzureSkuNameStandardEEightasVFourPositiveTwoTBPS     AzureSkuName = "Standard_E8as_v4+2TB_PS"
	AzureSkuNameStandardEEightdVFive                     AzureSkuName = "Standard_E8d_v5"
	AzureSkuNameStandardEEightdVFour                     AzureSkuName = "Standard_E8d_v4"
	AzureSkuNameStandardEEightsVFivePositiveOneTBPS      AzureSkuName = "Standard_E8s_v5+1TB_PS"
	AzureSkuNameStandardEEightsVFivePositiveTwoTBPS      AzureSkuName = "Standard_E8s_v5+2TB_PS"
	AzureSkuNameStandardEEightsVFourPositiveOneTBPS      AzureSkuName = "Standard_E8s_v4+1TB_PS"
	AzureSkuNameStandardEEightsVFourPositiveTwoTBPS      AzureSkuName = "Standard_E8s_v4+2TB_PS"
	AzureSkuNameStandardEFouraVFour                      AzureSkuName = "Standard_E4a_v4"
	AzureSkuNameStandardEFouradsVFive                    AzureSkuName = "Standard_E4ads_v5"
	AzureSkuNameStandardEFourdVFive                      AzureSkuName = "Standard_E4d_v5"
	AzureSkuNameStandardEFourdVFour                      AzureSkuName = "Standard_E4d_v4"
	AzureSkuNameStandardEOneSixaVFour                    AzureSkuName = "Standard_E16a_v4"
	AzureSkuNameStandardEOneSixadsVFive                  AzureSkuName = "Standard_E16ads_v5"
	AzureSkuNameStandardEOneSixasVFivePositiveFourTBPS   AzureSkuName = "Standard_E16as_v5+4TB_PS"
	AzureSkuNameStandardEOneSixasVFivePositiveThreeTBPS  AzureSkuName = "Standard_E16as_v5+3TB_PS"
	AzureSkuNameStandardEOneSixasVFourPositiveFourTBPS   AzureSkuName = "Standard_E16as_v4+4TB_PS"
	AzureSkuNameStandardEOneSixasVFourPositiveThreeTBPS  AzureSkuName = "Standard_E16as_v4+3TB_PS"
	AzureSkuNameStandardEOneSixdVFive                    AzureSkuName = "Standard_E16d_v5"
	AzureSkuNameStandardEOneSixdVFour                    AzureSkuName = "Standard_E16d_v4"
	AzureSkuNameStandardEOneSixsVFivePositiveFourTBPS    AzureSkuName = "Standard_E16s_v5+4TB_PS"
	AzureSkuNameStandardEOneSixsVFivePositiveThreeTBPS   AzureSkuName = "Standard_E16s_v5+3TB_PS"
	AzureSkuNameStandardEOneSixsVFourPositiveFourTBPS    AzureSkuName = "Standard_E16s_v4+4TB_PS"
	AzureSkuNameStandardEOneSixsVFourPositiveThreeTBPS   AzureSkuName = "Standard_E16s_v4+3TB_PS"
	AzureSkuNameStandardESixFouriVThree                  AzureSkuName = "Standard_E64i_v3"
	AzureSkuNameStandardETwoaVFour                       AzureSkuName = "Standard_E2a_v4"
	AzureSkuNameStandardETwoadsVFive                     AzureSkuName = "Standard_E2ads_v5"
	AzureSkuNameStandardETwodVFive                       AzureSkuName = "Standard_E2d_v5"
	AzureSkuNameStandardETwodVFour                       AzureSkuName = "Standard_E2d_v4"
	AzureSkuNameStandardLEightasVThree                   AzureSkuName = "Standard_L8as_v3"
	AzureSkuNameStandardLEights                          AzureSkuName = "Standard_L8s"
	AzureSkuNameStandardLEightsVThree                    AzureSkuName = "Standard_L8s_v3"
	AzureSkuNameStandardLEightsVTwo                      AzureSkuName = "Standard_L8s_v2"
	AzureSkuNameStandardLFours                           AzureSkuName = "Standard_L4s"
	AzureSkuNameStandardLOneSixasVThree                  AzureSkuName = "Standard_L16as_v3"
	AzureSkuNameStandardLOneSixs                         AzureSkuName = "Standard_L16s"
	AzureSkuNameStandardLOneSixsVThree                   AzureSkuName = "Standard_L16s_v3"
	AzureSkuNameStandardLOneSixsVTwo                     AzureSkuName = "Standard_L16s_v2"
	AzureSkuNameStandardLThreeTwoasVThree                AzureSkuName = "Standard_L32as_v3"
	AzureSkuNameStandardLThreeTwosVThree                 AzureSkuName = "Standard_L32s_v3"
)

func (*AzureSkuName) UnmarshalJSON

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

type AzureSkuTier

type AzureSkuTier string
const (
	AzureSkuTierBasic    AzureSkuTier = "Basic"
	AzureSkuTierStandard AzureSkuTier = "Standard"
)

func (*AzureSkuTier) UnmarshalJSON

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

type CheckNameAvailabilityOperationResponse

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

type CheckNameResult

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

type Cluster

type Cluster struct {
	Etag       *string                            `json:"etag,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   string                             `json:"location"`
	Name       *string                            `json:"name,omitempty"`
	Properties *ClusterProperties                 `json:"properties,omitempty"`
	Sku        AzureSku                           `json:"sku"`
	SystemData *systemdata.SystemData             `json:"systemData,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
	Zones      *zones.Schema                      `json:"zones,omitempty"`
}

type ClusterCheckNameRequest

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

type ClusterListResult

type ClusterListResult struct {
	Value *[]Cluster `json:"value,omitempty"`
}

type ClusterMigrateRequest

type ClusterMigrateRequest struct {
	ClusterResourceId string `json:"clusterResourceId"`
}

type ClusterNetworkAccessFlag

type ClusterNetworkAccessFlag string
const (
	ClusterNetworkAccessFlagDisabled ClusterNetworkAccessFlag = "Disabled"
	ClusterNetworkAccessFlagEnabled  ClusterNetworkAccessFlag = "Enabled"
)

func (*ClusterNetworkAccessFlag) UnmarshalJSON

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

type ClusterProperties

type ClusterProperties struct {
	AcceptedAudiences                  *[]AcceptedAudiences         `json:"acceptedAudiences,omitempty"`
	AllowedFqdnList                    *[]string                    `json:"allowedFqdnList,omitempty"`
	AllowedIPRangeList                 *[]string                    `json:"allowedIpRangeList,omitempty"`
	DataIngestionUri                   *string                      `json:"dataIngestionUri,omitempty"`
	EnableAutoStop                     *bool                        `json:"enableAutoStop,omitempty"`
	EnableDiskEncryption               *bool                        `json:"enableDiskEncryption,omitempty"`
	EnableDoubleEncryption             *bool                        `json:"enableDoubleEncryption,omitempty"`
	EnablePurge                        *bool                        `json:"enablePurge,omitempty"`
	EnableStreamingIngest              *bool                        `json:"enableStreamingIngest,omitempty"`
	EngineType                         *EngineType                  `json:"engineType,omitempty"`
	KeyVaultProperties                 *KeyVaultProperties          `json:"keyVaultProperties,omitempty"`
	LanguageExtensions                 *LanguageExtensionsList      `json:"languageExtensions,omitempty"`
	MigrationCluster                   *MigrationClusterProperties  `json:"migrationCluster,omitempty"`
	OptimizedAutoscale                 *OptimizedAutoscale          `json:"optimizedAutoscale,omitempty"`
	PrivateEndpointConnections         *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	ProvisioningState                  *ProvisioningState           `json:"provisioningState,omitempty"`
	PublicIPType                       *PublicIPType                `json:"publicIPType,omitempty"`
	PublicNetworkAccess                *PublicNetworkAccess         `json:"publicNetworkAccess,omitempty"`
	RestrictOutboundNetworkAccess      *ClusterNetworkAccessFlag    `json:"restrictOutboundNetworkAccess,omitempty"`
	State                              *State                       `json:"state,omitempty"`
	StateReason                        *string                      `json:"stateReason,omitempty"`
	TrustedExternalTenants             *[]TrustedExternalTenant     `json:"trustedExternalTenants,omitempty"`
	Uri                                *string                      `json:"uri,omitempty"`
	VirtualClusterGraduationProperties *string                      `json:"virtualClusterGraduationProperties,omitempty"`
	VirtualNetworkConfiguration        *VirtualNetworkConfiguration `json:"virtualNetworkConfiguration,omitempty"`
}

type ClusterType

type ClusterType string
const (
	ClusterTypeMicrosoftPointKustoClusters ClusterType = "Microsoft.Kusto/clusters"
)

func (*ClusterType) UnmarshalJSON

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

type ClusterUpdate

type ClusterUpdate struct {
	Id         *string                            `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *ClusterProperties                 `json:"properties,omitempty"`
	Sku        *AzureSku                          `json:"sku,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
	Zones      *zones.Schema                      `json:"zones,omitempty"`
}

type ClustersClient

type ClustersClient struct {
	Client *resourcemanager.Client
}

func NewClustersClientWithBaseURI

func NewClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*ClustersClient, error)

func (ClustersClient) AddLanguageExtensions

AddLanguageExtensions ...

func (ClustersClient) AddLanguageExtensionsThenPoll

func (c ClustersClient) AddLanguageExtensionsThenPoll(ctx context.Context, id commonids.KustoClusterId, input LanguageExtensionsList) error

AddLanguageExtensionsThenPoll performs AddLanguageExtensions then polls until it's completed

func (ClustersClient) CheckNameAvailability

CheckNameAvailability ...

func (ClustersClient) CreateOrUpdate

CreateOrUpdate ...

func (ClustersClient) CreateOrUpdateThenPoll

func (c ClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.KustoClusterId, input Cluster, options CreateOrUpdateOperationOptions) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ClustersClient) Delete

Delete ...

func (ClustersClient) DeleteThenPoll

func (c ClustersClient) DeleteThenPoll(ctx context.Context, id commonids.KustoClusterId) error

DeleteThenPoll performs Delete then polls until it's completed

func (ClustersClient) DetachFollowerDatabases

DetachFollowerDatabases ...

func (ClustersClient) DetachFollowerDatabasesThenPoll

func (c ClustersClient) DetachFollowerDatabasesThenPoll(ctx context.Context, id commonids.KustoClusterId, input FollowerDatabaseDefinition) error

DetachFollowerDatabasesThenPoll performs DetachFollowerDatabases then polls until it's completed

func (ClustersClient) DiagnoseVirtualNetwork

DiagnoseVirtualNetwork ...

func (ClustersClient) DiagnoseVirtualNetworkThenPoll

func (c ClustersClient) DiagnoseVirtualNetworkThenPoll(ctx context.Context, id commonids.KustoClusterId) error

DiagnoseVirtualNetworkThenPoll performs DiagnoseVirtualNetwork then polls until it's completed

func (ClustersClient) Get

Get ...

func (ClustersClient) List

List ...

func (ClustersClient) ListByResourceGroup

ListByResourceGroup ...

func (ClustersClient) ListFollowerDatabases

ListFollowerDatabases ...

func (ClustersClient) ListLanguageExtensions

ListLanguageExtensions ...

func (ClustersClient) ListSkusByResource

ListSkusByResource ...

func (ClustersClient) Migrate

Migrate ...

func (ClustersClient) MigrateThenPoll

MigrateThenPoll performs Migrate then polls until it's completed

func (ClustersClient) RemoveLanguageExtensions

RemoveLanguageExtensions ...

func (ClustersClient) RemoveLanguageExtensionsThenPoll

func (c ClustersClient) RemoveLanguageExtensionsThenPoll(ctx context.Context, id commonids.KustoClusterId, input LanguageExtensionsList) error

RemoveLanguageExtensionsThenPoll performs RemoveLanguageExtensions then polls until it's completed

func (ClustersClient) Start

Start ...

func (ClustersClient) StartThenPoll

func (c ClustersClient) StartThenPoll(ctx context.Context, id commonids.KustoClusterId) error

StartThenPoll performs Start then polls until it's completed

func (ClustersClient) Stop

Stop ...

func (ClustersClient) StopThenPoll

func (c ClustersClient) StopThenPoll(ctx context.Context, id commonids.KustoClusterId) error

StopThenPoll performs Stop then polls until it's completed

func (ClustersClient) Update

Update ...

func (ClustersClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type CreateOrUpdateOperationOptions

type CreateOrUpdateOperationOptions struct {
	IfMatch     *string
	IfNoneMatch *string
}

func DefaultCreateOrUpdateOperationOptions

func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions

func (CreateOrUpdateOperationOptions) ToHeaders

func (CreateOrUpdateOperationOptions) ToOData

func (CreateOrUpdateOperationOptions) ToQuery

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Cluster
}

type DatabaseShareOrigin

type DatabaseShareOrigin string
const (
	DatabaseShareOriginDataShare DatabaseShareOrigin = "DataShare"
	DatabaseShareOriginDirect    DatabaseShareOrigin = "Direct"
	DatabaseShareOriginOther     DatabaseShareOrigin = "Other"
)

func (*DatabaseShareOrigin) UnmarshalJSON

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

type DeleteOperationResponse

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

type DetachFollowerDatabasesOperationResponse

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

type DiagnoseVirtualNetworkOperationResponse

type DiagnoseVirtualNetworkOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DiagnoseVirtualNetworkResult
}

type DiagnoseVirtualNetworkResult

type DiagnoseVirtualNetworkResult struct {
	Findings *[]string `json:"findings,omitempty"`
}

type EngineType

type EngineType string
const (
	EngineTypeVThree EngineType = "V3"
	EngineTypeVTwo   EngineType = "V2"
)

func (*EngineType) UnmarshalJSON

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

type FollowerDatabaseDefinition

type FollowerDatabaseDefinition struct {
	AttachedDatabaseConfigurationName string                       `json:"attachedDatabaseConfigurationName"`
	ClusterResourceId                 string                       `json:"clusterResourceId"`
	DatabaseName                      *string                      `json:"databaseName,omitempty"`
	DatabaseShareOrigin               *DatabaseShareOrigin         `json:"databaseShareOrigin,omitempty"`
	TableLevelSharingProperties       *TableLevelSharingProperties `json:"tableLevelSharingProperties,omitempty"`
}

type FollowerDatabaseListResult

type FollowerDatabaseListResult struct {
	Value *[]FollowerDatabaseDefinition `json:"value,omitempty"`
}

type GetOperationResponse

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

type KeyVaultProperties

type KeyVaultProperties struct {
	KeyName      *string `json:"keyName,omitempty"`
	KeyVaultUri  *string `json:"keyVaultUri,omitempty"`
	KeyVersion   *string `json:"keyVersion,omitempty"`
	UserIdentity *string `json:"userIdentity,omitempty"`
}

type LanguageExtension

type LanguageExtension struct {
	LanguageExtensionCustomImageName *string                     `json:"languageExtensionCustomImageName,omitempty"`
	LanguageExtensionImageName       *LanguageExtensionImageName `json:"languageExtensionImageName,omitempty"`
	LanguageExtensionName            *LanguageExtensionName      `json:"languageExtensionName,omitempty"`
}

type LanguageExtensionImageName

type LanguageExtensionImageName string
const (
	LanguageExtensionImageNamePythonCustomImage         LanguageExtensionImageName = "PythonCustomImage"
	LanguageExtensionImageNamePythonThreeOneZeroEight   LanguageExtensionImageName = "Python3_10_8"
	LanguageExtensionImageNamePythonThreeOneZeroEightDL LanguageExtensionImageName = "Python3_10_8_DL"
	LanguageExtensionImageNamePythonThreeSixFive        LanguageExtensionImageName = "Python3_6_5"
	LanguageExtensionImageNameR                         LanguageExtensionImageName = "R"
)

func (*LanguageExtensionImageName) UnmarshalJSON

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

type LanguageExtensionName

type LanguageExtensionName string
const (
	LanguageExtensionNamePYTHON LanguageExtensionName = "PYTHON"
	LanguageExtensionNameR      LanguageExtensionName = "R"
)

func (*LanguageExtensionName) UnmarshalJSON

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

type LanguageExtensionsList

type LanguageExtensionsList struct {
	Value *[]LanguageExtension `json:"value,omitempty"`
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ClusterListResult
}

type ListFollowerDatabasesOperationResponse

type ListFollowerDatabasesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FollowerDatabaseListResult
}

type ListLanguageExtensionsOperationResponse

type ListLanguageExtensionsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *LanguageExtensionsList
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ClusterListResult
}

type ListResourceSkusResult

type ListResourceSkusResult struct {
	Value *[]AzureResourceSku `json:"value,omitempty"`
}

type ListSkusByResourceOperationResponse

type ListSkusByResourceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ListResourceSkusResult
}

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 MigrateOperationResponse

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

type MigrationClusterProperties

type MigrationClusterProperties struct {
	DataIngestionUri *string               `json:"dataIngestionUri,omitempty"`
	Id               *string               `json:"id,omitempty"`
	Role             *MigrationClusterRole `json:"role,omitempty"`
	Uri              *string               `json:"uri,omitempty"`
}

type MigrationClusterRole

type MigrationClusterRole string
const (
	MigrationClusterRoleDestination MigrationClusterRole = "Destination"
	MigrationClusterRoleSource      MigrationClusterRole = "Source"
)

func (*MigrationClusterRole) UnmarshalJSON

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

type OptimizedAutoscale

type OptimizedAutoscale struct {
	IsEnabled bool  `json:"isEnabled"`
	Maximum   int64 `json:"maximum"`
	Minimum   int64 `json:"minimum"`
	Version   int64 `json:"version"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData               `json:"systemData,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	GroupId                           *string                                   `json:"groupId,omitempty"`
	PrivateEndpoint                   *PrivateEndpointProperty                  `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState"`
	ProvisioningState                 *string                                   `json:"provisioningState,omitempty"`
}

type PrivateEndpointProperty

type PrivateEndpointProperty struct {
	Id *string `json:"id,omitempty"`
}

type PrivateLinkServiceConnectionStateProperty

type PrivateLinkServiceConnectionStateProperty struct {
	ActionsRequired *string `json:"actionsRequired,omitempty"`
	Description     *string `json:"description,omitempty"`
	Status          *string `json:"status,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateMoving    ProvisioningState = "Moving"
	ProvisioningStateRunning   ProvisioningState = "Running"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON

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

type PublicIPType

type PublicIPType string
const (
	PublicIPTypeDualStack PublicIPType = "DualStack"
	PublicIPTypeIPvFour   PublicIPType = "IPv4"
)

func (*PublicIPType) UnmarshalJSON

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

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

func (*PublicNetworkAccess) UnmarshalJSON

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

type Reason

type Reason string
const (
	ReasonAlreadyExists Reason = "AlreadyExists"
	ReasonInvalid       Reason = "Invalid"
)

func (*Reason) UnmarshalJSON

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

type RemoveLanguageExtensionsOperationResponse

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

type StartOperationResponse

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

type State

type State string
const (
	StateCreating    State = "Creating"
	StateDeleted     State = "Deleted"
	StateDeleting    State = "Deleting"
	StateMigrated    State = "Migrated"
	StateRunning     State = "Running"
	StateStarting    State = "Starting"
	StateStopped     State = "Stopped"
	StateStopping    State = "Stopping"
	StateUnavailable State = "Unavailable"
	StateUpdating    State = "Updating"
)

func (*State) UnmarshalJSON

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

type StopOperationResponse

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

type TableLevelSharingProperties

type TableLevelSharingProperties struct {
	ExternalTablesToExclude    *[]string `json:"externalTablesToExclude,omitempty"`
	ExternalTablesToInclude    *[]string `json:"externalTablesToInclude,omitempty"`
	FunctionsToExclude         *[]string `json:"functionsToExclude,omitempty"`
	FunctionsToInclude         *[]string `json:"functionsToInclude,omitempty"`
	MaterializedViewsToExclude *[]string `json:"materializedViewsToExclude,omitempty"`
	MaterializedViewsToInclude *[]string `json:"materializedViewsToInclude,omitempty"`
	TablesToExclude            *[]string `json:"tablesToExclude,omitempty"`
	TablesToInclude            *[]string `json:"tablesToInclude,omitempty"`
}

type TrustedExternalTenant

type TrustedExternalTenant struct {
	Value *string `json:"value,omitempty"`
}

type UpdateOperationOptions

type UpdateOperationOptions struct {
	IfMatch *string
}

func DefaultUpdateOperationOptions

func DefaultUpdateOperationOptions() UpdateOperationOptions

func (UpdateOperationOptions) ToHeaders

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

func (UpdateOperationOptions) ToOData

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

func (UpdateOperationOptions) ToQuery

type UpdateOperationResponse

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

type VirtualNetworkConfiguration

type VirtualNetworkConfiguration struct {
	DataManagementPublicIPId string     `json:"dataManagementPublicIpId"`
	EnginePublicIPId         string     `json:"enginePublicIpId"`
	State                    *VnetState `json:"state,omitempty"`
	SubnetId                 string     `json:"subnetId"`
}

type VnetState

type VnetState string
const (
	VnetStateDisabled VnetState = "Disabled"
	VnetStateEnabled  VnetState = "Enabled"
)

func (*VnetState) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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