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