alicloud.cloudphone.KeyPair
Explore with Pulumi AI
Provides a Cloud Phone Key Pair resource.
Cloud Phone KeyPair.
For information about Cloud Phone Key Pair and how to use it, see What is Key Pair.
NOTE: Available since v1.243.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultjZ1gi0 = new alicloud.cloudphone.Policy("defaultjZ1gi0", {});
const defaultYHMlTO = new alicloud.cloudphoneinstance.Group("defaultYHMlTO", {
instanceGroupSpec: "acp.basic.small",
policyGroupId: defaultjZ1gi0.id,
instanceGroupName: "AutoCreateGroupName",
period: 1,
numberOfInstances: 1,
chargeType: "PostPaid",
imageId: "imgc-075cllfeuazh03tg9",
periodUnit: "Hour",
autoRenew: false,
amount: 1,
autoPay: false,
gpuAcceleration: false,
});
const defaulthdBep1 = new alicloud.cloudphoneinstance.CloudPhoneInstance("defaulthdBep1", {
androidInstanceGroupId: defaultYHMlTO.id,
androidInstanceName: "CreateInstanceName",
});
const _default = new alicloud.cloudphone.KeyPair("default", {
keyPairName: "example",
publicKeyBody: "QAAAAH0o+PMrbz9ZlxaNMYlk1rJkN4JXqwSUVYW5YzMW3fWJ7At1XO40GYDEFL43fLob52pmRxRDuRoGAELmS1AyzqUle2v9yGKFziqS/vK/4vM4MW/ppnTmvh9zPXir0fB/uwXS4iS6xt0gmvprgyRNs7hgXtBK9ASiGuPCv47aRJqh9mYzq2pe2rgb+K0OU5/nQXwWKSxYsv+w3KWPshpwx8iF/JWvjixILJ5gygndd+1HyE8jrLVmvm/OitNaMgkolY1bvmRVVKLmzde7FtXw0s4TVfYUvF385gwlrOulKcL7UuMHV87MV/tcvEA0Gg88JrKgI5LmvQ8BDkrfoSi+bchk1KTAqJ8YMvL2pOogXbBoONeJS176zLYpLHmONtIDQFz/gEqAjGQVW+j4J+1w8oWrn8EjtcDe2kY34s3PDLioK3BN9CIBBQur+SH25R0RnEqD0YPFT7/ym0LomtPOS0t72n5JejBTfWaXiqb/I4f2Ypy1PA6fV5UUFIHODpNtuS4g2HKKqDS/sgYRBA2gpN2MmqeqgsQmSy+EljHdUe4KDVqAZ/qxLqnbp47BGHw2xjuZ60nXAoRecWCg2GDbx13ga4dKUQY+ER8Jruz7ILK4MRB7E4SjSUVmgcdh534c51BYIdI2HkQwQU2dgyJyQme9sDQxxGHpYKFQlFSyXUeOSjXLtQEAAQA= qiaozhou_15694163938@h2sqyfpc71g1t2w",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
defaultj_z1gi0 = alicloud.cloudphone.Policy("defaultjZ1gi0")
default_yh_ml_to = alicloud.cloudphoneinstance.Group("defaultYHMlTO",
instance_group_spec="acp.basic.small",
policy_group_id=defaultj_z1gi0.id,
instance_group_name="AutoCreateGroupName",
period=1,
number_of_instances=1,
charge_type="PostPaid",
image_id="imgc-075cllfeuazh03tg9",
period_unit="Hour",
auto_renew=False,
amount=1,
auto_pay=False,
gpu_acceleration=False)
defaulthd_bep1 = alicloud.cloudphoneinstance.CloudPhoneInstance("defaulthdBep1",
android_instance_group_id=default_yh_ml_to.id,
android_instance_name="CreateInstanceName")
default = alicloud.cloudphone.KeyPair("default",
key_pair_name="example",
public_key_body="QAAAAH0o+PMrbz9ZlxaNMYlk1rJkN4JXqwSUVYW5YzMW3fWJ7At1XO40GYDEFL43fLob52pmRxRDuRoGAELmS1AyzqUle2v9yGKFziqS/vK/4vM4MW/ppnTmvh9zPXir0fB/uwXS4iS6xt0gmvprgyRNs7hgXtBK9ASiGuPCv47aRJqh9mYzq2pe2rgb+K0OU5/nQXwWKSxYsv+w3KWPshpwx8iF/JWvjixILJ5gygndd+1HyE8jrLVmvm/OitNaMgkolY1bvmRVVKLmzde7FtXw0s4TVfYUvF385gwlrOulKcL7UuMHV87MV/tcvEA0Gg88JrKgI5LmvQ8BDkrfoSi+bchk1KTAqJ8YMvL2pOogXbBoONeJS176zLYpLHmONtIDQFz/gEqAjGQVW+j4J+1w8oWrn8EjtcDe2kY34s3PDLioK3BN9CIBBQur+SH25R0RnEqD0YPFT7/ym0LomtPOS0t72n5JejBTfWaXiqb/I4f2Ypy1PA6fV5UUFIHODpNtuS4g2HKKqDS/sgYRBA2gpN2MmqeqgsQmSy+EljHdUe4KDVqAZ/qxLqnbp47BGHw2xjuZ60nXAoRecWCg2GDbx13ga4dKUQY+ER8Jruz7ILK4MRB7E4SjSUVmgcdh534c51BYIdI2HkQwQU2dgyJyQme9sDQxxGHpYKFQlFSyXUeOSjXLtQEAAQA= qiaozhou_15694163938@h2sqyfpc71g1t2w")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudphone"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudphoneinstance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
defaultjZ1gi0, err := cloudphone.NewPolicy(ctx, "defaultjZ1gi0", nil)
if err != nil {
return err
}
defaultYHMlTO, err := cloudphoneinstance.NewGroup(ctx, "defaultYHMlTO", &cloudphoneinstance.GroupArgs{
InstanceGroupSpec: pulumi.String("acp.basic.small"),
PolicyGroupId: defaultjZ1gi0.ID(),
InstanceGroupName: pulumi.String("AutoCreateGroupName"),
Period: pulumi.Int(1),
NumberOfInstances: pulumi.Int(1),
ChargeType: pulumi.String("PostPaid"),
ImageId: pulumi.String("imgc-075cllfeuazh03tg9"),
PeriodUnit: pulumi.String("Hour"),
AutoRenew: pulumi.Bool(false),
Amount: pulumi.Int(1),
AutoPay: pulumi.Bool(false),
GpuAcceleration: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = cloudphoneinstance.NewCloudPhoneInstance(ctx, "defaulthdBep1", &cloudphoneinstance.CloudPhoneInstanceArgs{
AndroidInstanceGroupId: defaultYHMlTO.ID(),
AndroidInstanceName: pulumi.String("CreateInstanceName"),
})
if err != nil {
return err
}
_, err = cloudphone.NewKeyPair(ctx, "default", &cloudphone.KeyPairArgs{
KeyPairName: pulumi.String("example"),
PublicKeyBody: pulumi.String("QAAAAH0o+PMrbz9ZlxaNMYlk1rJkN4JXqwSUVYW5YzMW3fWJ7At1XO40GYDEFL43fLob52pmRxRDuRoGAELmS1AyzqUle2v9yGKFziqS/vK/4vM4MW/ppnTmvh9zPXir0fB/uwXS4iS6xt0gmvprgyRNs7hgXtBK9ASiGuPCv47aRJqh9mYzq2pe2rgb+K0OU5/nQXwWKSxYsv+w3KWPshpwx8iF/JWvjixILJ5gygndd+1HyE8jrLVmvm/OitNaMgkolY1bvmRVVKLmzde7FtXw0s4TVfYUvF385gwlrOulKcL7UuMHV87MV/tcvEA0Gg88JrKgI5LmvQ8BDkrfoSi+bchk1KTAqJ8YMvL2pOogXbBoONeJS176zLYpLHmONtIDQFz/gEqAjGQVW+j4J+1w8oWrn8EjtcDe2kY34s3PDLioK3BN9CIBBQur+SH25R0RnEqD0YPFT7/ym0LomtPOS0t72n5JejBTfWaXiqb/I4f2Ypy1PA6fV5UUFIHODpNtuS4g2HKKqDS/sgYRBA2gpN2MmqeqgsQmSy+EljHdUe4KDVqAZ/qxLqnbp47BGHw2xjuZ60nXAoRecWCg2GDbx13ga4dKUQY+ER8Jruz7ILK4MRB7E4SjSUVmgcdh534c51BYIdI2HkQwQU2dgyJyQme9sDQxxGHpYKFQlFSyXUeOSjXLtQEAAQA= qiaozhou_15694163938@h2sqyfpc71g1t2w"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var defaultjZ1gi0 = new AliCloud.CloudPhone.Policy("defaultjZ1gi0");
var defaultYHMlTO = new AliCloud.CloudPhoneInstance.Group("defaultYHMlTO", new()
{
InstanceGroupSpec = "acp.basic.small",
PolicyGroupId = defaultjZ1gi0.Id,
InstanceGroupName = "AutoCreateGroupName",
Period = 1,
NumberOfInstances = 1,
ChargeType = "PostPaid",
ImageId = "imgc-075cllfeuazh03tg9",
PeriodUnit = "Hour",
AutoRenew = false,
Amount = 1,
AutoPay = false,
GpuAcceleration = false,
});
var defaulthdBep1 = new AliCloud.CloudPhoneInstance.CloudPhoneInstance("defaulthdBep1", new()
{
AndroidInstanceGroupId = defaultYHMlTO.Id,
AndroidInstanceName = "CreateInstanceName",
});
var @default = new AliCloud.CloudPhone.KeyPair("default", new()
{
KeyPairName = "example",
PublicKeyBody = "QAAAAH0o+PMrbz9ZlxaNMYlk1rJkN4JXqwSUVYW5YzMW3fWJ7At1XO40GYDEFL43fLob52pmRxRDuRoGAELmS1AyzqUle2v9yGKFziqS/vK/4vM4MW/ppnTmvh9zPXir0fB/uwXS4iS6xt0gmvprgyRNs7hgXtBK9ASiGuPCv47aRJqh9mYzq2pe2rgb+K0OU5/nQXwWKSxYsv+w3KWPshpwx8iF/JWvjixILJ5gygndd+1HyE8jrLVmvm/OitNaMgkolY1bvmRVVKLmzde7FtXw0s4TVfYUvF385gwlrOulKcL7UuMHV87MV/tcvEA0Gg88JrKgI5LmvQ8BDkrfoSi+bchk1KTAqJ8YMvL2pOogXbBoONeJS176zLYpLHmONtIDQFz/gEqAjGQVW+j4J+1w8oWrn8EjtcDe2kY34s3PDLioK3BN9CIBBQur+SH25R0RnEqD0YPFT7/ym0LomtPOS0t72n5JejBTfWaXiqb/I4f2Ypy1PA6fV5UUFIHODpNtuS4g2HKKqDS/sgYRBA2gpN2MmqeqgsQmSy+EljHdUe4KDVqAZ/qxLqnbp47BGHw2xjuZ60nXAoRecWCg2GDbx13ga4dKUQY+ER8Jruz7ILK4MRB7E4SjSUVmgcdh534c51BYIdI2HkQwQU2dgyJyQme9sDQxxGHpYKFQlFSyXUeOSjXLtQEAAQA= qiaozhou_15694163938@h2sqyfpc71g1t2w",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cloudphone.Policy;
import com.pulumi.alicloud.cloudphoneinstance.Group;
import com.pulumi.alicloud.cloudphoneinstance.GroupArgs;
import com.pulumi.alicloud.cloudphoneinstance.CloudPhoneInstance;
import com.pulumi.alicloud.cloudphoneinstance.CloudPhoneInstanceArgs;
import com.pulumi.alicloud.cloudphone.KeyPair;
import com.pulumi.alicloud.cloudphone.KeyPairArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
var defaultjZ1gi0 = new Policy("defaultjZ1gi0");
var defaultYHMlTO = new Group("defaultYHMlTO", GroupArgs.builder()
.instanceGroupSpec("acp.basic.small")
.policyGroupId(defaultjZ1gi0.id())
.instanceGroupName("AutoCreateGroupName")
.period("1")
.numberOfInstances("1")
.chargeType("PostPaid")
.imageId("imgc-075cllfeuazh03tg9")
.periodUnit("Hour")
.autoRenew(false)
.amount("1")
.autoPay(false)
.gpuAcceleration(false)
.build());
var defaulthdBep1 = new CloudPhoneInstance("defaulthdBep1", CloudPhoneInstanceArgs.builder()
.androidInstanceGroupId(defaultYHMlTO.id())
.androidInstanceName("CreateInstanceName")
.build());
var default_ = new KeyPair("default", KeyPairArgs.builder()
.keyPairName("example")
.publicKeyBody("QAAAAH0o+PMrbz9ZlxaNMYlk1rJkN4JXqwSUVYW5YzMW3fWJ7At1XO40GYDEFL43fLob52pmRxRDuRoGAELmS1AyzqUle2v9yGKFziqS/vK/4vM4MW/ppnTmvh9zPXir0fB/uwXS4iS6xt0gmvprgyRNs7hgXtBK9ASiGuPCv47aRJqh9mYzq2pe2rgb+K0OU5/nQXwWKSxYsv+w3KWPshpwx8iF/JWvjixILJ5gygndd+1HyE8jrLVmvm/OitNaMgkolY1bvmRVVKLmzde7FtXw0s4TVfYUvF385gwlrOulKcL7UuMHV87MV/tcvEA0Gg88JrKgI5LmvQ8BDkrfoSi+bchk1KTAqJ8YMvL2pOogXbBoONeJS176zLYpLHmONtIDQFz/gEqAjGQVW+j4J+1w8oWrn8EjtcDe2kY34s3PDLioK3BN9CIBBQur+SH25R0RnEqD0YPFT7/ym0LomtPOS0t72n5JejBTfWaXiqb/I4f2Ypy1PA6fV5UUFIHODpNtuS4g2HKKqDS/sgYRBA2gpN2MmqeqgsQmSy+EljHdUe4KDVqAZ/qxLqnbp47BGHw2xjuZ60nXAoRecWCg2GDbx13ga4dKUQY+ER8Jruz7ILK4MRB7E4SjSUVmgcdh534c51BYIdI2HkQwQU2dgyJyQme9sDQxxGHpYKFQlFSyXUeOSjXLtQEAAQA= qiaozhou_15694163938@h2sqyfpc71g1t2w")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultjZ1gi0:
type: alicloud:cloudphone:Policy
defaultYHMlTO:
type: alicloud:cloudphoneinstance:Group
properties:
instanceGroupSpec: acp.basic.small
policyGroupId: ${defaultjZ1gi0.id}
instanceGroupName: AutoCreateGroupName
period: '1'
numberOfInstances: '1'
chargeType: PostPaid
imageId: imgc-075cllfeuazh03tg9
periodUnit: Hour
autoRenew: false
amount: '1'
autoPay: false
gpuAcceleration: false
defaulthdBep1:
type: alicloud:cloudphoneinstance:CloudPhoneInstance
properties:
androidInstanceGroupId: ${defaultYHMlTO.id}
androidInstanceName: CreateInstanceName
default:
type: alicloud:cloudphone:KeyPair
properties:
keyPairName: example
publicKeyBody: QAAAAH0o+PMrbz9ZlxaNMYlk1rJkN4JXqwSUVYW5YzMW3fWJ7At1XO40GYDEFL43fLob52pmRxRDuRoGAELmS1AyzqUle2v9yGKFziqS/vK/4vM4MW/ppnTmvh9zPXir0fB/uwXS4iS6xt0gmvprgyRNs7hgXtBK9ASiGuPCv47aRJqh9mYzq2pe2rgb+K0OU5/nQXwWKSxYsv+w3KWPshpwx8iF/JWvjixILJ5gygndd+1HyE8jrLVmvm/OitNaMgkolY1bvmRVVKLmzde7FtXw0s4TVfYUvF385gwlrOulKcL7UuMHV87MV/tcvEA0Gg88JrKgI5LmvQ8BDkrfoSi+bchk1KTAqJ8YMvL2pOogXbBoONeJS176zLYpLHmONtIDQFz/gEqAjGQVW+j4J+1w8oWrn8EjtcDe2kY34s3PDLioK3BN9CIBBQur+SH25R0RnEqD0YPFT7/ym0LomtPOS0t72n5JejBTfWaXiqb/I4f2Ypy1PA6fV5UUFIHODpNtuS4g2HKKqDS/sgYRBA2gpN2MmqeqgsQmSy+EljHdUe4KDVqAZ/qxLqnbp47BGHw2xjuZ60nXAoRecWCg2GDbx13ga4dKUQY+ER8Jruz7ILK4MRB7E4SjSUVmgcdh534c51BYIdI2HkQwQU2dgyJyQme9sDQxxGHpYKFQlFSyXUeOSjXLtQEAAQA= qiaozhou_15694163938@h2sqyfpc71g1t2w
Create KeyPair Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KeyPair(name: string, args: KeyPairArgs, opts?: CustomResourceOptions);
@overload
def KeyPair(resource_name: str,
args: KeyPairArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KeyPair(resource_name: str,
opts: Optional[ResourceOptions] = None,
key_pair_name: Optional[str] = None,
public_key_body: Optional[str] = None)
func NewKeyPair(ctx *Context, name string, args KeyPairArgs, opts ...ResourceOption) (*KeyPair, error)
public KeyPair(string name, KeyPairArgs args, CustomResourceOptions? opts = null)
public KeyPair(String name, KeyPairArgs args)
public KeyPair(String name, KeyPairArgs args, CustomResourceOptions options)
type: alicloud:cloudphone:KeyPair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KeyPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KeyPairArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KeyPairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KeyPairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KeyPairArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var keyPairResource = new AliCloud.CloudPhone.KeyPair("keyPairResource", new()
{
KeyPairName = "string",
PublicKeyBody = "string",
});
example, err := cloudphone.NewKeyPair(ctx, "keyPairResource", &cloudphone.KeyPairArgs{
KeyPairName: pulumi.String("string"),
PublicKeyBody: pulumi.String("string"),
})
var keyPairResource = new KeyPair("keyPairResource", KeyPairArgs.builder()
.keyPairName("string")
.publicKeyBody("string")
.build());
key_pair_resource = alicloud.cloudphone.KeyPair("keyPairResource",
key_pair_name="string",
public_key_body="string")
const keyPairResource = new alicloud.cloudphone.KeyPair("keyPairResource", {
keyPairName: "string",
publicKeyBody: "string",
});
type: alicloud:cloudphone:KeyPair
properties:
keyPairName: string
publicKeyBody: string
KeyPair Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KeyPair resource accepts the following input properties:
- Key
Pair stringName - ADB key pair name.
- Public
Key stringBody - The public key of the key pair.
- Key
Pair stringName - ADB key pair name.
- Public
Key stringBody - The public key of the key pair.
- key
Pair StringName - ADB key pair name.
- public
Key StringBody - The public key of the key pair.
- key
Pair stringName - ADB key pair name.
- public
Key stringBody - The public key of the key pair.
- key_
pair_ strname - ADB key pair name.
- public_
key_ strbody - The public key of the key pair.
- key
Pair StringName - ADB key pair name.
- public
Key StringBody - The public key of the key pair.
Outputs
All input properties are implicitly available as output properties. Additionally, the KeyPair resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KeyPair Resource
Get an existing KeyPair resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KeyPairState, opts?: CustomResourceOptions): KeyPair
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
key_pair_name: Optional[str] = None,
public_key_body: Optional[str] = None) -> KeyPair
func GetKeyPair(ctx *Context, name string, id IDInput, state *KeyPairState, opts ...ResourceOption) (*KeyPair, error)
public static KeyPair Get(string name, Input<string> id, KeyPairState? state, CustomResourceOptions? opts = null)
public static KeyPair get(String name, Output<String> id, KeyPairState state, CustomResourceOptions options)
resources: _: type: alicloud:cloudphone:KeyPair get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Key
Pair stringName - ADB key pair name.
- Public
Key stringBody - The public key of the key pair.
- Key
Pair stringName - ADB key pair name.
- Public
Key stringBody - The public key of the key pair.
- key
Pair StringName - ADB key pair name.
- public
Key StringBody - The public key of the key pair.
- key
Pair stringName - ADB key pair name.
- public
Key stringBody - The public key of the key pair.
- key_
pair_ strname - ADB key pair name.
- public_
key_ strbody - The public key of the key pair.
- key
Pair StringName - ADB key pair name.
- public
Key StringBody - The public key of the key pair.
Import
Cloud Phone Key Pair can be imported using the id, e.g.
$ pulumi import alicloud:cloudphone/keyPair:KeyPair example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.