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