Databricks v1.39.2 published on Friday, May 10, 2024 by Pulumi
databricks.getExternalLocation
Explore with Pulumi AI
Example Usage
Getting details of an existing external location in the metastore
Using getExternalLocation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExternalLocation(args: GetExternalLocationArgs, opts?: InvokeOptions): Promise<GetExternalLocationResult>
function getExternalLocationOutput(args: GetExternalLocationOutputArgs, opts?: InvokeOptions): Output<GetExternalLocationResult>
def get_external_location(external_location_info: Optional[GetExternalLocationExternalLocationInfo] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExternalLocationResult
def get_external_location_output(external_location_info: Optional[pulumi.Input[GetExternalLocationExternalLocationInfoArgs]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExternalLocationResult]
func LookupExternalLocation(ctx *Context, args *LookupExternalLocationArgs, opts ...InvokeOption) (*LookupExternalLocationResult, error)
func LookupExternalLocationOutput(ctx *Context, args *LookupExternalLocationOutputArgs, opts ...InvokeOption) LookupExternalLocationResultOutput
> Note: This function is named LookupExternalLocation
in the Go SDK.
public static class GetExternalLocation
{
public static Task<GetExternalLocationResult> InvokeAsync(GetExternalLocationArgs args, InvokeOptions? opts = null)
public static Output<GetExternalLocationResult> Invoke(GetExternalLocationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExternalLocationResult> getExternalLocation(GetExternalLocationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: databricks:index/getExternalLocation:getExternalLocation
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the storage credential
- External
Location GetInfo External Location External Location Info
- Name string
- The name of the storage credential
- External
Location GetInfo External Location External Location Info
- name String
- The name of the storage credential
- external
Location GetInfo External Location External Location Info
- name string
- The name of the storage credential
- external
Location GetInfo External Location External Location Info
- name str
- The name of the storage credential
- external_
location_ Getinfo External Location External Location Info
- name String
- The name of the storage credential
- external
Location Property MapInfo
getExternalLocation Result
The following output properties are available:
- External
Location GetInfo External Location External Location Info - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- External
Location GetInfo External Location External Location Info - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- external
Location GetInfo External Location External Location Info - id String
- The provider-assigned unique ID for this managed resource.
- name String
- external
Location GetInfo External Location External Location Info - id string
- The provider-assigned unique ID for this managed resource.
- name string
- external_
location_ Getinfo External Location External Location Info - id str
- The provider-assigned unique ID for this managed resource.
- name str
- external
Location Property MapInfo - id String
- The provider-assigned unique ID for this managed resource.
- name String
Supporting Types
GetExternalLocationExternalLocationInfo
- Access
Point string - The ARN of the s3 access point to use with the external location (AWS).
- Browse
Only bool - Comment string
- User-supplied comment.
- Created
At int - Created
By string - Credential
Id string - Credential
Name string - Name of the databricks.StorageCredential to use with this external location.
- Encryption
Details GetExternal Location External Location Info Encryption Details - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
- Metastore
Id string - Name string
- The name of the storage credential
- Owner string
- Username/groupname/sp application_id of the external location owner.
- Read
Only bool - Indicates whether the external location is read-only.
- Updated
At int - Updated
By string - Url string
- Path URL in cloud storage, of the form:
s3://[bucket-host]/[bucket-dir]
(AWS),abfss://[user]@[host]/[path]
(Azure),gs://[bucket-host]/[bucket-dir]
(GCP).
- Access
Point string - The ARN of the s3 access point to use with the external location (AWS).
- Browse
Only bool - Comment string
- User-supplied comment.
- Created
At int - Created
By string - Credential
Id string - Credential
Name string - Name of the databricks.StorageCredential to use with this external location.
- Encryption
Details GetExternal Location External Location Info Encryption Details - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
- Metastore
Id string - Name string
- The name of the storage credential
- Owner string
- Username/groupname/sp application_id of the external location owner.
- Read
Only bool - Indicates whether the external location is read-only.
- Updated
At int - Updated
By string - Url string
- Path URL in cloud storage, of the form:
s3://[bucket-host]/[bucket-dir]
(AWS),abfss://[user]@[host]/[path]
(Azure),gs://[bucket-host]/[bucket-dir]
(GCP).
- access
Point String - The ARN of the s3 access point to use with the external location (AWS).
- browse
Only Boolean - comment String
- User-supplied comment.
- created
At Integer - created
By String - credential
Id String - credential
Name String - Name of the databricks.StorageCredential to use with this external location.
- encryption
Details GetExternal Location External Location Info Encryption Details - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
- metastore
Id String - name String
- The name of the storage credential
- owner String
- Username/groupname/sp application_id of the external location owner.
- read
Only Boolean - Indicates whether the external location is read-only.
- updated
At Integer - updated
By String - url String
- Path URL in cloud storage, of the form:
s3://[bucket-host]/[bucket-dir]
(AWS),abfss://[user]@[host]/[path]
(Azure),gs://[bucket-host]/[bucket-dir]
(GCP).
- access
Point string - The ARN of the s3 access point to use with the external location (AWS).
- browse
Only boolean - comment string
- User-supplied comment.
- created
At number - created
By string - credential
Id string - credential
Name string - Name of the databricks.StorageCredential to use with this external location.
- encryption
Details GetExternal Location External Location Info Encryption Details - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
- metastore
Id string - name string
- The name of the storage credential
- owner string
- Username/groupname/sp application_id of the external location owner.
- read
Only boolean - Indicates whether the external location is read-only.
- updated
At number - updated
By string - url string
- Path URL in cloud storage, of the form:
s3://[bucket-host]/[bucket-dir]
(AWS),abfss://[user]@[host]/[path]
(Azure),gs://[bucket-host]/[bucket-dir]
(GCP).
- access_
point str - The ARN of the s3 access point to use with the external location (AWS).
- browse_
only bool - comment str
- User-supplied comment.
- created_
at int - created_
by str - credential_
id str - credential_
name str - Name of the databricks.StorageCredential to use with this external location.
- encryption_
details GetExternal Location External Location Info Encryption Details - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
- metastore_
id str - name str
- The name of the storage credential
- owner str
- Username/groupname/sp application_id of the external location owner.
- read_
only bool - Indicates whether the external location is read-only.
- updated_
at int - updated_
by str - url str
- Path URL in cloud storage, of the form:
s3://[bucket-host]/[bucket-dir]
(AWS),abfss://[user]@[host]/[path]
(Azure),gs://[bucket-host]/[bucket-dir]
(GCP).
- access
Point String - The ARN of the s3 access point to use with the external location (AWS).
- browse
Only Boolean - comment String
- User-supplied comment.
- created
At Number - created
By String - credential
Id String - credential
Name String - Name of the databricks.StorageCredential to use with this external location.
- encryption
Details Property Map - The options for Server-Side Encryption to be used by each Databricks s3 client when connecting to S3 cloud storage (AWS).
- metastore
Id String - name String
- The name of the storage credential
- owner String
- Username/groupname/sp application_id of the external location owner.
- read
Only Boolean - Indicates whether the external location is read-only.
- updated
At Number - updated
By String - url String
- Path URL in cloud storage, of the form:
s3://[bucket-host]/[bucket-dir]
(AWS),abfss://[user]@[host]/[path]
(Azure),gs://[bucket-host]/[bucket-dir]
(GCP).
GetExternalLocationExternalLocationInfoEncryptionDetails
GetExternalLocationExternalLocationInfoEncryptionDetailsSseEncryptionDetails
- Algorithm string
- Aws
Kms stringKey Arn
- Algorithm string
- Aws
Kms stringKey Arn
- algorithm String
- aws
Kms StringKey Arn
- algorithm string
- aws
Kms stringKey Arn
- algorithm str
- aws_
kms_ strkey_ arn
- algorithm String
- aws
Kms StringKey Arn
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.