Databricks v1.71.0 published on Monday, Jun 9, 2025 by Pulumi
databricks.getAccountNetworkPolicies
Explore with Pulumi AI
Using getAccountNetworkPolicies
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 getAccountNetworkPolicies(opts?: InvokeOptions): Promise<GetAccountNetworkPoliciesResult>
function getAccountNetworkPoliciesOutput(opts?: InvokeOptions): Output<GetAccountNetworkPoliciesResult>
def get_account_network_policies(opts: Optional[InvokeOptions] = None) -> GetAccountNetworkPoliciesResult
def get_account_network_policies_output(opts: Optional[InvokeOptions] = None) -> Output[GetAccountNetworkPoliciesResult]
func GetAccountNetworkPolicies(ctx *Context, opts ...InvokeOption) (*GetAccountNetworkPoliciesResult, error)
func GetAccountNetworkPoliciesOutput(ctx *Context, opts ...InvokeOption) GetAccountNetworkPoliciesResultOutput
> Note: This function is named GetAccountNetworkPolicies
in the Go SDK.
public static class GetAccountNetworkPolicies
{
public static Task<GetAccountNetworkPoliciesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetAccountNetworkPoliciesResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountNetworkPoliciesResult> getAccountNetworkPolicies(InvokeOptions options)
public static Output<GetAccountNetworkPoliciesResult> getAccountNetworkPolicies(InvokeOptions options)
fn::invoke:
function: databricks:index/getAccountNetworkPolicies:getAccountNetworkPolicies
arguments:
# arguments dictionary
getAccountNetworkPolicies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Account Network Policies Item>
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Account Network Policies Item
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Account Network Policies Item>
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Account Network Policies Item[]
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Account Network Policies Item]
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
Supporting Types
GetAccountNetworkPoliciesItem
- Account
Id string - (string) - The associated account ID for this Network Policy object
- Egress
Get
Account Network Policies Item Egress - (NetworkPolicyEgress) - The network policies applying for egress traffic
- Network
Policy stringId - (string) - The unique identifier for the network policy
- Account
Id string - (string) - The associated account ID for this Network Policy object
- Egress
Get
Account Network Policies Item Egress - (NetworkPolicyEgress) - The network policies applying for egress traffic
- Network
Policy stringId - (string) - The unique identifier for the network policy
- account
Id String - (string) - The associated account ID for this Network Policy object
- egress
Get
Account Network Policies Item Egress - (NetworkPolicyEgress) - The network policies applying for egress traffic
- network
Policy StringId - (string) - The unique identifier for the network policy
- account
Id string - (string) - The associated account ID for this Network Policy object
- egress
Get
Account Network Policies Item Egress - (NetworkPolicyEgress) - The network policies applying for egress traffic
- network
Policy stringId - (string) - The unique identifier for the network policy
- account_
id str - (string) - The associated account ID for this Network Policy object
- egress
Get
Account Network Policies Item Egress - (NetworkPolicyEgress) - The network policies applying for egress traffic
- network_
policy_ strid - (string) - The unique identifier for the network policy
- account
Id String - (string) - The associated account ID for this Network Policy object
- egress Property Map
- (NetworkPolicyEgress) - The network policies applying for egress traffic
- network
Policy StringId - (string) - The unique identifier for the network policy
GetAccountNetworkPoliciesItemEgress
- Network
Access GetAccount Network Policies Item Egress Network Access - (EgressNetworkPolicyNetworkAccessPolicy) - The access policy enforced for egress traffic to the internet
- Network
Access GetAccount Network Policies Item Egress Network Access - (EgressNetworkPolicyNetworkAccessPolicy) - The access policy enforced for egress traffic to the internet
- network
Access GetAccount Network Policies Item Egress Network Access - (EgressNetworkPolicyNetworkAccessPolicy) - The access policy enforced for egress traffic to the internet
- network
Access GetAccount Network Policies Item Egress Network Access - (EgressNetworkPolicyNetworkAccessPolicy) - The access policy enforced for egress traffic to the internet
- network_
access GetAccount Network Policies Item Egress Network Access - (EgressNetworkPolicyNetworkAccessPolicy) - The access policy enforced for egress traffic to the internet
- network
Access Property Map - (EgressNetworkPolicyNetworkAccessPolicy) - The access policy enforced for egress traffic to the internet
GetAccountNetworkPoliciesItemEgressNetworkAccess
- Restriction
Mode string - (string) - The restriction mode that controls how serverless workloads can access the internet. Possible values are: FULL_ACCESS, RESTRICTED_ACCESS
- Allowed
Internet List<GetDestinations Account Network Policies Item Egress Network Access Allowed Internet Destination> - (list of EgressNetworkPolicyNetworkAccessPolicyInternetDestination) - List of internet destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- Allowed
Storage List<GetDestinations Account Network Policies Item Egress Network Access Allowed Storage Destination> - (list of EgressNetworkPolicyNetworkAccessPolicyStorageDestination) - List of storage destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- Policy
Enforcement GetAccount Network Policies Item Egress Network Access Policy Enforcement - (EgressNetworkPolicyNetworkAccessPolicyPolicyEnforcement) - Optional. When policy_enforcement is not provided, we default to ENFORCE_MODE_ALL_SERVICES
- Restriction
Mode string - (string) - The restriction mode that controls how serverless workloads can access the internet. Possible values are: FULL_ACCESS, RESTRICTED_ACCESS
- Allowed
Internet []GetDestinations Account Network Policies Item Egress Network Access Allowed Internet Destination - (list of EgressNetworkPolicyNetworkAccessPolicyInternetDestination) - List of internet destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- Allowed
Storage []GetDestinations Account Network Policies Item Egress Network Access Allowed Storage Destination - (list of EgressNetworkPolicyNetworkAccessPolicyStorageDestination) - List of storage destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- Policy
Enforcement GetAccount Network Policies Item Egress Network Access Policy Enforcement - (EgressNetworkPolicyNetworkAccessPolicyPolicyEnforcement) - Optional. When policy_enforcement is not provided, we default to ENFORCE_MODE_ALL_SERVICES
- restriction
Mode String - (string) - The restriction mode that controls how serverless workloads can access the internet. Possible values are: FULL_ACCESS, RESTRICTED_ACCESS
- allowed
Internet List<GetDestinations Account Network Policies Item Egress Network Access Allowed Internet Destination> - (list of EgressNetworkPolicyNetworkAccessPolicyInternetDestination) - List of internet destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- allowed
Storage List<GetDestinations Account Network Policies Item Egress Network Access Allowed Storage Destination> - (list of EgressNetworkPolicyNetworkAccessPolicyStorageDestination) - List of storage destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- policy
Enforcement GetAccount Network Policies Item Egress Network Access Policy Enforcement - (EgressNetworkPolicyNetworkAccessPolicyPolicyEnforcement) - Optional. When policy_enforcement is not provided, we default to ENFORCE_MODE_ALL_SERVICES
- restriction
Mode string - (string) - The restriction mode that controls how serverless workloads can access the internet. Possible values are: FULL_ACCESS, RESTRICTED_ACCESS
- allowed
Internet GetDestinations Account Network Policies Item Egress Network Access Allowed Internet Destination[] - (list of EgressNetworkPolicyNetworkAccessPolicyInternetDestination) - List of internet destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- allowed
Storage GetDestinations Account Network Policies Item Egress Network Access Allowed Storage Destination[] - (list of EgressNetworkPolicyNetworkAccessPolicyStorageDestination) - List of storage destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- policy
Enforcement GetAccount Network Policies Item Egress Network Access Policy Enforcement - (EgressNetworkPolicyNetworkAccessPolicyPolicyEnforcement) - Optional. When policy_enforcement is not provided, we default to ENFORCE_MODE_ALL_SERVICES
- restriction_
mode str - (string) - The restriction mode that controls how serverless workloads can access the internet. Possible values are: FULL_ACCESS, RESTRICTED_ACCESS
- allowed_
internet_ Sequence[Getdestinations Account Network Policies Item Egress Network Access Allowed Internet Destination] - (list of EgressNetworkPolicyNetworkAccessPolicyInternetDestination) - List of internet destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- allowed_
storage_ Sequence[Getdestinations Account Network Policies Item Egress Network Access Allowed Storage Destination] - (list of EgressNetworkPolicyNetworkAccessPolicyStorageDestination) - List of storage destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- policy_
enforcement GetAccount Network Policies Item Egress Network Access Policy Enforcement - (EgressNetworkPolicyNetworkAccessPolicyPolicyEnforcement) - Optional. When policy_enforcement is not provided, we default to ENFORCE_MODE_ALL_SERVICES
- restriction
Mode String - (string) - The restriction mode that controls how serverless workloads can access the internet. Possible values are: FULL_ACCESS, RESTRICTED_ACCESS
- allowed
Internet List<Property Map>Destinations - (list of EgressNetworkPolicyNetworkAccessPolicyInternetDestination) - List of internet destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- allowed
Storage List<Property Map>Destinations - (list of EgressNetworkPolicyNetworkAccessPolicyStorageDestination) - List of storage destinations that serverless workloads are allowed to access when in RESTRICTED_ACCESS mode
- policy
Enforcement Property Map - (EgressNetworkPolicyNetworkAccessPolicyPolicyEnforcement) - Optional. When policy_enforcement is not provided, we default to ENFORCE_MODE_ALL_SERVICES
GetAccountNetworkPoliciesItemEgressNetworkAccessAllowedInternetDestination
- Destination string
- (string) - The internet destination to which access will be allowed. Format dependent on the destination type
- Internet
Destination stringType - (string) - The type of internet destination. Currently only DNS_NAME is supported. Possible values are: DNS_NAME
- Destination string
- (string) - The internet destination to which access will be allowed. Format dependent on the destination type
- Internet
Destination stringType - (string) - The type of internet destination. Currently only DNS_NAME is supported. Possible values are: DNS_NAME
- destination String
- (string) - The internet destination to which access will be allowed. Format dependent on the destination type
- internet
Destination StringType - (string) - The type of internet destination. Currently only DNS_NAME is supported. Possible values are: DNS_NAME
- destination string
- (string) - The internet destination to which access will be allowed. Format dependent on the destination type
- internet
Destination stringType - (string) - The type of internet destination. Currently only DNS_NAME is supported. Possible values are: DNS_NAME
- destination str
- (string) - The internet destination to which access will be allowed. Format dependent on the destination type
- internet_
destination_ strtype - (string) - The type of internet destination. Currently only DNS_NAME is supported. Possible values are: DNS_NAME
- destination String
- (string) - The internet destination to which access will be allowed. Format dependent on the destination type
- internet
Destination StringType - (string) - The type of internet destination. Currently only DNS_NAME is supported. Possible values are: DNS_NAME
GetAccountNetworkPoliciesItemEgressNetworkAccessAllowedStorageDestination
- Azure
Storage stringAccount - (string) - The Azure storage account name
- Azure
Storage stringService - (string) - The Azure storage service type (blob, dfs, etc.)
- Bucket
Name string - (string) -
- Region string
- (string) - The region of the S3 bucket
- Storage
Destination stringType - (string) - The type of storage destination. Possible values are: AWS_S3, AZURE_STORAGE, GOOGLE_CLOUD_STORAGE
- Azure
Storage stringAccount - (string) - The Azure storage account name
- Azure
Storage stringService - (string) - The Azure storage service type (blob, dfs, etc.)
- Bucket
Name string - (string) -
- Region string
- (string) - The region of the S3 bucket
- Storage
Destination stringType - (string) - The type of storage destination. Possible values are: AWS_S3, AZURE_STORAGE, GOOGLE_CLOUD_STORAGE
- azure
Storage StringAccount - (string) - The Azure storage account name
- azure
Storage StringService - (string) - The Azure storage service type (blob, dfs, etc.)
- bucket
Name String - (string) -
- region String
- (string) - The region of the S3 bucket
- storage
Destination StringType - (string) - The type of storage destination. Possible values are: AWS_S3, AZURE_STORAGE, GOOGLE_CLOUD_STORAGE
- azure
Storage stringAccount - (string) - The Azure storage account name
- azure
Storage stringService - (string) - The Azure storage service type (blob, dfs, etc.)
- bucket
Name string - (string) -
- region string
- (string) - The region of the S3 bucket
- storage
Destination stringType - (string) - The type of storage destination. Possible values are: AWS_S3, AZURE_STORAGE, GOOGLE_CLOUD_STORAGE
- azure_
storage_ straccount - (string) - The Azure storage account name
- azure_
storage_ strservice - (string) - The Azure storage service type (blob, dfs, etc.)
- bucket_
name str - (string) -
- region str
- (string) - The region of the S3 bucket
- storage_
destination_ strtype - (string) - The type of storage destination. Possible values are: AWS_S3, AZURE_STORAGE, GOOGLE_CLOUD_STORAGE
- azure
Storage StringAccount - (string) - The Azure storage account name
- azure
Storage StringService - (string) - The Azure storage service type (blob, dfs, etc.)
- bucket
Name String - (string) -
- region String
- (string) - The region of the S3 bucket
- storage
Destination StringType - (string) - The type of storage destination. Possible values are: AWS_S3, AZURE_STORAGE, GOOGLE_CLOUD_STORAGE
GetAccountNetworkPoliciesItemEgressNetworkAccessPolicyEnforcement
- Dry
Run List<string>Mode Product Filters - (list of ) - When empty, it means dry run for all products. When non-empty, it means dry run for specific products and for the other products, they will run in enforced mode
- Enforcement
Mode string - (string) - The mode of policy enforcement. ENFORCED blocks traffic that violates policy, while DRY_RUN only logs violations without blocking. When not specified, defaults to ENFORCED. Possible values are: DRY_RUN, ENFORCED
- Dry
Run []stringMode Product Filters - (list of ) - When empty, it means dry run for all products. When non-empty, it means dry run for specific products and for the other products, they will run in enforced mode
- Enforcement
Mode string - (string) - The mode of policy enforcement. ENFORCED blocks traffic that violates policy, while DRY_RUN only logs violations without blocking. When not specified, defaults to ENFORCED. Possible values are: DRY_RUN, ENFORCED
- dry
Run List<String>Mode Product Filters - (list of ) - When empty, it means dry run for all products. When non-empty, it means dry run for specific products and for the other products, they will run in enforced mode
- enforcement
Mode String - (string) - The mode of policy enforcement. ENFORCED blocks traffic that violates policy, while DRY_RUN only logs violations without blocking. When not specified, defaults to ENFORCED. Possible values are: DRY_RUN, ENFORCED
- dry
Run string[]Mode Product Filters - (list of ) - When empty, it means dry run for all products. When non-empty, it means dry run for specific products and for the other products, they will run in enforced mode
- enforcement
Mode string - (string) - The mode of policy enforcement. ENFORCED blocks traffic that violates policy, while DRY_RUN only logs violations without blocking. When not specified, defaults to ENFORCED. Possible values are: DRY_RUN, ENFORCED
- dry_
run_ Sequence[str]mode_ product_ filters - (list of ) - When empty, it means dry run for all products. When non-empty, it means dry run for specific products and for the other products, they will run in enforced mode
- enforcement_
mode str - (string) - The mode of policy enforcement. ENFORCED blocks traffic that violates policy, while DRY_RUN only logs violations without blocking. When not specified, defaults to ENFORCED. Possible values are: DRY_RUN, ENFORCED
- dry
Run List<String>Mode Product Filters - (list of ) - When empty, it means dry run for all products. When non-empty, it means dry run for specific products and for the other products, they will run in enforced mode
- enforcement
Mode String - (string) - The mode of policy enforcement. ENFORCED blocks traffic that violates policy, while DRY_RUN only logs violations without blocking. When not specified, defaults to ENFORCED. Possible values are: DRY_RUN, ENFORCED
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.