RoutingCosmosDBSqlApiProperties Class    
The properties related to a cosmos DB sql container endpoint.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
Constructor
RoutingCosmosDBSqlApiProperties(*, name: str, endpoint_uri: str, database_name: str, container_name: str, subscription_id: str | None = None, resource_group: str | None = None, authentication_type: str | _models.AuthenticationType | None = None, identity: _models.ManagedIdentity | None = None, primary_key: str | None = None, secondary_key: str | None = None, partition_key_name: str | None = None, partition_key_template: str | None = None, **kwargs: Any)
		Keyword-Only Parameters
| Name | Description | 
|---|---|
| 
		 name 
	 | 
	
		
		 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. Required.  | 
| 
		 subscription_id 
	 | 
	
		
		 The subscription identifier of the cosmos DB account. Default value: None 
			 | 
| 
		 resource_group 
	 | 
	
		
		 The name of the resource group of the cosmos DB account. Default value: None 
			 | 
| 
		 endpoint_uri 
	 | 
	
		
		 The url of the cosmos DB account. It must include the protocol https://. Required.  | 
| 
		 authentication_type 
	 | 
	
		
		 Method used to authenticate against the cosmos DB sql container endpoint. Known values are: "keyBased" and "identityBased". Default value: None 
			 | 
| 
		 identity 
	 | 
	
		
		 Managed identity properties of routing cosmos DB container endpoint. Default value: None 
			 | 
| 
		 primary_key 
	 | 
	
		
		 The primary key of the cosmos DB account. Default value: None 
			 | 
| 
		 secondary_key 
	 | 
	
		
		 The secondary key of the cosmos DB account. Default value: None 
			 | 
| 
		 database_name 
	 | 
	
		
		 The name of the cosmos DB database in the cosmos DB account. Required.  | 
| 
		 container_name 
	 | 
	
		
		 The name of the cosmos DB sql container in the cosmos DB database. Required.  | 
| 
		 partition_key_name 
	 | 
	
		
		 The name of the partition key associated with this cosmos DB sql container if one exists. This is an optional parameter. Default value: None 
			 | 
| 
		 partition_key_template 
	 | 
	
		
		 The template for generating a synthetic partition key value for use with this cosmos DB sql container. The template must include at least one of the following placeholders: {iothub}, {deviceid}, {DD}, {MM}, and {YYYY}. Any one placeholder may be specified at most once, but order and non-placeholder components are arbitrary. This parameter is only required if PartitionKeyName is specified. Default value: None 
			 | 
Variables
| Name | Description | 
|---|---|
| 
		 name 
	 | 
	
		
		 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. Required.  | 
| 
		 id 
	 | 
	
		
		 Id of the cosmos DB sql container endpoint.  | 
| 
		 subscription_id 
	 | 
	
		
		 The subscription identifier of the cosmos DB account.  | 
| 
		 resource_group 
	 | 
	
		
		 The name of the resource group of the cosmos DB account.  | 
| 
		 endpoint_uri 
	 | 
	
		
		 The url of the cosmos DB account. It must include the protocol https://. Required.  | 
| 
		 authentication_type 
	 | 
	
		
		 Method used to authenticate against the cosmos DB sql container endpoint. Known values are: "keyBased" and "identityBased".  | 
| 
		 identity 
	 | 
	
		
		 Managed identity properties of routing cosmos DB container endpoint.  | 
| 
		 primary_key 
	 | 
	
		
		 The primary key of the cosmos DB account.  | 
| 
		 secondary_key 
	 | 
	
		
		 The secondary key of the cosmos DB account.  | 
| 
		 database_name 
	 | 
	
		
		 The name of the cosmos DB database in the cosmos DB account. Required.  | 
| 
		 container_name 
	 | 
	
		
		 The name of the cosmos DB sql container in the cosmos DB database. Required.  | 
| 
		 partition_key_name 
	 | 
	
		
		 The name of the partition key associated with this cosmos DB sql container if one exists. This is an optional parameter.  | 
| 
		 partition_key_template 
	 | 
	
		
		 The template for generating a synthetic partition key value for use with this cosmos DB sql container. The template must include at least one of the following placeholders: {iothub}, {deviceid}, {DD}, {MM}, and {YYYY}. Any one placeholder may be specified at most once, but order and non-placeholder components are arbitrary. This parameter is only required if PartitionKeyName is specified.  |