clusters

package
v0.20241209.1115630 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/hdinsight/2021-06-01/clusters Documentation

The clusters SDK allows for interaction with Azure Resource Manager hdinsight (API Version 2021-06-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/hdinsight/2021-06-01/clusters"

Client Initialization

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

Example Usage: ClustersClient.Create

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

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


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

Example Usage: ClustersClient.Delete

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

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

Example Usage: ClustersClient.ExecuteScriptActions

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

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


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

Example Usage: ClustersClient.Get

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

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.GetGatewaySettings

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

read, err := client.GetGatewaySettings(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")

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

Example Usage: ClustersClient.ListByResourceGroup

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

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

Example Usage: ClustersClient.Resize

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

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


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

Example Usage: ClustersClient.RotateDiskEncryptionKey

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

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


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

Example Usage: ClustersClient.Update

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

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


read, err := client.Update(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.UpdateAutoScaleConfiguration

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

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


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

Example Usage: ClustersClient.UpdateGatewaySettings

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

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


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

Example Usage: ClustersClient.UpdateIdentityCertificate

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

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


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForClusterKind

func PossibleValuesForClusterKind() []string

func PossibleValuesForDaysOfWeek

func PossibleValuesForDaysOfWeek() []string

func PossibleValuesForDirectoryType

func PossibleValuesForDirectoryType() []string

func PossibleValuesForHDInsightClusterProvisioningState

func PossibleValuesForHDInsightClusterProvisioningState() []string

func PossibleValuesForJsonWebKeyEncryptionAlgorithm

func PossibleValuesForJsonWebKeyEncryptionAlgorithm() []string

func PossibleValuesForOSType

func PossibleValuesForOSType() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateIPAllocationMethod

func PossibleValuesForPrivateIPAllocationMethod() []string
func PossibleValuesForPrivateLink() []string

func PossibleValuesForPrivateLinkConfigurationProvisioningState

func PossibleValuesForPrivateLinkConfigurationProvisioningState() []string

func PossibleValuesForPrivateLinkServiceConnectionStatus

func PossibleValuesForPrivateLinkServiceConnectionStatus() []string

func PossibleValuesForResourceProviderConnection

func PossibleValuesForResourceProviderConnection() []string

func PossibleValuesForTier

func PossibleValuesForTier() []string

Types

type Autoscale

type Autoscale struct {
	Capacity   *AutoscaleCapacity   `json:"capacity,omitempty"`
	Recurrence *AutoscaleRecurrence `json:"recurrence,omitempty"`
}

type AutoscaleCapacity

type AutoscaleCapacity struct {
	MaxInstanceCount *int64 `json:"maxInstanceCount,omitempty"`
	MinInstanceCount *int64 `json:"minInstanceCount,omitempty"`
}

type AutoscaleConfigurationUpdateParameter

type AutoscaleConfigurationUpdateParameter struct {
	Autoscale *Autoscale `json:"autoscale,omitempty"`
}

type AutoscaleRecurrence

type AutoscaleRecurrence struct {
	Schedule *[]AutoscaleSchedule `json:"schedule,omitempty"`
	TimeZone *string              `json:"timeZone,omitempty"`
}

type AutoscaleSchedule

type AutoscaleSchedule struct {
	Days            *[]DaysOfWeek             `json:"days,omitempty"`
	TimeAndCapacity *AutoscaleTimeAndCapacity `json:"timeAndCapacity,omitempty"`
}

type AutoscaleTimeAndCapacity

type AutoscaleTimeAndCapacity struct {
	MaxInstanceCount *int64  `json:"maxInstanceCount,omitempty"`
	MinInstanceCount *int64  `json:"minInstanceCount,omitempty"`
	Time             *string `json:"time,omitempty"`
}

type ClientGroupInfo

type ClientGroupInfo struct {
	GroupId   *string `json:"groupId,omitempty"`
	GroupName *string `json:"groupName,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 *ClusterGetProperties              `json:"properties,omitempty"`
	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 ClusterCreateParametersExtended

type ClusterCreateParametersExtended struct {
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Properties *ClusterCreateProperties           `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Zones      *zones.Schema                      `json:"zones,omitempty"`
}

type ClusterCreateProperties

type ClusterCreateProperties struct {
	ClusterDefinition             *ClusterDefinition             `json:"clusterDefinition,omitempty"`
	ClusterVersion                *string                        `json:"clusterVersion,omitempty"`
	ComputeIsolationProperties    *ComputeIsolationProperties    `json:"computeIsolationProperties,omitempty"`
	ComputeProfile                *ComputeProfile                `json:"computeProfile,omitempty"`
	DiskEncryptionProperties      *DiskEncryptionProperties      `json:"diskEncryptionProperties,omitempty"`
	EncryptionInTransitProperties *EncryptionInTransitProperties `json:"encryptionInTransitProperties,omitempty"`
	KafkaRestProperties           *KafkaRestProperties           `json:"kafkaRestProperties,omitempty"`
	MinSupportedTlsVersion        *string                        `json:"minSupportedTlsVersion,omitempty"`
	NetworkProperties             *NetworkProperties             `json:"networkProperties,omitempty"`
	OsType                        *OSType                        `json:"osType,omitempty"`
	PrivateLinkConfigurations     *[]PrivateLinkConfiguration    `json:"privateLinkConfigurations,omitempty"`
	SecurityProfile               *SecurityProfile               `json:"securityProfile,omitempty"`
	StorageProfile                *StorageProfile                `json:"storageProfile,omitempty"`
	Tier                          *Tier                          `json:"tier,omitempty"`
}

type ClusterDefinition

type ClusterDefinition struct {
	Blueprint        *string            `json:"blueprint,omitempty"`
	ComponentVersion *map[string]string `json:"componentVersion,omitempty"`
	Configurations   *interface{}       `json:"configurations,omitempty"`
	Kind             *ClusterKind       `json:"kind,omitempty"`
}

type ClusterDiskEncryptionParameters

type ClusterDiskEncryptionParameters struct {
	KeyName    *string `json:"keyName,omitempty"`
	KeyVersion *string `json:"keyVersion,omitempty"`
	VaultUri   *string `json:"vaultUri,omitempty"`
}

type ClusterGetProperties

type ClusterGetProperties struct {
	ClusterDefinition             ClusterDefinition                  `json:"clusterDefinition"`
	ClusterHdpVersion             *string                            `json:"clusterHdpVersion,omitempty"`
	ClusterId                     *string                            `json:"clusterId,omitempty"`
	ClusterState                  *string                            `json:"clusterState,omitempty"`
	ClusterVersion                *string                            `json:"clusterVersion,omitempty"`
	ComputeIsolationProperties    *ComputeIsolationProperties        `json:"computeIsolationProperties,omitempty"`
	ComputeProfile                *ComputeProfile                    `json:"computeProfile,omitempty"`
	ConnectivityEndpoints         *[]ConnectivityEndpoint            `json:"connectivityEndpoints,omitempty"`
	CreatedDate                   *string                            `json:"createdDate,omitempty"`
	DiskEncryptionProperties      *DiskEncryptionProperties          `json:"diskEncryptionProperties,omitempty"`
	EncryptionInTransitProperties *EncryptionInTransitProperties     `json:"encryptionInTransitProperties,omitempty"`
	Errors                        *[]Errors                          `json:"errors,omitempty"`
	ExcludedServicesConfig        *ExcludedServicesConfig            `json:"excludedServicesConfig,omitempty"`
	KafkaRestProperties           *KafkaRestProperties               `json:"kafkaRestProperties,omitempty"`
	MinSupportedTlsVersion        *string                            `json:"minSupportedTlsVersion,omitempty"`
	NetworkProperties             *NetworkProperties                 `json:"networkProperties,omitempty"`
	OsType                        *OSType                            `json:"osType,omitempty"`
	PrivateEndpointConnections    *[]PrivateEndpointConnection       `json:"privateEndpointConnections,omitempty"`
	PrivateLinkConfigurations     *[]PrivateLinkConfiguration        `json:"privateLinkConfigurations,omitempty"`
	ProvisioningState             *HDInsightClusterProvisioningState `json:"provisioningState,omitempty"`
	QuotaInfo                     *QuotaInfo                         `json:"quotaInfo,omitempty"`
	SecurityProfile               *SecurityProfile                   `json:"securityProfile,omitempty"`
	StorageProfile                *StorageProfile                    `json:"storageProfile,omitempty"`
	Tier                          *Tier                              `json:"tier,omitempty"`
}

type ClusterKind

type ClusterKind string
const (
	ClusterKindHBase           ClusterKind = "HBASE"
	ClusterKindHadoop          ClusterKind = "HADOOP"
	ClusterKindInteractiveHive ClusterKind = "INTERACTIVEHIVE"
	ClusterKindKafka           ClusterKind = "KAFKA"
	ClusterKindSpark           ClusterKind = "SPARK"
)

func (*ClusterKind) UnmarshalJSON

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

type ClusterOperationPredicate

type ClusterOperationPredicate struct {
	Etag     *string
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ClusterOperationPredicate) Matches

func (p ClusterOperationPredicate) Matches(input Cluster) bool

type ClusterPatchParameters

type ClusterPatchParameters struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type ClusterResizeParameters

type ClusterResizeParameters struct {
	TargetInstanceCount *int64 `json:"targetInstanceCount,omitempty"`
}

type ClustersClient

type ClustersClient struct {
	Client *resourcemanager.Client
}

func NewClustersClientWithBaseURI

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

func (ClustersClient) Create

Create ...

func (ClustersClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (ClustersClient) Delete

Delete ...

func (ClustersClient) DeleteThenPoll

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

DeleteThenPoll performs Delete then polls until it's completed

func (ClustersClient) ExecuteScriptActions

ExecuteScriptActions ...

func (ClustersClient) ExecuteScriptActionsThenPoll

func (c ClustersClient) ExecuteScriptActionsThenPoll(ctx context.Context, id commonids.HDInsightClusterId, input ExecuteScriptActionParameters) error

ExecuteScriptActionsThenPoll performs ExecuteScriptActions then polls until it's completed

func (ClustersClient) Get

Get ...

func (ClustersClient) GetGatewaySettings

GetGatewaySettings ...

func (ClustersClient) List

List ...

func (ClustersClient) ListByResourceGroup

ListByResourceGroup ...

func (ClustersClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (ClustersClient) ListByResourceGroupCompleteMatchingPredicate

func (c ClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ClusterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ClustersClient) ListComplete

ListComplete retrieves all the results into a single object

func (ClustersClient) ListCompleteMatchingPredicate

func (c ClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ClusterOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ClustersClient) Resize

Resize ...

func (ClustersClient) ResizeThenPoll

ResizeThenPoll performs Resize then polls until it's completed

func (ClustersClient) RotateDiskEncryptionKey

RotateDiskEncryptionKey ...

func (ClustersClient) RotateDiskEncryptionKeyThenPoll

func (c ClustersClient) RotateDiskEncryptionKeyThenPoll(ctx context.Context, id commonids.HDInsightClusterId, input ClusterDiskEncryptionParameters) error

RotateDiskEncryptionKeyThenPoll performs RotateDiskEncryptionKey then polls until it's completed

func (ClustersClient) Update

Update ...

func (ClustersClient) UpdateAutoScaleConfiguration

UpdateAutoScaleConfiguration ...

func (ClustersClient) UpdateAutoScaleConfigurationThenPoll

func (c ClustersClient) UpdateAutoScaleConfigurationThenPoll(ctx context.Context, id commonids.HDInsightClusterId, input AutoscaleConfigurationUpdateParameter) error

UpdateAutoScaleConfigurationThenPoll performs UpdateAutoScaleConfiguration then polls until it's completed

func (ClustersClient) UpdateGatewaySettings

UpdateGatewaySettings ...

func (ClustersClient) UpdateGatewaySettingsThenPoll

func (c ClustersClient) UpdateGatewaySettingsThenPoll(ctx context.Context, id commonids.HDInsightClusterId, input UpdateGatewaySettingsParameters) error

UpdateGatewaySettingsThenPoll performs UpdateGatewaySettings then polls until it's completed

func (ClustersClient) UpdateIdentityCertificate

UpdateIdentityCertificate ...

func (ClustersClient) UpdateIdentityCertificateThenPoll

UpdateIdentityCertificateThenPoll performs UpdateIdentityCertificate then polls until it's completed

type ComputeIsolationProperties

type ComputeIsolationProperties struct {
	EnableComputeIsolation *bool   `json:"enableComputeIsolation,omitempty"`
	HostSku                *string `json:"hostSku,omitempty"`
}

type ComputeProfile

type ComputeProfile struct {
	Roles *[]Role `json:"roles,omitempty"`
}

type ConnectivityEndpoint

type ConnectivityEndpoint struct {
	Location         *string `json:"location,omitempty"`
	Name             *string `json:"name,omitempty"`
	Port             *int64  `json:"port,omitempty"`
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	Protocol         *string `json:"protocol,omitempty"`
}

type CreateOperationResponse

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

type DataDisksGroups

type DataDisksGroups struct {
	DiskSizeGB         *int64  `json:"diskSizeGB,omitempty"`
	DisksPerNode       *int64  `json:"disksPerNode,omitempty"`
	StorageAccountType *string `json:"storageAccountType,omitempty"`
}

type DaysOfWeek

type DaysOfWeek string
const (
	DaysOfWeekFriday    DaysOfWeek = "Friday"
	DaysOfWeekMonday    DaysOfWeek = "Monday"
	DaysOfWeekSaturday  DaysOfWeek = "Saturday"
	DaysOfWeekSunday    DaysOfWeek = "Sunday"
	DaysOfWeekThursday  DaysOfWeek = "Thursday"
	DaysOfWeekTuesday   DaysOfWeek = "Tuesday"
	DaysOfWeekWednesday DaysOfWeek = "Wednesday"
)

func (*DaysOfWeek) UnmarshalJSON

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

type DeleteOperationResponse

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

type DirectoryType

type DirectoryType string
const (
	DirectoryTypeActiveDirectory DirectoryType = "ActiveDirectory"
)

func (*DirectoryType) UnmarshalJSON

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

type DiskEncryptionProperties

type DiskEncryptionProperties struct {
	EncryptionAlgorithm *JsonWebKeyEncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
	EncryptionAtHost    *bool                          `json:"encryptionAtHost,omitempty"`
	KeyName             *string                        `json:"keyName,omitempty"`
	KeyVersion          *string                        `json:"keyVersion,omitempty"`
	MsiResourceId       *string                        `json:"msiResourceId,omitempty"`
	VaultUri            *string                        `json:"vaultUri,omitempty"`
}

type EncryptionInTransitProperties

type EncryptionInTransitProperties struct {
	IsEncryptionInTransitEnabled *bool `json:"isEncryptionInTransitEnabled,omitempty"`
}

type Errors

type Errors struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

type ExcludedServicesConfig

type ExcludedServicesConfig struct {
	ExcludedServicesConfigId *string `json:"excludedServicesConfigId,omitempty"`
	ExcludedServicesList     *string `json:"excludedServicesList,omitempty"`
}

type ExecuteScriptActionParameters

type ExecuteScriptActionParameters struct {
	PersistOnSuccess bool                   `json:"persistOnSuccess"`
	ScriptActions    *[]RuntimeScriptAction `json:"scriptActions,omitempty"`
}

type ExecuteScriptActionsOperationResponse

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

type GatewaySettings

type GatewaySettings struct {
	RestAuthCredentialIsEnabled *string `json:"restAuthCredential.isEnabled,omitempty"`
	RestAuthCredentialPassword  *string `json:"restAuthCredential.password,omitempty"`
	RestAuthCredentialUsername  *string `json:"restAuthCredential.username,omitempty"`
}

type GetGatewaySettingsOperationResponse

type GetGatewaySettingsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *GatewaySettings
}

type GetOperationResponse

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

type HDInsightClusterProvisioningState

type HDInsightClusterProvisioningState string
const (
	HDInsightClusterProvisioningStateCanceled   HDInsightClusterProvisioningState = "Canceled"
	HDInsightClusterProvisioningStateDeleting   HDInsightClusterProvisioningState = "Deleting"
	HDInsightClusterProvisioningStateFailed     HDInsightClusterProvisioningState = "Failed"
	HDInsightClusterProvisioningStateInProgress HDInsightClusterProvisioningState = "InProgress"
	HDInsightClusterProvisioningStateSucceeded  HDInsightClusterProvisioningState = "Succeeded"
)

func (*HDInsightClusterProvisioningState) UnmarshalJSON

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

type HardwareProfile

type HardwareProfile struct {
	VMSize *string `json:"vmSize,omitempty"`
}

type IPConfiguration

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

type IPConfigurationProperties

type IPConfigurationProperties struct {
	Primary                   *bool                                      `json:"primary,omitempty"`
	PrivateIPAddress          *string                                    `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod *PrivateIPAllocationMethod                 `json:"privateIPAllocationMethod,omitempty"`
	ProvisioningState         *PrivateLinkConfigurationProvisioningState `json:"provisioningState,omitempty"`
	Subnet                    *ResourceId                                `json:"subnet,omitempty"`
}

type JsonWebKeyEncryptionAlgorithm

type JsonWebKeyEncryptionAlgorithm string
const (
	JsonWebKeyEncryptionAlgorithmRSANegativeOAEP                   JsonWebKeyEncryptionAlgorithm = "RSA-OAEP"
	JsonWebKeyEncryptionAlgorithmRSANegativeOAEPNegativeTwoFiveSix JsonWebKeyEncryptionAlgorithm = "RSA-OAEP-256"
	JsonWebKeyEncryptionAlgorithmRSAOneFive                        JsonWebKeyEncryptionAlgorithm = "RSA1_5"
)

func (*JsonWebKeyEncryptionAlgorithm) UnmarshalJSON

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

type KafkaRestProperties

type KafkaRestProperties struct {
	ClientGroupInfo       *ClientGroupInfo   `json:"clientGroupInfo,omitempty"`
	ConfigurationOverride *map[string]string `json:"configurationOverride,omitempty"`
}

type LinuxOperatingSystemProfile

type LinuxOperatingSystemProfile struct {
	Password   *string     `json:"password,omitempty"`
	SshProfile *SshProfile `json:"sshProfile,omitempty"`
	Username   *string     `json:"username,omitempty"`
}

type ListByResourceGroupCompleteResult

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

type ListByResourceGroupCustomPager added in v0.20240628.1153531

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationResponse

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

type ListCompleteResult

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

type ListCustomPager added in v0.20240628.1153531

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationResponse

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

type NetworkProperties

type NetworkProperties struct {
	PrivateLink                *PrivateLink                `json:"privateLink,omitempty"`
	ResourceProviderConnection *ResourceProviderConnection `json:"resourceProviderConnection,omitempty"`
}

type OSType

type OSType string
const (
	OSTypeLinux   OSType = "Linux"
	OSTypeWindows OSType = "Windows"
)

func (*OSType) UnmarshalJSON

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

type OsProfile

type OsProfile struct {
	LinuxOperatingSystemProfile *LinuxOperatingSystemProfile `json:"linuxOperatingSystemProfile,omitempty"`
}

type PrivateEndpoint

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

type PrivateEndpointConnection

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

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	LinkIdentifier                    *string                                     `json:"linkIdentifier,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                            `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState           `json:"privateLinkServiceConnectionState"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCanceled   PrivateEndpointConnectionProvisioningState = "Canceled"
	PrivateEndpointConnectionProvisioningStateDeleting   PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed     PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateInProgress PrivateEndpointConnectionProvisioningState = "InProgress"
	PrivateEndpointConnectionProvisioningStateSucceeded  PrivateEndpointConnectionProvisioningState = "Succeeded"
	PrivateEndpointConnectionProvisioningStateUpdating   PrivateEndpointConnectionProvisioningState = "Updating"
)

func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON

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

type PrivateIPAllocationMethod

type PrivateIPAllocationMethod string
const (
	PrivateIPAllocationMethodDynamic PrivateIPAllocationMethod = "dynamic"
	PrivateIPAllocationMethodStatic  PrivateIPAllocationMethod = "static"
)

func (*PrivateIPAllocationMethod) UnmarshalJSON

func (s *PrivateIPAllocationMethod) UnmarshalJSON(bytes []byte) error
type PrivateLink string
const (
	PrivateLinkDisabled PrivateLink = "Disabled"
	PrivateLinkEnabled  PrivateLink = "Enabled"
)

func (*PrivateLink) UnmarshalJSON

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

type PrivateLinkConfiguration

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

type PrivateLinkConfigurationProperties

type PrivateLinkConfigurationProperties struct {
	GroupId           string                                     `json:"groupId"`
	IPConfigurations  []IPConfiguration                          `json:"ipConfigurations"`
	ProvisioningState *PrivateLinkConfigurationProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateLinkConfigurationProvisioningState

type PrivateLinkConfigurationProvisioningState string
const (
	PrivateLinkConfigurationProvisioningStateCanceled   PrivateLinkConfigurationProvisioningState = "Canceled"
	PrivateLinkConfigurationProvisioningStateDeleting   PrivateLinkConfigurationProvisioningState = "Deleting"
	PrivateLinkConfigurationProvisioningStateFailed     PrivateLinkConfigurationProvisioningState = "Failed"
	PrivateLinkConfigurationProvisioningStateInProgress PrivateLinkConfigurationProvisioningState = "InProgress"
	PrivateLinkConfigurationProvisioningStateSucceeded  PrivateLinkConfigurationProvisioningState = "Succeeded"
)

func (*PrivateLinkConfigurationProvisioningState) UnmarshalJSON

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

type PrivateLinkServiceConnectionState

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

type PrivateLinkServiceConnectionStatus

type PrivateLinkServiceConnectionStatus string
const (
	PrivateLinkServiceConnectionStatusApproved PrivateLinkServiceConnectionStatus = "Approved"
	PrivateLinkServiceConnectionStatusPending  PrivateLinkServiceConnectionStatus = "Pending"
	PrivateLinkServiceConnectionStatusRejected PrivateLinkServiceConnectionStatus = "Rejected"
	PrivateLinkServiceConnectionStatusRemoved  PrivateLinkServiceConnectionStatus = "Removed"
)

func (*PrivateLinkServiceConnectionStatus) UnmarshalJSON

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

type QuotaInfo

type QuotaInfo struct {
	CoresUsed *int64 `json:"coresUsed,omitempty"`
}

type ResizeOperationResponse

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

type ResourceId

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

type ResourceProviderConnection

type ResourceProviderConnection string
const (
	ResourceProviderConnectionInbound  ResourceProviderConnection = "Inbound"
	ResourceProviderConnectionOutbound ResourceProviderConnection = "Outbound"
)

func (*ResourceProviderConnection) UnmarshalJSON

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

type Role

type Role struct {
	Autoscale             *Autoscale             `json:"autoscale,omitempty"`
	DataDisksGroups       *[]DataDisksGroups     `json:"dataDisksGroups,omitempty"`
	EncryptDataDisks      *bool                  `json:"encryptDataDisks,omitempty"`
	HardwareProfile       *HardwareProfile       `json:"hardwareProfile,omitempty"`
	MinInstanceCount      *int64                 `json:"minInstanceCount,omitempty"`
	Name                  *string                `json:"name,omitempty"`
	OsProfile             *OsProfile             `json:"osProfile,omitempty"`
	ScriptActions         *[]ScriptAction        `json:"scriptActions,omitempty"`
	TargetInstanceCount   *int64                 `json:"targetInstanceCount,omitempty"`
	VMGroupName           *string                `json:"VMGroupName,omitempty"`
	VirtualNetworkProfile *VirtualNetworkProfile `json:"virtualNetworkProfile,omitempty"`
}

type RotateDiskEncryptionKeyOperationResponse

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

type RuntimeScriptAction

type RuntimeScriptAction struct {
	ApplicationName *string  `json:"applicationName,omitempty"`
	Name            string   `json:"name"`
	Parameters      *string  `json:"parameters,omitempty"`
	Roles           []string `json:"roles"`
	Uri             string   `json:"uri"`
}

type ScriptAction

type ScriptAction struct {
	Name       string `json:"name"`
	Parameters string `json:"parameters"`
	Uri        string `json:"uri"`
}

type SecurityProfile

type SecurityProfile struct {
	AaddsResourceId      *string        `json:"aaddsResourceId,omitempty"`
	ClusterUsersGroupDNs *[]string      `json:"clusterUsersGroupDNs,omitempty"`
	DirectoryType        *DirectoryType `json:"directoryType,omitempty"`
	Domain               *string        `json:"domain,omitempty"`
	DomainUserPassword   *string        `json:"domainUserPassword,omitempty"`
	DomainUsername       *string        `json:"domainUsername,omitempty"`
	LdapsURLs            *[]string      `json:"ldapsUrls,omitempty"`
	MsiResourceId        *string        `json:"msiResourceId,omitempty"`
	OrganizationalUnitDN *string        `json:"organizationalUnitDN,omitempty"`
}

type SshProfile

type SshProfile struct {
	PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}

type SshPublicKey

type SshPublicKey struct {
	CertificateData *string `json:"certificateData,omitempty"`
}

type StorageAccount

type StorageAccount struct {
	Container     *string `json:"container,omitempty"`
	FileSystem    *string `json:"fileSystem,omitempty"`
	Fileshare     *string `json:"fileshare,omitempty"`
	IsDefault     *bool   `json:"isDefault,omitempty"`
	Key           *string `json:"key,omitempty"`
	MsiResourceId *string `json:"msiResourceId,omitempty"`
	Name          *string `json:"name,omitempty"`
	ResourceId    *string `json:"resourceId,omitempty"`
	Saskey        *string `json:"saskey,omitempty"`
}

type StorageProfile

type StorageProfile struct {
	Storageaccounts *[]StorageAccount `json:"storageaccounts,omitempty"`
}

type Tier

type Tier string
const (
	TierPremium  Tier = "Premium"
	TierStandard Tier = "Standard"
)

func (*Tier) UnmarshalJSON

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

type UpdateAutoScaleConfigurationOperationResponse

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

type UpdateClusterIdentityCertificateParameters

type UpdateClusterIdentityCertificateParameters struct {
	ApplicationId       *string `json:"applicationId,omitempty"`
	Certificate         *string `json:"certificate,omitempty"`
	CertificatePassword *string `json:"certificatePassword,omitempty"`
}

type UpdateGatewaySettingsOperationResponse

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

type UpdateGatewaySettingsParameters

type UpdateGatewaySettingsParameters struct {
	RestAuthCredentialIsEnabled *bool   `json:"restAuthCredential.isEnabled,omitempty"`
	RestAuthCredentialPassword  *string `json:"restAuthCredential.password,omitempty"`
	RestAuthCredentialUsername  *string `json:"restAuthCredential.username,omitempty"`
}

type UpdateIdentityCertificateOperationResponse

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

type UpdateOperationResponse

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

type VirtualNetworkProfile

type VirtualNetworkProfile struct {
	Id     *string `json:"id,omitempty"`
	Subnet *string `json:"subnet,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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