Databricks SDK for JavaScript
    Preparing search index...

    Attributes set during cluster creation which are related to Microsoft Azure.

    interface AzureAttributes {
        availability?: AzureAvailability;
        capacityReservationGroup?: string;
        firstOnDemand?: number;
        logAnalyticsInfo?: LogAnalyticsInfo;
        spotBidMaxPrice?: number;
    }
    Index

    Properties

    availability?: AzureAvailability

    Availability type used for all subsequent nodes past the first_on_demand ones. Note: If first_on_demand is zero, this availability type will be used for the entire cluster.

    capacityReservationGroup?: string

    The Azure capacity reservation group resource ID to use for launching VMs. When specified, VMs will be launched using the provided capacity reservation.

    Capacity reservations can only be specified when the workspace uses injected vnet (i.e. customer defined vnet not managed by databricks). Ensure the databricks-login-prod Enterprise Application is granted the following four permissions:

    1. Microsoft.Compute/capacityReservationGroups/read
    2. Microsoft.Compute/capacityReservationGroups/deploy/action
    3. Microsoft.Compute/capacityReservationGroups/capacityReservations/read
    4. Microsoft.Compute/capacityReservationGroups/capacityReservations/deploy/action

    Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}

    firstOnDemand?: number

    The first first_on_demand nodes of the cluster will be placed on on-demand instances. This value should be greater than 0, to make sure the cluster driver node is placed on an on-demand instance. If this value is greater than or equal to the current cluster size, all nodes will be placed on on-demand instances. If this value is less than the current cluster size, first_on_demand nodes will be placed on on-demand instances and the remainder will be placed on availability instances. Note that this value does not affect cluster size and cannot currently be mutated over the lifetime of a cluster.

    logAnalyticsInfo?: LogAnalyticsInfo

    Defines values necessary to configure and run Azure Log Analytics agent

    spotBidMaxPrice?: number

    The max bid price to be used for Azure spot instances. The Max price for the bid cannot be higher than the on-demand price of the instance. If not specified, the default value is -1, which specifies that the instance cannot be evicted on the basis of price, and only on the basis of availability. Further, the value should > 0 or -1.