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

ibm.getIsIpsecPolicy

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 IPsecPolicy. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. For more information, about managing IBM Cloud VPN Gateway and IPsec policy , see about site-to-site VPN gateways.

    Using getIsIpsecPolicy

    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 getIsIpsecPolicy(args: GetIsIpsecPolicyArgs, opts?: InvokeOptions): Promise<GetIsIpsecPolicyResult>
    function getIsIpsecPolicyOutput(args: GetIsIpsecPolicyOutputArgs, opts?: InvokeOptions): Output<GetIsIpsecPolicyResult>
    def get_is_ipsec_policy(id: Optional[str] = None,
                            ipsec_policy: Optional[str] = None,
                            name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetIsIpsecPolicyResult
    def get_is_ipsec_policy_output(id: Optional[pulumi.Input[str]] = None,
                            ipsec_policy: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetIsIpsecPolicyResult]
    func LookupIsIpsecPolicy(ctx *Context, args *LookupIsIpsecPolicyArgs, opts ...InvokeOption) (*LookupIsIpsecPolicyResult, error)
    func LookupIsIpsecPolicyOutput(ctx *Context, args *LookupIsIpsecPolicyOutputArgs, opts ...InvokeOption) LookupIsIpsecPolicyResultOutput

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

    public static class GetIsIpsecPolicy 
    {
        public static Task<GetIsIpsecPolicyResult> InvokeAsync(GetIsIpsecPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetIsIpsecPolicyResult> Invoke(GetIsIpsecPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsIpsecPolicyResult> getIsIpsecPolicy(GetIsIpsecPolicyArgs args, InvokeOptions options)
    public static Output<GetIsIpsecPolicyResult> getIsIpsecPolicy(GetIsIpsecPolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsIpsecPolicy:getIsIpsecPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    (String) The unique identifier for this resource group.
    IpsecPolicy string

    The IPsec policy identifier.

    NOTE One of ipsec_policy or name is required

    Name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    Id string
    (String) The unique identifier for this resource group.
    IpsecPolicy string

    The IPsec policy identifier.

    NOTE One of ipsec_policy or name is required

    Name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    id String
    (String) The unique identifier for this resource group.
    ipsecPolicy String

    The IPsec policy identifier.

    NOTE One of ipsec_policy or name is required

    name String

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    id string
    (String) The unique identifier for this resource group.
    ipsecPolicy string

    The IPsec policy identifier.

    NOTE One of ipsec_policy or name is required

    name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    id str
    (String) The unique identifier for this resource group.
    ipsec_policy str

    The IPsec policy identifier.

    NOTE One of ipsec_policy or name is required

    name str

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    id String
    (String) The unique identifier for this resource group.
    ipsecPolicy String

    The IPsec policy identifier.

    NOTE One of ipsec_policy or name is required

    name String

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    getIsIpsecPolicy Result

    The following output properties are available:

    AuthenticationAlgorithm string
    (String) The authentication algorithm.
    Connections List<GetIsIpsecPolicyConnection>
    (List) The VPN gateway connections that use this IPsec policy.
    CreatedAt string
    (String) The date and time that this IPsec policy was created.
    EncapsulationMode string
    (String) The encapsulation mode used. Only tunnel is supported.
    EncryptionAlgorithm string
    (String) The encryption algorithm.
    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique identifier for this resource group.
    KeyLifetime double
    (Integer) The key lifetime in seconds.
    Pfs string
    (String) Perfect Forward Secrecy.
    ResourceGroups List<GetIsIpsecPolicyResourceGroup>
    (List) The resource group object, for this IPsec policy.
    ResourceType string
    (String) The resource type.
    TransformProtocol string
    (String) The transform protocol used. Only esp is supported.
    IpsecPolicy string
    Name string
    (String) The user-defined name for this resource group.
    AuthenticationAlgorithm string
    (String) The authentication algorithm.
    Connections []GetIsIpsecPolicyConnection
    (List) The VPN gateway connections that use this IPsec policy.
    CreatedAt string
    (String) The date and time that this IPsec policy was created.
    EncapsulationMode string
    (String) The encapsulation mode used. Only tunnel is supported.
    EncryptionAlgorithm string
    (String) The encryption algorithm.
    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique identifier for this resource group.
    KeyLifetime float64
    (Integer) The key lifetime in seconds.
    Pfs string
    (String) Perfect Forward Secrecy.
    ResourceGroups []GetIsIpsecPolicyResourceGroup
    (List) The resource group object, for this IPsec policy.
    ResourceType string
    (String) The resource type.
    TransformProtocol string
    (String) The transform protocol used. Only esp is supported.
    IpsecPolicy string
    Name string
    (String) The user-defined name for this resource group.
    authenticationAlgorithm String
    (String) The authentication algorithm.
    connections List<GetIsIpsecPolicyConnection>
    (List) The VPN gateway connections that use this IPsec policy.
    createdAt String
    (String) The date and time that this IPsec policy was created.
    encapsulationMode String
    (String) The encapsulation mode used. Only tunnel is supported.
    encryptionAlgorithm String
    (String) The encryption algorithm.
    href String
    (String) The URL for this resource group.
    id String
    (String) The unique identifier for this resource group.
    keyLifetime Double
    (Integer) The key lifetime in seconds.
    pfs String
    (String) Perfect Forward Secrecy.
    resourceGroups List<GetIsIpsecPolicyResourceGroup>
    (List) The resource group object, for this IPsec policy.
    resourceType String
    (String) The resource type.
    transformProtocol String
    (String) The transform protocol used. Only esp is supported.
    ipsecPolicy String
    name String
    (String) The user-defined name for this resource group.
    authenticationAlgorithm string
    (String) The authentication algorithm.
    connections GetIsIpsecPolicyConnection[]
    (List) The VPN gateway connections that use this IPsec policy.
    createdAt string
    (String) The date and time that this IPsec policy was created.
    encapsulationMode string
    (String) The encapsulation mode used. Only tunnel is supported.
    encryptionAlgorithm string
    (String) The encryption algorithm.
    href string
    (String) The URL for this resource group.
    id string
    (String) The unique identifier for this resource group.
    keyLifetime number
    (Integer) The key lifetime in seconds.
    pfs string
    (String) Perfect Forward Secrecy.
    resourceGroups GetIsIpsecPolicyResourceGroup[]
    (List) The resource group object, for this IPsec policy.
    resourceType string
    (String) The resource type.
    transformProtocol string
    (String) The transform protocol used. Only esp is supported.
    ipsecPolicy string
    name string
    (String) The user-defined name for this resource group.
    authentication_algorithm str
    (String) The authentication algorithm.
    connections Sequence[GetIsIpsecPolicyConnection]
    (List) The VPN gateway connections that use this IPsec policy.
    created_at str
    (String) The date and time that this IPsec policy was created.
    encapsulation_mode str
    (String) The encapsulation mode used. Only tunnel is supported.
    encryption_algorithm str
    (String) The encryption algorithm.
    href str
    (String) The URL for this resource group.
    id str
    (String) The unique identifier for this resource group.
    key_lifetime float
    (Integer) The key lifetime in seconds.
    pfs str
    (String) Perfect Forward Secrecy.
    resource_groups Sequence[GetIsIpsecPolicyResourceGroup]
    (List) The resource group object, for this IPsec policy.
    resource_type str
    (String) The resource type.
    transform_protocol str
    (String) The transform protocol used. Only esp is supported.
    ipsec_policy str
    name str
    (String) The user-defined name for this resource group.
    authenticationAlgorithm String
    (String) The authentication algorithm.
    connections List<Property Map>
    (List) The VPN gateway connections that use this IPsec policy.
    createdAt String
    (String) The date and time that this IPsec policy was created.
    encapsulationMode String
    (String) The encapsulation mode used. Only tunnel is supported.
    encryptionAlgorithm String
    (String) The encryption algorithm.
    href String
    (String) The URL for this resource group.
    id String
    (String) The unique identifier for this resource group.
    keyLifetime Number
    (Integer) The key lifetime in seconds.
    pfs String
    (String) Perfect Forward Secrecy.
    resourceGroups List<Property Map>
    (List) The resource group object, for this IPsec policy.
    resourceType String
    (String) The resource type.
    transformProtocol String
    (String) The transform protocol used. Only esp is supported.
    ipsecPolicy String
    name String
    (String) The user-defined name for this resource group.

    Supporting Types

    GetIsIpsecPolicyConnection

    Deleteds List<GetIsIpsecPolicyConnectionDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique identifier for this resource group.
    Name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    ResourceType string
    (String) The resource type.
    Deleteds []GetIsIpsecPolicyConnectionDeleted
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique identifier for this resource group.
    Name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    ResourceType string
    (String) The resource type.
    deleteds List<GetIsIpsecPolicyConnectionDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this resource group.
    id String
    (String) The unique identifier for this resource group.
    name String

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    resourceType String
    (String) The resource type.
    deleteds GetIsIpsecPolicyConnectionDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href string
    (String) The URL for this resource group.
    id string
    (String) The unique identifier for this resource group.
    name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    resourceType string
    (String) The resource type.
    deleteds Sequence[GetIsIpsecPolicyConnectionDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href str
    (String) The URL for this resource group.
    id str
    (String) The unique identifier for this resource group.
    name str

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    resource_type str
    (String) The resource type.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
    href String
    (String) The URL for this resource group.
    id String
    (String) The unique identifier for this resource group.
    name String

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    resourceType String
    (String) The resource type.

    GetIsIpsecPolicyConnectionDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.

    GetIsIpsecPolicyResourceGroup

    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique identifier for this resource group.
    Name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    Href string
    (String) The URL for this resource group.
    Id string
    (String) The unique identifier for this resource group.
    Name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    href String
    (String) The URL for this resource group.
    id String
    (String) The unique identifier for this resource group.
    name String

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    href string
    (String) The URL for this resource group.
    id string
    (String) The unique identifier for this resource group.
    name string

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    href str
    (String) The URL for this resource group.
    id str
    (String) The unique identifier for this resource group.
    name str

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    href String
    (String) The URL for this resource group.
    id String
    (String) The unique identifier for this resource group.
    name String

    The name of the ipsec policy

    NOTE One of ipsec_policy or name is required

    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