RoutingCosmosDBSqlApiProperties(String, Uri, String, String) Constructor

Definition

Initializes a new instance of RoutingCosmosDBSqlApiProperties.

public RoutingCosmosDBSqlApiProperties (string name, Uri endpointUri, string databaseName, string containerName);
new Azure.ResourceManager.IotHub.Models.RoutingCosmosDBSqlApiProperties : string * Uri * string * string -> Azure.ResourceManager.IotHub.Models.RoutingCosmosDBSqlApiProperties
Public Sub New (name As String, endpointUri As Uri, databaseName As String, containerName As String)

Parameters

name
String

The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types.

endpointUri
Uri

The url of the cosmos DB account. It must include the protocol https://.

databaseName
String

The name of the cosmos DB database in the cosmos DB account.

containerName
String

The name of the cosmos DB sql container in the cosmos DB database.

Exceptions

name, endpointUri, databaseName or containerName is null.

Applies to