1. Packages
  2. Exoscale
  3. API Docs
  4. getIamOrgPolicy
Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse

exoscale.getIamOrgPolicy

Explore with Pulumi AI

exoscale logo
Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse

    Fetch Exoscale IAM Organization Policy.

    Corresponding resource: exoscale_iam_org_policy.

    Using getIamOrgPolicy

    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 getIamOrgPolicy(args: GetIamOrgPolicyArgs, opts?: InvokeOptions): Promise<GetIamOrgPolicyResult>
    function getIamOrgPolicyOutput(args: GetIamOrgPolicyOutputArgs, opts?: InvokeOptions): Output<GetIamOrgPolicyResult>
    def get_iam_org_policy(timeouts: Optional[GetIamOrgPolicyTimeouts] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIamOrgPolicyResult
    def get_iam_org_policy_output(timeouts: Optional[pulumi.Input[GetIamOrgPolicyTimeoutsArgs]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIamOrgPolicyResult]
    func LookupIamOrgPolicy(ctx *Context, args *LookupIamOrgPolicyArgs, opts ...InvokeOption) (*LookupIamOrgPolicyResult, error)
    func LookupIamOrgPolicyOutput(ctx *Context, args *LookupIamOrgPolicyOutputArgs, opts ...InvokeOption) LookupIamOrgPolicyResultOutput

    > Note: This function is named LookupIamOrgPolicy in the Go SDK.

    public static class GetIamOrgPolicy 
    {
        public static Task<GetIamOrgPolicyResult> InvokeAsync(GetIamOrgPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetIamOrgPolicyResult> Invoke(GetIamOrgPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIamOrgPolicyResult> getIamOrgPolicy(GetIamOrgPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: exoscale:index/getIamOrgPolicy:getIamOrgPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getIamOrgPolicy Result

    The following output properties are available:

    DefaultServiceStrategy string
    Default service strategy (allow or deny).
    Id string
    The ID of this resource.
    Services Dictionary<string, Pulumiverse.Exoscale.Outputs.GetIamOrgPolicyServices>
    IAM policy services.
    Timeouts Pulumiverse.Exoscale.Outputs.GetIamOrgPolicyTimeouts
    DefaultServiceStrategy string
    Default service strategy (allow or deny).
    Id string
    The ID of this resource.
    Services map[string]GetIamOrgPolicyServices
    IAM policy services.
    Timeouts GetIamOrgPolicyTimeouts
    defaultServiceStrategy String
    Default service strategy (allow or deny).
    id String
    The ID of this resource.
    services Map<String,GetIamOrgPolicyServices>
    IAM policy services.
    timeouts GetIamOrgPolicyTimeouts
    defaultServiceStrategy string
    Default service strategy (allow or deny).
    id string
    The ID of this resource.
    services {[key: string]: GetIamOrgPolicyServices}
    IAM policy services.
    timeouts GetIamOrgPolicyTimeouts
    default_service_strategy str
    Default service strategy (allow or deny).
    id str
    The ID of this resource.
    services Mapping[str, GetIamOrgPolicyServices]
    IAM policy services.
    timeouts GetIamOrgPolicyTimeouts
    defaultServiceStrategy String
    Default service strategy (allow or deny).
    id String
    The ID of this resource.
    services Map<Property Map>
    IAM policy services.
    timeouts Property Map

    Supporting Types

    GetIamOrgPolicyServices

    Rules List<Pulumiverse.Exoscale.Inputs.GetIamOrgPolicyServicesRule>
    List of IAM service rules (if type is rules).
    Type string
    Service type (rules, allow, or deny).
    Rules []GetIamOrgPolicyServicesRule
    List of IAM service rules (if type is rules).
    Type string
    Service type (rules, allow, or deny).
    rules List<GetIamOrgPolicyServicesRule>
    List of IAM service rules (if type is rules).
    type String
    Service type (rules, allow, or deny).
    rules GetIamOrgPolicyServicesRule[]
    List of IAM service rules (if type is rules).
    type string
    Service type (rules, allow, or deny).
    rules Sequence[GetIamOrgPolicyServicesRule]
    List of IAM service rules (if type is rules).
    type str
    Service type (rules, allow, or deny).
    rules List<Property Map>
    List of IAM service rules (if type is rules).
    type String
    Service type (rules, allow, or deny).

    GetIamOrgPolicyServicesRule

    Action string
    IAM policy rule action (allow or deny).
    Expression string
    IAM policy rule expression.
    Resources List<string>

    Deprecated:This field is no longer suported.

    Action string
    IAM policy rule action (allow or deny).
    Expression string
    IAM policy rule expression.
    Resources []string

    Deprecated:This field is no longer suported.

    action String
    IAM policy rule action (allow or deny).
    expression String
    IAM policy rule expression.
    resources List<String>

    Deprecated:This field is no longer suported.

    action string
    IAM policy rule action (allow or deny).
    expression string
    IAM policy rule expression.
    resources string[]

    Deprecated:This field is no longer suported.

    action str
    IAM policy rule action (allow or deny).
    expression str
    IAM policy rule expression.
    resources Sequence[str]

    Deprecated:This field is no longer suported.

    action String
    IAM policy rule action (allow or deny).
    expression String
    IAM policy rule expression.
    resources List<String>

    Deprecated:This field is no longer suported.

    GetIamOrgPolicyTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the exoscale Terraform Provider.
    exoscale logo
    Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse