Table of Contents

Class SqlContainerCreateUpdateParameters

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Parameters to create and update Cosmos DB container.

public class SqlContainerCreateUpdateParameters : ARMResourcePropertiesInner
Inheritance
SqlContainerCreateUpdateParameters

Constructors

SqlContainerCreateUpdateParameters()

Initializes a new instance of the SqlContainerCreateUpdateParameters class.

public SqlContainerCreateUpdateParameters()

SqlContainerCreateUpdateParameters(string, SqlContainerResource, CreateUpdateOptions, string, string, string, IDictionary<string, string>)

Initializes a new instance of the SqlContainerCreateUpdateParameters class.

public SqlContainerCreateUpdateParameters(string location, SqlContainerResource resource, CreateUpdateOptions options, string id = null, string name = null, string type = null, IDictionary<string, string> tags = null)

Parameters

location string
resource SqlContainerResource

The standard JSON format of a container

options CreateUpdateOptions

A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

id string
name string
type string
tags IDictionary<string, string>

Properties

Options

Gets or sets a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

public CreateUpdateOptions Options { get; set; }

Property Value

CreateUpdateOptions

Resource

Gets or sets the standard JSON format of a container

public SqlContainerResource Resource { get; set; }

Property Value

SqlContainerResource

Methods

Validate()

Validate the object.

public override void Validate()

Exceptions

Microsoft.Rest.ValidationException

Thrown if validation fails