1. Packages
  2. Exoscale
  3. API Docs
  4. getIamOrgPolicy
Exoscale v0.62.7 published on Tuesday, Dec 10, 2024 by Pulumiverse

exoscale.getIamOrgPolicy

Explore with Pulumi AI

Exoscale v0.62.7 published on Tuesday, Dec 10, 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>
Copy
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]
Copy
func LookupIamOrgPolicy(ctx *Context, args *LookupIamOrgPolicyArgs, opts ...InvokeOption) (*LookupIamOrgPolicyResult, error)
func LookupIamOrgPolicyOutput(ctx *Context, args *LookupIamOrgPolicyOutputArgs, opts ...InvokeOption) LookupIamOrgPolicyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIamOrgPolicyResult> getIamOrgPolicy(GetIamOrgPolicyArgs args, InvokeOptions options)
public static Output<GetIamOrgPolicyResult> getIamOrgPolicy(GetIamOrgPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: exoscale:index/getIamOrgPolicy:getIamOrgPolicy
  arguments:
    # arguments dictionary
Copy

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 This property is required. List<Pulumiverse.Exoscale.Inputs.GetIamOrgPolicyServicesRule>
List of IAM service rules (if type is rules).
Type This property is required. string
Service type (rules, allow, or deny).
Rules This property is required. []GetIamOrgPolicyServicesRule
List of IAM service rules (if type is rules).
Type This property is required. string
Service type (rules, allow, or deny).
rules This property is required. List<GetIamOrgPolicyServicesRule>
List of IAM service rules (if type is rules).
type This property is required. String
Service type (rules, allow, or deny).
rules This property is required. GetIamOrgPolicyServicesRule[]
List of IAM service rules (if type is rules).
type This property is required. string
Service type (rules, allow, or deny).
rules This property is required. Sequence[GetIamOrgPolicyServicesRule]
List of IAM service rules (if type is rules).
type This property is required. str
Service type (rules, allow, or deny).
rules This property is required. List<Property Map>
List of IAM service rules (if type is rules).
type This property is required. String
Service type (rules, allow, or deny).

GetIamOrgPolicyServicesRule

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

Deprecated: This field is no longer suported.

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

Deprecated: This field is no longer suported.

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

Deprecated: This field is no longer suported.

action This property is required. string
IAM policy rule action (allow or deny).
expression This property is required. string
IAM policy rule expression.
resources This property is required. string[]

Deprecated: This field is no longer suported.

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

Deprecated: This field is no longer suported.

action This property is required. String
IAM policy rule action (allow or deny).
expression This property is required. String
IAM policy rule expression.
resources This property is required. 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 v0.62.7 published on Tuesday, Dec 10, 2024 by Pulumiverse