@@ -2046,6 +2046,200 @@ methods:
2046
2046
defaultValue : ' 1000'
2047
2047
- name : data_type
2048
2048
defaultValue : None
2049
+ - uid : azure.durable_functions.Blueprint.mysql_input
2050
+ name : mysql_input
2051
+ summary : ' The mysql_input decorator adds
2052
+
2053
+ <xref:azure.durable_functions.MySqlInput> to the <xref:azure.durable_functions.FunctionBuilder>
2054
+ object
2055
+
2056
+ for building <xref:azure.durable_functions.Function> object used in worker function
2057
+
2058
+ indexing model. This decorator will work only with extension bundle 4.x
2059
+
2060
+ and above.
2061
+
2062
+ This is equivalent to defining MySqlInput in the function.json which
2063
+
2064
+ enables the function to read from a MySql database.
2065
+
2066
+ All optional fields will be given default value by function host when
2067
+
2068
+ they are parsed by function host.
2069
+
2070
+ Ref: [https://aka.ms/mysqlbindings](https://aka.ms/mysqlbindings)
2071
+
2072
+ :param arg_name: The name of the variable that represents a
2073
+
2074
+ <xref:azure.durable_functions.MySqlRowList> input object in function code
2075
+
2076
+ :param command_text: The Transact-SQL query command or name of the
2077
+
2078
+ stored procedure executed by the binding
2079
+
2080
+ :param connection_string_setting: The name of an app setting that
2081
+
2082
+ contains the connection string for the database against which the
2083
+
2084
+ query or stored procedure is being executed
2085
+
2086
+ :param command_type: A CommandType value, which is Text for a query
2087
+
2088
+ and StoredProcedure for a stored procedure
2089
+
2090
+ :param parameters: Zero or more parameter values passed to the
2091
+
2092
+ command during execution as a single string. Must follow the format
2093
+
2094
+ @param1=param1,@param2=param2
2095
+
2096
+ :param data_type: Defines how Functions runtime should treat the
2097
+
2098
+ parameter value
2099
+
2100
+ :param kwargs: Keyword arguments for specifying additional binding
2101
+
2102
+ fields to include in the binding json
2103
+
2104
+ :return: Decorator function.'
2105
+ signature : ' mysql_input(arg_name: str, command_text: str, connection_string_setting:
2106
+ str, command_type: str | None = '' Text'' , parameters: str | None = None, data_type:
2107
+ DataType | None = None, **kwargs) -> Callable[[...], Any]'
2108
+ parameters :
2109
+ - name : arg_name
2110
+ isRequired : true
2111
+ - name : command_text
2112
+ isRequired : true
2113
+ - name : connection_string_setting
2114
+ isRequired : true
2115
+ - name : command_type
2116
+ defaultValue : Text
2117
+ - name : parameters
2118
+ defaultValue : None
2119
+ - name : data_type
2120
+ defaultValue : None
2121
+ - uid : azure.durable_functions.Blueprint.mysql_output
2122
+ name : mysql_output
2123
+ summary : ' The mysql_output decorator adds
2124
+
2125
+ <xref:azure.durable_functions.MySqlOutput> to the <xref:azure.durable_functions.FunctionBuilder>
2126
+ object
2127
+
2128
+ for building <xref:azure.durable_functions.Function> object used in worker function
2129
+
2130
+ indexing model. This decorator will work only with extension bundle 4.x
2131
+
2132
+ and above.
2133
+
2134
+ This is equivalent to defining MySqlOutput in the function.json which
2135
+
2136
+ enables the function to write to a MySql database.
2137
+
2138
+ All optional fields will be given default value by function host when
2139
+
2140
+ they are parsed by function host.
2141
+
2142
+ Ref: [https://aka.ms/mysqlbindings](https://aka.ms/mysqlbindings)
2143
+
2144
+ :param arg_name: The name of the variable that represents
2145
+
2146
+ MySql output object in function code
2147
+
2148
+ :param command_text: The Transact-SQL query command or name of the
2149
+
2150
+ stored procedure executed by the binding
2151
+
2152
+ :param connection_string_setting: The name of an app setting that
2153
+
2154
+ contains the connection string for the database against which the
2155
+
2156
+ query or stored procedure is being executed
2157
+
2158
+ :param data_type: Defines how Functions runtime should treat the
2159
+
2160
+ parameter value
2161
+
2162
+ :param kwargs: Keyword arguments for specifying additional binding
2163
+
2164
+ fields to include in the binding json
2165
+
2166
+ :return: Decorator function.'
2167
+ signature : ' mysql_output(arg_name: str, command_text: str, connection_string_setting:
2168
+ str, data_type: DataType | None = None, **kwargs) -> Callable[[...], Any]'
2169
+ parameters :
2170
+ - name : arg_name
2171
+ isRequired : true
2172
+ - name : command_text
2173
+ isRequired : true
2174
+ - name : connection_string_setting
2175
+ isRequired : true
2176
+ - name : data_type
2177
+ defaultValue : None
2178
+ - uid : azure.durable_functions.Blueprint.mysql_trigger
2179
+ name : mysql_trigger
2180
+ summary : ' The mysql_trigger decorator adds <xref:azure.durable_functions.MySqlTrigger>
2181
+
2182
+ to the <xref:azure.durable_functions.FunctionBuilder> object
2183
+
2184
+ for building <xref:azure.durable_functions.Function> object used in worker function
2185
+
2186
+ indexing model. This decorator will work only with extension bundle 4.x
2187
+
2188
+ and above.
2189
+
2190
+ This is equivalent to defining MySqlTrigger in the function.json which
2191
+
2192
+ enables function to be triggered when there are changes in the MySql
2193
+
2194
+ table.
2195
+
2196
+ All optional fields will be given default value by function host when
2197
+
2198
+ they are parsed by function host.
2199
+
2200
+ Ref: [https://aka.ms/mysqlbindings](https://aka.ms/mysqlbindings)
2201
+
2202
+ :param arg_name: The name of the variable that represents a
2203
+
2204
+ <xref:azure.durable_functions.MySqlRowList> object in the function code
2205
+
2206
+ :param table_name: The name of the table monitored by the trigger
2207
+
2208
+ :param connection_string_setting: The name of an app setting that
2209
+
2210
+ contains the connection string for the database against which the
2211
+
2212
+ query or stored procedure is being executed
2213
+
2214
+ :param leases_table_name: The name of the table used to store
2215
+
2216
+ leases. If not specified, the leases table name will be
2217
+
2218
+ Leases_{FunctionId}_{TableId}.
2219
+
2220
+ :param data_type: Defines how Functions runtime should treat the
2221
+
2222
+ parameter value
2223
+
2224
+ :param kwargs: Keyword arguments for specifying additional binding
2225
+
2226
+ fields to include in the binding json
2227
+
2228
+ :return: Decorator function.'
2229
+ signature : ' mysql_trigger(arg_name: str, table_name: str, connection_string_setting:
2230
+ str, leases_table_name: str | None = None, data_type: DataType | None = None,
2231
+ **kwargs) -> Callable[[...], Any]'
2232
+ parameters :
2233
+ - name : arg_name
2234
+ isRequired : true
2235
+ - name : table_name
2236
+ isRequired : true
2237
+ - name : connection_string_setting
2238
+ isRequired : true
2239
+ - name : leases_table_name
2240
+ defaultValue : None
2241
+ - name : data_type
2242
+ defaultValue : None
2049
2243
- uid : azure.durable_functions.Blueprint.orchestration_trigger
2050
2244
name : orchestration_trigger
2051
2245
summary : Register an Orchestrator Function.
0 commit comments