func GetKeypair(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeypairState, opts ...pulumi.ResourceOption) (*Keypair, error) {
	var resource Keypair
	err := ctx.ReadResource("openstack:compute/keypair:Keypair", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetKeypair gets an existing Keypair resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetKeypair gets an existing Keypair resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetKeypair gets an existing Keypair resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetKeypair(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeypairState, opts ...pulumi.ResourceOption) (*Keypair, error) {
	var resource Keypair
	err := ctx.ReadResource("openstack:compute/keypair:Keypair", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetKeypair ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * KeypairState , opts ... pulumi . ResourceOption ) ( * Keypair , error ) { var resource Keypair err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetKeypair gets an existing Keypair resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetKeypair gets an existing Keypair resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .