ArmCosmosDBModelFactory.ExtendedRestorableSqlDatabaseResourceInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExtendedRestorableSqlDatabaseResourceInfo(String, Nullable<CosmosDBOperationType>, String, String, String, RestorableSqlDatabasePropertiesResourceDatabase) |
Initializes a new instance of ExtendedRestorableSqlDatabaseResourceInfo. |
ExtendedRestorableSqlDatabaseResourceInfo(String, Nullable<CosmosDBOperationType>, String, String, String, String, String, RestorableSqlDatabasePropertiesResourceDatabase) |
Initializes a new instance of ExtendedRestorableSqlDatabaseResourceInfo. |
ExtendedRestorableSqlDatabaseResourceInfo(String, Nullable<CosmosDBOperationType>, String, String, String, RestorableSqlDatabasePropertiesResourceDatabase)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of ExtendedRestorableSqlDatabaseResourceInfo.
public static Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableSqlDatabaseResourceInfo ExtendedRestorableSqlDatabaseResourceInfo (string rid = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBOperationType? operationType = default, string eventTimestamp = default, string databaseName = default, string databaseId = default, Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase database = default);
static member ExtendedRestorableSqlDatabaseResourceInfo : string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBOperationType> * string * string * string * Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase -> Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableSqlDatabaseResourceInfo
Public Shared Function ExtendedRestorableSqlDatabaseResourceInfo (Optional rid As String = Nothing, Optional operationType As Nullable(Of CosmosDBOperationType) = Nothing, Optional eventTimestamp As String = Nothing, Optional databaseName As String = Nothing, Optional databaseId As String = Nothing, Optional database As RestorableSqlDatabasePropertiesResourceDatabase = Nothing) As ExtendedRestorableSqlDatabaseResourceInfo
Parameters
- rid
- String
A system generated property. A unique identifier.
- operationType
- Nullable<CosmosDBOperationType>
The operation type of this database event.
- eventTimestamp
- String
The time when this database event happened.
- databaseName
- String
The name of the SQL database.
- databaseId
- String
The resource ID of the SQL database.
Cosmos DB SQL database resource object.
Returns
A new ExtendedRestorableSqlDatabaseResourceInfo instance for mocking.
Applies to
ExtendedRestorableSqlDatabaseResourceInfo(String, Nullable<CosmosDBOperationType>, String, String, String, String, String, RestorableSqlDatabasePropertiesResourceDatabase)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of ExtendedRestorableSqlDatabaseResourceInfo.
public static Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableSqlDatabaseResourceInfo ExtendedRestorableSqlDatabaseResourceInfo (string rid = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBOperationType? operationType = default, string canUndelete = default, string canUndeleteReason = default, string eventTimestamp = default, string databaseName = default, string databaseId = default, Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase database = default);
static member ExtendedRestorableSqlDatabaseResourceInfo : string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBOperationType> * string * string * string * string * string * Azure.ResourceManager.CosmosDB.Models.RestorableSqlDatabasePropertiesResourceDatabase -> Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableSqlDatabaseResourceInfo
Public Shared Function ExtendedRestorableSqlDatabaseResourceInfo (Optional rid As String = Nothing, Optional operationType As Nullable(Of CosmosDBOperationType) = Nothing, Optional canUndelete As String = Nothing, Optional canUndeleteReason As String = Nothing, Optional eventTimestamp As String = Nothing, Optional databaseName As String = Nothing, Optional databaseId As String = Nothing, Optional database As RestorableSqlDatabasePropertiesResourceDatabase = Nothing) As ExtendedRestorableSqlDatabaseResourceInfo
Parameters
- rid
- String
A system generated property. A unique identifier.
- operationType
- Nullable<CosmosDBOperationType>
The operation type of this database event.
- canUndelete
- String
A state of this database to identify if this database is restorable in same account.
- canUndeleteReason
- String
The reason why this database can not be restored in same account.
- eventTimestamp
- String
The time when this database event happened.
- databaseName
- String
The name of the SQL database.
- databaseId
- String
The resource ID of the SQL database.
Cosmos DB SQL database resource object.
Returns
A new ExtendedRestorableSqlDatabaseResourceInfo instance for mocking.