Set CosmosDbDocumentType - PlagueHO/CosmosDB GitHub Wiki
Set the custom Cosmos DB document types to the document returned by an API call.
Set-CosmosDbDocumentType [-Document] <Object> [<CommonParameters>]
This function applies the custom types to the document returned by an API call.
PS C:\> Set-CosmosDbDocumentType -Document $document
Apply the document data type to the object provided document.
This is the document that is returned by a document API call.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).