Viewing docs for Grafana v2.21.0
published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
Viewing docs for Grafana v2.21.0
published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
Fetches access policies from Grafana Cloud.
Required access policy scopes:
- accesspolicies:read
Using getAccessPolicies
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 getAccessPolicies(args: GetAccessPoliciesArgs, opts?: InvokeOptions): Promise<GetAccessPoliciesResult>
function getAccessPoliciesOutput(args: GetAccessPoliciesOutputArgs, opts?: InvokeOptions): Output<GetAccessPoliciesResult>def get_access_policies(name_filter: Optional[str] = None,
region_filter: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccessPoliciesResult
def get_access_policies_output(name_filter: Optional[pulumi.Input[str]] = None,
region_filter: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccessPoliciesResult]func GetAccessPolicies(ctx *Context, args *GetAccessPoliciesArgs, opts ...InvokeOption) (*GetAccessPoliciesResult, error)
func GetAccessPoliciesOutput(ctx *Context, args *GetAccessPoliciesOutputArgs, opts ...InvokeOption) GetAccessPoliciesResultOutput> Note: This function is named GetAccessPolicies in the Go SDK.
public static class GetAccessPolicies
{
public static Task<GetAccessPoliciesResult> InvokeAsync(GetAccessPoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetAccessPoliciesResult> Invoke(GetAccessPoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
public static Output<GetAccessPoliciesResult> getAccessPolicies(GetAccessPoliciesArgs args, InvokeOptions options)
fn::invoke:
function: grafana:cloud/getAccessPolicies:getAccessPolicies
arguments:
# arguments dictionaryThe following arguments are supported:
- Name
Filter string - Region
Filter string - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- Name
Filter string - Region
Filter string - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- name
Filter String - region
Filter String - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- name
Filter string - region
Filter string - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- name_
filter str - region_
filter str - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- name
Filter String - region
Filter String - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
getAccessPolicies Result
The following output properties are available:
- Access
Policies List<Pulumiverse.Grafana. Cloud. Outputs. Get Access Policies Access Policy> - Id string
- The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
- Name
Filter string - Region
Filter string - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- Access
Policies []GetAccess Policies Access Policy - Id string
- The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
- Name
Filter string - Region
Filter string - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- access
Policies List<GetAccess Policies Access Policy> - id String
- The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
- name
Filter String - region
Filter String - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- access
Policies GetAccess Policies Access Policy[] - id string
- The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
- name
Filter string - region
Filter string - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- access_
policies Sequence[GetAccess Policies Access Policy] - id str
- The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
- name_
filter str - region_
filter str - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
- access
Policies List<Property Map> - id String
- The ID of this datasource. This is an internal identifier used by the provider to track this datasource.
- name
Filter String - region
Filter String - If set, only access policies in the specified region will be returned. Otherwise, fetches from all available regions (more resource intensive).
Supporting Types
GetAccessPoliciesAccessPolicy
- Display
Name string - Id string
- Name string
- Region string
- Status string
- Display
Name string - Id string
- Name string
- Region string
- Status string
- display
Name String - id String
- name String
- region String
- status String
- display
Name string - id string
- name string
- region string
- status string
- display_
name str - id str
- name str
- region str
- status str
- display
Name String - id String
- name String
- region String
- status String
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafanaTerraform Provider.
Viewing docs for Grafana v2.21.0
published on Tuesday, Mar 3, 2026 by pulumiverse
published on Tuesday, Mar 3, 2026 by pulumiverse
