ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getHpcs
Explore with Pulumi AI
Imports a read only copy of an existing Hyper Protect Crypto Services resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const hpcsInstance = ibm.getHpcs({
name: "test",
});
import pulumi
import pulumi_ibm as ibm
hpcs_instance = ibm.get_hpcs(name="test")
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.LookupHpcs(ctx, &ibm.LookupHpcsArgs{
Name: "test",
}, 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 hpcsInstance = Ibm.GetHpcs.Invoke(new()
{
Name = "test",
});
});
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.GetHpcsArgs;
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 hpcsInstance = IbmFunctions.getHpcs(GetHpcsArgs.builder()
.name("test")
.build());
}
}
variables:
hpcsInstance:
fn::invoke:
function: ibm:getHpcs
arguments:
name: test
Using getHpcs
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 getHpcs(args: GetHpcsArgs, opts?: InvokeOptions): Promise<GetHpcsResult>
function getHpcsOutput(args: GetHpcsOutputArgs, opts?: InvokeOptions): Output<GetHpcsResult>
def get_hpcs(id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_id: Optional[str] = None,
service: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHpcsResult
def get_hpcs_output(id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_id: Optional[pulumi.Input[str]] = None,
service: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHpcsResult]
func LookupHpcs(ctx *Context, args *LookupHpcsArgs, opts ...InvokeOption) (*LookupHpcsResult, error)
func LookupHpcsOutput(ctx *Context, args *LookupHpcsOutputArgs, opts ...InvokeOption) LookupHpcsResultOutput
> Note: This function is named LookupHpcs
in the Go SDK.
public static class GetHpcs
{
public static Task<GetHpcsResult> InvokeAsync(GetHpcsArgs args, InvokeOptions? opts = null)
public static Output<GetHpcsResult> Invoke(GetHpcsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHpcsResult> getHpcs(GetHpcsArgs args, InvokeOptions options)
public static Output<GetHpcsResult> getHpcs(GetHpcsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getHpcs:getHpcs
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name used to identify the Hyper Protect Crypto Services instance in the IBM Cloud UI.
- Id string
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Location string
- The location for this Hyper Protect Crypto Services instance
- Resource
Group stringId - The ID of the resource group.
- Service string
- (String) The service type
hs-crypto
of an instance.
- Name string
- The name used to identify the Hyper Protect Crypto Services instance in the IBM Cloud UI.
- Id string
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Location string
- The location for this Hyper Protect Crypto Services instance
- Resource
Group stringId - The ID of the resource group.
- Service string
- (String) The service type
hs-crypto
of an instance.
- name String
- The name used to identify the Hyper Protect Crypto Services instance in the IBM Cloud UI.
- id String
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location String
- The location for this Hyper Protect Crypto Services instance
- resource
Group StringId - The ID of the resource group.
- service String
- (String) The service type
hs-crypto
of an instance.
- name string
- The name used to identify the Hyper Protect Crypto Services instance in the IBM Cloud UI.
- id string
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location string
- The location for this Hyper Protect Crypto Services instance
- resource
Group stringId - The ID of the resource group.
- service string
- (String) The service type
hs-crypto
of an instance.
- name str
- The name used to identify the Hyper Protect Crypto Services instance in the IBM Cloud UI.
- id str
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location str
- The location for this Hyper Protect Crypto Services instance
- resource_
group_ strid - The ID of the resource group.
- service str
- (String) The service type
hs-crypto
of an instance.
- name String
- The name used to identify the Hyper Protect Crypto Services instance in the IBM Cloud UI.
- id String
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location String
- The location for this Hyper Protect Crypto Services instance
- resource
Group StringId - The ID of the resource group.
- service String
- (String) The service type
hs-crypto
of an instance.
getHpcs Result
The following output properties are available:
- Crn string
- (String) The CRN of the Hyper Protect Crypto Services instance.
- Extensions Dictionary<string, string>
- (List) The extended metadata as a map associated with the resource instance.
- Failover
Units double - (Integer) The number of failover crypto units for your service instance.
- Guid string
- (String) Unique identifier of resource instance.
- Hsm
Infos List<GetHpcs Hsm Info> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - Id string
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Location string
- Name string
- (String) Name of an admin.
- Plan string
- (String) The pricing plan for your service instance.
- Resource
Group stringId - Service
Endpoints string - (String) The network access to your service instance. Possible values are public-and-private, private-only.
- Status string
- (String) Status of the Hyper Protect Crypto Services instance.
- Units double
- (Integer) The number of operational crypto units for your service instance.
- Service string
- (String) The service type
hs-crypto
of an instance.
- Crn string
- (String) The CRN of the Hyper Protect Crypto Services instance.
- Extensions map[string]string
- (List) The extended metadata as a map associated with the resource instance.
- Failover
Units float64 - (Integer) The number of failover crypto units for your service instance.
- Guid string
- (String) Unique identifier of resource instance.
- Hsm
Infos []GetHpcs Hsm Info - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - Id string
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- Location string
- Name string
- (String) Name of an admin.
- Plan string
- (String) The pricing plan for your service instance.
- Resource
Group stringId - Service
Endpoints string - (String) The network access to your service instance. Possible values are public-and-private, private-only.
- Status string
- (String) Status of the Hyper Protect Crypto Services instance.
- Units float64
- (Integer) The number of operational crypto units for your service instance.
- Service string
- (String) The service type
hs-crypto
of an instance.
- crn String
- (String) The CRN of the Hyper Protect Crypto Services instance.
- extensions Map<String,String>
- (List) The extended metadata as a map associated with the resource instance.
- failover
Units Double - (Integer) The number of failover crypto units for your service instance.
- guid String
- (String) Unique identifier of resource instance.
- hsm
Infos List<GetHpcs Hsm Info> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id String
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location String
- name String
- (String) Name of an admin.
- plan String
- (String) The pricing plan for your service instance.
- resource
Group StringId - service
Endpoints String - (String) The network access to your service instance. Possible values are public-and-private, private-only.
- status String
- (String) Status of the Hyper Protect Crypto Services instance.
- units Double
- (Integer) The number of operational crypto units for your service instance.
- service String
- (String) The service type
hs-crypto
of an instance.
- crn string
- (String) The CRN of the Hyper Protect Crypto Services instance.
- extensions {[key: string]: string}
- (List) The extended metadata as a map associated with the resource instance.
- failover
Units number - (Integer) The number of failover crypto units for your service instance.
- guid string
- (String) Unique identifier of resource instance.
- hsm
Infos GetHpcs Hsm Info[] - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id string
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location string
- name string
- (String) Name of an admin.
- plan string
- (String) The pricing plan for your service instance.
- resource
Group stringId - service
Endpoints string - (String) The network access to your service instance. Possible values are public-and-private, private-only.
- status string
- (String) Status of the Hyper Protect Crypto Services instance.
- units number
- (Integer) The number of operational crypto units for your service instance.
- service string
- (String) The service type
hs-crypto
of an instance.
- crn str
- (String) The CRN of the Hyper Protect Crypto Services instance.
- extensions Mapping[str, str]
- (List) The extended metadata as a map associated with the resource instance.
- failover_
units float - (Integer) The number of failover crypto units for your service instance.
- guid str
- (String) Unique identifier of resource instance.
- hsm_
infos Sequence[GetHpcs Hsm Info] - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id str
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location str
- name str
- (String) Name of an admin.
- plan str
- (String) The pricing plan for your service instance.
- resource_
group_ strid - service_
endpoints str - (String) The network access to your service instance. Possible values are public-and-private, private-only.
- status str
- (String) Status of the Hyper Protect Crypto Services instance.
- units float
- (Integer) The number of operational crypto units for your service instance.
- service str
- (String) The service type
hs-crypto
of an instance.
- crn String
- (String) The CRN of the Hyper Protect Crypto Services instance.
- extensions Map<String>
- (List) The extended metadata as a map associated with the resource instance.
- failover
Units Number - (Integer) The number of failover crypto units for your service instance.
- guid String
- (String) Unique identifier of resource instance.
- hsm
Infos List<Property Map> - (List) HSM config of the crypto units.
Nested scheme for
hsm_info
: - id String
- (String) The unique identifier CRN of this Hyper Protect Crypto Services instance.
- location String
- name String
- (String) Name of an admin.
- plan String
- (String) The pricing plan for your service instance.
- resource
Group StringId - service
Endpoints String - (String) The network access to your service instance. Possible values are public-and-private, private-only.
- status String
- (String) Status of the Hyper Protect Crypto Services instance.
- units Number
- (Integer) The number of operational crypto units for your service instance.
- service String
- (String) The service type
hs-crypto
of an instance.
Supporting Types
GetHpcsHsmInfo
- Admins
List<Get
Hpcs Hsm Info Admin> - (List) List of Admins for crypto units.
Nested scheme for
admins
: - Current
Mk stringStatus - (String) Status of current master key register.
- Current
Mkvp string - (String) Current master key register verification pattern.
- Hsm
Id string - (String) The HSM ID.
- Hsm
Location string - (String) The HSM Location.
- Hsm
Type string - (String) The HSM Type.
- New
Mk stringStatus - (String) Status of new master key register.
- New
Mkvp string - (String) New master key register verification pattern.
- Revocation
Threshold double - (Integer) Revocation threshold for crypto units.
- Signature
Threshold double - (Integer) Signature threshold for crypto units.
- Admins
[]Get
Hpcs Hsm Info Admin - (List) List of Admins for crypto units.
Nested scheme for
admins
: - Current
Mk stringStatus - (String) Status of current master key register.
- Current
Mkvp string - (String) Current master key register verification pattern.
- Hsm
Id string - (String) The HSM ID.
- Hsm
Location string - (String) The HSM Location.
- Hsm
Type string - (String) The HSM Type.
- New
Mk stringStatus - (String) Status of new master key register.
- New
Mkvp string - (String) New master key register verification pattern.
- Revocation
Threshold float64 - (Integer) Revocation threshold for crypto units.
- Signature
Threshold float64 - (Integer) Signature threshold for crypto units.
- admins
List<Get
Hpcs Hsm Info Admin> - (List) List of Admins for crypto units.
Nested scheme for
admins
: - current
Mk StringStatus - (String) Status of current master key register.
- current
Mkvp String - (String) Current master key register verification pattern.
- hsm
Id String - (String) The HSM ID.
- hsm
Location String - (String) The HSM Location.
- hsm
Type String - (String) The HSM Type.
- new
Mk StringStatus - (String) Status of new master key register.
- new
Mkvp String - (String) New master key register verification pattern.
- revocation
Threshold Double - (Integer) Revocation threshold for crypto units.
- signature
Threshold Double - (Integer) Signature threshold for crypto units.
- admins
Get
Hpcs Hsm Info Admin[] - (List) List of Admins for crypto units.
Nested scheme for
admins
: - current
Mk stringStatus - (String) Status of current master key register.
- current
Mkvp string - (String) Current master key register verification pattern.
- hsm
Id string - (String) The HSM ID.
- hsm
Location string - (String) The HSM Location.
- hsm
Type string - (String) The HSM Type.
- new
Mk stringStatus - (String) Status of new master key register.
- new
Mkvp string - (String) New master key register verification pattern.
- revocation
Threshold number - (Integer) Revocation threshold for crypto units.
- signature
Threshold number - (Integer) Signature threshold for crypto units.
- admins
Sequence[Get
Hpcs Hsm Info Admin] - (List) List of Admins for crypto units.
Nested scheme for
admins
: - current_
mk_ strstatus - (String) Status of current master key register.
- current_
mkvp str - (String) Current master key register verification pattern.
- hsm_
id str - (String) The HSM ID.
- hsm_
location str - (String) The HSM Location.
- hsm_
type str - (String) The HSM Type.
- new_
mk_ strstatus - (String) Status of new master key register.
- new_
mkvp str - (String) New master key register verification pattern.
- revocation_
threshold float - (Integer) Revocation threshold for crypto units.
- signature_
threshold float - (Integer) Signature threshold for crypto units.
- admins List<Property Map>
- (List) List of Admins for crypto units.
Nested scheme for
admins
: - current
Mk StringStatus - (String) Status of current master key register.
- current
Mkvp String - (String) Current master key register verification pattern.
- hsm
Id String - (String) The HSM ID.
- hsm
Location String - (String) The HSM Location.
- hsm
Type String - (String) The HSM Type.
- new
Mk StringStatus - (String) Status of new master key register.
- new
Mkvp String - (String) New master key register verification pattern.
- revocation
Threshold Number - (Integer) Revocation threshold for crypto units.
- signature
Threshold Number - (Integer) Signature threshold for crypto units.
GetHpcsHsmInfoAdmin
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.