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

ibm.getIsIkePolicies

Explore with Pulumi AI

Provides a read-only data source for IKEPolicyCollection. 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.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const example = ibm.getIsIkePolicies({});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_ike_policies()
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.GetIsIkePolicies(ctx, &ibm.GetIsIkePoliciesArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var example = Ibm.GetIsIkePolicies.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsIkePoliciesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = IbmFunctions.getIsIkePolicies();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsIkePolicies
      arguments: {}
Copy

Using getIsIkePolicies

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 getIsIkePolicies(args: GetIsIkePoliciesArgs, opts?: InvokeOptions): Promise<GetIsIkePoliciesResult>
function getIsIkePoliciesOutput(args: GetIsIkePoliciesOutputArgs, opts?: InvokeOptions): Output<GetIsIkePoliciesResult>
Copy
def get_is_ike_policies(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetIsIkePoliciesResult
def get_is_ike_policies_output(id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetIsIkePoliciesResult]
Copy
func GetIsIkePolicies(ctx *Context, args *GetIsIkePoliciesArgs, opts ...InvokeOption) (*GetIsIkePoliciesResult, error)
func GetIsIkePoliciesOutput(ctx *Context, args *GetIsIkePoliciesOutputArgs, opts ...InvokeOption) GetIsIkePoliciesResultOutput
Copy

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

public static class GetIsIkePolicies 
{
    public static Task<GetIsIkePoliciesResult> InvokeAsync(GetIsIkePoliciesArgs args, InvokeOptions? opts = null)
    public static Output<GetIsIkePoliciesResult> Invoke(GetIsIkePoliciesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIsIkePoliciesResult> getIsIkePolicies(GetIsIkePoliciesArgs args, InvokeOptions options)
public static Output<GetIsIkePoliciesResult> getIsIkePolicies(GetIsIkePoliciesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getIsIkePolicies:getIsIkePolicies
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getIsIkePolicies Result

The following output properties are available:

Id string
(String) The unique identifier for this resource group.
IkePolicies List<GetIsIkePoliciesIkePolicy>
(List) Collection of IKE policies.
Id string
(String) The unique identifier for this resource group.
IkePolicies []GetIsIkePoliciesIkePolicy
(List) Collection of IKE policies.
id String
(String) The unique identifier for this resource group.
ikePolicies List<GetIsIkePoliciesIkePolicy>
(List) Collection of IKE policies.
id string
(String) The unique identifier for this resource group.
ikePolicies GetIsIkePoliciesIkePolicy[]
(List) Collection of IKE policies.
id str
(String) The unique identifier for this resource group.
ike_policies Sequence[GetIsIkePoliciesIkePolicy]
(List) Collection of IKE policies.
id String
(String) The unique identifier for this resource group.
ikePolicies List<Property Map>
(List) Collection of IKE policies.

Supporting Types

GetIsIkePoliciesIkePolicy

AuthenticationAlgorithm This property is required. string
(String) The authentication algorithm.
Connections This property is required. List<GetIsIkePoliciesIkePolicyConnection>
(List) The VPN gateway connections that use this IKE policy.
CreatedAt This property is required. string
(String) The date and time that this IKE policy was created.
DhGroup This property is required. double
(Integer) The Diffie-Hellman group.
EncryptionAlgorithm This property is required. string
(String) The encryption algorithm.
Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique identifier for this resource group.
IkeVersion This property is required. double
(Integer) The IKE protocol version.
KeyLifetime This property is required. double
(Integer) The key lifetime in seconds.
Name This property is required. string
(String) The user-defined name for this resource group.
NegotiationMode This property is required. string
(String) The IKE negotiation mode. Only main is supported.
ResourceGroups This property is required. List<GetIsIkePoliciesIkePolicyResourceGroup>
(List) The resource group object, for this IKE policy.
ResourceType This property is required. string
(String) The resource type.
AuthenticationAlgorithm This property is required. string
(String) The authentication algorithm.
Connections This property is required. []GetIsIkePoliciesIkePolicyConnection
(List) The VPN gateway connections that use this IKE policy.
CreatedAt This property is required. string
(String) The date and time that this IKE policy was created.
DhGroup This property is required. float64
(Integer) The Diffie-Hellman group.
EncryptionAlgorithm This property is required. string
(String) The encryption algorithm.
Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique identifier for this resource group.
IkeVersion This property is required. float64
(Integer) The IKE protocol version.
KeyLifetime This property is required. float64
(Integer) The key lifetime in seconds.
Name This property is required. string
(String) The user-defined name for this resource group.
NegotiationMode This property is required. string
(String) The IKE negotiation mode. Only main is supported.
ResourceGroups This property is required. []GetIsIkePoliciesIkePolicyResourceGroup
(List) The resource group object, for this IKE policy.
ResourceType This property is required. string
(String) The resource type.
authenticationAlgorithm This property is required. String
(String) The authentication algorithm.
connections This property is required. List<GetIsIkePoliciesIkePolicyConnection>
(List) The VPN gateway connections that use this IKE policy.
createdAt This property is required. String
(String) The date and time that this IKE policy was created.
dhGroup This property is required. Double
(Integer) The Diffie-Hellman group.
encryptionAlgorithm This property is required. String
(String) The encryption algorithm.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique identifier for this resource group.
ikeVersion This property is required. Double
(Integer) The IKE protocol version.
keyLifetime This property is required. Double
(Integer) The key lifetime in seconds.
name This property is required. String
(String) The user-defined name for this resource group.
negotiationMode This property is required. String
(String) The IKE negotiation mode. Only main is supported.
resourceGroups This property is required. List<GetIsIkePoliciesIkePolicyResourceGroup>
(List) The resource group object, for this IKE policy.
resourceType This property is required. String
(String) The resource type.
authenticationAlgorithm This property is required. string
(String) The authentication algorithm.
connections This property is required. GetIsIkePoliciesIkePolicyConnection[]
(List) The VPN gateway connections that use this IKE policy.
createdAt This property is required. string
(String) The date and time that this IKE policy was created.
dhGroup This property is required. number
(Integer) The Diffie-Hellman group.
encryptionAlgorithm This property is required. string
(String) The encryption algorithm.
href This property is required. string
(String) The URL for this resource group.
id This property is required. string
(String) The unique identifier for this resource group.
ikeVersion This property is required. number
(Integer) The IKE protocol version.
keyLifetime This property is required. number
(Integer) The key lifetime in seconds.
name This property is required. string
(String) The user-defined name for this resource group.
negotiationMode This property is required. string
(String) The IKE negotiation mode. Only main is supported.
resourceGroups This property is required. GetIsIkePoliciesIkePolicyResourceGroup[]
(List) The resource group object, for this IKE policy.
resourceType This property is required. string
(String) The resource type.
authentication_algorithm This property is required. str
(String) The authentication algorithm.
connections This property is required. Sequence[GetIsIkePoliciesIkePolicyConnection]
(List) The VPN gateway connections that use this IKE policy.
created_at This property is required. str
(String) The date and time that this IKE policy was created.
dh_group This property is required. float
(Integer) The Diffie-Hellman group.
encryption_algorithm This property is required. str
(String) The encryption algorithm.
href This property is required. str
(String) The URL for this resource group.
id This property is required. str
(String) The unique identifier for this resource group.
ike_version This property is required. float
(Integer) The IKE protocol version.
key_lifetime This property is required. float
(Integer) The key lifetime in seconds.
name This property is required. str
(String) The user-defined name for this resource group.
negotiation_mode This property is required. str
(String) The IKE negotiation mode. Only main is supported.
resource_groups This property is required. Sequence[GetIsIkePoliciesIkePolicyResourceGroup]
(List) The resource group object, for this IKE policy.
resource_type This property is required. str
(String) The resource type.
authenticationAlgorithm This property is required. String
(String) The authentication algorithm.
connections This property is required. List<Property Map>
(List) The VPN gateway connections that use this IKE policy.
createdAt This property is required. String
(String) The date and time that this IKE policy was created.
dhGroup This property is required. Number
(Integer) The Diffie-Hellman group.
encryptionAlgorithm This property is required. String
(String) The encryption algorithm.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique identifier for this resource group.
ikeVersion This property is required. Number
(Integer) The IKE protocol version.
keyLifetime This property is required. Number
(Integer) The key lifetime in seconds.
name This property is required. String
(String) The user-defined name for this resource group.
negotiationMode This property is required. String
(String) The IKE negotiation mode. Only main is supported.
resourceGroups This property is required. List<Property Map>
(List) The resource group object, for this IKE policy.
resourceType This property is required. String
(String) The resource type.

GetIsIkePoliciesIkePolicyConnection

Deleteds This property is required. List<GetIsIkePoliciesIkePolicyConnectionDeleted>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique identifier for this resource group.
Name This property is required. string
(String) The user-defined name for this resource group.
ResourceType This property is required. string
(String) The resource type.
Deleteds This property is required. []GetIsIkePoliciesIkePolicyConnectionDeleted
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique identifier for this resource group.
Name This property is required. string
(String) The user-defined name for this resource group.
ResourceType This property is required. string
(String) The resource type.
deleteds This property is required. List<GetIsIkePoliciesIkePolicyConnectionDeleted>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique identifier for this resource group.
name This property is required. String
(String) The user-defined name for this resource group.
resourceType This property is required. String
(String) The resource type.
deleteds This property is required. GetIsIkePoliciesIkePolicyConnectionDeleted[]
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href This property is required. string
(String) The URL for this resource group.
id This property is required. string
(String) The unique identifier for this resource group.
name This property is required. string
(String) The user-defined name for this resource group.
resourceType This property is required. string
(String) The resource type.
deleteds This property is required. Sequence[GetIsIkePoliciesIkePolicyConnectionDeleted]
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href This property is required. str
(String) The URL for this resource group.
id This property is required. str
(String) The unique identifier for this resource group.
name This property is required. str
(String) The user-defined name for this resource group.
resource_type This property is required. str
(String) The resource type.
deleteds This property is required. List<Property Map>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique identifier for this resource group.
name This property is required. String
(String) The user-defined name for this resource group.
resourceType This property is required. String
(String) The resource type.

GetIsIkePoliciesIkePolicyConnectionDeleted

MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.
moreInfo This property is required. string
(String) Link to documentation about deleted resources.
more_info This property is required. str
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.

GetIsIkePoliciesIkePolicyResourceGroup

Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique identifier for this resource group.
Name This property is required. string
(String) The user-defined name for this resource group.
Href This property is required. string
(String) The URL for this resource group.
Id This property is required. string
(String) The unique identifier for this resource group.
Name This property is required. string
(String) The user-defined name for this resource group.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique identifier for this resource group.
name This property is required. String
(String) The user-defined name for this resource group.
href This property is required. string
(String) The URL for this resource group.
id This property is required. string
(String) The unique identifier for this resource group.
name This property is required. string
(String) The user-defined name for this resource group.
href This property is required. str
(String) The URL for this resource group.
id This property is required. str
(String) The unique identifier for this resource group.
name This property is required. str
(String) The user-defined name for this resource group.
href This property is required. String
(String) The URL for this resource group.
id This property is required. String
(String) The unique identifier for this resource group.
name This property is required. String
(String) The user-defined name for this resource group.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.