Table of Contents

Interface IWithOptions<ReturnT>

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.HasOptions.Definition
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The stage of the resource definition allowing to set options.

public interface IWithOptions<ReturnT>

Type Parameters

ReturnT

The next stage of the definition.

Methods

WithOption(string, string)

Specifies an option.

ReturnT WithOption(string key, string value)

Parameters

key string

The key of the option. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" in api-version 2019-08-01.

value string

The value of the option.

Returns

ReturnT

The next stage of definition.

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 definition.