1. Packages
  2. Databricks
  3. API Docs
  4. MwsStorageConfigurations
Databricks v1.34.0 published on Tuesday, Mar 5, 2024 by Pulumi

databricks.MwsStorageConfigurations

Explore with Pulumi AI

databricks logo
Databricks v1.34.0 published on Tuesday, Mar 5, 2024 by Pulumi

    Note Initialize provider with alias = "mws", host = "https://accounts.cloud.databricks.com" and use provider = databricks.mws

    This resource to configure root bucket new workspaces within AWS.

    It is important to understand that this will require you to configure your provider separately for the multiple workspaces resources. This will point to https://accounts.cloud.databricks.com for the HOST and it will use basic auth as that is the only authentication method available for multiple workspaces api.

    Please follow this complete runnable example

    • storage_configuration_name - name under which this storage configuration is stored

    The following resources are used in the same context:

    • Provisioning Databricks on AWS guide.
    • Provisioning Databricks on AWS with PrivateLink guide.
    • databricks.MwsCredentials to configure the cross-account role for creation of new workspaces within AWS.
    • databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS.
    • databricks.MwsLogDelivery to configure delivery of billable usage logs and audit logs.
    • databricks.MwsNetworks to configure VPC & subnets for new workspaces within AWS.
    • databricks.MwsWorkspaces to set up workspaces in E2 architecture on AWS.

    Create MwsStorageConfigurations Resource

    new MwsStorageConfigurations(name: string, args: MwsStorageConfigurationsArgs, opts?: CustomResourceOptions);
    @overload
    def MwsStorageConfigurations(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 account_id: Optional[str] = None,
                                 bucket_name: Optional[str] = None,
                                 storage_configuration_name: Optional[str] = None)
    @overload
    def MwsStorageConfigurations(resource_name: str,
                                 args: MwsStorageConfigurationsArgs,
                                 opts: Optional[ResourceOptions] = None)
    func NewMwsStorageConfigurations(ctx *Context, name string, args MwsStorageConfigurationsArgs, opts ...ResourceOption) (*MwsStorageConfigurations, error)
    public MwsStorageConfigurations(string name, MwsStorageConfigurationsArgs args, CustomResourceOptions? opts = null)
    public MwsStorageConfigurations(String name, MwsStorageConfigurationsArgs args)
    public MwsStorageConfigurations(String name, MwsStorageConfigurationsArgs args, CustomResourceOptions options)
    
    type: databricks:MwsStorageConfigurations
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MwsStorageConfigurationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MwsStorageConfigurationsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MwsStorageConfigurationsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MwsStorageConfigurationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MwsStorageConfigurationsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MwsStorageConfigurations Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MwsStorageConfigurations resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MwsStorageConfigurations resource produces the following output properties:

    CreationTime int
    Id string
    The provider-assigned unique ID for this managed resource.
    StorageConfigurationId string
    (String) id of storage config to be used for databricks_mws_workspace resource.
    CreationTime int
    Id string
    The provider-assigned unique ID for this managed resource.
    StorageConfigurationId string
    (String) id of storage config to be used for databricks_mws_workspace resource.
    creationTime Integer
    id String
    The provider-assigned unique ID for this managed resource.
    storageConfigurationId String
    (String) id of storage config to be used for databricks_mws_workspace resource.
    creationTime number
    id string
    The provider-assigned unique ID for this managed resource.
    storageConfigurationId string
    (String) id of storage config to be used for databricks_mws_workspace resource.
    creation_time int
    id str
    The provider-assigned unique ID for this managed resource.
    storage_configuration_id str
    (String) id of storage config to be used for databricks_mws_workspace resource.
    creationTime Number
    id String
    The provider-assigned unique ID for this managed resource.
    storageConfigurationId String
    (String) id of storage config to be used for databricks_mws_workspace resource.

    Look up Existing MwsStorageConfigurations Resource

    Get an existing MwsStorageConfigurations resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MwsStorageConfigurationsState, opts?: CustomResourceOptions): MwsStorageConfigurations
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            bucket_name: Optional[str] = None,
            creation_time: Optional[int] = None,
            storage_configuration_id: Optional[str] = None,
            storage_configuration_name: Optional[str] = None) -> MwsStorageConfigurations
    func GetMwsStorageConfigurations(ctx *Context, name string, id IDInput, state *MwsStorageConfigurationsState, opts ...ResourceOption) (*MwsStorageConfigurations, error)
    public static MwsStorageConfigurations Get(string name, Input<string> id, MwsStorageConfigurationsState? state, CustomResourceOptions? opts = null)
    public static MwsStorageConfigurations get(String name, Output<String> id, MwsStorageConfigurationsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    BucketName string
    CreationTime int
    StorageConfigurationId string
    (String) id of storage config to be used for databricks_mws_workspace resource.
    StorageConfigurationName string
    AccountId string
    BucketName string
    CreationTime int
    StorageConfigurationId string
    (String) id of storage config to be used for databricks_mws_workspace resource.
    StorageConfigurationName string
    accountId String
    bucketName String
    creationTime Integer
    storageConfigurationId String
    (String) id of storage config to be used for databricks_mws_workspace resource.
    storageConfigurationName String
    accountId string
    bucketName string
    creationTime number
    storageConfigurationId string
    (String) id of storage config to be used for databricks_mws_workspace resource.
    storageConfigurationName string
    account_id str
    bucket_name str
    creation_time int
    storage_configuration_id str
    (String) id of storage config to be used for databricks_mws_workspace resource.
    storage_configuration_name str
    accountId String
    bucketName String
    creationTime Number
    storageConfigurationId String
    (String) id of storage config to be used for databricks_mws_workspace resource.
    storageConfigurationName String

    Import

    -> Note Importing this resource is not currently supported.

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo
    Databricks v1.34.0 published on Tuesday, Mar 5, 2024 by Pulumi