編集

次の方法で共有


New-AzCosmosDBTableToRestore

Creates a new CosmosDB Table to Restore object(PSTableToRestore)

Syntax

New-AzCosmosDBTableToRestore
   [-TableNames <String[]>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Creates a new CosmosDB TableToRestore object(PSTableToRestore). This returned object can be uses to speficy 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.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TableNames

The names of the tables to be restored. (If not provided, all the tables will be restored)

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSTablesToRestore