clusters

package
v0.20231213.1191308 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

README

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

The clusters SDK allows for interaction with the Azure Resource Manager Service hdinsight (API Version 2018-06-01-preview).

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-sdk/resource-manager/hdinsight/2018-06-01-preview/clusters"

Client Initialization

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

Example Usage: ClustersClient.Create

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

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


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

Example Usage: ClustersClient.Delete

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

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

Example Usage: ClustersClient.ExecuteScriptActions

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

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


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

Example Usage: ClustersClient.Get

ctx := context.TODO()
id := clusters.NewClusterID("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.GetGatewaySettings

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

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 := clusters.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 := clusters.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 := clusters.NewClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterValue")

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


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

Example Usage: ClustersClient.RotateDiskEncryptionKey

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

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


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

Example Usage: ClustersClient.Update

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

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 := clusters.NewClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterValue")

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


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

Example Usage: ClustersClient.UpdateGatewaySettings

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

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


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

Example Usage: ClustersClient.UpdateIdentityCertificate

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

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 added in v0.20231124.1163225

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 PossibleValuesForPrivateLink() []string

func PossibleValuesForResourceProviderConnection

func PossibleValuesForResourceProviderConnection() []string

func PossibleValuesForTier

func PossibleValuesForTier() []string

func ValidateClusterID

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

ValidateClusterID checks that 'input' can be parsed as a Cluster ID

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,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *ClusterGetProperties              `json:"properties,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,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"`
}

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

type ClusterId struct {
	SubscriptionId    string
	ResourceGroupName string
	ClusterName       string
}

ClusterId is a struct representing the Resource ID for a Cluster

func NewClusterID

func NewClusterID(subscriptionId string, resourceGroupName string, clusterName string) ClusterId

NewClusterID returns a new ClusterId struct

func ParseClusterID

func ParseClusterID(input string) (*ClusterId, error)

ParseClusterID parses 'input' into a ClusterId

func ParseClusterIDInsensitively

func ParseClusterIDInsensitively(input string) (*ClusterId, error)

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

func (*ClusterId) FromParseResult added in v0.20231127.1171502

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

func (ClusterId) ID

func (id ClusterId) ID() string

ID returns the formatted Cluster ID

func (ClusterId) Segments

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

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

func (ClusterId) String

func (id ClusterId) String() string

String returns a human-readable description of this Cluster ID

type ClusterKind added in v0.20231124.1163225

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

func (*ClusterKind) UnmarshalJSON added in v0.20231124.1163225

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

func (c ClustersClient) Delete(ctx context.Context, id ClusterId) (result DeleteOperationResponse, err error)

Delete ...

func (ClustersClient) DeleteThenPoll

func (c ClustersClient) DeleteThenPoll(ctx context.Context, id ClusterId) 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 ClusterId, input ExecuteScriptActionParameters) error

ExecuteScriptActionsThenPoll performs ExecuteScriptActions then polls until it's completed

func (ClustersClient) Get

func (c ClustersClient) Get(ctx context.Context, id ClusterId) (result GetOperationResponse, err error)

Get ...

func (ClustersClient) GetGatewaySettings

func (c ClustersClient) GetGatewaySettings(ctx context.Context, id ClusterId) (result GetGatewaySettingsOperationResponse, err error)

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

func (c ClustersClient) ResizeThenPoll(ctx context.Context, id ClusterId, input ClusterResizeParameters) error

ResizeThenPoll performs Resize then polls until it's completed

func (ClustersClient) RotateDiskEncryptionKey

RotateDiskEncryptionKey ...

func (ClustersClient) RotateDiskEncryptionKeyThenPoll

func (c ClustersClient) RotateDiskEncryptionKeyThenPoll(ctx context.Context, id ClusterId, 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 ClusterId, 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 ClusterId, input UpdateGatewaySettingsParameters) error

UpdateGatewaySettingsThenPoll performs UpdateGatewaySettings then polls until it's completed

func (ClustersClient) UpdateIdentityCertificate

UpdateIdentityCertificate ...

func (ClustersClient) UpdateIdentityCertificateThenPoll

func (c ClustersClient) UpdateIdentityCertificateThenPoll(ctx context.Context, id ClusterId, input UpdateClusterIdentityCertificateParameters) error

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
}

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 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 {
	Items []Cluster
}

type ListByResourceGroupOperationResponse

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

type ListCompleteResult

type ListCompleteResult struct {
	Items []Cluster
}

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 PrivateLink string
const (
	PrivateLinkDisabled PrivateLink = "Disabled"
	PrivateLinkEnabled  PrivateLink = "Enabled"
)

func (*PrivateLink) UnmarshalJSON

func (s *PrivateLink) 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 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