1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsPrivatePathServiceGatewayAccountPolicy
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getIsPrivatePathServiceGatewayAccountPolicy

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source for PrivatePathServiceGatewayAccountPolicy. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.

    Using getIsPrivatePathServiceGatewayAccountPolicy

    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 getIsPrivatePathServiceGatewayAccountPolicy(args: GetIsPrivatePathServiceGatewayAccountPolicyArgs, opts?: InvokeOptions): Promise<GetIsPrivatePathServiceGatewayAccountPolicyResult>
    function getIsPrivatePathServiceGatewayAccountPolicyOutput(args: GetIsPrivatePathServiceGatewayAccountPolicyOutputArgs, opts?: InvokeOptions): Output<GetIsPrivatePathServiceGatewayAccountPolicyResult>
    def get_is_private_path_service_gateway_account_policy(account_policy: Optional[str] = None,
                                                           id: Optional[str] = None,
                                                           private_path_service_gateway: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetIsPrivatePathServiceGatewayAccountPolicyResult
    def get_is_private_path_service_gateway_account_policy_output(account_policy: Optional[pulumi.Input[str]] = None,
                                                           id: Optional[pulumi.Input[str]] = None,
                                                           private_path_service_gateway: Optional[pulumi.Input[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetIsPrivatePathServiceGatewayAccountPolicyResult]
    func LookupIsPrivatePathServiceGatewayAccountPolicy(ctx *Context, args *LookupIsPrivatePathServiceGatewayAccountPolicyArgs, opts ...InvokeOption) (*LookupIsPrivatePathServiceGatewayAccountPolicyResult, error)
    func LookupIsPrivatePathServiceGatewayAccountPolicyOutput(ctx *Context, args *LookupIsPrivatePathServiceGatewayAccountPolicyOutputArgs, opts ...InvokeOption) LookupIsPrivatePathServiceGatewayAccountPolicyResultOutput

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

    public static class GetIsPrivatePathServiceGatewayAccountPolicy 
    {
        public static Task<GetIsPrivatePathServiceGatewayAccountPolicyResult> InvokeAsync(GetIsPrivatePathServiceGatewayAccountPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetIsPrivatePathServiceGatewayAccountPolicyResult> Invoke(GetIsPrivatePathServiceGatewayAccountPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsPrivatePathServiceGatewayAccountPolicyResult> getIsPrivatePathServiceGatewayAccountPolicy(GetIsPrivatePathServiceGatewayAccountPolicyArgs args, InvokeOptions options)
    public static Output<GetIsPrivatePathServiceGatewayAccountPolicyResult> getIsPrivatePathServiceGatewayAccountPolicy(GetIsPrivatePathServiceGatewayAccountPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsPrivatePathServiceGatewayAccountPolicy:getIsPrivatePathServiceGatewayAccountPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountPolicy string
    The account policy identifier.
    PrivatePathServiceGateway string
    The private path service gateway identifier.
    Id string
    (String)
    AccountPolicy string
    The account policy identifier.
    PrivatePathServiceGateway string
    The private path service gateway identifier.
    Id string
    (String)
    accountPolicy String
    The account policy identifier.
    privatePathServiceGateway String
    The private path service gateway identifier.
    id String
    (String)
    accountPolicy string
    The account policy identifier.
    privatePathServiceGateway string
    The private path service gateway identifier.
    id string
    (String)
    account_policy str
    The account policy identifier.
    private_path_service_gateway str
    The private path service gateway identifier.
    id str
    (String)
    accountPolicy String
    The account policy identifier.
    privatePathServiceGateway String
    The private path service gateway identifier.
    id String
    (String)

    getIsPrivatePathServiceGatewayAccountPolicy Result

    The following output properties are available:

    AccessPolicy string
    (String) The access policy for the account:- permit: access will be permitted- deny: access will be denied- review: access will be manually reviewedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
    AccountPolicy string
    Accounts List<GetIsPrivatePathServiceGatewayAccountPolicyAccount>
    (List) The account for this access policy. Nested scheme for account:
    CreatedAt string
    (String) The date and time that the account policy was created.
    Href string
    (String) The URL for this account policy.
    Id string
    (String)
    PrivatePathServiceGateway string
    ResourceType string
    (String) The resource type.
    UpdatedAt string
    (String) The date and time that the account policy was updated.
    AccessPolicy string
    (String) The access policy for the account:- permit: access will be permitted- deny: access will be denied- review: access will be manually reviewedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
    AccountPolicy string
    Accounts []GetIsPrivatePathServiceGatewayAccountPolicyAccount
    (List) The account for this access policy. Nested scheme for account:
    CreatedAt string
    (String) The date and time that the account policy was created.
    Href string
    (String) The URL for this account policy.
    Id string
    (String)
    PrivatePathServiceGateway string
    ResourceType string
    (String) The resource type.
    UpdatedAt string
    (String) The date and time that the account policy was updated.
    accessPolicy String
    (String) The access policy for the account:- permit: access will be permitted- deny: access will be denied- review: access will be manually reviewedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
    accountPolicy String
    accounts List<GetIsPrivatePathServiceGatewayAccountPolicyAccount>
    (List) The account for this access policy. Nested scheme for account:
    createdAt String
    (String) The date and time that the account policy was created.
    href String
    (String) The URL for this account policy.
    id String
    (String)
    privatePathServiceGateway String
    resourceType String
    (String) The resource type.
    updatedAt String
    (String) The date and time that the account policy was updated.
    accessPolicy string
    (String) The access policy for the account:- permit: access will be permitted- deny: access will be denied- review: access will be manually reviewedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
    accountPolicy string
    accounts GetIsPrivatePathServiceGatewayAccountPolicyAccount[]
    (List) The account for this access policy. Nested scheme for account:
    createdAt string
    (String) The date and time that the account policy was created.
    href string
    (String) The URL for this account policy.
    id string
    (String)
    privatePathServiceGateway string
    resourceType string
    (String) The resource type.
    updatedAt string
    (String) The date and time that the account policy was updated.
    access_policy str
    (String) The access policy for the account:- permit: access will be permitted- deny: access will be denied- review: access will be manually reviewedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
    account_policy str
    accounts Sequence[GetIsPrivatePathServiceGatewayAccountPolicyAccount]
    (List) The account for this access policy. Nested scheme for account:
    created_at str
    (String) The date and time that the account policy was created.
    href str
    (String) The URL for this account policy.
    id str
    (String)
    private_path_service_gateway str
    resource_type str
    (String) The resource type.
    updated_at str
    (String) The date and time that the account policy was updated.
    accessPolicy String
    (String) The access policy for the account:- permit: access will be permitted- deny: access will be denied- review: access will be manually reviewedThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected property value was encountered.
    accountPolicy String
    accounts List<Property Map>
    (List) The account for this access policy. Nested scheme for account:
    createdAt String
    (String) The date and time that the account policy was created.
    href String
    (String) The URL for this account policy.
    id String
    (String)
    privatePathServiceGateway String
    resourceType String
    (String) The resource type.
    updatedAt String
    (String) The date and time that the account policy was updated.

    Supporting Types

    GetIsPrivatePathServiceGatewayAccountPolicyAccount

    Id string
    (String)
    ResourceType string
    (String) The resource type.
    Id string
    (String)
    ResourceType string
    (String) The resource type.
    id String
    (String)
    resourceType String
    (String) The resource type.
    id string
    (String)
    resourceType string
    (String) The resource type.
    id str
    (String)
    resource_type str
    (String) The resource type.
    id String
    (String)
    resourceType String
    (String) The resource type.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud