Grafana v0.7.1 published on Monday, Nov 25, 2024 by pulumiverse
grafana.cloud.getAccessPolicies
Explore with Pulumi AI
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: grafana:cloud/getAccessPolicies:getAccessPolicies
arguments:
# arguments dictionary
The following arguments are supported:
- Name
Filter string - Region
Filter string
- Name
Filter string - Region
Filter string
- name
Filter String - region
Filter String
- name
Filter string - region
Filter string
- name_
filter str - region_
filter str
- name
Filter String - region
Filter String
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
- 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
- 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
- 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
- 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
- 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
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
grafana
Terraform Provider.