Exoscale v0.59.2 published on Monday, Jul 22, 2024 by Pulumiverse
exoscale.getIamOrgPolicy
Explore with Pulumi AI
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:
- Default
Service stringStrategy - Default service strategy (
allow
ordeny
). - Id string
- The ID of this resource.
- Services
Dictionary<string, Pulumiverse.
Exoscale. Outputs. Get Iam Org Policy Services> - IAM policy services.
- Timeouts
Pulumiverse.
Exoscale. Outputs. Get Iam Org Policy Timeouts
- Default
Service stringStrategy - Default service strategy (
allow
ordeny
). - Id string
- The ID of this resource.
- Services
map[string]Get
Iam Org Policy Services - IAM policy services.
- Timeouts
Get
Iam Org Policy Timeouts
- default
Service StringStrategy - Default service strategy (
allow
ordeny
). - id String
- The ID of this resource.
- services
Map<String,Get
Iam Org Policy Services> - IAM policy services.
- timeouts
Get
Iam Org Policy Timeouts
- default
Service stringStrategy - Default service strategy (
allow
ordeny
). - id string
- The ID of this resource.
- services
{[key: string]: Get
Iam Org Policy Services} - IAM policy services.
- timeouts
Get
Iam Org Policy Timeouts
- default_
service_ strstrategy - Default service strategy (
allow
ordeny
). - id str
- The ID of this resource.
- services
Mapping[str, Get
Iam Org Policy Services] - IAM policy services.
- timeouts
Get
Iam Org Policy Timeouts
- default
Service StringStrategy - Default service strategy (
allow
ordeny
). - 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. Get Iam Org Policy Services Rule> - List of IAM service rules (if type is
rules
). - Type string
- Service type (
rules
,allow
, ordeny
).
- Rules
[]Get
Iam Org Policy Services Rule - List of IAM service rules (if type is
rules
). - Type string
- Service type (
rules
,allow
, ordeny
).
- rules
List<Get
Iam Org Policy Services Rule> - List of IAM service rules (if type is
rules
). - type String
- Service type (
rules
,allow
, ordeny
).
- rules
Get
Iam Org Policy Services Rule[] - List of IAM service rules (if type is
rules
). - type string
- Service type (
rules
,allow
, ordeny
).
- rules
Sequence[Get
Iam Org Policy Services Rule] - List of IAM service rules (if type is
rules
). - type str
- Service type (
rules
,allow
, ordeny
).
- rules List<Property Map>
- List of IAM service rules (if type is
rules
). - type String
- Service type (
rules
,allow
, ordeny
).
GetIamOrgPolicyServicesRule
- Action string
- IAM policy rule action (
allow
ordeny
). - Expression string
- IAM policy rule expression.
- Resources List<string>
- Action string
- IAM policy rule action (
allow
ordeny
). - Expression string
- IAM policy rule expression.
- Resources []string
- action String
- IAM policy rule action (
allow
ordeny
). - expression String
- IAM policy rule expression.
- resources List<String>
- action string
- IAM policy rule action (
allow
ordeny
). - expression string
- IAM policy rule expression.
- resources string[]
- action str
- IAM policy rule action (
allow
ordeny
). - expression str
- IAM policy rule expression.
- resources Sequence[str]
- action String
- IAM policy rule action (
allow
ordeny
). - expression String
- IAM policy rule expression.
- resources List<String>
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.