IWithChildResource.WithUserDefinedFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithUserDefinedFunction(String, SqlUserDefinedFunctionResource, CreateUpdateOptions) |
Specifies a user defined function. |
WithUserDefinedFunction(String, String, CreateUpdateOptions) |
Specifies a user defined function. |
WithUserDefinedFunction(String, SqlUserDefinedFunctionResource, CreateUpdateOptions)
Specifies a user defined function.
public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithUserDefinedFunction (string name, Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlUserDefinedFunctionResource resource, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions options = default);
abstract member WithUserDefinedFunction : string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlUserDefinedFunctionResource * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithUserDefinedFunction (name As String, resource As SqlUserDefinedFunctionResource, Optional options As CreateUpdateOptions = Nothing) As IUpdate
Parameters
- name
- String
The name of the user defined function.
- resource
- SqlUserDefinedFunctionResource
The user defined function resource, no need to specify id.
- options
- CreateUpdateOptions
The options for the user defined function.
Returns
The next stage of the update.
Applies to
WithUserDefinedFunction(String, String, CreateUpdateOptions)
Specifies a user defined function.
public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithUserDefinedFunction (string name, string body, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions options = default);
abstract member WithUserDefinedFunction : string * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithUserDefinedFunction (name As String, body As String, Optional options As CreateUpdateOptions = Nothing) As IUpdate
Parameters
- name
- String
The name of the user defined function.
- body
- String
The user defined function body.
- options
- CreateUpdateOptions
The options for the user defined function.
Returns
The next stage of the update.
Applies to
Azure SDK for .NET