import * as coreAuth from '@azure/core-auth'; import * as coreClient from '@azure/core-client'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { PollerLike } from '@azure/core-lro'; import { PollOperationState } from '@azure/core-lro'; /** The Azure active directory domain service resource details. */ export declare interface AaddsResourceDetails { /** The Azure active directory domain service name. */ domainName?: string; /** This indicates whether initial sync complete or not. */ initialSyncComplete?: boolean; /** This indicates whether enable ldaps or not. */ ldapsEnabled?: boolean; /** The base 64 format string of public ldap certificate. */ ldapsPublicCertificateInBase64?: string; /** The resource id of azure active directory domain service. */ resourceId?: string; /** The subnet resource id. */ subnetId?: string; /** The tenant id of azure active directory domain service . */ tenantId?: string; } /** The HDInsight cluster application */ export declare interface Application extends ProxyResource { /** The ETag for the application */ etag?: string; /** The tags for the application. */ tags?: { [propertyName: string]: string; }; /** The properties of the application. */ properties?: ApplicationProperties; /** * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; } /** Gets the application SSH endpoint */ export declare interface ApplicationGetEndpoint { /** The location of the endpoint. */ location?: string; /** The destination port to connect to. */ destinationPort?: number; /** The public port to connect to. */ publicPort?: number; /** The private ip address of the endpoint. */ privateIPAddress?: string; } /** Gets the application HTTP endpoints. */ export declare interface ApplicationGetHttpsEndpoint { /** The list of access modes for the application. */ accessModes?: string[]; /** * The location of the endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly location?: string; /** The destination port to connect to. */ destinationPort?: number; /** * The public port to connect to. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly publicPort?: number; /** The private ip address of the endpoint. */ privateIPAddress?: string; /** The subdomain suffix of the application. */ subDomainSuffix?: string; /** The value indicates whether to disable GatewayAuth. */ disableGatewayAuth?: boolean; } /** Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results. */ export declare interface ApplicationListResult { /** The list of HDInsight applications installed on HDInsight cluster. */ value?: Application[]; /** * The URL to get the next set of operation list results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** The HDInsight cluster application GET response. */ export declare interface ApplicationProperties { /** The list of roles in the cluster. */ computeProfile?: ComputeProfile; /** The list of install script actions. */ installScriptActions?: RuntimeScriptAction[]; /** The list of uninstall script actions. */ uninstallScriptActions?: RuntimeScriptAction[]; /** The list of application HTTPS endpoints. */ httpsEndpoints?: ApplicationGetHttpsEndpoint[]; /** The list of application SSH endpoints. */ sshEndpoints?: ApplicationGetEndpoint[]; /** * The provisioning state of the application. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; /** The application type. */ applicationType?: string; /** * The application state. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly applicationState?: string; /** The list of errors. */ errors?: Errors[]; /** * The application create date time. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly createdDate?: string; /** * The marketplace identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly marketplaceIdentifier?: string; /** The private link configurations. */ privateLinkConfigurations?: PrivateLinkConfiguration[]; } /** Interface representing a Applications. */ export declare interface Applications { /** * Lists all of the applications for the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listByCluster(resourceGroupName: string, clusterName: string, options?: ApplicationsListByClusterOptionalParams): PagedAsyncIterableIterator; /** * Gets properties of the specified application. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param applicationName The constant value for the application name. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsGetOptionalParams): Promise; /** * Creates applications for the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param applicationName The constant value for the application name. * @param parameters The application create request. * @param options The options parameters. */ beginCreate(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise, ApplicationsCreateResponse>>; /** * Creates applications for the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param applicationName The constant value for the application name. * @param parameters The application create request. * @param options The options parameters. */ beginCreateAndWait(resourceGroupName: string, clusterName: string, applicationName: string, parameters: Application, options?: ApplicationsCreateOptionalParams): Promise; /** * Deletes the specified application on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param applicationName The constant value for the application name. * @param options The options parameters. */ beginDelete(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise, void>>; /** * Deletes the specified application on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param applicationName The constant value for the application name. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, clusterName: string, applicationName: string, options?: ApplicationsDeleteOptionalParams): Promise; /** * Gets the async operation status. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param applicationName The constant value for the application name. * @param operationId The long running operation id. * @param options The options parameters. */ getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, applicationName: string, operationId: string, options?: ApplicationsGetAzureAsyncOperationStatusOptionalParams): Promise; } /** Optional parameters. */ export declare interface ApplicationsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the create operation. */ export declare type ApplicationsCreateResponse = Application; /** Optional parameters. */ export declare interface ApplicationsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ApplicationsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getAzureAsyncOperationStatus operation. */ export declare type ApplicationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult; /** Optional parameters. */ export declare interface ApplicationsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ApplicationsGetResponse = Application; /** Optional parameters. */ export declare interface ApplicationsListByClusterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByClusterNext operation. */ export declare type ApplicationsListByClusterNextResponse = ApplicationListResult; /** Optional parameters. */ export declare interface ApplicationsListByClusterOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByCluster operation. */ export declare type ApplicationsListByClusterResponse = ApplicationListResult; /** The azure async operation response. */ export declare interface AsyncOperationResult { /** The async operation state. */ status?: AsyncOperationState; /** The operation error information. */ error?: Errors; } /** * Defines values for AsyncOperationState. \ * {@link KnownAsyncOperationState} can be used interchangeably with AsyncOperationState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **InProgress** \ * **Succeeded** \ * **Failed** */ export declare type AsyncOperationState = string; /** The autoscale request parameters */ export declare interface Autoscale { /** Parameters for load-based autoscale */ capacity?: AutoscaleCapacity; /** Parameters for schedule-based autoscale */ recurrence?: AutoscaleRecurrence; } /** The load-based autoscale request parameters */ export declare interface AutoscaleCapacity { /** The minimum instance count of the cluster */ minInstanceCount?: number; /** The maximum instance count of the cluster */ maxInstanceCount?: number; } /** The autoscale configuration update parameter. */ export declare interface AutoscaleConfigurationUpdateParameter { /** The autoscale configuration. */ autoscale?: Autoscale; } /** Schedule-based autoscale request parameters */ export declare interface AutoscaleRecurrence { /** The time zone for the autoscale schedule times */ timeZone?: string; /** Array of schedule-based autoscale rules */ schedule?: AutoscaleSchedule[]; } /** Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity */ export declare interface AutoscaleSchedule { /** Days of the week for a schedule-based autoscale rule */ days?: DaysOfWeek[]; /** Time and capacity for a schedule-based autoscale rule */ timeAndCapacity?: AutoscaleTimeAndCapacity; } /** Time and capacity request parameters */ export declare interface AutoscaleTimeAndCapacity { /** 24-hour time in the form xx:xx */ time?: string; /** The minimum instance count of the cluster */ minInstanceCount?: number; /** The maximum instance count of the cluster */ maxInstanceCount?: number; } /** The azure monitor parameters. */ export declare interface AzureMonitorRequest { /** The Log Analytics workspace ID. */ workspaceId?: string; /** The Log Analytics workspace key. */ primaryKey?: string; /** The selected configurations. */ selectedConfigurations?: AzureMonitorSelectedConfigurations; } /** The azure monitor status response. */ export declare interface AzureMonitorResponse { /** The status of the monitor on the HDInsight cluster. */ clusterMonitoringEnabled?: boolean; /** The workspace ID of the monitor on the HDInsight cluster. */ workspaceId?: string; /** The selected configurations. */ selectedConfigurations?: AzureMonitorSelectedConfigurations; } /** The selected configurations for azure monitor. */ export declare interface AzureMonitorSelectedConfigurations { /** The configuration version. */ configurationVersion?: string; /** The global configurations of selected configurations. */ globalConfigurations?: { [propertyName: string]: string; }; /** The table list. */ tableList?: AzureMonitorTableConfiguration[]; } /** The table configuration for the Log Analytics integration. */ export declare interface AzureMonitorTableConfiguration { /** The name. */ name?: string; } /** The billing meters. */ export declare interface BillingMeters { /** The virtual machine sizes. */ meterParameter?: string; /** The HDInsight meter guid. */ meter?: string; /** The unit of meter, VMHours or CoreHours. */ unit?: string; } /** The billing resources. */ export declare interface BillingResources { /** The region or location. */ region?: string; /** The billing meter information. */ billingMeters?: BillingMeters[]; /** The managed disk billing information. */ diskBillingMeters?: DiskBillingMeters[]; } /** The response for the operation to get regional billingSpecs for a subscription. */ export declare interface BillingResponseListResult { /** The virtual machine sizes to include or exclude. */ vmSizes?: string[]; /** The vm sizes which enable encryption at host. */ vmSizesWithEncryptionAtHost?: string[]; /** The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set. */ vmSizeFilters?: VmSizeCompatibilityFilterV2[]; /** * The vm size properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly vmSizeProperties?: VmSizeProperty[]; /** The billing and managed disk billing resources for a region. */ billingResources?: BillingResources[]; } /** The Get Capabilities operation response. */ export declare interface CapabilitiesResult { /** The version capability. */ versions?: { [propertyName: string]: VersionsCapability; }; /** The virtual machine size compatibility features. */ regions?: { [propertyName: string]: RegionsCapability; }; /** The capability features. */ features?: string[]; /** * The quota capability. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly quota?: QuotaCapability; } /** The information of AAD security group. */ export declare interface ClientGroupInfo { /** The AAD security group name. */ groupName?: string; /** The AAD security group id. */ groupId?: string; } /** The HDInsight cluster. */ export declare interface Cluster extends TrackedResource { /** The ETag for the resource */ etag?: string; /** The availability zones. */ zones?: string[]; /** The properties of the cluster. */ properties?: ClusterGetProperties; /** The identity of the cluster, if configured. */ identity?: ClusterIdentity; /** * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; } /** The configuration object for the specified cluster. */ export declare interface ClusterConfigurations { /** The configuration object for the specified configuration for the specified cluster. */ configurations?: { [propertyName: string]: { [propertyName: string]: string; }; }; } /** The CreateCluster request parameters. */ export declare interface ClusterCreateParametersExtended { /** The location of the cluster. */ location?: string; /** The resource tags. */ tags?: { [propertyName: string]: string; }; /** The availability zones. */ zones?: string[]; /** The cluster create parameters. */ properties?: ClusterCreateProperties; /** The identity of the cluster, if configured. */ identity?: ClusterIdentity; } /** The cluster create parameters. */ export declare interface ClusterCreateProperties { /** The version of the cluster. */ clusterVersion?: string; /** The type of operating system. */ osType?: OSType; /** The cluster tier. */ tier?: Tier; /** The cluster definition. */ clusterDefinition?: ClusterDefinition; /** The cluster kafka rest proxy configuration. */ kafkaRestProperties?: KafkaRestProperties; /** The security profile. */ securityProfile?: SecurityProfile; /** The compute profile. */ computeProfile?: ComputeProfile; /** The storage profile. */ storageProfile?: StorageProfile; /** The disk encryption properties. */ diskEncryptionProperties?: DiskEncryptionProperties; /** The encryption-in-transit properties. */ encryptionInTransitProperties?: EncryptionInTransitProperties; /** The minimal supported tls version. */ minSupportedTlsVersion?: string; /** The network properties. */ networkProperties?: NetworkProperties; /** The compute isolation properties. */ computeIsolationProperties?: ComputeIsolationProperties; /** The private link configurations. */ privateLinkConfigurations?: PrivateLinkConfiguration[]; } /** The cluster create request specification. */ export declare interface ClusterCreateRequestValidationParameters extends ClusterCreateParametersExtended { /** The cluster name. */ name?: string; /** The resource type. */ type?: string; /** The tenant id. */ tenantId?: string; /** This indicates whether fetch Aadds resource or not. */ fetchAaddsResource?: boolean; } /** The response of cluster create request validation. */ export declare interface ClusterCreateValidationResult { /** The validation errors. */ validationErrors?: ValidationErrorInfo[]; /** The validation warnings. */ validationWarnings?: ValidationErrorInfo[]; /** The estimated creation duration. */ estimatedCreationDuration?: string; /** The Azure active directory domain service resource details. */ aaddsResourcesDetails?: AaddsResourceDetails[]; } /** The cluster definition. */ export declare interface ClusterDefinition { /** The link to the blueprint. */ blueprint?: string; /** The type of cluster. */ kind?: string; /** The versions of different services in the cluster. */ componentVersion?: { [propertyName: string]: string; }; /** The cluster configurations. */ configurations?: Record; } /** The Disk Encryption Cluster request parameters. */ export declare interface ClusterDiskEncryptionParameters { /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */ vaultUri?: string; /** Key name that is used for enabling disk encryption. */ keyName?: string; /** Specific key version that is used for enabling disk encryption. */ keyVersion?: string; } /** The properties of cluster. */ export declare interface ClusterGetProperties { /** The version of the cluster. */ clusterVersion?: string; /** The hdp version of the cluster. */ clusterHdpVersion?: string; /** The type of operating system. */ osType?: OSType; /** The cluster tier. */ tier?: Tier; /** The cluster id. */ clusterId?: string; /** The cluster definition. */ clusterDefinition: ClusterDefinition; /** The cluster kafka rest proxy configuration. */ kafkaRestProperties?: KafkaRestProperties; /** The security profile. */ securityProfile?: SecurityProfile; /** The compute profile. */ computeProfile?: ComputeProfile; /** The provisioning state, which only appears in the response. */ provisioningState?: HDInsightClusterProvisioningState; /** The date on which the cluster was created. */ createdDate?: string; /** The state of the cluster. */ clusterState?: string; /** The quota information. */ quotaInfo?: QuotaInfo; /** The list of errors. */ errors?: Errors[]; /** The list of connectivity endpoints. */ connectivityEndpoints?: ConnectivityEndpoint[]; /** The disk encryption properties. */ diskEncryptionProperties?: DiskEncryptionProperties; /** The encryption-in-transit properties. */ encryptionInTransitProperties?: EncryptionInTransitProperties; /** The storage profile. */ storageProfile?: StorageProfile; /** The minimal supported tls version. */ minSupportedTlsVersion?: string; /** The excluded services config. */ excludedServicesConfig?: ExcludedServicesConfig; /** The network properties. */ networkProperties?: NetworkProperties; /** The compute isolation properties. */ computeIsolationProperties?: ComputeIsolationProperties; /** The private link configurations. */ privateLinkConfigurations?: PrivateLinkConfiguration[]; /** * The list of private endpoint connections. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointConnections?: PrivateEndpointConnection[]; } /** Identity for the cluster. */ export declare interface ClusterIdentity { /** * The principal id of cluster identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The tenant id associated with the cluster. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tenantId?: string; /** The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. */ type?: ResourceIdentityType; /** The list of user identities associated with the cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity; }; } /** The ListPersistedScriptActions operation response. */ export declare interface ClusterListPersistedScriptActionsResult { /** The list of Persisted Script Actions. */ value?: RuntimeScriptAction[]; /** * The link (url) to the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** The List Cluster operation response. */ export declare interface ClusterListResult { /** The list of Clusters. */ value?: Cluster[]; /** * The link (url) to the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** The cluster monitor parameters. */ export declare interface ClusterMonitoringRequest { /** The cluster monitor workspace ID. */ workspaceId?: string; /** The cluster monitor workspace key. */ primaryKey?: string; } /** The cluster monitoring status response. */ export declare interface ClusterMonitoringResponse { /** The status of the monitor on the HDInsight cluster. */ clusterMonitoringEnabled?: boolean; /** The workspace ID of the monitor on the HDInsight cluster. */ workspaceId?: string; } /** The PatchCluster request parameters */ export declare interface ClusterPatchParameters { /** The resource tags. */ tags?: { [propertyName: string]: string; }; } /** The Resize Cluster request parameters. */ export declare interface ClusterResizeParameters { /** The target instance count for the operation. */ targetInstanceCount?: number; } /** Interface representing a Clusters. */ export declare interface Clusters { /** * Lists the HDInsight clusters in a resource group. * @param resourceGroupName The name of the resource group. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; /** * Lists all the HDInsight clusters under the subscription. * @param options The options parameters. */ list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator; /** * Creates a new HDInsight cluster with the specified parameters. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster create request. * @param options The options parameters. */ beginCreate(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise, ClustersCreateResponse>>; /** * Creates a new HDInsight cluster with the specified parameters. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster create request. * @param options The options parameters. */ beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterCreateParametersExtended, options?: ClustersCreateOptionalParams): Promise; /** * Patch HDInsight cluster with the specified parameters. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster patch request. * @param options The options parameters. */ update(resourceGroupName: string, clusterName: string, parameters: ClusterPatchParameters, options?: ClustersUpdateOptionalParams): Promise; /** * Deletes the specified HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise, void>>; /** * Deletes the specified HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise; /** * Gets the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise; /** * Resizes the specified HDInsight cluster to the specified size. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param roleName The constant value for the roleName * @param parameters The parameters for the resize operation. * @param options The options parameters. */ beginResize(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise, void>>; /** * Resizes the specified HDInsight cluster to the specified size. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param roleName The constant value for the roleName * @param parameters The parameters for the resize operation. * @param options The options parameters. */ beginResizeAndWait(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: ClusterResizeParameters, options?: ClustersResizeOptionalParams): Promise; /** * Updates the Autoscale Configuration for HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param roleName The constant value for the roleName * @param parameters The parameters for the update autoscale configuration operation. * @param options The options parameters. */ beginUpdateAutoScaleConfiguration(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise, void>>; /** * Updates the Autoscale Configuration for HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param roleName The constant value for the roleName * @param parameters The parameters for the update autoscale configuration operation. * @param options The options parameters. */ beginUpdateAutoScaleConfigurationAndWait(resourceGroupName: string, clusterName: string, roleName: RoleName, parameters: AutoscaleConfigurationUpdateParameter, options?: ClustersUpdateAutoScaleConfigurationOptionalParams): Promise; /** * Rotate disk encryption key of the specified HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The parameters for the disk encryption operation. * @param options The options parameters. */ beginRotateDiskEncryptionKey(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise, void>>; /** * Rotate disk encryption key of the specified HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The parameters for the disk encryption operation. * @param options The options parameters. */ beginRotateDiskEncryptionKeyAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterDiskEncryptionParameters, options?: ClustersRotateDiskEncryptionKeyOptionalParams): Promise; /** * Gets the gateway settings for the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ getGatewaySettings(resourceGroupName: string, clusterName: string, options?: ClustersGetGatewaySettingsOptionalParams): Promise; /** * Configures the gateway settings on the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster configurations. * @param options The options parameters. */ beginUpdateGatewaySettings(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise, void>>; /** * Configures the gateway settings on the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster configurations. * @param options The options parameters. */ beginUpdateGatewaySettingsAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateGatewaySettingsParameters, options?: ClustersUpdateGatewaySettingsOptionalParams): Promise; /** * The the async operation status. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param operationId The long running operation id. * @param options The options parameters. */ getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: ClustersGetAzureAsyncOperationStatusOptionalParams): Promise; /** * Updates the cluster identity certificate. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster configurations. * @param options The options parameters. */ beginUpdateIdentityCertificate(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise, void>>; /** * Updates the cluster identity certificate. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The cluster configurations. * @param options The options parameters. */ beginUpdateIdentityCertificateAndWait(resourceGroupName: string, clusterName: string, parameters: UpdateClusterIdentityCertificateParameters, options?: ClustersUpdateIdentityCertificateOptionalParams): Promise; /** * Executes script actions on the specified HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The parameters for executing script actions. * @param options The options parameters. */ beginExecuteScriptActions(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise, void>>; /** * Executes script actions on the specified HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The parameters for executing script actions. * @param options The options parameters. */ beginExecuteScriptActionsAndWait(resourceGroupName: string, clusterName: string, parameters: ExecuteScriptActionParameters, options?: ClustersExecuteScriptActionsOptionalParams): Promise; } /** Optional parameters. */ export declare interface ClustersCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the create operation. */ export declare type ClustersCreateResponse = Cluster; /** Optional parameters. */ export declare interface ClustersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersExecuteScriptActionsOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getAzureAsyncOperationStatus operation. */ export declare type ClustersGetAzureAsyncOperationStatusResponse = AsyncOperationResult; /** Optional parameters. */ export declare interface ClustersGetGatewaySettingsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getGatewaySettings operation. */ export declare type ClustersGetGatewaySettingsResponse = GatewaySettings; /** Optional parameters. */ export declare interface ClustersGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ClustersGetResponse = Cluster; /** Optional parameters. */ export declare interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroupNext operation. */ export declare type ClustersListByResourceGroupNextResponse = ClusterListResult; /** Optional parameters. */ export declare interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroup operation. */ export declare type ClustersListByResourceGroupResponse = ClusterListResult; /** Optional parameters. */ export declare interface ClustersListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export declare type ClustersListNextResponse = ClusterListResult; /** Optional parameters. */ export declare interface ClustersListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export declare type ClustersListResponse = ClusterListResult; /** Optional parameters. */ export declare interface ClustersResizeOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersRotateDiskEncryptionKeyOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersUpdateAutoScaleConfigurationOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersUpdateGatewaySettingsOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersUpdateIdentityCertificateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ClustersUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the update operation. */ export declare type ClustersUpdateResponse = Cluster; /** The compute isolation properties. */ export declare interface ComputeIsolationProperties { /** The flag indicates whether enable compute isolation or not. */ enableComputeIsolation?: boolean; /** The host sku. */ hostSku?: string; } /** Describes the compute profile. */ export declare interface ComputeProfile { /** The list of roles in the cluster. */ roles?: Role[]; } /** Interface representing a Configurations. */ export declare interface Configurations { /** * Gets all configuration information for an HDI cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ list(resourceGroupName: string, clusterName: string, options?: ConfigurationsListOptionalParams): Promise; /** * Configures the HTTP settings on the specified cluster. This API is deprecated, please use * UpdateGatewaySettings in cluster endpoint instead. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param configurationName The name of the cluster configuration. * @param parameters The cluster configurations. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, clusterName: string, configurationName: string, parameters: { [propertyName: string]: string; }, options?: ConfigurationsUpdateOptionalParams): Promise, void>>; /** * Configures the HTTP settings on the specified cluster. This API is deprecated, please use * UpdateGatewaySettings in cluster endpoint instead. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param configurationName The name of the cluster configuration. * @param parameters The cluster configurations. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, clusterName: string, configurationName: string, parameters: { [propertyName: string]: string; }, options?: ConfigurationsUpdateOptionalParams): Promise; /** * The configuration object for the specified cluster. This API is not recommended and might be removed * in the future. Please consider using List configurations API instead. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param configurationName The name of the cluster configuration. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise; } /** Optional parameters. */ export declare interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ConfigurationsGetResponse = { [propertyName: string]: string; }; /** Optional parameters. */ export declare interface ConfigurationsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export declare type ConfigurationsListResponse = ClusterConfigurations; /** Optional parameters. */ export declare interface ConfigurationsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** The connectivity properties */ export declare interface ConnectivityEndpoint { /** The name of the endpoint. */ name?: string; /** The protocol of the endpoint. */ protocol?: string; /** The location of the endpoint. */ location?: string; /** The port to connect to. */ port?: number; /** The private ip address of the endpoint. */ privateIPAddress?: string; } /** * Defines values for CreatedByType. \ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User** \ * **Application** \ * **ManagedIdentity** \ * **Key** */ export declare type CreatedByType = string; /** The data disks groups for the role. */ export declare interface DataDisksGroups { /** The number of disks per node. */ disksPerNode?: number; /** * ReadOnly. The storage account type. Do not set this value. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly storageAccountType?: string; /** * ReadOnly. The DiskSize in GB. Do not set this value. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly diskSizeGB?: number; } /** * Defines values for DaysOfWeek. \ * {@link KnownDaysOfWeek} can be used interchangeably with DaysOfWeek, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Monday** \ * **Tuesday** \ * **Wednesday** \ * **Thursday** \ * **Friday** \ * **Saturday** \ * **Sunday** */ export declare type DaysOfWeek = string; /** The definition of Dimension. */ export declare interface Dimension { /** The name of the dimension. */ name?: string; /** The display name of the dimension. */ displayName?: string; /** The display name of the dimension. */ internalName?: string; /** The flag indicates whether the metric will be exported for shoebox or not. */ toBeExportedForShoebox?: boolean; } /** * Defines values for DirectoryType. \ * {@link KnownDirectoryType} can be used interchangeably with DirectoryType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ActiveDirectory** */ export declare type DirectoryType = string; /** The disk billing meters. */ export declare interface DiskBillingMeters { /** The managed disk meter guid. */ diskRpMeter?: string; /** The managed disk billing sku, P30 or S30. */ sku?: string; /** The managed disk billing tier, Standard or Premium. */ tier?: Tier; } /** The disk encryption properties */ export declare interface DiskEncryptionProperties { /** Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net */ vaultUri?: string; /** Key name that is used for enabling disk encryption. */ keyName?: string; /** Specific key version that is used for enabling disk encryption. */ keyVersion?: string; /** Algorithm identifier for encryption, default RSA-OAEP. */ encryptionAlgorithm?: JsonWebKeyEncryptionAlgorithm; /** Resource ID of Managed Identity that is used to access the key vault. */ msiResourceId?: string; /** Indicates whether or not resource disk encryption is enabled. */ encryptionAtHost?: boolean; } /** The encryption-in-transit properties. */ export declare interface EncryptionInTransitProperties { /** Indicates whether or not inter cluster node communication is encrypted in transit. */ isEncryptionInTransitEnabled?: boolean; } /** Describes the format of Error response. */ export declare interface ErrorResponse { /** Error code */ code?: string; /** Error message indicating why the operation failed. */ message?: string; } /** The error message associated with the cluster creation. */ export declare interface Errors { /** The error code. */ code?: string; /** The error message. */ message?: string; } /** The configuration that services will be excluded when creating cluster. */ export declare interface ExcludedServicesConfig { /** The config id of excluded services. */ excludedServicesConfigId?: string; /** The list of excluded services. */ excludedServicesList?: string; } /** The parameters for the script actions to execute on a running cluster. */ export declare interface ExecuteScriptActionParameters { /** The list of run time script actions. */ scriptActions?: RuntimeScriptAction[]; /** Gets or sets if the scripts needs to be persisted. */ persistOnSuccess: boolean; } /** Cluster monitoring extensions. */ export declare interface Extension { /** The workspace ID for the cluster monitoring extension. */ workspaceId?: string; /** The certificate for the cluster monitoring extensions. */ primaryKey?: string; } /** Interface representing a Extensions. */ export declare interface Extensions { /** * Enables the Operations Management Suite (OMS) on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The Operations Management Suite (OMS) workspace parameters. * @param options The options parameters. */ beginEnableMonitoring(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise, void>>; /** * Enables the Operations Management Suite (OMS) on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The Operations Management Suite (OMS) workspace parameters. * @param options The options parameters. */ beginEnableMonitoringAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterMonitoringRequest, options?: ExtensionsEnableMonitoringOptionalParams): Promise; /** * Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ getMonitoringStatus(resourceGroupName: string, clusterName: string, options?: ExtensionsGetMonitoringStatusOptionalParams): Promise; /** * Disables the Operations Management Suite (OMS) on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ beginDisableMonitoring(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise, void>>; /** * Disables the Operations Management Suite (OMS) on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ beginDisableMonitoringAndWait(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableMonitoringOptionalParams): Promise; /** * Enables the Azure Monitor on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The Log Analytics workspace parameters. * @param options The options parameters. */ beginEnableAzureMonitor(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise, void>>; /** * Enables the Azure Monitor on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param parameters The Log Analytics workspace parameters. * @param options The options parameters. */ beginEnableAzureMonitorAndWait(resourceGroupName: string, clusterName: string, parameters: AzureMonitorRequest, options?: ExtensionsEnableAzureMonitorOptionalParams): Promise; /** * Gets the status of Azure Monitor on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ getAzureMonitorStatus(resourceGroupName: string, clusterName: string, options?: ExtensionsGetAzureMonitorStatusOptionalParams): Promise; /** * Disables the Azure Monitor on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ beginDisableAzureMonitor(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise, void>>; /** * Disables the Azure Monitor on the HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ beginDisableAzureMonitorAndWait(resourceGroupName: string, clusterName: string, options?: ExtensionsDisableAzureMonitorOptionalParams): Promise; /** * Creates an HDInsight cluster extension. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param extensionName The name of the cluster extension. * @param parameters The cluster extensions create request. * @param options The options parameters. */ beginCreate(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise, void>>; /** * Creates an HDInsight cluster extension. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param extensionName The name of the cluster extension. * @param parameters The cluster extensions create request. * @param options The options parameters. */ beginCreateAndWait(resourceGroupName: string, clusterName: string, extensionName: string, parameters: Extension, options?: ExtensionsCreateOptionalParams): Promise; /** * Gets the extension properties for the specified HDInsight cluster extension. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param extensionName The name of the cluster extension. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsGetOptionalParams): Promise; /** * Deletes the specified extension for HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param extensionName The name of the cluster extension. * @param options The options parameters. */ beginDelete(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise, void>>; /** * Deletes the specified extension for HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param extensionName The name of the cluster extension. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, clusterName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise; /** * Gets the async operation status. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param extensionName The name of the cluster extension. * @param operationId The long running operation id. * @param options The options parameters. */ getAzureAsyncOperationStatus(resourceGroupName: string, clusterName: string, extensionName: string, operationId: string, options?: ExtensionsGetAzureAsyncOperationStatusOptionalParams): Promise; } /** Optional parameters. */ export declare interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ExtensionsDisableAzureMonitorOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ExtensionsDisableMonitoringOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ExtensionsEnableAzureMonitorOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ExtensionsEnableMonitoringOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface ExtensionsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getAzureAsyncOperationStatus operation. */ export declare type ExtensionsGetAzureAsyncOperationStatusResponse = AsyncOperationResult; /** Optional parameters. */ export declare interface ExtensionsGetAzureMonitorStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getAzureMonitorStatus operation. */ export declare type ExtensionsGetAzureMonitorStatusResponse = AzureMonitorResponse; /** Optional parameters. */ export declare interface ExtensionsGetMonitoringStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMonitoringStatus operation. */ export declare type ExtensionsGetMonitoringStatusResponse = ClusterMonitoringResponse; /** Optional parameters. */ export declare interface ExtensionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ExtensionsGetResponse = ClusterMonitoringResponse; /** * Defines values for FilterMode. \ * {@link KnownFilterMode} can be used interchangeably with FilterMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Exclude** \ * **Include** \ * **Recommend** \ * **Default** */ export declare type FilterMode = string; /** Gateway settings. */ export declare interface GatewaySettings { /** * Indicates whether or not the gateway settings based authorization is enabled. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isCredentialEnabled?: string; /** * The gateway settings user name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly userName?: string; /** * The gateway settings user password. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly password?: string; } /** * Given the last `.value` produced by the `byPage` iterator, * returns a continuation token that can be used to begin paging from * that point later. * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. * @returns The continuation token that can be passed into byPage() during future calls. */ export declare function getContinuationToken(page: unknown): string | undefined; /** The hardware profile. */ export declare interface HardwareProfile { /** The size of the VM */ vmSize?: string; } /** * Defines values for HDInsightClusterProvisioningState. \ * {@link KnownHDInsightClusterProvisioningState} can be used interchangeably with HDInsightClusterProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **InProgress** \ * **Failed** \ * **Succeeded** \ * **Canceled** \ * **Deleting** */ export declare type HDInsightClusterProvisioningState = string; export declare class HDInsightManagementClient extends coreClient.ServiceClient { $host: string; subscriptionId: string; apiVersion: string; /** * Initializes a new instance of the HDInsightManagementClient class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param options The parameter options */ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HDInsightManagementClientOptionalParams); /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */ private addCustomApiVersionPolicy; clusters: Clusters; applications: Applications; locations: Locations; configurations: Configurations; extensions: Extensions; scriptActions: ScriptActions; scriptExecutionHistory: ScriptExecutionHistory; operations: Operations; virtualMachines: VirtualMachines; privateEndpointConnections: PrivateEndpointConnections; privateLinkResources: PrivateLinkResources; } /** Optional parameters. */ export declare interface HDInsightManagementClientOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; /** Api Version */ apiVersion?: string; /** Overrides client endpoint. */ endpoint?: string; } /** The cluster host information. */ export declare interface HostInfo { /** The host name */ name?: string; /** The Fully Qualified Domain Name of host */ fqdn?: string; /** The effective disk encryption key URL used by the host */ effectiveDiskEncryptionKeyUrl?: string; } /** The ip configurations for the private link service. */ export declare interface IPConfiguration { /** * The private link IP configuration id. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** The name of private link IP configuration. */ name: string; /** * The type of the private link IP configuration. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** * The private link configuration provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: PrivateLinkConfigurationProvisioningState; /** Indicates whether this IP configuration is primary for the corresponding NIC. */ primary?: boolean; /** The IP address. */ privateIPAddress?: string; /** The method that private IP address is allocated. */ privateIPAllocationMethod?: PrivateIPAllocationMethod; /** The subnet resource id. */ subnet?: ResourceId; } /** * Defines values for JsonWebKeyEncryptionAlgorithm. \ * {@link KnownJsonWebKeyEncryptionAlgorithm} can be used interchangeably with JsonWebKeyEncryptionAlgorithm, * this enum contains the known values that the service supports. * ### Known values supported by the service * **RSA-OAEP** \ * **RSA-OAEP-256** \ * **RSA1_5** */ export declare type JsonWebKeyEncryptionAlgorithm = string; /** The kafka rest proxy configuration which contains AAD security group information. */ export declare interface KafkaRestProperties { /** The information of AAD security group. */ clientGroupInfo?: ClientGroupInfo; /** The configurations that need to be overriden. */ configurationOverride?: { [propertyName: string]: string; }; } /** Known values of {@link AsyncOperationState} that the service accepts. */ export declare enum KnownAsyncOperationState { /** InProgress */ InProgress = "InProgress", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed" } /** Known values of {@link CreatedByType} that the service accepts. */ export declare enum KnownCreatedByType { /** User */ User = "User", /** Application */ Application = "Application", /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", /** Key */ Key = "Key" } /** Known values of {@link DaysOfWeek} that the service accepts. */ export declare enum KnownDaysOfWeek { /** Monday */ Monday = "Monday", /** Tuesday */ Tuesday = "Tuesday", /** Wednesday */ Wednesday = "Wednesday", /** Thursday */ Thursday = "Thursday", /** Friday */ Friday = "Friday", /** Saturday */ Saturday = "Saturday", /** Sunday */ Sunday = "Sunday" } /** Known values of {@link DirectoryType} that the service accepts. */ export declare enum KnownDirectoryType { /** ActiveDirectory */ ActiveDirectory = "ActiveDirectory" } /** Known values of {@link FilterMode} that the service accepts. */ export declare enum KnownFilterMode { /** Exclude */ Exclude = "Exclude", /** Include */ Include = "Include", /** Recommend */ Recommend = "Recommend", /** Default */ Default = "Default" } /** Known values of {@link HDInsightClusterProvisioningState} that the service accepts. */ export declare enum KnownHDInsightClusterProvisioningState { /** InProgress */ InProgress = "InProgress", /** Failed */ Failed = "Failed", /** Succeeded */ Succeeded = "Succeeded", /** Canceled */ Canceled = "Canceled", /** Deleting */ Deleting = "Deleting" } /** Known values of {@link JsonWebKeyEncryptionAlgorithm} that the service accepts. */ export declare enum KnownJsonWebKeyEncryptionAlgorithm { /** RSAOaep */ RSAOaep = "RSA-OAEP", /** RSAOaep256 */ RSAOaep256 = "RSA-OAEP-256", /** RSA15 */ RSA15 = "RSA1_5" } /** Known values of {@link OSType} that the service accepts. */ export declare enum KnownOSType { /** Windows */ Windows = "Windows", /** Linux */ Linux = "Linux" } /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */ export declare enum KnownPrivateEndpointConnectionProvisioningState { /** InProgress */ InProgress = "InProgress", /** Updating */ Updating = "Updating", /** Failed */ Failed = "Failed", /** Succeeded */ Succeeded = "Succeeded", /** Canceled */ Canceled = "Canceled", /** Deleting */ Deleting = "Deleting" } /** Known values of {@link PrivateIPAllocationMethod} that the service accepts. */ export declare enum KnownPrivateIPAllocationMethod { /** Dynamic */ Dynamic = "dynamic", /** Static */ Static = "static" } /** Known values of {@link PrivateLink} that the service accepts. */ export declare enum KnownPrivateLink { /** Disabled */ Disabled = "Disabled", /** Enabled */ Enabled = "Enabled" } /** Known values of {@link PrivateLinkConfigurationProvisioningState} that the service accepts. */ export declare enum KnownPrivateLinkConfigurationProvisioningState { /** InProgress */ InProgress = "InProgress", /** Failed */ Failed = "Failed", /** Succeeded */ Succeeded = "Succeeded", /** Canceled */ Canceled = "Canceled", /** Deleting */ Deleting = "Deleting" } /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */ export declare enum KnownPrivateLinkServiceConnectionStatus { /** Approved */ Approved = "Approved", /** Rejected */ Rejected = "Rejected", /** Pending */ Pending = "Pending", /** Removed */ Removed = "Removed" } /** Known values of {@link ResourceIdentityType} that the service accepts. */ export declare enum KnownResourceIdentityType { /** SystemAssigned */ SystemAssigned = "SystemAssigned", /** UserAssigned */ UserAssigned = "UserAssigned", /** SystemAssignedUserAssigned */ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned", /** None */ None = "None" } /** Known values of {@link ResourceProviderConnection} that the service accepts. */ export declare enum KnownResourceProviderConnection { /** Inbound */ Inbound = "Inbound", /** Outbound */ Outbound = "Outbound" } /** Known values of {@link RoleName} that the service accepts. */ export declare enum KnownRoleName { /** Workernode */ Workernode = "workernode" } /** Known values of {@link Tier} that the service accepts. */ export declare enum KnownTier { /** Standard */ Standard = "Standard", /** Premium */ Premium = "Premium" } /** The ssh username, password, and ssh public key. */ export declare interface LinuxOperatingSystemProfile { /** The username. */ username?: string; /** The password. */ password?: string; /** The SSH profile. */ sshProfile?: SshProfile; } /** The details about the localizable name of a type of usage. */ export declare interface LocalizedName { /** The name of the used resource. */ value?: string; /** The localized name of the used resource. */ localizedValue?: string; } /** Interface representing a Locations. */ export declare interface Locations { /** * Gets the capabilities for the specified location. * @param location The Azure location (region) for which to make the request. * @param options The options parameters. */ getCapabilities(location: string, options?: LocationsGetCapabilitiesOptionalParams): Promise; /** * Lists the usages for the specified location. * @param location The Azure location (region) for which to make the request. * @param options The options parameters. */ listUsages(location: string, options?: LocationsListUsagesOptionalParams): Promise; /** * Lists the billingSpecs for the specified subscription and location. * @param location The Azure location (region) for which to make the request. * @param options The options parameters. */ listBillingSpecs(location: string, options?: LocationsListBillingSpecsOptionalParams): Promise; /** * Get the async operation status. * @param location The Azure location (region) for which to make the request. * @param operationId The long running operation id. * @param options The options parameters. */ getAzureAsyncOperationStatus(location: string, operationId: string, options?: LocationsGetAzureAsyncOperationStatusOptionalParams): Promise; /** * Check the cluster name is available or not. * @param location The Azure location (region) for which to make the request. * @param parameters The request spec of checking name availability. * @param options The options parameters. */ checkNameAvailability(location: string, parameters: NameAvailabilityCheckRequestParameters, options?: LocationsCheckNameAvailabilityOptionalParams): Promise; /** * Validate the cluster create request spec is valid or not. * @param location The Azure location (region) for which to make the request. * @param parameters The cluster create request specification. * @param options The options parameters. */ validateClusterCreateRequest(location: string, parameters: ClusterCreateRequestValidationParameters, options?: LocationsValidateClusterCreateRequestOptionalParams): Promise; } /** Optional parameters. */ export declare interface LocationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the checkNameAvailability operation. */ export declare type LocationsCheckNameAvailabilityResponse = NameAvailabilityCheckResult; /** Optional parameters. */ export declare interface LocationsGetAzureAsyncOperationStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getAzureAsyncOperationStatus operation. */ export declare type LocationsGetAzureAsyncOperationStatusResponse = AsyncOperationResult; /** Optional parameters. */ export declare interface LocationsGetCapabilitiesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getCapabilities operation. */ export declare type LocationsGetCapabilitiesResponse = CapabilitiesResult; /** Optional parameters. */ export declare interface LocationsListBillingSpecsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listBillingSpecs operation. */ export declare type LocationsListBillingSpecsResponse = BillingResponseListResult; /** Optional parameters. */ export declare interface LocationsListUsagesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listUsages operation. */ export declare type LocationsListUsagesResponse = UsagesListResult; /** Optional parameters. */ export declare interface LocationsValidateClusterCreateRequestOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the validateClusterCreateRequest operation. */ export declare type LocationsValidateClusterCreateRequestResponse = ClusterCreateValidationResult; /** The details of metric specifications. */ export declare interface MetricSpecifications { /** The name of the metric specification. */ name?: string; /** The display name of the metric specification. */ displayName?: string; /** The display description of the metric specification. */ displayDescription?: string; /** The unit of the metric specification. */ unit?: string; /** The aggregation type of the metric specification. */ aggregationType?: string; /** The supported aggregation types of the metric specification. */ supportedAggregationTypes?: string[]; /** The supported time grain types of the metric specification. */ supportedTimeGrainTypes?: string[]; /** The flag indicates whether enable regional mdm account or not. */ enableRegionalMdmAccount?: boolean; /** The source mdm account. */ sourceMdmAccount?: string; /** The source mdm namespace. */ sourceMdmNamespace?: string; /** The metric filter pattern. */ metricFilterPattern?: string; /** The flag indicates whether filling gap with zero. */ fillGapWithZero?: boolean; /** The category of the metric. */ category?: string; /** The override name of resource id dimension name. */ resourceIdDimensionNameOverride?: string; /** The flag indicates whether the metric is internal or not. */ isInternal?: boolean; /** The override name of delegate metric. */ delegateMetricNameOverride?: string; /** The dimensions of the metric specification. */ dimensions?: Dimension[]; } /** The request spec of checking name availability. */ export declare interface NameAvailabilityCheckRequestParameters { /** The resource name. */ name?: string; /** The resource type */ type?: string; } /** The response spec of checking name availability. */ export declare interface NameAvailabilityCheckResult { /** This indicates whether the name is available. */ nameAvailable?: boolean; /** * The reason of the result. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly reason?: string; /** * The related message. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly message?: string; } /** The network properties. */ export declare interface NetworkProperties { /** The direction for the resource provider connection. */ resourceProviderConnection?: ResourceProviderConnection; /** Indicates whether or not private link is enabled. */ privateLink?: PrivateLink; } /** The HDInsight REST API operation. */ export declare interface Operation { /** The operation name: {provider}/{resource}/{operation} */ name?: string; /** The display of operation. */ display?: OperationDisplay; /** The operation properties. */ properties?: OperationProperties; } /** The object that represents the operation. */ export declare interface OperationDisplay { /** The service provider: Microsoft.HDInsight */ provider?: string; /** The resource on which the operation is performed: Cluster, Applications, etc. */ resource?: string; /** The operation type: read, write, delete, etc. */ operation?: string; /** Localized friendly description for the operation */ description?: string; } /** Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results. */ export declare interface OperationListResult { /** The list of HDInsight operations supported by the HDInsight resource provider. */ value?: Operation[]; /** The URL to get the next set of operation list results if there are any. */ nextLink?: string; } /** The details of operation. */ export declare interface OperationProperties { /** The specification of the service. */ serviceSpecification?: ServiceSpecification; } /** Interface representing a Operations. */ export declare interface Operations { /** * Lists all of the available HDInsight REST API operations. * @param options The options parameters. */ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } /** Optional parameters. */ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export declare type OperationsListNextResponse = OperationListResult; /** Optional parameters. */ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export declare type OperationsListResponse = OperationListResult; /** The Linux operation systems profile. */ export declare interface OsProfile { /** The Linux OS profile. */ linuxOperatingSystemProfile?: LinuxOperatingSystemProfile; } /** * Defines values for OSType. \ * {@link KnownOSType} can be used interchangeably with OSType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Windows** \ * **Linux** */ export declare type OSType = string; /** The private endpoint. */ export declare interface PrivateEndpoint { /** The private endpoint id. */ id?: string; } /** The private endpoint connection. */ export declare interface PrivateEndpointConnection extends Resource { /** * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; /** * The private endpoint of the private endpoint connection * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpoint?: PrivateEndpoint; /** The private link service connection state. */ privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; /** * The link identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly linkIdentifier?: string; /** * The provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: PrivateEndpointConnectionProvisioningState; } /** The list private endpoint connections response. */ export declare interface PrivateEndpointConnectionListResult { /** The list of private endpoint connections. */ value?: PrivateEndpointConnection[]; /** * The link (url) to the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** * Defines values for PrivateEndpointConnectionProvisioningState. \ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **InProgress** \ * **Updating** \ * **Failed** \ * **Succeeded** \ * **Canceled** \ * **Deleting** */ export declare type PrivateEndpointConnectionProvisioningState = string; /** Interface representing a PrivateEndpointConnections. */ export declare interface PrivateEndpointConnections { /** * Lists the private endpoint connections for a HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListByClusterOptionalParams): PagedAsyncIterableIterator; /** * Approve or reject a private endpoint connection manually. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters The private endpoint connection create or update request. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise, PrivateEndpointConnectionsCreateOrUpdateResponse>>; /** * Approve or reject a private endpoint connection manually. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters The private endpoint connection create or update request. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; /** * Gets the specific private endpoint connection. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; /** * Deletes the specific private endpoint connection. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise, void>>; /** * Deletes the specific private endpoint connection. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; /** Optional parameters. */ export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ export declare interface PrivateEndpointConnectionsListByClusterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByClusterNext operation. */ export declare type PrivateEndpointConnectionsListByClusterNextResponse = PrivateEndpointConnectionListResult; /** Optional parameters. */ export declare interface PrivateEndpointConnectionsListByClusterOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByCluster operation. */ export declare type PrivateEndpointConnectionsListByClusterResponse = PrivateEndpointConnectionListResult; /** * Defines values for PrivateIPAllocationMethod. \ * {@link KnownPrivateIPAllocationMethod} can be used interchangeably with PrivateIPAllocationMethod, * this enum contains the known values that the service supports. * ### Known values supported by the service * **dynamic** \ * **static** */ export declare type PrivateIPAllocationMethod = string; /** * Defines values for PrivateLink. \ * {@link KnownPrivateLink} can be used interchangeably with PrivateLink, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Disabled** \ * **Enabled** */ export declare type PrivateLink = string; /** The private link configuration. */ export declare interface PrivateLinkConfiguration { /** * The private link configuration id. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** The name of private link configuration. */ name: string; /** * The type of the private link configuration. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'. */ groupId: string; /** * The private link configuration provisioning state, which only appears in the response. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: PrivateLinkConfigurationProvisioningState; /** The IP configurations for the private link service. */ ipConfigurations: IPConfiguration[]; } /** * Defines values for PrivateLinkConfigurationProvisioningState. \ * {@link KnownPrivateLinkConfigurationProvisioningState} can be used interchangeably with PrivateLinkConfigurationProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **InProgress** \ * **Failed** \ * **Succeeded** \ * **Canceled** \ * **Deleting** */ export declare type PrivateLinkConfigurationProvisioningState = string; /** A private link resource */ export declare interface PrivateLinkResource extends ResourceAutoGenerated { /** * Metadata pertaining to creation and last modification of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; /** * The private link resource group id. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly groupId?: string; /** * The private link resource required member names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly requiredMembers?: string[]; /** The private link resource Private link DNS zone name. */ requiredZoneNames?: string[]; } /** A list of private link resources */ export declare interface PrivateLinkResourceListResult { /** Array of private link resources */ value?: PrivateLinkResource[]; } /** Interface representing a PrivateLinkResources. */ export declare interface PrivateLinkResources { /** * Lists the private link resources in a HDInsight cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): Promise; /** * Gets the specific private link resource. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param privateLinkResourceName The name of the private link resource. * @param options The options parameters. */ get(resourceGroupName: string, clusterName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise; } /** Optional parameters. */ export declare interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource; /** Optional parameters. */ export declare interface PrivateLinkResourcesListByClusterOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByCluster operation. */ export declare type PrivateLinkResourcesListByClusterResponse = PrivateLinkResourceListResult; /** The private link service connection state. */ export declare interface PrivateLinkServiceConnectionState { /** The concrete private link service connection. */ status: PrivateLinkServiceConnectionStatus; /** The optional description of the status. */ description?: string; /** Whether there is further actions. */ actionsRequired?: string; } /** * Defines values for PrivateLinkServiceConnectionStatus. \ * {@link KnownPrivateLinkServiceConnectionStatus} can be used interchangeably with PrivateLinkServiceConnectionStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Approved** \ * **Rejected** \ * **Pending** \ * **Removed** */ export declare type PrivateLinkServiceConnectionStatus = string; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export declare interface ProxyResource extends Resource { } /** The regional quota capability. */ export declare interface QuotaCapability { /** The number of cores used in the subscription. */ coresUsed?: number; /** The number of cores that the subscription allowed. */ maxCoresAllowed?: number; /** The list of region quota capabilities. */ regionalQuotas?: RegionalQuotaCapability[]; } /** The quota properties for the cluster. */ export declare interface QuotaInfo { /** The cores used by the cluster. */ coresUsed?: number; } /** The regional quota capacity. */ export declare interface RegionalQuotaCapability { /** The region name. */ regionName?: string; /** The number of cores used in the region. */ coresUsed?: number; /** The number of cores available in the region. */ coresAvailable?: number; } /** The regions capability. */ export declare interface RegionsCapability { /** The list of region capabilities. */ available?: string[]; } /** Common fields that are returned in the response for all Azure Resource Manager resources */ export declare interface Resource { /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; } /** Common fields that are returned in the response for all Azure Resource Manager resources */ export declare interface ResourceAutoGenerated { /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; } /** The azure resource id. */ export declare interface ResourceId { /** The azure resource id. */ id?: string; } /** * Defines values for ResourceIdentityType. \ * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **SystemAssigned** \ * **UserAssigned** \ * **SystemAssigned, UserAssigned** \ * **None** */ export declare type ResourceIdentityType = string; /** * Defines values for ResourceProviderConnection. \ * {@link KnownResourceProviderConnection} can be used interchangeably with ResourceProviderConnection, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Inbound** \ * **Outbound** */ export declare type ResourceProviderConnection = string; /** Describes a role on the cluster. */ export declare interface Role { /** The name of the role. */ name?: string; /** The minimum instance count of the cluster. */ minInstanceCount?: number; /** The instance count of the cluster. */ targetInstanceCount?: number; /** The name of the virtual machine group. */ vMGroupName?: string; /** The autoscale configurations. */ autoscaleConfiguration?: Autoscale; /** The hardware profile. */ hardwareProfile?: HardwareProfile; /** The operating system profile. */ osProfile?: OsProfile; /** The virtual network profile. */ virtualNetworkProfile?: VirtualNetworkProfile; /** The data disks groups for the role. */ dataDisksGroups?: DataDisksGroups[]; /** The list of script actions on the role. */ scriptActions?: ScriptAction[]; /** Indicates whether encrypt the data disks. */ encryptDataDisks?: boolean; } /** * Defines values for RoleName. \ * {@link KnownRoleName} can be used interchangeably with RoleName, * this enum contains the known values that the service supports. * ### Known values supported by the service * **workernode** */ export declare type RoleName = string; /** Describes a script action on a running cluster. */ export declare interface RuntimeScriptAction { /** The name of the script action. */ name: string; /** The URI to the script. */ uri: string; /** The parameters for the script */ parameters?: string; /** The list of roles where script will be executed. */ roles: string[]; /** * The application name of the script action, if any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly applicationName?: string; } /** The execution details of a script action. */ export declare interface RuntimeScriptActionDetail extends RuntimeScriptAction { /** * The execution id of the script action. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly scriptExecutionId?: number; /** * The start time of script action execution. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly startTime?: string; /** * The end time of script action execution. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endTime?: string; /** * The current execution status of the script action. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: string; /** * The reason why the script action was executed. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operation?: string; /** * The summary of script action execution result. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly executionSummary?: ScriptActionExecutionSummary[]; /** * The script action execution debug information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly debugInformation?: string; } /** Describes a script action on role on the cluster. */ export declare interface ScriptAction { /** The name of the script action. */ name: string; /** The URI to the script. */ uri: string; /** The parameters for the script provided. */ parameters: string; } /** The list script execution history response. */ export declare interface ScriptActionExecutionHistoryList { /** * The list of persisted script action details for the cluster. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RuntimeScriptActionDetail[]; /** * The link (url) to the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** The execution summary of a script action. */ export declare interface ScriptActionExecutionSummary { /** * The status of script action execution. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: string; /** * The instance count for a given script action execution status. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceCount?: number; } /** The persisted script action for cluster. */ export declare interface ScriptActionPersistedGetResponseSpec { /** The name of script action. */ name?: string; /** The URI to the script. */ uri?: string; /** The parameters for the script provided. */ parameters?: string; /** The list of roles where script will be executed. */ roles?: string[]; /** The application name for the script action. */ applicationName?: string; } /** Interface representing a ScriptActions. */ export declare interface ScriptActions { /** * Lists all the persisted script actions for the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listByCluster(resourceGroupName: string, clusterName: string, options?: ScriptActionsListByClusterOptionalParams): PagedAsyncIterableIterator; /** * Deletes a specified persisted script action of the cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param scriptName The name of the script. * @param options The options parameters. */ delete(resourceGroupName: string, clusterName: string, scriptName: string, options?: ScriptActionsDeleteOptionalParams): Promise; /** * Gets the script execution detail for the given script execution ID. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param scriptExecutionId The script execution Id * @param options The options parameters. */ getExecutionDetail(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: ScriptActionsGetExecutionDetailOptionalParams): Promise; /** * Gets the async operation status of execution operation. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param operationId The long running operation id. * @param options The options parameters. */ getExecutionAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: ScriptActionsGetExecutionAsyncOperationStatusOptionalParams): Promise; } /** Optional parameters. */ export declare interface ScriptActionsDeleteOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ export declare interface ScriptActionsGetExecutionAsyncOperationStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getExecutionAsyncOperationStatus operation. */ export declare type ScriptActionsGetExecutionAsyncOperationStatusResponse = AsyncOperationResult; /** Optional parameters. */ export declare interface ScriptActionsGetExecutionDetailOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getExecutionDetail operation. */ export declare type ScriptActionsGetExecutionDetailResponse = RuntimeScriptActionDetail; /** The persisted script action for the cluster. */ export declare interface ScriptActionsList { /** The list of persisted script action details for the cluster. */ value?: RuntimeScriptActionDetail[]; /** * The link (url) to the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Optional parameters. */ export declare interface ScriptActionsListByClusterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByClusterNext operation. */ export declare type ScriptActionsListByClusterNextResponse = ScriptActionsList; /** Optional parameters. */ export declare interface ScriptActionsListByClusterOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByCluster operation. */ export declare type ScriptActionsListByClusterResponse = ScriptActionsList; /** Interface representing a ScriptExecutionHistory. */ export declare interface ScriptExecutionHistory { /** * Lists all scripts' execution history for the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listByCluster(resourceGroupName: string, clusterName: string, options?: ScriptExecutionHistoryListByClusterOptionalParams): PagedAsyncIterableIterator; /** * Promotes the specified ad-hoc script execution to a persisted script. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param scriptExecutionId The script execution Id * @param options The options parameters. */ promote(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: ScriptExecutionHistoryPromoteOptionalParams): Promise; } /** Optional parameters. */ export declare interface ScriptExecutionHistoryListByClusterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByClusterNext operation. */ export declare type ScriptExecutionHistoryListByClusterNextResponse = ScriptActionExecutionHistoryList; /** Optional parameters. */ export declare interface ScriptExecutionHistoryListByClusterOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByCluster operation. */ export declare type ScriptExecutionHistoryListByClusterResponse = ScriptActionExecutionHistoryList; /** Optional parameters. */ export declare interface ScriptExecutionHistoryPromoteOptionalParams extends coreClient.OperationOptions { } /** The security profile which contains Ssh public key for the HDInsight cluster. */ export declare interface SecurityProfile { /** The directory type. */ directoryType?: DirectoryType; /** The organization's active directory domain. */ domain?: string; /** The organizational unit within the Active Directory to place the cluster and service accounts. */ organizationalUnitDN?: string; /** The LDAPS protocol URLs to communicate with the Active Directory. */ ldapsUrls?: string[]; /** The domain user account that will have admin privileges on the cluster. */ domainUsername?: string; /** * The domain admin password. * This value contains a credential. Consider obscuring before showing to users */ domainUserPassword?: string; /** Optional. The Distinguished Names for cluster user groups */ clusterUsersGroupDNs?: string[]; /** The resource ID of the user's Azure Active Directory Domain Service. */ aaddsResourceId?: string; /** User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS. */ msiResourceId?: string; } /** The specification of the service. */ export declare interface ServiceSpecification { /** The metric specifications. */ metricSpecifications?: MetricSpecifications[]; } /** The list of SSH public keys. */ export declare interface SshProfile { /** The list of SSH public keys. */ publicKeys?: SshPublicKey[]; } /** The SSH public key for the cluster nodes. */ export declare interface SshPublicKey { /** The certificate for SSH. */ certificateData?: string; } /** The storage Account. */ export declare interface StorageAccount { /** The name of the storage account. */ name?: string; /** Whether or not the storage account is the default storage account. */ isDefault?: boolean; /** The container in the storage account, only to be specified for WASB storage accounts. */ container?: string; /** The filesystem, only to be specified for Azure Data Lake Storage Gen 2. */ fileSystem?: string; /** The storage account access key. */ key?: string; /** The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. */ resourceId?: string; /** The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2. */ msiResourceId?: string; /** The shared access signature key. */ saskey?: string; /** The file share name. */ fileshare?: string; } /** The storage profile. */ export declare interface StorageProfile { /** The list of storage accounts in the cluster. */ storageaccounts?: StorageAccount[]; } /** Metadata pertaining to creation and last modification of the resource. */ export declare interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } /** * Defines values for Tier. \ * {@link KnownTier} can be used interchangeably with Tier, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Standard** \ * **Premium** */ export declare type Tier = string; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export declare interface TrackedResource extends ResourceAutoGenerated { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The geo-location where the resource lives */ location: string; } /** The update cluster identity certificate request parameters. */ export declare interface UpdateClusterIdentityCertificateParameters { /** The application id. */ applicationId?: string; /** The certificate in base64 encoded format. */ certificate?: string; /** The password of the certificate. */ certificatePassword?: string; } /** The update gateway settings request parameters. */ export declare interface UpdateGatewaySettingsParameters { /** Indicates whether or not the gateway settings based authorization is enabled. */ isCredentialEnabled?: boolean; /** The gateway settings user name. */ userName?: string; /** The gateway settings user password. */ password?: string; } /** The details about the usage of a particular limited resource. */ export declare interface Usage { /** The type of measurement for usage. */ unit?: string; /** The current usage. */ currentValue?: number; /** The maximum allowed usage. */ limit?: number; /** * The details about the localizable name of the used resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: LocalizedName; } /** The response for the operation to get regional usages for a subscription. */ export declare interface UsagesListResult { /** The list of usages. */ value?: Usage[]; } /** The User Assigned Identity */ export declare interface UserAssignedIdentity { /** * The principal id of user assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The client id of user assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly clientId?: string; /** The tenant id of user assigned identity. */ tenantId?: string; } /** The validation error information. */ export declare interface ValidationErrorInfo { /** The error code. */ code?: string; /** The error message. */ message?: string; /** The error resource. */ errorResource?: string; /** The message arguments */ messageArguments?: string[]; } /** The version capability. */ export declare interface VersionsCapability { /** The list of version capabilities. */ available?: VersionSpec[]; } /** The version properties. */ export declare interface VersionSpec { /** The friendly name */ friendlyName?: string; /** The display name */ displayName?: string; /** Whether or not the version is the default version. */ isDefault?: boolean; /** The component version property. */ componentVersions?: { [propertyName: string]: string; }; } /** Interface representing a VirtualMachines. */ export declare interface VirtualMachines { /** * Lists the HDInsight clusters hosts * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listHosts(resourceGroupName: string, clusterName: string, options?: VirtualMachinesListHostsOptionalParams): Promise; /** * Restarts the specified HDInsight cluster hosts. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param hosts The list of hosts to restart * @param options The options parameters. */ beginRestartHosts(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise, void>>; /** * Restarts the specified HDInsight cluster hosts. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param hosts The list of hosts to restart * @param options The options parameters. */ beginRestartHostsAndWait(resourceGroupName: string, clusterName: string, hosts: string[], options?: VirtualMachinesRestartHostsOptionalParams): Promise; /** * Gets the async operation status. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param operationId The long running operation id. * @param options The options parameters. */ getAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: VirtualMachinesGetAsyncOperationStatusOptionalParams): Promise; } /** Optional parameters. */ export declare interface VirtualMachinesGetAsyncOperationStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getAsyncOperationStatus operation. */ export declare type VirtualMachinesGetAsyncOperationStatusResponse = AsyncOperationResult; /** Optional parameters. */ export declare interface VirtualMachinesListHostsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listHosts operation. */ export declare type VirtualMachinesListHostsResponse = HostInfo[]; /** Optional parameters. */ export declare interface VirtualMachinesRestartHostsOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** The virtual network properties. */ export declare interface VirtualNetworkProfile { /** The ID of the virtual network. */ id?: string; /** The name of the subnet. */ subnet?: string; } /** This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted. */ export declare interface VmSizeCompatibilityFilterV2 { /** The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set. */ filterMode?: FilterMode; /** The list of regions under the effect of the filter. */ regions?: string[]; /** The list of cluster flavors under the effect of the filter. */ clusterFlavors?: string[]; /** The list of node types affected by the filter. */ nodeTypes?: string[]; /** The list of cluster versions affected in Major.Minor format. */ clusterVersions?: string[]; /** The OSType affected, Windows or Linux. */ osType?: OSType[]; /** The list of virtual machine sizes to include or exclude. */ vmSizes?: string[]; /** Whether apply for ESP cluster. 'true' means only for ESP, 'false' means only for non-ESP, null or empty string or others mean for both. */ espApplied?: string; /** Whether support compute isolation. 'true' means only for ComputeIsolationEnabled, 'false' means only for regular cluster. */ computeIsolationSupported?: string; } /** The vm size property */ export declare interface VmSizeProperty { /** The vm size name. */ name?: string; /** The number of cores that the vm size has. */ cores?: number; /** The data disk storage tier of the vm size. */ dataDiskStorageTier?: string; /** The label of the vm size. */ label?: string; /** The max data disk count of the vm size. */ maxDataDiskCount?: number; /** The memory whose unit is MB of the vm size. */ memoryInMb?: number; /** This indicates this vm size is supported by virtual machines or not */ supportedByVirtualMachines?: boolean; /** The indicates this vm size is supported by web worker roles or not */ supportedByWebWorkerRoles?: boolean; /** The virtual machine resource disk size whose unit is MB of the vm size. */ virtualMachineResourceDiskSizeInMb?: number; /** The web worker resource disk size whose unit is MB of the vm size. */ webWorkerResourceDiskSizeInMb?: number; } export { }