Skip to content

Commit 860bb01

Browse files
author
Meha Kaushik
committed
Updated test records and help
1 parent a5a3f54 commit 860bb01

File tree

31 files changed

+2739
-1416
lines changed

31 files changed

+2739
-1416
lines changed

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdlets.json

Lines changed: 105 additions & 105 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.CassandraOperationsTests/TestCassandraOperationsCmdletsUsingInputObject.json

Lines changed: 113 additions & 113 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdlets.json

Lines changed: 121 additions & 121 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.GremlinOperationsTests/TestGremlinOperationsCmdletsUsingInputObject.json

Lines changed: 112 additions & 112 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdlets.json

Lines changed: 104 additions & 104 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.MongoOperationsTests/TestMongoOperationsCmdletsUsingInputObject.json

Lines changed: 112 additions & 112 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdlets.json

Lines changed: 298 additions & 298 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.SqlOperationsTests/TestSqlOperationsCmdletsUsingInputObject.json

Lines changed: 295 additions & 295 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdlets.json

Lines changed: 60 additions & 60 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB.Test/SessionRecords/Microsoft.Azure.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.TableOperationsTests/TestTableOperationsCmdletsUsingInputObject.json

Lines changed: 57 additions & 57 deletions
Large diffs are not rendered by default.

src/CosmosDB/CosmosDB/Az.CosmosDB.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ CmdletsToExport = 'Get-AzCosmosDBSqlContainer',
102102
'Set-AzCosmosDBGremlinDatabase', 'Set-AzCosmosDBGremlinGraph',
103103
'New-AzCosmosDBGremlinIndexingPolicy', 'New-AzCosmosDBGremlinUniqueKey',
104104
'New-AzCosmosDBGremlinUniqueKeyPolicy', 'New-AzCosmosDBGremlinSpatialSpec',
105-
'New-AzCosmosDBGremlinCompositePath',
105+
'New-AzCosmosDBGremlinCompositePath', 'New-AzCosmosDBGremlinConflictResolutionPolicy',
106106
'New-AzCosmosDBGremlinIncludedPath', 'New-AzCosmosDBGremlinIncludedPathIndex',
107107
'Get-AzCosmosDBTable', 'Get-AzCosmosDBTableThroughput',
108108
'Remove-AzCosmosDBTable', 'Set-AzCosmosDBTable',

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlContainer.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,7 @@ PS C:\> Get-AzCosmosDBSqlContainer -AccountName {accountName} -ResourceGroupName
3535
3636
Name : {containerName1}
3737
Id : Id
38-
SqlContainerGetResultsId :
39-
IndexingPolicy :
40-
PartitionKey :
41-
DefaultTtl :
42-
UniqueKeyPolicy :
43-
ConflictResolutionPolicy :
44-
_rid :
45-
_ts :
46-
_etag :
38+
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlContainerGetPropertiesResource
4739
```
4840

4941
## PARAMETERS

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlDatabase.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@ PS C:\> Get-AzCosmosDBSqlDatabase -AccountName {accountName} -ResourceGroupName
3535
3636
Name : {databaseName}
3737
Id : {databaseId}
38-
SqlDatabaseGetResultsId :
39-
_rid :
40-
_ts :
41-
_etag :
42-
_colls :
43-
_users :
38+
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlDatabaseGetPropertiesResource
4439
```
4540

4641
## PARAMETERS

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlStoredProcedure.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ PS C:\> Get-AzCosmosDBSqlStoredProcedure -AccountName {accountName} -ResourceGro
3535
3636
Name : {storedProcedureName}
3737
Id : {storedProcedureId}
38-
SqlStoredProcedureGetResultsId :
39-
Body :
40-
_rid :
41-
_ts :
42-
_etag :
38+
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlStoredProcedureGetPropertiesResource
4339
```
4440

4541
## PARAMETERS

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlTrigger.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,7 @@ PS C:\> Get-AzCosmosDBSqlTrigger -AccountName {accountName} -ResourceGroupName {
3535
3636
Name : {triggerName}
3737
Id : {triggerId}
38-
SqlTriggerGetResultsId :
39-
Body :
40-
TriggerType :
41-
TriggerOperation :
42-
_rid :
43-
_ts :
44-
_etag :
38+
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlTriggerGetPropertiesResource
4539
```
4640

4741
## PARAMETERS

src/CosmosDB/CosmosDB/help/Get-AzCosmosDBSqlUserDefinedFunction.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ PS C:\> Get-AzCosmosDBSqlUserDefinedFunction -AccountName {accountName} -Resourc
3535
3636
Name : {userDefinedFunctionName}
3737
Id : {userDefinedFunctionId}
38-
SqlUserDefinedFunctionGetResultsId :
39-
Body :
40-
_rid :
41-
_ts :
42-
_etag :
38+
Resource : Microsoft.Azure.Commands.CosmosDB.Models.PSSqlUserDefinedFunctionGetPropertiesResource
4339
```
4440

4541
## PARAMETERS
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml
3+
Module Name: Az.CosmosDB
4+
online version:https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlincompositepath
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzCosmosDBGremlinCompositePath
9+
10+
## SYNOPSIS
11+
Creates a new object of type PSCompositePath. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzCosmosDBGremlinCompositePath [-Path <String>] [-Order <String>]
17+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Object corresponding to Gremlin API's CompositePath.
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> New-AzCosmosDBGremlinCompositePath -Path "/abc" -Order Ascending
28+
29+
Path Order
30+
---- -----
31+
/abc Ascending
32+
```
33+
## PARAMETERS
34+
35+
### -DefaultProfile
36+
The credentials, account, tenant, and subscription used for communication with Azure.
37+
38+
```yaml
39+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
40+
Parameter Sets: (All)
41+
Aliases: AzContext, AzureRmContext, AzureCredential
42+
43+
Required: False
44+
Position: Named
45+
Default value: None
46+
Accept pipeline input: False
47+
Accept wildcard characters: False
48+
```
49+
50+
### -Order
51+
Gets or sets sort order for composite paths.
52+
Possible values include: 'Ascending', 'Descending'
53+
54+
```yaml
55+
Type: System.String
56+
Parameter Sets: (All)
57+
Aliases:
58+
59+
Required: False
60+
Position: Named
61+
Default value: None
62+
Accept pipeline input: False
63+
Accept wildcard characters: False
64+
```
65+
66+
### -Path
67+
The path for which the indexing behavior applies to.
68+
Index paths typically start with root and end with wildcard (/path/*)
69+
70+
```yaml
71+
Type: System.String
72+
Parameter Sets: (All)
73+
Aliases:
74+
75+
Required: False
76+
Position: Named
77+
Default value: None
78+
Accept pipeline input: False
79+
Accept wildcard characters: False
80+
```
81+
82+
### CommonParameters
83+
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).
84+
85+
## INPUTS
86+
87+
### None
88+
89+
## OUTPUTS
90+
91+
### Microsoft.Azure.Commands.CosmosDB.Models.PSCompositePath
92+
93+
## NOTES
94+
95+
## RELATED LINKS
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml
3+
Module Name: Az.CosmosDB
4+
online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinconflictresolutionpolicy
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzCosmosDBGremlinConflictResolutionPolicy
9+
10+
## SYNOPSIS
11+
Creates a new object of type PSConflictResolutionPolicy. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzCosmosDBGremlinConflictResolutionPolicy -Type <String> [-Path <String>]
17+
[-ConflictResolutionProcedure <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Object corresponding to Gremlin API's ConflictResolutionPolicy.
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> New-AzCosmosDBGremlinConflictResolutionPolicy -Type LastWriterWins -Path "/myPath"
28+
29+
Mode ConflictResolutionPath ConflictResolutionProcedure
30+
---- ---------------------- ---------------------------
31+
LastWriterWins /myPath
32+
```
33+
## PARAMETERS
34+
35+
### -ConflictResolutionProcedure
36+
To be provided when the type is custom.
37+
38+
```yaml
39+
Type: System.String
40+
Parameter Sets: (All)
41+
Aliases:
42+
43+
Required: False
44+
Position: Named
45+
Default value: None
46+
Accept pipeline input: False
47+
Accept wildcard characters: False
48+
```
49+
50+
### -DefaultProfile
51+
The credentials, account, tenant, and subscription used for communication with Azure.
52+
53+
```yaml
54+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
55+
Parameter Sets: (All)
56+
Aliases: AzContext, AzureRmContext, AzureCredential
57+
58+
Required: False
59+
Position: Named
60+
Default value: None
61+
Accept pipeline input: False
62+
Accept wildcard characters: False
63+
```
64+
65+
### -Path
66+
To be provided when the type is LastWriterWins.
67+
68+
```yaml
69+
Type: System.String
70+
Parameter Sets: (All)
71+
Aliases:
72+
73+
Required: False
74+
Position: Named
75+
Default value: None
76+
Accept pipeline input: False
77+
Accept wildcard characters: False
78+
```
79+
80+
### -Type
81+
Can have the values: LastWriterWins, Custom, Manual.
82+
83+
```yaml
84+
Type: System.String
85+
Parameter Sets: (All)
86+
Aliases:
87+
88+
Required: True
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: False
92+
Accept wildcard characters: False
93+
```
94+
95+
### CommonParameters
96+
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).
97+
98+
## INPUTS
99+
100+
### None
101+
102+
## OUTPUTS
103+
104+
### Microsoft.Azure.Commands.CosmosDB.Models.PSConflictResolutionPolicy
105+
106+
## NOTES
107+
108+
## RELATED LINKS
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.dll-Help.xml
3+
Module Name: Az.CosmosDB
4+
online version: https://docs.microsoft.com/en-us/powershell/module/az.cosmosdb/new-azcosmosdbgremlinincludedpath
5+
schema: 2.0.0
6+
---
7+
8+
# New-AzCosmosDBGremlinIncludedPath
9+
10+
## SYNOPSIS
11+
Creates a new object of type PSIncludedPath. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph.
12+
13+
## SYNTAX
14+
15+
```
16+
New-AzCosmosDBGremlinIncludedPath [-Path <String>] [-Index <PSIndexes[]>]
17+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
18+
```
19+
20+
## DESCRIPTION
21+
Object corresponding to Gremlin API's IncludedPath.
22+
23+
## EXAMPLES
24+
25+
### Example 1
26+
```powershell
27+
PS C:\> $index1 = New-AzCosmosDBGremlinIncludedPathIndex -DataType String -Precision -1 -Kind Hash
28+
New-AzCosmosDBGremlinIncludedPath -Path "/*" -Index $index1
29+
Path Indexes
30+
---- -------
31+
/* {Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes}
32+
```
33+
## PARAMETERS
34+
35+
### -DefaultProfile
36+
The credentials, account, tenant, and subscription used for communication with Azure.
37+
38+
```yaml
39+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
40+
Parameter Sets: (All)
41+
Aliases: AzContext, AzureRmContext, AzureCredential
42+
43+
Required: False
44+
Position: Named
45+
Default value: None
46+
Accept pipeline input: False
47+
Accept wildcard characters: False
48+
```
49+
50+
### -Index
51+
List of indexes for this path
52+
53+
```yaml
54+
Type: Microsoft.Azure.Commands.CosmosDB.Models.PSIndexes[]
55+
Parameter Sets: (All)
56+
Aliases:
57+
58+
Required: False
59+
Position: Named
60+
Default value: None
61+
Accept pipeline input: False
62+
Accept wildcard characters: False
63+
```
64+
65+
### -Path
66+
The path for which the indexing behavior applies to.
67+
Index paths typically start with root and end with wildcard (/path/*)
68+
69+
```yaml
70+
Type: System.String
71+
Parameter Sets: (All)
72+
Aliases:
73+
74+
Required: False
75+
Position: Named
76+
Default value: None
77+
Accept pipeline input: False
78+
Accept wildcard characters: False
79+
```
80+
81+
### CommonParameters
82+
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).
83+
84+
## INPUTS
85+
86+
### None
87+
88+
## OUTPUTS
89+
90+
### Microsoft.Azure.Commands.CosmosDB.Models.PSIncludedPath
91+
92+
## NOTES
93+
94+
## RELATED LINKS

0 commit comments

Comments
 (0)