Interface IWithOptions<ReturnT>
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent.HasOptions.Update
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The stage of a resource update allowing to set options.
public interface IWithOptions<ReturnT>
Type Parameters
ReturnT
The next stage of the update.
Methods
WithOption(string, string)
Specifies an option.
ReturnT WithOption(string key, string value)
Parameters
key
stringThe key of the option. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" in api-version 2019-08-01.
value
stringThe value of the option.
Returns
- ReturnT
The next stage of update.
WithOptionsAppend(IDictionary<string, string>)
Appends all options to current options.
ReturnT WithOptionsAppend(IDictionary<string, string> options)
Parameters
options
IDictionary<string, string>The options needs appending.
Returns
- ReturnT
The next stage of update.
WithOptionsReplace(IDictionary<string, string>)
Replace the current options with new options.
ReturnT WithOptionsReplace(IDictionary<string, string> options)
Parameters
options
IDictionary<string, string>The options needs replacing.
Returns
- ReturnT
The next stage of update.
WithoutOption(string)
Removes an option.
ReturnT WithoutOption(string key)
Parameters
key
stringThe key of the option.
Returns
- ReturnT
The next stage of update.
WithoutOptions()
Removes all options.
ReturnT WithoutOptions()
Returns
- ReturnT
The next stage of update.