-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Client Rename for C# .NET SDK #33703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
db1f306
Client Rename for C# .NET SDK
saitama-kunzo 1eebe3b
Minor bug fix
saitama-kunzo 6f3c6ab
Addressed comments
saitama-kunzo 1e13ed4
Update tspconfig to include options for js/python/go
saitama-kunzo 31ae660
Update tspconfig to include options for js/python/go
saitama-kunzo 990c0ca
Merge branch 'main' of https://github.com/saitama-kunzo/azure-rest-ap…
saitama-kunzo 7c482ec
Merge branch 'main' into main
saitama-kunzo 88de69d
Merge branch 'main' into main
saitama-kunzo 7191e02
Merge branch 'main' into main
saitama-kunzo b3e08f8
Merge branch 'main' into main
saitama-kunzo 6e1c354
Merge branch 'main' into main
saitama-kunzo 9fdf287
Merge branch 'main' into main
saitama-kunzo f92d319
Merge branch 'main' into main
saitama-kunzo 48ec9a7
Minor name change
saitama-kunzo aaec6cf
Update the default service-dir path
saitama-kunzo 2407503
Merge branch 'Azure:main' into main
saitama-kunzo 0c407b4
Merge branch 'main' into main
saitama-kunzo 792d987
model rename changes for dotnet sdk
4babe4a
update the client customizations for csharp
ArcturusZhang 53dd022
format
ArcturusZhang d03fa3c
Update specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.…
weidongxu-microsoft f5343f7
Merge branch 'main' into main
ArcturusZhang 0df7e33
Update tspconfig.yaml
kazrael2119 f9e93a9
Merge branch 'main' into main
saitama-kunzo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
specification/liftrqumulo/Qumulo.Storage.Management/client.tsp
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,93 @@ | ||
| import "./main.tsp"; | ||
| import "@azure-tools/typespec-azure-core"; | ||
| import "@azure-tools/typespec-client-generator-core"; | ||
|
|
||
| using Azure.Core; | ||
| using Azure.ClientGenerator.Core; | ||
| using LiftrBase; | ||
| using LiftrBase.Storage; | ||
|
|
||
| namespace LiftrBase; | ||
|
|
||
| @@clientName(Qumulo.Storage, "QumuloMgmt", "python"); | ||
| @@clientName(FileSystemResource, "QumuloFileSystemResource", "csharp"); | ||
| @@clientName(FileSystemResourceProperties.storageSku, | ||
| "StorageSkuName", | ||
| "csharp" | ||
| ); | ||
| @@clientName(FileSystemResourceProperties.clusterLoginUrl, | ||
| "clusterLoginUri", | ||
| "csharp" | ||
| ); | ||
| @@alternateType(FileSystemResourceProperties.clusterLoginUrl, url, "csharp"); | ||
| @@alternateType(FileSystemResourceProperties.privateIPs, | ||
| ipV4Address[], | ||
| "csharp" | ||
| ); | ||
| @@clientName(ProvisioningState, "QumuloArmProvisioningState", "csharp"); | ||
| @@clientName(FileSystemResourceProperties.provisioningState, | ||
| "ArmProvisioningState", | ||
| "csharp" | ||
| ); | ||
| @@clientName(UserDetails, "QumuloUserDetails", "csharp"); | ||
| @@clientName(MarketplaceSubscriptionStatus, | ||
| "QumuloMarketplaceSubscriptionStatus", | ||
| "csharp" | ||
| ); | ||
| @@clientName(MarketplaceDetails.marketplaceSubscriptionStatus, | ||
| "QumuloMarketplaceSubscriptionStatus", | ||
| "csharp" | ||
| ); | ||
| @@alternateType(FileSystemResourceUpdateProperties.delegatedSubnetId, | ||
| armResourceIdentifier, | ||
| "csharp" | ||
| ); | ||
|
|
||
| #suppress "deprecated" "for backward compatibility purpose" | ||
| @@flattenProperty(LiftrBase.Storage.FileSystemResource.properties, "csharp"); | ||
|
|
||
| /** | ||
| * For backward compatibility purpose, this enum is added back. | ||
| */ | ||
| #suppress "@azure-tools/typespec-azure-core/no-enum" "This is added back for backward compatibility purpose because the previous api-version has this" | ||
| @usage(Usage.input | Usage.output, "csharp") | ||
| @access(Access.public, "csharp") | ||
| enum StorageSku { | ||
| /** Standard Storage Sku. */ | ||
| Standard, | ||
|
|
||
| /** Performance Storage Sku. */ | ||
| Performance, | ||
| } | ||
|
|
||
| /** | ||
| * For backward compatibility purpose, this enum is added back. | ||
| */ | ||
| #suppress "@azure-tools/typespec-azure-core/no-enum" "This is added back for backward compatibility purpose because the previous api-version has this" | ||
| @usage(Usage.input | Usage.output, "csharp") | ||
| @access(Access.public, "csharp") | ||
| enum QumuloProvisioningState { | ||
| NotSpecified, | ||
| Accepted, | ||
| Creating, | ||
| Updating, | ||
| Deleting, | ||
| Succeeded, | ||
| Failed, | ||
| Canceled, | ||
| Deleted, | ||
| } | ||
|
|
||
| /** | ||
| * For backward compatibility purpose, this enum is added back. | ||
| */ | ||
| #suppress "@azure-tools/typespec-azure-core/no-enum" "This is added back for backward compatibility purpose because the previous api-version has this" | ||
| @usage(Usage.input | Usage.output, "csharp") | ||
| @access(Access.public, "csharp") | ||
| @clientName("MarketplaceSubscriptionStatus", "csharp") | ||
| enum OldMarketplaceSubscriptionStatus { | ||
| PendingFulfillmentStart, | ||
| Subscribed, | ||
| Suspended, | ||
| Unsubscribed, | ||
| } |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -10,4 +10,5 @@ import: | |
| words: | ||
| - liftrqumulo | ||
| - qumulo | ||
| - armqumulo | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.