forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CosmosDB RP API Version 2024-08-15 (Azure#25800)
* update CosmosDB SDK * add custom property to include missing property and update cmdlet * Revert "add custom property to include missing property and update cmdlet" This reverts commit cb49e52. * update service to use SqlDedicatedGatewayServiceResourceCreateUpdateProperties * Correct change for CosmosDB Services * Fixed logic to check for deleted account instance * Introduce new parameter to restore command * add test recordings --------- Co-authored-by: Praful Johari <[email protected]> Co-authored-by: Kshittiz Kumar <[email protected]> Co-authored-by: Min Ho Kang <[email protected]>
- Loading branch information
1 parent
8f83bd3
commit d7338d0
Showing
98 changed files
with
264,404 additions
and
76,053 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/CosmosDB/CosmosDB.Management.Sdk/Generated/Models/AzureConnectionType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
|
||
namespace Microsoft.Azure.Management.CosmosDB.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for AzureConnectionType. | ||
/// </summary> | ||
|
||
|
||
public static class AzureConnectionType | ||
{ | ||
public const string None = "None"; | ||
public const string VPN = "VPN"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...osDB.Management.Sdk/Generated/Models/DataTransferServiceResourceCreateUpdateProperties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
|
||
namespace Microsoft.Azure.Management.CosmosDB.Models | ||
{ | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Properties for Create or Update request for DataTransferServiceResource | ||
/// </summary> | ||
[Newtonsoft.Json.JsonObject("DataTransfer")] | ||
public partial class DataTransferServiceResourceCreateUpdateProperties : ServiceResourceCreateUpdateProperties | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the DataTransferServiceResourceCreateUpdateProperties class. | ||
/// </summary> | ||
public DataTransferServiceResourceCreateUpdateProperties() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the DataTransferServiceResourceCreateUpdateProperties class. | ||
/// </summary> | ||
|
||
/// <param name="instanceSize">Instance type for the service. | ||
/// Possible values include: 'Cosmos.D4s', 'Cosmos.D8s', 'Cosmos.D16s'</param> | ||
|
||
/// <param name="instanceCount">Instance count for the service. | ||
/// </param> | ||
public DataTransferServiceResourceCreateUpdateProperties(string instanceSize = default(string), int? instanceCount = default(int?)) | ||
|
||
: base(instanceSize, instanceCount) | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="Microsoft.Rest.ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public override void Validate() | ||
{ | ||
base.Validate(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.