1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsIkePolicy
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getIsIkePolicy

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Provides a read-only data source for IKEPolicy. 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 IKE policy , see about site-to-site VPN gateways.

    Using getIsIkePolicy

    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 getIsIkePolicy(args: GetIsIkePolicyArgs, opts?: InvokeOptions): Promise<GetIsIkePolicyResult>
    function getIsIkePolicyOutput(args: GetIsIkePolicyOutputArgs, opts?: InvokeOptions): Output<GetIsIkePolicyResult>
    def get_is_ike_policy(id: Optional[str] = None,
                          ike_policy: Optional[str] = None,
                          name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetIsIkePolicyResult
    def get_is_ike_policy_output(id: Optional[pulumi.Input[str]] = None,
                          ike_policy: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetIsIkePolicyResult]
    func LookupIsIkePolicy(ctx *Context, args *LookupIsIkePolicyArgs, opts ...InvokeOption) (*LookupIsIkePolicyResult, error)
    func LookupIsIkePolicyOutput(ctx *Context, args *LookupIsIkePolicyOutputArgs, opts ...InvokeOption) LookupIsIkePolicyResultOutput

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

    public static class GetIsIkePolicy 
    {
        public static Task<GetIsIkePolicyResult> InvokeAsync(GetIsIkePolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetIsIkePolicyResult> Invoke(GetIsIkePolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsIkePolicyResult> getIsIkePolicy(GetIsIkePolicyArgs args, InvokeOptions options)
    public static Output<GetIsIkePolicyResult> getIsIkePolicy(GetIsIkePolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsIkePolicy:getIsIkePolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    The IKE policy identifier.

    NOTE One of ike_policy or name is required

    Name string

    The name of the IKE policy.

    NOTE One of ike_policy or name is required

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

    The IKE policy identifier.

    NOTE One of ike_policy or name is required

    Name string

    The name of the IKE policy.

    NOTE One of ike_policy or name is required

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

    The IKE policy identifier.

    NOTE One of ike_policy or name is required

    name String

    The name of the IKE policy.

    NOTE One of ike_policy or name is required

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

    The IKE policy identifier.

    NOTE One of ike_policy or name is required

    name string

    The name of the IKE policy.

    NOTE One of ike_policy or name is required

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

    The IKE policy identifier.

    NOTE One of ike_policy or name is required

    name str

    The name of the IKE policy.

    NOTE One of ike_policy or name is required

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

    The IKE policy identifier.

    NOTE One of ike_policy or name is required

    name String

    The name of the IKE policy.

    NOTE One of ike_policy or name is required

    getIsIkePolicy Result

    The following output properties are available:

    AuthenticationAlgorithm string
    (String) The authentication algorithm.
    Connections List<GetIsIkePolicyConnection>
    (List) The VPN gateway connections that use this IKE policy.
    CreatedAt string
    (String) The date and time that this IKE policy was created.
    DhGroup double
    (Integer) The Diffie-Hellman group.
    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.
    IkeVersion double
    (Integer) The IKE protocol version.
    KeyLifetime double
    (Integer) The key lifetime in seconds.
    NegotiationMode string
    (String) The IKE negotiation mode. Only main is supported.
    ResourceGroups List<GetIsIkePolicyResourceGroup>
    (List) The resource group object, for this IKE policy.
    ResourceType string
    (String) The resource type.
    IkePolicy string
    Name string
    (String) The user-defined name for this resource group.
    AuthenticationAlgorithm string
    (String) The authentication algorithm.
    Connections []GetIsIkePolicyConnection
    (List) The VPN gateway connections that use this IKE policy.
    CreatedAt string
    (String) The date and time that this IKE policy was created.
    DhGroup float64
    (Integer) The Diffie-Hellman group.
    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.
    IkeVersion float64
    (Integer) The IKE protocol version.
    KeyLifetime float64
    (Integer) The key lifetime in seconds.
    NegotiationMode string
    (String) The IKE negotiation mode. Only main is supported.
    ResourceGroups []GetIsIkePolicyResourceGroup
    (List) The resource group object, for this IKE policy.
    ResourceType string
    (String) The resource type.
    IkePolicy string
    Name string
    (String) The user-defined name for this resource group.
    authenticationAlgorithm String
    (String) The authentication algorithm.
    connections List<GetIsIkePolicyConnection>
    (List) The VPN gateway connections that use this IKE policy.
    createdAt String
    (String) The date and time that this IKE policy was created.
    dhGroup Double
    (Integer) The Diffie-Hellman group.
    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.
    ikeVersion Double
    (Integer) The IKE protocol version.
    keyLifetime Double
    (Integer) The key lifetime in seconds.
    negotiationMode String
    (String) The IKE negotiation mode. Only main is supported.
    resourceGroups List<GetIsIkePolicyResourceGroup>
    (List) The resource group object, for this IKE policy.
    resourceType String
    (String) The resource type.
    ikePolicy String
    name String
    (String) The user-defined name for this resource group.
    authenticationAlgorithm string
    (String) The authentication algorithm.
    connections GetIsIkePolicyConnection[]
    (List) The VPN gateway connections that use this IKE policy.
    createdAt string
    (String) The date and time that this IKE policy was created.
    dhGroup number
    (Integer) The Diffie-Hellman group.
    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.
    ikeVersion number
    (Integer) The IKE protocol version.
    keyLifetime number
    (Integer) The key lifetime in seconds.
    negotiationMode string
    (String) The IKE negotiation mode. Only main is supported.
    resourceGroups GetIsIkePolicyResourceGroup[]
    (List) The resource group object, for this IKE policy.
    resourceType string
    (String) The resource type.
    ikePolicy string
    name string
    (String) The user-defined name for this resource group.
    authentication_algorithm str
    (String) The authentication algorithm.
    connections Sequence[GetIsIkePolicyConnection]
    (List) The VPN gateway connections that use this IKE policy.
    created_at str
    (String) The date and time that this IKE policy was created.
    dh_group float
    (Integer) The Diffie-Hellman group.
    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.
    ike_version float
    (Integer) The IKE protocol version.
    key_lifetime float
    (Integer) The key lifetime in seconds.
    negotiation_mode str
    (String) The IKE negotiation mode. Only main is supported.
    resource_groups Sequence[GetIsIkePolicyResourceGroup]
    (List) The resource group object, for this IKE policy.
    resource_type str
    (String) The resource type.
    ike_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 IKE policy.
    createdAt String
    (String) The date and time that this IKE policy was created.
    dhGroup Number
    (Integer) The Diffie-Hellman group.
    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.
    ikeVersion Number
    (Integer) The IKE protocol version.
    keyLifetime Number
    (Integer) The key lifetime in seconds.
    negotiationMode String
    (String) The IKE negotiation mode. Only main is supported.
    resourceGroups List<Property Map>
    (List) The resource group object, for this IKE policy.
    resourceType String
    (String) The resource type.
    ikePolicy String
    name String
    (String) The user-defined name for this resource group.

    Supporting Types

    GetIsIkePolicyConnection

    Deleteds List<GetIsIkePolicyConnectionDeleted>
    (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 IKE policy.

    NOTE One of ike_policy or name is required

    ResourceType string
    (String) The resource type.
    Deleteds []GetIsIkePolicyConnectionDeleted
    (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 IKE policy.

    NOTE One of ike_policy or name is required

    ResourceType string
    (String) The resource type.
    deleteds List<GetIsIkePolicyConnectionDeleted>
    (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 IKE policy.

    NOTE One of ike_policy or name is required

    resourceType String
    (String) The resource type.
    deleteds GetIsIkePolicyConnectionDeleted[]
    (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 IKE policy.

    NOTE One of ike_policy or name is required

    resourceType string
    (String) The resource type.
    deleteds Sequence[GetIsIkePolicyConnectionDeleted]
    (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 IKE policy.

    NOTE One of ike_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 IKE policy.

    NOTE One of ike_policy or name is required

    resourceType String
    (String) The resource type.

    GetIsIkePolicyConnectionDeleted

    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.

    GetIsIkePolicyResourceGroup

    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 IKE policy.

    NOTE One of ike_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 IKE policy.

    NOTE One of ike_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 IKE policy.

    NOTE One of ike_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 IKE policy.

    NOTE One of ike_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 IKE policy.

    NOTE One of ike_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 IKE policy.

    NOTE One of ike_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.77.1 published on Monday, Apr 14, 2025 by ibm-cloud