func GetServerKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerKeyState, opts ...pulumi.ResourceOption) (*ServerKey, error) {
	var resource ServerKey
	err := ctx.ReadResource("azure:postgresql/serverKey:ServerKey", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetServerKey gets an existing ServerKey resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetServerKey gets an existing ServerKey resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetServerKey gets an existing ServerKey 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 GetServerKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerKeyState, opts ...pulumi.ResourceOption) (*ServerKey, error) {
	var resource ServerKey
	err := ctx.ReadResource("azure:postgresql/serverKey:ServerKey", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetServerKey ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * ServerKeyState , opts ... pulumi . ResourceOption ) ( * ServerKey , error ) { var resource ServerKey err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetServerKey gets an existing ServerKey resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetServerKey gets an existing ServerKey resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .