New-AzCosmosDBTableToRestore
Creates a new CosmosDB Table to Restore object(PSTableToRestore)
Syntax
Default (Default)
New-AzCosmosDBTableToRestore
[-TableName <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Creates a new CosmosDB TableToRestore object(PSTableToRestore). This returned object can be used to specify the subset of tables to restore.
Examples
Example 1
New-AzCosmosDBTableToRestore -TableName table1,table2,table3
TableNames
---------------
{table1, table2, table3}
Creates a new TableToRestore object with the table names table1, table2 and table3.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-TableName
The names of the tables to be restored. (If not provided, all the tables will be restored)
Parameter properties
| Type: | String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.