ibm 1.78.0 published on Wednesday, Apr 30, 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({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_ike_policies()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetIsIkePolicies.Invoke();
});
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();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsIkePolicies
arguments: {}
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>
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]
func GetIsIkePolicies(ctx *Context, args *GetIsIkePoliciesArgs, opts ...InvokeOption) (*GetIsIkePoliciesResult, error)
func GetIsIkePoliciesOutput(ctx *Context, args *GetIsIkePoliciesOutputArgs, opts ...InvokeOption) GetIsIkePoliciesResultOutput
> 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)
}
public static CompletableFuture<GetIsIkePoliciesResult> getIsIkePolicies(GetIsIkePoliciesArgs args, InvokeOptions options)
public static Output<GetIsIkePoliciesResult> getIsIkePolicies(GetIsIkePoliciesArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsIkePolicies:getIsIkePolicies
arguments:
# arguments dictionary
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.
- Ike
Policies List<GetIs Ike Policies Ike Policy> - (List) Collection of IKE policies.
- Id string
- (String) The unique identifier for this resource group.
- Ike
Policies []GetIs Ike Policies Ike Policy - (List) Collection of IKE policies.
- id String
- (String) The unique identifier for this resource group.
- ike
Policies List<GetIs Ike Policies Ike Policy> - (List) Collection of IKE policies.
- id string
- (String) The unique identifier for this resource group.
- ike
Policies GetIs Ike Policies Ike Policy[] - (List) Collection of IKE policies.
- id str
- (String) The unique identifier for this resource group.
- ike_
policies Sequence[GetIs Ike Policies Ike Policy] - (List) Collection of IKE policies.
- id String
- (String) The unique identifier for this resource group.
- ike
Policies List<Property Map> - (List) Collection of IKE policies.
Supporting Types
GetIsIkePoliciesIkePolicy
- Authentication
Algorithm string - (String) The authentication algorithm.
- Connections
List<Get
Is Ike Policies Ike Policy Connection> - (List) The VPN gateway connections that use this IKE policy.
- Created
At string - (String) The date and time that this IKE policy was created.
- Dh
Group double - (Integer) The Diffie-Hellman group.
- Encryption
Algorithm string - (String) The encryption algorithm.
- Href string
- (String) The URL for this resource group.
- Id string
- (String) The unique identifier for this resource group.
- Ike
Version double - (Integer) The IKE protocol version.
- Key
Lifetime double - (Integer) The key lifetime in seconds.
- Name string
- (String) The user-defined name for this resource group.
- Negotiation
Mode string - (String) The IKE negotiation mode. Only
main
is supported. - Resource
Groups List<GetIs Ike Policies Ike Policy Resource Group> - (List) The resource group object, for this IKE policy.
- Resource
Type string - (String) The resource type.
- Authentication
Algorithm string - (String) The authentication algorithm.
- Connections
[]Get
Is Ike Policies Ike Policy Connection - (List) The VPN gateway connections that use this IKE policy.
- Created
At string - (String) The date and time that this IKE policy was created.
- Dh
Group float64 - (Integer) The Diffie-Hellman group.
- Encryption
Algorithm string - (String) The encryption algorithm.
- Href string
- (String) The URL for this resource group.
- Id string
- (String) The unique identifier for this resource group.
- Ike
Version float64 - (Integer) The IKE protocol version.
- Key
Lifetime float64 - (Integer) The key lifetime in seconds.
- Name string
- (String) The user-defined name for this resource group.
- Negotiation
Mode string - (String) The IKE negotiation mode. Only
main
is supported. - Resource
Groups []GetIs Ike Policies Ike Policy Resource Group - (List) The resource group object, for this IKE policy.
- Resource
Type string - (String) The resource type.
- authentication
Algorithm String - (String) The authentication algorithm.
- connections
List<Get
Is Ike Policies Ike Policy Connection> - (List) The VPN gateway connections that use this IKE policy.
- created
At String - (String) The date and time that this IKE policy was created.
- dh
Group Double - (Integer) The Diffie-Hellman group.
- encryption
Algorithm String - (String) The encryption algorithm.
- href String
- (String) The URL for this resource group.
- id String
- (String) The unique identifier for this resource group.
- ike
Version Double - (Integer) The IKE protocol version.
- key
Lifetime Double - (Integer) The key lifetime in seconds.
- name String
- (String) The user-defined name for this resource group.
- negotiation
Mode String - (String) The IKE negotiation mode. Only
main
is supported. - resource
Groups List<GetIs Ike Policies Ike Policy Resource Group> - (List) The resource group object, for this IKE policy.
- resource
Type String - (String) The resource type.
- authentication
Algorithm string - (String) The authentication algorithm.
- connections
Get
Is Ike Policies Ike Policy Connection[] - (List) The VPN gateway connections that use this IKE policy.
- created
At string - (String) The date and time that this IKE policy was created.
- dh
Group number - (Integer) The Diffie-Hellman group.
- encryption
Algorithm string - (String) The encryption algorithm.
- href string
- (String) The URL for this resource group.
- id string
- (String) The unique identifier for this resource group.
- ike
Version number - (Integer) The IKE protocol version.
- key
Lifetime number - (Integer) The key lifetime in seconds.
- name string
- (String) The user-defined name for this resource group.
- negotiation
Mode string - (String) The IKE negotiation mode. Only
main
is supported. - resource
Groups GetIs Ike Policies Ike Policy Resource Group[] - (List) The resource group object, for this IKE policy.
- resource
Type string - (String) The resource type.
- authentication_
algorithm str - (String) The authentication algorithm.
- connections
Sequence[Get
Is Ike Policies Ike Policy Connection] - (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.
- name str
- (String) The user-defined name for this resource group.
- negotiation_
mode str - (String) The IKE negotiation mode. Only
main
is supported. - resource_
groups Sequence[GetIs Ike Policies Ike Policy Resource Group] - (List) The resource group object, for this IKE policy.
- resource_
type str - (String) The resource type.
- authentication
Algorithm String - (String) The authentication algorithm.
- connections List<Property Map>
- (List) The VPN gateway connections that use this IKE policy.
- created
At String - (String) The date and time that this IKE policy was created.
- dh
Group Number - (Integer) The Diffie-Hellman group.
- encryption
Algorithm String - (String) The encryption algorithm.
- href String
- (String) The URL for this resource group.
- id String
- (String) The unique identifier for this resource group.
- ike
Version Number - (Integer) The IKE protocol version.
- key
Lifetime Number - (Integer) The key lifetime in seconds.
- name String
- (String) The user-defined name for this resource group.
- negotiation
Mode String - (String) The IKE negotiation mode. Only
main
is supported. - resource
Groups List<Property Map> - (List) The resource group object, for this IKE policy.
- resource
Type String - (String) The resource type.
GetIsIkePoliciesIkePolicyConnection
- Deleteds
List<Get
Is Ike Policies Ike Policy Connection Deleted> - (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
- (String) The user-defined name for this resource group.
- Resource
Type string - (String) The resource type.
- Deleteds
[]Get
Is Ike Policies Ike Policy Connection Deleted - (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
- (String) The user-defined name for this resource group.
- Resource
Type string - (String) The resource type.
- deleteds
List<Get
Is Ike Policies Ike Policy Connection Deleted> - (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
- (String) The user-defined name for this resource group.
- resource
Type String - (String) The resource type.
- deleteds
Get
Is Ike Policies Ike Policy Connection Deleted[] - (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
- (String) The user-defined name for this resource group.
- resource
Type string - (String) The resource type.
- deleteds
Sequence[Get
Is Ike Policies Ike Policy Connection Deleted] - (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
- (String) The user-defined name for this resource group.
- 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
- (String) The user-defined name for this resource group.
- resource
Type String - (String) The resource type.
GetIsIkePoliciesIkePolicyConnectionDeleted
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
GetIsIkePoliciesIkePolicyResourceGroup
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.