func NewKeypair(ctx *pulumi.Context,
	name string, args *KeypairArgs, opts ...pulumi.ResourceOption) (*Keypair, error) {
	if args == nil {
		args = &KeypairArgs{}
	}

	var resource Keypair
	err := ctx.RegisterResource("openstack:compute/keypair:Keypair", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewKeypair registers a new resource with the given unique name, arguments, and options.
NewKeypair registers a new resource with the given unique name, arguments, and options.
// NewKeypair registers a new resource with the given unique name arguments and options .
func NewKeypair(ctx *pulumi.Context,
	name string, args *KeypairArgs, opts ...pulumi.ResourceOption) (*Keypair, error) {
	if args == nil {
		args = &KeypairArgs{}
	}
	var resource Keypair
	err := ctx.RegisterResource("openstack:compute/keypair:Keypair", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewKeypair ( ctx * pulumi . Context , name string , args * KeypairArgs , opts ... pulumi . ResourceOption ) ( * Keypair , error ) { if args == nil { args = & KeypairArgs { } } var resource Keypair err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewKeypair registers a new resource with the given unique name, arguments, and options.
NewKeypair registers a new resource with the given unique name arguments and options .