зеркало из https://github.com/Azure/autorest.git
Upgrade tsp to 0.58 (#4998)
Upgrade tsp version of converter to 0.58 Uptake changes from - https://github.com/Azure/typespec-azure/issues/709 1. For brownfield: add flag `arm-resource-flattening`, add `@@flattenProperty` to properties if needed, direct use of Azure.ResourceManager.XXXResource allows us not need `x-ms-client-flatten` any more. 2. For greenfield: no flag `arm-resource-flattening`, no `@@flattenProperty` - https://github.com/Azure/typespec-azure/issues/862 Remove all the workaround for Azure.ResourceManager.XXXResource. --------- Co-authored-by: Pan Shao <pashao@microsoft.com>
This commit is contained in:
Родитель
4d3ee05850
Коммит
812da7888f
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@autorest/openapi-to-typespec",
|
||||
"comment": "upgrade tsp version of converter to 0.58",
|
||||
"type": "patch"
|
||||
}
|
||||
],
|
||||
"packageName": "@autorest/openapi-to-typespec"
|
||||
}
|
|
@ -15,17 +15,17 @@ dependencies:
|
|||
specifier: ~3.0.0
|
||||
version: 3.0.255
|
||||
'@azure-tools/typespec-autorest':
|
||||
specifier: ^0.43.0
|
||||
version: 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@azure-tools/typespec-azure-resource-manager@0.43.0)(@azure-tools/typespec-client-generator-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
specifier: ^0.44.0
|
||||
version: 0.44.1(@azure-tools/typespec-azure-core@0.44.0)(@azure-tools/typespec-azure-resource-manager@0.44.0)(@azure-tools/typespec-client-generator-core@0.44.3)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@azure-tools/typespec-azure-core':
|
||||
specifier: ^0.43.0
|
||||
version: 0.43.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)
|
||||
specifier: ^0.44.0
|
||||
version: 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/rest@0.58.0)
|
||||
'@azure-tools/typespec-azure-resource-manager':
|
||||
specifier: ^0.43.0
|
||||
version: 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
specifier: ^0.44.0
|
||||
version: 0.44.0(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@azure-tools/typespec-client-generator-core':
|
||||
specifier: ^0.43.0
|
||||
version: 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
specifier: ^0.44.0
|
||||
version: 0.44.3(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@azure-tools/uri':
|
||||
specifier: ~3.1.1
|
||||
version: 3.1.1
|
||||
|
@ -168,26 +168,26 @@ dependencies:
|
|||
specifier: ^6.11.0
|
||||
version: 6.11.0(eslint@8.53.0)(typescript@5.2.2)
|
||||
'@typespec/compiler':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.1
|
||||
'@typespec/http':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0(@typespec/compiler@0.57.0)
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/openapi':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/openapi3':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/versioning@0.57.0)
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@typespec/prettier-plugin-typespec':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.0
|
||||
'@typespec/rest':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/versioning':
|
||||
specifier: ^0.57.0
|
||||
version: 0.57.0(@typespec/compiler@0.57.0)
|
||||
specifier: ^0.58.0
|
||||
version: 0.58.0(@typespec/compiler@0.58.1)
|
||||
ajv:
|
||||
specifier: ^8.6.0
|
||||
version: 8.12.0
|
||||
|
@ -378,6 +378,10 @@ packages:
|
|||
'@jridgewell/trace-mapping': 0.3.20
|
||||
dev: false
|
||||
|
||||
/@apidevtools/swagger-methods@3.0.2:
|
||||
resolution: {integrity: sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==}
|
||||
dev: false
|
||||
|
||||
/@azure-tools/async-io@3.0.254:
|
||||
resolution: {integrity: sha512-X1C7XdyCuo50ch9FzKtTvmK18FgDxxf1Bbt3cSoknQqeDaRegHSSCO+zByq2YA4NvUzKXeZ1engh29IDxZXgpQ==}
|
||||
engines: {node: '>=10.12.0'}
|
||||
|
@ -396,78 +400,80 @@ packages:
|
|||
engines: {node: '>=10.12.0'}
|
||||
dev: false
|
||||
|
||||
/@azure-tools/typespec-autorest@0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@azure-tools/typespec-azure-resource-manager@0.43.0)(@azure-tools/typespec-client-generator-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0):
|
||||
resolution: {integrity: sha512-tZ9uXXOdxu2y01W9n3mzXf+IEY2MQkP/JaQaKlcOx2+dbklHNQWSDU0Vm6Gmm6l//XiF9QiI8653BiuO97czyw==}
|
||||
/@azure-tools/typespec-autorest@0.44.1(@azure-tools/typespec-azure-core@0.44.0)(@azure-tools/typespec-azure-resource-manager@0.44.0)(@azure-tools/typespec-client-generator-core@0.44.3)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0):
|
||||
resolution: {integrity: sha512-lw/iM659GuFgckDeRFFu0vx6wGBy814n+mjzbpi0Qwjvj8/hYULSjpty9P4WBDE30rYCUde1pWX5nK6TnwhOkQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@azure-tools/typespec-azure-core': ~0.43.0
|
||||
'@azure-tools/typespec-azure-resource-manager': ~0.43.0
|
||||
'@azure-tools/typespec-client-generator-core': ~0.43.0
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/openapi': ~0.57.0
|
||||
'@typespec/rest': ~0.57.0
|
||||
'@typespec/versioning': ~0.57.0
|
||||
'@azure-tools/typespec-azure-core': ~0.44.0
|
||||
'@azure-tools/typespec-azure-resource-manager': ~0.44.0
|
||||
'@azure-tools/typespec-client-generator-core': ~0.44.2
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
'@typespec/openapi': ~0.58.0
|
||||
'@typespec/rest': ~0.58.0
|
||||
'@typespec/versioning': ~0.58.0
|
||||
dependencies:
|
||||
'@azure-tools/typespec-azure-core': 0.43.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)
|
||||
'@azure-tools/typespec-azure-resource-manager': 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
'@azure-tools/typespec-client-generator-core': 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/openapi': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/rest': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/versioning': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/rest@0.58.0)
|
||||
'@azure-tools/typespec-azure-resource-manager': 0.44.0(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@azure-tools/typespec-client-generator-core': 0.44.3(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1)
|
||||
dev: false
|
||||
|
||||
/@azure-tools/typespec-azure-core@0.43.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0):
|
||||
resolution: {integrity: sha512-B1r0i3segJ7RuNXxcAMBy8H2t+jTkaf74dkyUWD0HIFPkhETN0uR59nuor+s+LoLU8yI4JypOFSNZt6e1rod8w==}
|
||||
/@azure-tools/typespec-azure-core@0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/rest@0.58.0):
|
||||
resolution: {integrity: sha512-d11QK2v5fOZH8YUqf42FsqHEirKCHzeKFq4Uo/51BXCXmJJahsTaFMAG2M0GoJe8tmTHeMijStnVMfzcGNqCAA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/rest': ~0.57.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
'@typespec/rest': ~0.58.0
|
||||
dependencies:
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/rest': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
dev: false
|
||||
|
||||
/@azure-tools/typespec-azure-resource-manager@0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0):
|
||||
resolution: {integrity: sha512-0GQL+/o1u+PAB63FpYz3sy3ZgZvCtk5T4sDAnICnV23v2YWIONDMUfxxd0x40xJbY6PkcwwHDpBLNMqajf2H6A==}
|
||||
/@azure-tools/typespec-azure-resource-manager@0.44.0(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0):
|
||||
resolution: {integrity: sha512-m4dG41at6En1swbxlvCDl1v4Mvrfp17acDnRxEcd4SdKP2R9eVS2mBy1tSuFtMcJlOnoBZ5CxQgk+Osg/Q9nmA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@azure-tools/typespec-azure-core': ~0.43.0
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/openapi': ~0.57.0
|
||||
'@typespec/rest': ~0.57.0
|
||||
'@typespec/versioning': ~0.57.0
|
||||
'@azure-tools/typespec-azure-core': ~0.44.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
'@typespec/openapi': ~0.58.0
|
||||
'@typespec/rest': ~0.58.0
|
||||
'@typespec/versioning': ~0.58.0
|
||||
dependencies:
|
||||
'@azure-tools/typespec-azure-core': 0.43.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/openapi': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/rest': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/versioning': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/rest@0.58.0)
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1)
|
||||
change-case: 5.4.4
|
||||
pluralize: 8.0.0
|
||||
dev: false
|
||||
|
||||
/@azure-tools/typespec-client-generator-core@0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0):
|
||||
resolution: {integrity: sha512-rssB/zsg89wstzJC1MWzbd8oPpqbgoftkp9G/NP3BoMb/gCP5uRLggwlSUAgnoU2Lt0jBUKcMlqEiVLTAkY9LA==}
|
||||
/@azure-tools/typespec-client-generator-core@0.44.3(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0):
|
||||
resolution: {integrity: sha512-HXjxQs7ELrTuIDqOjlYhP4rM4AXb143klbiM8dkEGtqNBRCk77gVCGYVH1M3kWKAEs0dQKhzoUukscqRsfELuw==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@azure-tools/typespec-azure-core': ~0.43.0
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/rest': ~0.57.0
|
||||
'@typespec/versioning': ~0.57.0
|
||||
'@azure-tools/typespec-azure-core': ~0.44.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
'@typespec/openapi': ~0.58.0
|
||||
'@typespec/rest': ~0.58.0
|
||||
'@typespec/versioning': ~0.58.0
|
||||
dependencies:
|
||||
'@azure-tools/typespec-azure-core': 0.43.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/rest': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/versioning': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/rest@0.58.0)
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1)
|
||||
change-case: 5.4.4
|
||||
pluralize: 8.0.0
|
||||
dev: false
|
||||
|
@ -506,6 +512,14 @@ packages:
|
|||
picocolors: 1.0.1
|
||||
dev: false
|
||||
|
||||
/@babel/code-frame@7.24.7:
|
||||
resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dependencies:
|
||||
'@babel/highlight': 7.24.7
|
||||
picocolors: 1.0.1
|
||||
dev: false
|
||||
|
||||
/@babel/compat-data@7.23.3:
|
||||
resolution: {integrity: sha512-BmR4bWbDIoFJmJ9z2cZ8Gmm2MXgEDgjdWgpKmKWUt54UGFJdlj31ECtbaDvCG/qVdG3AQ1SfpZEs01lUFbzLOQ==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
@ -630,6 +644,11 @@ packages:
|
|||
engines: {node: '>=6.9.0'}
|
||||
dev: false
|
||||
|
||||
/@babel/helper-validator-identifier@7.24.7:
|
||||
resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dev: false
|
||||
|
||||
/@babel/helper-validator-option@7.22.15:
|
||||
resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
@ -665,6 +684,16 @@ packages:
|
|||
picocolors: 1.0.1
|
||||
dev: false
|
||||
|
||||
/@babel/highlight@7.24.7:
|
||||
resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dependencies:
|
||||
'@babel/helper-validator-identifier': 7.24.7
|
||||
chalk: 2.4.2
|
||||
js-tokens: 4.0.0
|
||||
picocolors: 1.0.1
|
||||
dev: false
|
||||
|
||||
/@babel/parser@7.23.3:
|
||||
resolution: {integrity: sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
|
@ -800,6 +829,13 @@ packages:
|
|||
'@babel/helper-plugin-utils': 7.22.5
|
||||
dev: false
|
||||
|
||||
/@babel/runtime@7.25.0:
|
||||
resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dependencies:
|
||||
regenerator-runtime: 0.14.1
|
||||
dev: false
|
||||
|
||||
/@babel/template@7.22.15:
|
||||
resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
@ -949,6 +985,11 @@ packages:
|
|||
engines: {node: '>=12.22'}
|
||||
dev: false
|
||||
|
||||
/@humanwhocodes/momoa@2.0.4:
|
||||
resolution: {integrity: sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==}
|
||||
engines: {node: '>=10.10.0'}
|
||||
dev: false
|
||||
|
||||
/@humanwhocodes/object-schema@2.0.1:
|
||||
resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==}
|
||||
dev: false
|
||||
|
@ -1250,6 +1291,10 @@ packages:
|
|||
'@jridgewell/sourcemap-codec': 1.4.15
|
||||
dev: false
|
||||
|
||||
/@jsdevtools/ono@7.1.3:
|
||||
resolution: {integrity: sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==}
|
||||
dev: false
|
||||
|
||||
/@nodelib/fs.scandir@2.1.5:
|
||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||
engines: {node: '>= 8'}
|
||||
|
@ -1288,7 +1333,7 @@ packages:
|
|||
resolution: {integrity: sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==}
|
||||
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
|
||||
dependencies:
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
dev: false
|
||||
|
||||
/@pkgjs/parseargs@0.11.0:
|
||||
|
@ -1310,6 +1355,52 @@ packages:
|
|||
tslib: 2.6.2
|
||||
dev: false
|
||||
|
||||
/@readme/better-ajv-errors@1.6.0(ajv@8.13.0):
|
||||
resolution: {integrity: sha512-9gO9rld84Jgu13kcbKRU+WHseNhaVt76wYMeRDGsUGYxwJtI3RmEJ9LY9dZCYQGI8eUZLuxb5qDja0nqklpFjQ==}
|
||||
engines: {node: '>=14'}
|
||||
peerDependencies:
|
||||
ajv: 4.11.8 - 8
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.24.2
|
||||
'@babel/runtime': 7.25.0
|
||||
'@humanwhocodes/momoa': 2.0.4
|
||||
ajv: 8.13.0
|
||||
chalk: 4.1.2
|
||||
json-to-ast: 2.1.0
|
||||
jsonpointer: 5.0.1
|
||||
leven: 3.1.0
|
||||
dev: false
|
||||
|
||||
/@readme/json-schema-ref-parser@1.2.0:
|
||||
resolution: {integrity: sha512-Bt3QVovFSua4QmHa65EHUmh2xS0XJ3rgTEUPH998f4OW4VVJke3BuS16f+kM0ZLOGdvIrzrPRqwihuv5BAjtrA==}
|
||||
dependencies:
|
||||
'@jsdevtools/ono': 7.1.3
|
||||
'@types/json-schema': 7.0.15
|
||||
call-me-maybe: 1.0.2
|
||||
js-yaml: 4.1.0
|
||||
dev: false
|
||||
|
||||
/@readme/openapi-parser@2.6.0:
|
||||
resolution: {integrity: sha512-pyFJXezWj9WI1O+gdp95CoxfY+i+Uq3kKk4zXIFuRAZi9YnHpHOpjumWWr67wkmRTw19Hskh9spyY0Iyikf3fA==}
|
||||
engines: {node: '>=18'}
|
||||
peerDependencies:
|
||||
openapi-types: '>=7'
|
||||
dependencies:
|
||||
'@apidevtools/swagger-methods': 3.0.2
|
||||
'@jsdevtools/ono': 7.1.3
|
||||
'@readme/better-ajv-errors': 1.6.0(ajv@8.13.0)
|
||||
'@readme/json-schema-ref-parser': 1.2.0
|
||||
'@readme/openapi-schemas': 3.1.0
|
||||
ajv: 8.13.0
|
||||
ajv-draft-04: 1.0.0(ajv@8.13.0)
|
||||
call-me-maybe: 1.0.2
|
||||
dev: false
|
||||
|
||||
/@readme/openapi-schemas@3.1.0:
|
||||
resolution: {integrity: sha512-9FC/6ho8uFa8fV50+FPy/ngWN53jaUu4GRXlAjcxIRrzhltJnpKkBG2Tp0IDraFJeWrOpk84RJ9EMEEYzaI1Bw==}
|
||||
engines: {node: '>=18'}
|
||||
dev: false
|
||||
|
||||
/@sinclair/typebox@0.27.8:
|
||||
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
|
||||
dev: false
|
||||
|
@ -1713,7 +1804,7 @@ packages:
|
|||
debug: 4.3.4
|
||||
globby: 11.1.0
|
||||
is-glob: 4.0.3
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
tsutils: 3.21.0(typescript@5.2.2)
|
||||
typescript: 5.2.2
|
||||
transitivePeerDependencies:
|
||||
|
@ -1796,86 +1887,91 @@ packages:
|
|||
eslint-visitor-keys: 3.4.3
|
||||
dev: false
|
||||
|
||||
/@typespec/compiler@0.57.0:
|
||||
resolution: {integrity: sha512-Z5L7J90Ol21IbzU+rBD2wzKy2vJ2Yg2FIzi+yB5rtb7/c4oBea/CgEByMVHBtT7uw45ZXJpHOiepuGSPVXw2EA==}
|
||||
/@typespec/compiler@0.58.1:
|
||||
resolution: {integrity: sha512-bVxxM35r40OtuL4+/9W/g1EevlnWnW6i151nsZAFOJj1xWHoE2G9zkx5/Feic8OlzArjhGGLJOLH3Ez1Wrw35A==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.24.2
|
||||
ajv: 8.13.0
|
||||
'@babel/code-frame': 7.24.7
|
||||
ajv: 8.16.0
|
||||
change-case: 5.4.4
|
||||
globby: 14.0.1
|
||||
globby: 14.0.2
|
||||
mustache: 4.2.0
|
||||
picocolors: 1.0.1
|
||||
prettier: 3.2.5
|
||||
prettier: 3.3.3
|
||||
prompts: 2.4.2
|
||||
semver: 7.6.2
|
||||
temporal-polyfill: 0.2.5
|
||||
vscode-languageserver: 9.0.1
|
||||
vscode-languageserver-textdocument: 1.0.11
|
||||
yaml: 2.4.2
|
||||
yaml: 2.4.5
|
||||
yargs: 17.7.2
|
||||
dev: false
|
||||
|
||||
/@typespec/http@0.57.0(@typespec/compiler@0.57.0):
|
||||
resolution: {integrity: sha512-k3bWOTPNqlRB3/TmrXVBtObmxj2J20l2FnhGXvs+tjdtbXLxCQWmvQz6xlne9nkLAtWVB/pQRUn+oMJfhWta3w==}
|
||||
/@typespec/http@0.58.0(@typespec/compiler@0.58.1):
|
||||
resolution: {integrity: sha512-jQpkugg9AZVrNDMkDIgZRpIoRkkU2b0LtKWqMGg33MItYj9/DYSgDtY7xb7oCBppRtFFZ/h138HyhYl3zQxZRg==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
dependencies:
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/compiler': 0.58.1
|
||||
dev: false
|
||||
|
||||
/@typespec/openapi3@0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/versioning@0.57.0):
|
||||
resolution: {integrity: sha512-spNLzwCTduPISJBTWhqsMLTjuGC3Tdh/FVI1rTGnRunB7ZXjhRyz031o1bCe2BZeW1w1sacZGfe+ba8sXqgMxA==}
|
||||
/@typespec/openapi3@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/versioning@0.58.0):
|
||||
resolution: {integrity: sha512-G9t9CWT9cN6ip39dLZaE6JdEDxGsFyOUxA2s6a087rweoTH85XzsFiQL7uiUD8vHhXyEo6tF6sy3LMZVN0BsoQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
'@typespec/openapi': ~0.58.0
|
||||
'@typespec/versioning': ~0.58.0
|
||||
dependencies:
|
||||
'@readme/openapi-parser': 2.6.0
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1)
|
||||
yaml: 2.4.5
|
||||
transitivePeerDependencies:
|
||||
- openapi-types
|
||||
dev: false
|
||||
|
||||
/@typespec/openapi@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0):
|
||||
resolution: {integrity: sha512-gu6nXfmpfZrfq8Etpgl1dpMfsXii7EzQyhZgsPhIy7ZwV5bDmFk1/oyhTqIpWrnr4pD3r151T2BQjzJefjf15A==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/openapi': ~0.57.0
|
||||
'@typespec/versioning': ~0.57.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
dependencies:
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/openapi': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/versioning': 0.57.0(@typespec/compiler@0.57.0)
|
||||
yaml: 2.4.2
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
dev: false
|
||||
|
||||
/@typespec/openapi@0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0):
|
||||
resolution: {integrity: sha512-35wK/BqjOXSlhWuGMwoYN3FSgIYFOKtw8ot4ErcgmxAGuKaS2GkUhZvtQJXUn2ByU0Fl4jqslPmTz8SEcz7rbw==}
|
||||
/@typespec/prettier-plugin-typespec@0.58.0:
|
||||
resolution: {integrity: sha512-GtG9MvVGKytT6jPEksySSRMKl6IYg7dWnjLWMkCwvoViuSAlz3lxjIO0hGUaU5maNCC2+fe5m4vvFmNXGlMOsg==}
|
||||
dependencies:
|
||||
prettier: 3.3.3
|
||||
dev: false
|
||||
|
||||
/@typespec/rest@0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0):
|
||||
resolution: {integrity: sha512-QBxkED0/KQKG22pwzis0n7BY+uLMSZZPSoVe/ESBFika9n5/yyeQ0l58xbFFwwfxAxe4xwuZ5PNwTdEXZbzr5g==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
'@typespec/http': ~0.58.0
|
||||
dependencies:
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
dev: false
|
||||
|
||||
/@typespec/prettier-plugin-typespec@0.57.0:
|
||||
resolution: {integrity: sha512-nWrgv/yPGYfE4FL6ON3BpYZnvCdZYvE6yrgcr/ifqZnMBJfCLl4sk+tk3JoVysj6kTTWaFME7GQ/X/guMvbjUA==}
|
||||
dependencies:
|
||||
prettier: 3.2.5
|
||||
dev: false
|
||||
|
||||
/@typespec/rest@0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0):
|
||||
resolution: {integrity: sha512-mZj76Kf+cmH38pYA6LT8Zz7QjuR3fdQo5bc8pXhKMwLq9vRqNLz6Z9InbOeo8zY+xP0GfUwEU9kXczmCc8gyRA==}
|
||||
/@typespec/versioning@0.58.0(@typespec/compiler@0.58.1):
|
||||
resolution: {integrity: sha512-brnQQ3wKWh4AbgqmnVLj+8zyOaDk9VPWg4QBecdQxzz7PrSrlAzIzRfeIyr67+hwi/0SvkTAB6GNH7YYTypKGA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.57.0
|
||||
'@typespec/http': ~0.57.0
|
||||
'@typespec/compiler': ~0.58.0
|
||||
dependencies:
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
dev: false
|
||||
|
||||
/@typespec/versioning@0.57.0(@typespec/compiler@0.57.0):
|
||||
resolution: {integrity: sha512-kk6zCNSwcqqYB9isNNagTy+Zv6wEIRA4NkcZ/X1riTj2zhJwKsIFNXQWm1yxpZn+BY4+1QtuaQHuBLo8HbgR/w==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
peerDependencies:
|
||||
'@typespec/compiler': ~0.57.0
|
||||
dependencies:
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/compiler': 0.58.1
|
||||
dev: false
|
||||
|
||||
/@ungap/structured-clone@1.2.0:
|
||||
|
@ -2119,6 +2215,17 @@ packages:
|
|||
indent-string: 5.0.0
|
||||
dev: false
|
||||
|
||||
/ajv-draft-04@1.0.0(ajv@8.13.0):
|
||||
resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==}
|
||||
peerDependencies:
|
||||
ajv: ^8.5.0
|
||||
peerDependenciesMeta:
|
||||
ajv:
|
||||
optional: true
|
||||
dependencies:
|
||||
ajv: 8.13.0
|
||||
dev: false
|
||||
|
||||
/ajv-errors@3.0.0(ajv@8.12.0):
|
||||
resolution: {integrity: sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==}
|
||||
peerDependencies:
|
||||
|
@ -2182,6 +2289,15 @@ packages:
|
|||
uri-js: 4.4.1
|
||||
dev: false
|
||||
|
||||
/ajv@8.16.0:
|
||||
resolution: {integrity: sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==}
|
||||
dependencies:
|
||||
fast-deep-equal: 3.1.3
|
||||
json-schema-traverse: 1.0.0
|
||||
require-from-string: 2.0.2
|
||||
uri-js: 4.4.1
|
||||
dev: false
|
||||
|
||||
/ajv@8.9.0:
|
||||
resolution: {integrity: sha512-qOKJyNj/h+OWx7s5DePL6Zu1KeM9jPZhwBqs+7DzP6bGOvqzVCSf0xueYmVuaC/oQ/VtS2zLMLHdQFbkka+XDQ==}
|
||||
dependencies:
|
||||
|
@ -2581,7 +2697,7 @@ packages:
|
|||
/builtins@5.0.1:
|
||||
resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==}
|
||||
dependencies:
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
dev: false
|
||||
|
||||
/bundle-name@3.0.0:
|
||||
|
@ -2652,6 +2768,10 @@ packages:
|
|||
set-function-length: 1.1.1
|
||||
dev: false
|
||||
|
||||
/call-me-maybe@1.0.2:
|
||||
resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==}
|
||||
dev: false
|
||||
|
||||
/callsites@3.1.0:
|
||||
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
|
||||
engines: {node: '>=6'}
|
||||
|
@ -2851,6 +2971,11 @@ packages:
|
|||
resolution: {integrity: sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==}
|
||||
dev: false
|
||||
|
||||
/code-error-fragment@0.0.230:
|
||||
resolution: {integrity: sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==}
|
||||
engines: {node: '>= 4'}
|
||||
dev: false
|
||||
|
||||
/collect-v8-coverage@1.0.2:
|
||||
resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==}
|
||||
dev: false
|
||||
|
@ -4314,8 +4439,8 @@ packages:
|
|||
slash: 4.0.0
|
||||
dev: false
|
||||
|
||||
/globby@14.0.1:
|
||||
resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==}
|
||||
/globby@14.0.2:
|
||||
resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==}
|
||||
engines: {node: '>=18'}
|
||||
dependencies:
|
||||
'@sindresorhus/merge-streams': 2.3.0
|
||||
|
@ -4336,6 +4461,10 @@ packages:
|
|||
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
|
||||
dev: false
|
||||
|
||||
/grapheme-splitter@1.0.4:
|
||||
resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==}
|
||||
dev: false
|
||||
|
||||
/graphemer@1.4.0:
|
||||
resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
|
||||
dev: false
|
||||
|
@ -4914,7 +5043,7 @@ packages:
|
|||
'@babel/parser': 7.23.3
|
||||
'@istanbuljs/schema': 0.1.3
|
||||
istanbul-lib-coverage: 3.2.2
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: false
|
||||
|
@ -5415,7 +5544,7 @@ packages:
|
|||
jest-util: 29.7.0
|
||||
natural-compare: 1.4.0
|
||||
pretty-format: 29.7.0
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: false
|
||||
|
@ -5579,6 +5708,14 @@ packages:
|
|||
resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
|
||||
dev: false
|
||||
|
||||
/json-to-ast@2.1.0:
|
||||
resolution: {integrity: sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==}
|
||||
engines: {node: '>= 4'}
|
||||
dependencies:
|
||||
code-error-fragment: 0.0.230
|
||||
grapheme-splitter: 1.0.4
|
||||
dev: false
|
||||
|
||||
/json5@1.0.2:
|
||||
resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}
|
||||
hasBin: true
|
||||
|
@ -5616,6 +5753,11 @@ packages:
|
|||
engines: {node: '>=10.0.0'}
|
||||
dev: false
|
||||
|
||||
/jsonpointer@5.0.1:
|
||||
resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
dev: false
|
||||
|
||||
/junk@4.0.1:
|
||||
resolution: {integrity: sha512-Qush0uP+G8ZScpGMZvHUiRfI0YBWuB3gVBYlI0v0vvOJt5FLicco+IkP0a50LqTTQhmts/m6tP5SWE+USyIvcQ==}
|
||||
engines: {node: '>=12.20'}
|
||||
|
@ -5729,7 +5871,7 @@ packages:
|
|||
resolution: {integrity: sha512-Yj9mA8fPiVgOUpByoTZO5pNrcl5Yk37FcSHsUINpAsaBIEZIuqcCclDZJCVxqQShDsmYX8QG63svJiTbOATZwg==}
|
||||
engines: {node: 14 || >=16.14}
|
||||
dependencies:
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
dev: false
|
||||
|
||||
/lru-cache@5.1.1:
|
||||
|
@ -5754,7 +5896,7 @@ packages:
|
|||
resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
dev: false
|
||||
|
||||
/make-error@1.3.6:
|
||||
|
@ -6117,7 +6259,7 @@ packages:
|
|||
resolution: {integrity: sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==}
|
||||
engines: {node: '>=10'}
|
||||
dependencies:
|
||||
semver: 7.6.1
|
||||
semver: 7.6.2
|
||||
dev: false
|
||||
|
||||
/node-domexception@1.0.0:
|
||||
|
@ -6789,8 +6931,8 @@ packages:
|
|||
hasBin: true
|
||||
dev: false
|
||||
|
||||
/prettier@3.2.5:
|
||||
resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==}
|
||||
/prettier@3.3.3:
|
||||
resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
@ -6989,6 +7131,10 @@ packages:
|
|||
resolution: {integrity: sha512-5mqpskzvXDo5Vy29Vj8tH30a0+XBmY11aqWGoN/uB94UHRwndX2EuPvH+WtbqOYkrwAF718/lDo6U4CB1qSSqQ==}
|
||||
dev: false
|
||||
|
||||
/regenerator-runtime@0.14.1:
|
||||
resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==}
|
||||
dev: false
|
||||
|
||||
/regex-not@1.0.2:
|
||||
resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
@ -7808,6 +7954,16 @@ packages:
|
|||
yallist: 4.0.0
|
||||
dev: false
|
||||
|
||||
/temporal-polyfill@0.2.5:
|
||||
resolution: {integrity: sha512-ye47xp8Cb0nDguAhrrDS1JT1SzwEV9e26sSsrWzVu+yPZ7LzceEcH0i2gci9jWfOfSCCgM3Qv5nOYShVUUFUXA==}
|
||||
dependencies:
|
||||
temporal-spec: 0.2.4
|
||||
dev: false
|
||||
|
||||
/temporal-spec@0.2.4:
|
||||
resolution: {integrity: sha512-lDMFv4nKQrSjlkHKAlHVqKrBG4DyFfa9F74cmBZ3Iy3ed8yvWnlWSIdi4IKfSqwmazAohBNwiN64qGx4y5Q3IQ==}
|
||||
dev: false
|
||||
|
||||
/terser-webpack-plugin@5.3.9(webpack@5.89.0):
|
||||
resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==}
|
||||
engines: {node: '>= 10.13.0'}
|
||||
|
@ -8304,7 +8460,7 @@ packages:
|
|||
dependencies:
|
||||
browserslist: 4.22.1
|
||||
escalade: 3.1.1
|
||||
picocolors: 1.0.0
|
||||
picocolors: 1.0.1
|
||||
dev: false
|
||||
|
||||
/upper-case-first@2.0.2:
|
||||
|
@ -8688,8 +8844,8 @@ packages:
|
|||
resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==}
|
||||
dev: false
|
||||
|
||||
/yaml@2.4.2:
|
||||
resolution: {integrity: sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==}
|
||||
/yaml@2.4.5:
|
||||
resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==}
|
||||
engines: {node: '>= 14'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
@ -8761,7 +8917,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/autorest.tgz(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-zmT8H4TPYLbIAfpAIuWq2Fl5ElGAw/YDNepBCev66YxQpJQ764g2UyRcfWksA/YxHSIrpCALm0aKJ/t/TbfdNQ==, tarball: file:projects/autorest.tgz}
|
||||
resolution: {integrity: sha512-fIgRGOmU1tuhRBEDMgEsCO3Y4uFGcZ9rhGulYqI42nwz1r/cL3Eqn8XYlFg/lU/3lrj26gcfYdejMhHEzZ4wkw==, tarball: file:projects/autorest.tgz}
|
||||
id: file:projects/autorest.tgz
|
||||
name: '@rush-temp/autorest'
|
||||
version: 0.0.0
|
||||
|
@ -8819,7 +8975,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/cadl.tgz(ts-node@10.9.1)(webpack-cli@5.1.4)(webpack@5.89.0):
|
||||
resolution: {integrity: sha512-av7i43qPFgwFiE7GHT5KJPa4d0FHlFTbx/y04efEF/83afKlgZ5HVMrFi7N/+lYpm1lHBMPZ0aPn4gK6m23EsQ==, tarball: file:projects/cadl.tgz}
|
||||
resolution: {integrity: sha512-GO2iRP6pv3OR2QwYUE+tb7TP6nC+o6bv5ErnrT1vleUz33DH9Kz1Jb9obYFl+4GgtXAaT0fSvCUNgm3pA5ej+A==, tarball: file:projects/cadl.tgz}
|
||||
id: file:projects/cadl.tgz
|
||||
name: '@rush-temp/cadl'
|
||||
version: 0.0.0
|
||||
|
@ -8865,7 +9021,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/codegen.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-3C8weoCa1kCOKeoOVrLzpSZo5dzm6rUBu6GpSekpssx7TPkHZP/9D2Zk7gaMX3IdLiJe9UHH8mMtNEUZM07QMQ==, tarball: file:projects/codegen.tgz}
|
||||
resolution: {integrity: sha512-VovTenml5aFvdxVxeubTWgNxH95b97qPKSJfccqCog+K5N1MLKQ8OyLfHBIj1we1u2OWAwsUVfDAJDBRsZvCmQ==, tarball: file:projects/codegen.tgz}
|
||||
id: file:projects/codegen.tgz
|
||||
name: '@rush-temp/codegen'
|
||||
version: 0.0.0
|
||||
|
@ -8905,7 +9061,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/codemodel.tgz(jest@29.7.0)(prettier@3.1.0):
|
||||
resolution: {integrity: sha512-XU/8wU9Jo2eyvIFEVi22uh9YHNGK2X69RZ3fhSsdx9e6Ccp2ajm3QX++m7rV8b1FthMVeIn3FHFGIC7miuT2/Q==, tarball: file:projects/codemodel.tgz}
|
||||
resolution: {integrity: sha512-eciCOrz1bsEKinYsI0hZwEsNX/tZZSbOwiI6BGzznOoVjf7gZ/bE9IhoVnRz6rQ192Qtrkz0IzsoAmCHNZQ1cw==, tarball: file:projects/codemodel.tgz}
|
||||
id: file:projects/codemodel.tgz
|
||||
name: '@rush-temp/codemodel'
|
||||
version: 0.0.0
|
||||
|
@ -8937,7 +9093,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/common.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-dr0VbBpkYbGLe+5tnqwXZcU37okgm1NFocwBAyMKuwD8M7QRNEBSw+CWz04fKcO6bFUc4QZHbNQyM9RiDZs8pg==, tarball: file:projects/common.tgz}
|
||||
resolution: {integrity: sha512-Dr5MV/1kdgzhxptcFbe1cla9YfQKIIPgZ+KjDwrrSlUGr8B4449Bq++2So07dJMQANDoyXjEPYVWoMAUB3YndA==, tarball: file:projects/common.tgz}
|
||||
id: file:projects/common.tgz
|
||||
name: '@rush-temp/common'
|
||||
version: 0.0.0
|
||||
|
@ -8970,7 +9126,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/compare.tgz(prettier@3.1.0):
|
||||
resolution: {integrity: sha512-TdSUwopQGGjakA2XILTfCpdkmPjMt0tg/U2uHdTsRPS3cBco9dE42Lzg2fQWuqo8kpP54tIAQ38w2mIg9IYiLw==, tarball: file:projects/compare.tgz}
|
||||
resolution: {integrity: sha512-+V9SrJtEo0ilGKK7vr0UsFzAxl0GfRPB+MxBS8dl9KkR0/YTOIOgbY2nKDXPxsG5vkaFZ71hgDAwAbdqVOxhWg==, tarball: file:projects/compare.tgz}
|
||||
id: file:projects/compare.tgz
|
||||
name: '@rush-temp/compare'
|
||||
version: 0.0.0
|
||||
|
@ -9016,7 +9172,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/configuration.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-QIvRtuY4X8HzqQc5WSZSnxTEMte4WOqY5CcI2VgvRWeuj9X/BpUwCvUJG7qQc7FhQ/KUlTLC4Qqfsy3DzD+/gA==, tarball: file:projects/configuration.tgz}
|
||||
resolution: {integrity: sha512-refACiofNn9MEmuxOHQ+FlnM1QVGK7jt1n0cTpoK3vUp9A865OmlIPq6GPuSRw6WqGD1vJFX4IS+ng7+fJwGIA==, tarball: file:projects/configuration.tgz}
|
||||
id: file:projects/configuration.tgz
|
||||
name: '@rush-temp/configuration'
|
||||
version: 0.0.0
|
||||
|
@ -9057,7 +9213,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/core.tgz(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-zdm2pbBeVnYjQfB4bYGn+EDY8BISYjyHr1MIPfuq2kjXIdsQIeE0+rX5dBJ22dJWZrbwX8lv77SAsa5wTH5IAg==, tarball: file:projects/core.tgz}
|
||||
resolution: {integrity: sha512-mJr9LRJtSDgwhpqjtwQWiIQMb3NCx8EbDVhf2vRK8uZAfx8R0nerrRziF7PMNbVV5wS4C8OAxI4DxCcQlSgcrg==, tarball: file:projects/core.tgz}
|
||||
id: file:projects/core.tgz
|
||||
name: '@rush-temp/core'
|
||||
version: 0.0.0
|
||||
|
@ -9122,7 +9278,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/datastore.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-6/wu2bBUSvArdPUcvguk4iP5weUXdYt6po8oTByiu4MOKai2WH6T2elniSQVeNa8i0nspiwRrrKZfBA1LRYNfw==, tarball: file:projects/datastore.tgz}
|
||||
resolution: {integrity: sha512-rw9TMnec+y4rClT4qX7eiU/MnaDL4sxvFHk5dFVa3n0W2aK8BSvOKfnYezMGXEQ6AcBwC1b3jOIQyGGl/y7LHg==, tarball: file:projects/datastore.tgz}
|
||||
id: file:projects/datastore.tgz
|
||||
name: '@rush-temp/datastore'
|
||||
version: 0.0.0
|
||||
|
@ -9163,7 +9319,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/deduplication.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-OeYQ73RhcmGwZbW6Ctnuh+q4vIjgRR2880FOuFYSGSAia3/ROZGlAzQqZrHn2/vsOcYXRWZHXy/84HCRcSsIww==, tarball: file:projects/deduplication.tgz}
|
||||
resolution: {integrity: sha512-v0Qz78yfJ+q4XeJE/VJp9JDKvIjRt264L4SrYTs+m85UIFpBl4XoP7sSUOk5yuTSeJlaEbaAQ5WRwJcnT+Q8vw==, tarball: file:projects/deduplication.tgz}
|
||||
id: file:projects/deduplication.tgz
|
||||
name: '@rush-temp/deduplication'
|
||||
version: 0.0.0
|
||||
|
@ -9197,7 +9353,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/extension-base.tgz(jest@29.7.0)(prettier@3.1.0):
|
||||
resolution: {integrity: sha512-tooRuR6QsOAqpII/MvkKbICjhyRxKFNPhT1y05CG5wlgrqTrwok6sYt0M6bGb73apeC0n7MZbPpWvSR7kQKdrQ==, tarball: file:projects/extension-base.tgz}
|
||||
resolution: {integrity: sha512-MBEh+961tu6edrkkdRYUrNtAngts+uuekG3CzzYbIpmsTup2RzIk57euiWSh8zA0d3375iPVMwuHd6m6ORcaxA==, tarball: file:projects/extension-base.tgz}
|
||||
id: file:projects/extension-base.tgz
|
||||
name: '@rush-temp/extension-base'
|
||||
version: 0.0.0
|
||||
|
@ -9225,7 +9381,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/extension.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-YXVy7zorVQE5y0/DwaZobVpgJKsMg8FN2/17G/IXxFH8qzEmEoC6gJPE26mf10HTI0noSGV3NCWCSyzsReEb7w==, tarball: file:projects/extension.tgz}
|
||||
resolution: {integrity: sha512-BtX8trhAIukgMnSIDC0Ou3fn3IKV9dNyF4oVHAqvudItaLrJSLRfzg6wxyXabSFFSRrohWNSx3ZdnNRgJsRSWw==, tarball: file:projects/extension.tgz}
|
||||
id: file:projects/extension.tgz
|
||||
name: '@rush-temp/extension'
|
||||
version: 0.0.0
|
||||
|
@ -9270,7 +9426,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/fixer.tgz(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-ZyqP7Gub1FyIjYmv7IBtE8jOfK/dp5fTUcRo5WjMCldnLJlqLvZrteccdnVqeKd+TRi3PDnanrW1k6z+CekfQw==, tarball: file:projects/fixer.tgz}
|
||||
resolution: {integrity: sha512-hgI1LGdKk3LtK5qtwPy1GcbgVQyo6jHY/+eKB7lgrg0YQHQtbOOx66NJcV9CYLuYl5eWEwHcI94wnGOy7ehkGA==, tarball: file:projects/fixer.tgz}
|
||||
id: file:projects/fixer.tgz
|
||||
name: '@rush-temp/fixer'
|
||||
version: 0.0.0
|
||||
|
@ -9314,7 +9470,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/json.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-TWVpPxmRslYdAtw0qUukBOH0VgsqWuIxh7p1KWAysUa5kQ1OhGT8XqG5+ADb70+RgXFbHGYYN9iqjOAapp4QMw==, tarball: file:projects/json.tgz}
|
||||
resolution: {integrity: sha512-8ePBJH0KNMHYtw84tnP/BDhe2srShAUkXkcow/UjMU5FbaGBouPvLYlYzqA2ZDDYIlsKDEEKxQu594xORCCFYw==, tarball: file:projects/json.tgz}
|
||||
id: file:projects/json.tgz
|
||||
name: '@rush-temp/json'
|
||||
version: 0.0.0
|
||||
|
@ -9343,7 +9499,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/jsonschema.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-w+3HeMxVDFR0oXDmQegTFnxPoC15xfB20qKeGDyhs10ODDeBw3P5+sdokfFu/n/jzUWtyB71vrwaUOzxhr/fbA==, tarball: file:projects/jsonschema.tgz}
|
||||
resolution: {integrity: sha512-TlSf9AgX2HVChk9Rc4GyUIPrZrOyrE91SPpFJlYKkK4FASq6oAEstJvpL/+GRBL8KRP2aY2JWQ8AyYEDbEDG0Q==, tarball: file:projects/jsonschema.tgz}
|
||||
id: file:projects/jsonschema.tgz
|
||||
name: '@rush-temp/jsonschema'
|
||||
version: 0.0.0
|
||||
|
@ -9372,7 +9528,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/modelerfour.tgz(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-6jJDUoekbhc7cEhjyadfzwunHkiOCehYPZh/QEEuOzzTJSixWUIle6ejSyptngSe8uxSsVpDJ/4QSTj6UvFoPw==, tarball: file:projects/modelerfour.tgz}
|
||||
resolution: {integrity: sha512-yqvv8uLcXaCtMnHap9s3Ks9ozN6NLDmS8EzHhCP5XgKAQCnQoBuX2J64Kkt5WRdtuvIEJqDtx8kX/qKapZeQWg==, tarball: file:projects/modelerfour.tgz}
|
||||
id: file:projects/modelerfour.tgz
|
||||
name: '@rush-temp/modelerfour'
|
||||
version: 0.0.0
|
||||
|
@ -9423,7 +9579,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/oai2-to-oai3.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-EmqXeZJWuoXi6p1c9Flme9Km7H1ISlOOEX1rMEhn/G14Fxe2BJujI8iheV/3eN7CyqwhdBr3Zko2CY77132LDQ==, tarball: file:projects/oai2-to-oai3.tgz}
|
||||
resolution: {integrity: sha512-429l1k8VRbB/Qk1N0kCG+c70ZG5B2ixgF3RQCrm1dF6T0946z327MpAITNIfL0qtD5vC0jW3hzBasXPaMXc7Mw==, tarball: file:projects/oai2-to-oai3.tgz}
|
||||
id: file:projects/oai2-to-oai3.tgz
|
||||
name: '@rush-temp/oai2-to-oai3'
|
||||
version: 0.0.0
|
||||
|
@ -9460,15 +9616,15 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/openapi-to-typespec.tgz(jest@29.7.0):
|
||||
resolution: {integrity: sha512-9YYhU9b3KOm8wKYwa3zFQBE5tKLSPCSQ1+IW63Z7xEMJ4T8BIo25l0Z3dhz0pwMFx8NtftauMplKNimQVjh0UQ==, tarball: file:projects/openapi-to-typespec.tgz}
|
||||
resolution: {integrity: sha512-28nKqU7UU1PglD2CKC3x/TLVCfBuqh49TKi8tvA6RXvJ8IzaYBMAVy0PEYv7roph6UBtBB+suT7SkGOWZBRARQ==, tarball: file:projects/openapi-to-typespec.tgz}
|
||||
id: file:projects/openapi-to-typespec.tgz
|
||||
name: '@rush-temp/openapi-to-typespec'
|
||||
version: 0.0.0
|
||||
dependencies:
|
||||
'@azure-tools/typespec-autorest': 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@azure-tools/typespec-azure-resource-manager@0.43.0)(@azure-tools/typespec-client-generator-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
'@azure-tools/typespec-azure-core': 0.43.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)
|
||||
'@azure-tools/typespec-azure-resource-manager': 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
'@azure-tools/typespec-client-generator-core': 0.43.0(@azure-tools/typespec-azure-core@0.43.0)(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/rest@0.57.0)(@typespec/versioning@0.57.0)
|
||||
'@azure-tools/typespec-autorest': 0.44.1(@azure-tools/typespec-azure-core@0.44.0)(@azure-tools/typespec-azure-resource-manager@0.44.0)(@azure-tools/typespec-client-generator-core@0.44.3)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@azure-tools/typespec-azure-core': 0.44.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/rest@0.58.0)
|
||||
'@azure-tools/typespec-azure-resource-manager': 0.44.0(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@azure-tools/typespec-client-generator-core': 0.44.3(@azure-tools/typespec-azure-core@0.44.0)(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/rest@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@types/fs-extra': 9.0.13
|
||||
'@types/lodash': 4.14.201
|
||||
'@types/node': 20.9.0
|
||||
|
@ -9477,13 +9633,13 @@ packages:
|
|||
'@types/webpack': 5.28.5(webpack-cli@5.1.4)
|
||||
'@typescript-eslint/eslint-plugin': 6.11.0(@typescript-eslint/parser@6.11.0)(eslint@8.53.0)(typescript@5.2.2)
|
||||
'@typescript-eslint/parser': 6.11.0(eslint@8.53.0)(typescript@5.2.2)
|
||||
'@typespec/compiler': 0.57.0
|
||||
'@typespec/http': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/openapi': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/openapi3': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)(@typespec/openapi@0.57.0)(@typespec/versioning@0.57.0)
|
||||
'@typespec/prettier-plugin-typespec': 0.57.0
|
||||
'@typespec/rest': 0.57.0(@typespec/compiler@0.57.0)(@typespec/http@0.57.0)
|
||||
'@typespec/versioning': 0.57.0(@typespec/compiler@0.57.0)
|
||||
'@typespec/compiler': 0.58.1
|
||||
'@typespec/http': 0.58.0(@typespec/compiler@0.58.1)
|
||||
'@typespec/openapi': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/openapi3': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)(@typespec/openapi@0.58.0)(@typespec/versioning@0.58.0)
|
||||
'@typespec/prettier-plugin-typespec': 0.58.0
|
||||
'@typespec/rest': 0.58.0(@typespec/compiler@0.58.1)(@typespec/http@0.58.0)
|
||||
'@typespec/versioning': 0.58.0(@typespec/compiler@0.58.1)
|
||||
chalk: 4.1.2
|
||||
change-case: 5.0.2
|
||||
change-case-all: 2.1.0
|
||||
|
@ -9511,6 +9667,7 @@ packages:
|
|||
- esbuild
|
||||
- eslint-config-prettier
|
||||
- jest
|
||||
- openapi-types
|
||||
- supports-color
|
||||
- uglify-js
|
||||
- webpack-bundle-analyzer
|
||||
|
@ -9518,7 +9675,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/openapi.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-jeOfewor/wxa+HdeUSgWjhsV4FbhMs9QX8uxqJxh7KZvTBxcvw1XhQkrriRoSEXnBXmHDuAvxKG6gEImlL6c7w==, tarball: file:projects/openapi.tgz}
|
||||
resolution: {integrity: sha512-HE2/rfH9QyCccaXSR+AEAe/wGVAe/l37tqzQYSU1sFWE+u4MkZA1p7IoBgXOit6m8qOi9HGYFbm4TlpkPLKUrQ==, tarball: file:projects/openapi.tgz}
|
||||
id: file:projects/openapi.tgz
|
||||
name: '@rush-temp/openapi'
|
||||
version: 0.0.0
|
||||
|
@ -9547,13 +9704,13 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/schemas.tgz:
|
||||
resolution: {integrity: sha512-R4SNYE56Q0TOMYcT8gSTZIInxE9vVJH1k54SR8Ksvg8HNkzG+Pko1NIxb8zpWFB74VEmx3TDaruHnodgJjUrvQ==, tarball: file:projects/schemas.tgz}
|
||||
resolution: {integrity: sha512-aeHJHwq6RJNeECiY4g86CukjYKRNg8eHFoxQVmU/aCtNct/TMpfrAc19FVV4JyuNRKtXdFrVNjO2hUJxZXQSQA==, tarball: file:projects/schemas.tgz}
|
||||
name: '@rush-temp/schemas'
|
||||
version: 0.0.0
|
||||
dev: false
|
||||
|
||||
file:projects/system-requirements.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-z9xJ+0SQtAhIFr9wve8giTZZxNxdWfI6JxRdXLqEpRLZHHakvBWugiaIe/sfMbYBz+2tFyvHVmI1g6MqA5w1EA==, tarball: file:projects/system-requirements.tgz}
|
||||
resolution: {integrity: sha512-2/b/vgr/a7FOjk7eTBfvo9o+w4QywiBeIgIHzYhVYTJcy5Huxm1ce0sNnId9Bay+/MrR8aw3lvRDlPUrWdbJUQ==, tarball: file:projects/system-requirements.tgz}
|
||||
id: file:projects/system-requirements.tgz
|
||||
name: '@rush-temp/system-requirements'
|
||||
version: 0.0.0
|
||||
|
@ -9588,7 +9745,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/test-public-packages.tgz(prettier@3.1.0):
|
||||
resolution: {integrity: sha512-4kAwPf9RR49MJI4A3gfHMTkVAOcI+r5jV9HKcXAQzs0sr5z/XZbsjTT0gOIu2uLz1KvrVZxxmx/5m1scKzFQgg==, tarball: file:projects/test-public-packages.tgz}
|
||||
resolution: {integrity: sha512-e/CJlHEX7+rfz3fOY70mxIN6ynrQSfG8XYgLfT0dydzZ1YbV/IeloiF4OKNr5ckxt6Hx8wrTg6ULJTEv4uImXw==, tarball: file:projects/test-public-packages.tgz}
|
||||
id: file:projects/test-public-packages.tgz
|
||||
name: '@rush-temp/test-public-packages'
|
||||
version: 0.0.0
|
||||
|
@ -9609,7 +9766,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/test-utils.tgz(@types/node@20.9.0)(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-PjGDVMkoTdQpgj3j0MSrYPkMoilJ3rXaramucEQu/DXD2iUlUqLbATiDxEeOeeJcbyChAWoj8U/ZPV0UG3JdZg==, tarball: file:projects/test-utils.tgz}
|
||||
resolution: {integrity: sha512-tit5MjyO3D/0svfHHHE79slcHCUmLc+cyL2DJ+jLP/LFZ1FCDGzyNhW04+fJbCd0LIM05efwORznprhNtesO9A==, tarball: file:projects/test-utils.tgz}
|
||||
id: file:projects/test-utils.tgz
|
||||
name: '@rush-temp/test-utils'
|
||||
version: 0.0.0
|
||||
|
@ -9636,7 +9793,7 @@ packages:
|
|||
dev: false
|
||||
|
||||
file:projects/yaml.tgz(prettier@3.1.0)(ts-node@10.9.1):
|
||||
resolution: {integrity: sha512-BKdiJVcGwcy3siN8gBZEoV3uGhFsHHp2cz7xx1bhy7yUgO8mU1utB0CClwHw575UMrMfxJ/2/tOwWZZ6YRzNVA==, tarball: file:projects/yaml.tgz}
|
||||
resolution: {integrity: sha512-H8/9GzwHHWTFw9aj6TqJWA8Hnb0a2ZwNMDALfKiPxzqK8qkqA7ddM9XXKwrK9Vn4Hfry5Lf80q59WoI5KkzaJw==, tarball: file:projects/yaml.tgz}
|
||||
id: file:projects/yaml.tgz
|
||||
name: '@rush-temp/yaml'
|
||||
version: 0.0.0
|
||||
|
|
|
@ -42,16 +42,16 @@
|
|||
"@azure-tools/codegen": "~2.10.0",
|
||||
"@autorest/extension-base": "~3.6.0",
|
||||
"@autorest/codemodel": "~4.20.0",
|
||||
"@typespec/compiler": "^0.57.0",
|
||||
"@typespec/rest": "^0.57.0",
|
||||
"@typespec/http": "^0.57.0",
|
||||
"@typespec/versioning": "^0.57.0",
|
||||
"@typespec/prettier-plugin-typespec": "^0.57.0",
|
||||
"@azure-tools/typespec-azure-core": "^0.43.0",
|
||||
"@azure-tools/typespec-autorest": "^0.43.0",
|
||||
"@azure-tools/typespec-azure-resource-manager": "^0.43.0",
|
||||
"@typespec/openapi": "^0.57.0",
|
||||
"@typespec/openapi3": "^0.57.0",
|
||||
"@typespec/compiler": "^0.58.0",
|
||||
"@typespec/rest": "^0.58.0",
|
||||
"@typespec/http": "^0.58.0",
|
||||
"@typespec/versioning": "^0.58.0",
|
||||
"@typespec/prettier-plugin-typespec": "^0.58.0",
|
||||
"@azure-tools/typespec-azure-core": "^0.44.0",
|
||||
"@azure-tools/typespec-autorest": "^0.44.0",
|
||||
"@azure-tools/typespec-azure-resource-manager": "^0.44.0",
|
||||
"@typespec/openapi": "^0.58.0",
|
||||
"@typespec/openapi3": "^0.58.0",
|
||||
"prettier": "~3.1.0",
|
||||
"lodash": "~4.17.20",
|
||||
"pluralize": "^8.0.0",
|
||||
|
@ -68,8 +68,8 @@
|
|||
"fs-extra": "^10.1.0",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"chalk": "^4.1.0",
|
||||
"@azure-tools/typespec-autorest": "^0.43.0",
|
||||
"@azure-tools/typespec-client-generator-core": "^0.43.0",
|
||||
"@azure-tools/typespec-autorest": "^0.44.0",
|
||||
"@azure-tools/typespec-client-generator-core": "^0.44.0",
|
||||
"webpack-cli": "~5.1.4",
|
||||
"webpack": "~5.89.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
||||
|
|
|
@ -6,7 +6,7 @@ import { formatFile } from "../utils/format";
|
|||
|
||||
export async function emitTypespecConfig(filePath: string, programDetails: TypespecProgram): Promise<void> {
|
||||
const session = getSession();
|
||||
const { isArm } = getOptions();
|
||||
const { isArm, isFullCompatible } = getOptions();
|
||||
let content = `
|
||||
emit:
|
||||
- "@azure-tools/typespec-autorest"
|
||||
|
@ -43,7 +43,12 @@ options:
|
|||
emitter-output-dir: "{project-root}/.."
|
||||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/${swaggerName}"
|
||||
examples-directory: "{project-root}/examples"
|
||||
examples-directory: "{project-root}/examples"${
|
||||
isFullCompatible
|
||||
? `
|
||||
arm-resource-flattening: true`
|
||||
: ""
|
||||
}
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -36,8 +36,6 @@ export function generateArmResource(resource: TspArmResource): string {
|
|||
}
|
||||
|
||||
function generateArmResourceModel(resource: TspArmResource): string {
|
||||
const { isFullCompatible } = getOptions();
|
||||
|
||||
let definitions: string[] = [];
|
||||
|
||||
for (const fixme of resource.fixMe ?? []) {
|
||||
|
@ -58,57 +56,16 @@ function generateArmResourceModel(resource: TspArmResource): string {
|
|||
definitions.push(`@parentResource(${resource.locationParent})`);
|
||||
}
|
||||
|
||||
if (
|
||||
!isFullCompatible ||
|
||||
(getArmCommonTypeVersion() &&
|
||||
!resource.propertiesPropertyRequired &&
|
||||
resource.propertiesPropertyVisibility.length === 2 &&
|
||||
resource.propertiesPropertyVisibility.includes("read") &&
|
||||
resource.propertiesPropertyVisibility.includes("create"))
|
||||
) {
|
||||
definitions.push(
|
||||
`model ${resource.name} is Azure.ResourceManager.${resource.resourceKind}<${resource.propertiesModelName}> {`,
|
||||
);
|
||||
definitions.push(
|
||||
`model ${resource.name} is Azure.ResourceManager.${resource.resourceKind}<${resource.propertiesModelName}${
|
||||
resource.propertiesPropertyRequired ? ", false" : ""
|
||||
}> {`,
|
||||
);
|
||||
|
||||
if (resource.keyExpression) {
|
||||
definitions.push(`${resource.keyExpression}`);
|
||||
}
|
||||
definitions = [...definitions, ...getModelPropertiesDeclarations(resource.properties)];
|
||||
} else {
|
||||
definitions.push(
|
||||
`#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"`,
|
||||
);
|
||||
definitions.push(
|
||||
`#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"`,
|
||||
);
|
||||
definitions.push(`@includeInapplicableMetadataInPayload(false)`);
|
||||
|
||||
if (!getArmCommonTypeVersion()) {
|
||||
if (resource.baseModelName) {
|
||||
definitions.push(`model ${resource.name} extends ${resource.baseModelName} {`);
|
||||
} else {
|
||||
definitions.push(`model ${resource.name} {`);
|
||||
}
|
||||
} else {
|
||||
definitions.push(`@Azure.ResourceManager.Private.armResourceInternal(${resource.propertiesModelName})`);
|
||||
definitions.push(`model ${resource.name} extends Foundations.${resource.resourceKind} {`);
|
||||
}
|
||||
|
||||
if (resource.keyExpression) {
|
||||
definitions.push(`${resource.keyExpression}`);
|
||||
}
|
||||
definitions = [...definitions, ...getModelPropertiesDeclarations(resource.properties)];
|
||||
|
||||
const propertyDoc = generateDocs({ doc: resource.propertiesPropertyDescription });
|
||||
propertyDoc && definitions.push(propertyDoc);
|
||||
|
||||
definitions.push(`@extension("x-ms-client-flatten", true)`);
|
||||
if (resource.propertiesPropertyVisibility.length > 0) {
|
||||
definitions.push(`@visibility("${resource.propertiesPropertyVisibility.join(",")}")`);
|
||||
}
|
||||
|
||||
definitions.push(`properties${resource.propertiesPropertyRequired ? "" : "?"}: ${resource.propertiesModelName}`);
|
||||
if (resource.keyExpression) {
|
||||
definitions.push(`${resource.keyExpression}`);
|
||||
}
|
||||
definitions = [...definitions, ...getModelPropertiesDeclarations(resource.properties)];
|
||||
|
||||
for (const p of resource.optionalStandardProperties) {
|
||||
definitions.push(`\n...${p}`);
|
||||
|
|
|
@ -63,5 +63,11 @@ export function generateArmResourceClientDecorator(resource: TspArmResource): st
|
|||
decorators && definitions.push(decorators);
|
||||
}
|
||||
|
||||
const propertyDecorators = generateAugmentedDecorators(
|
||||
`${resource.name}.properties`,
|
||||
resource.propertiesPropertyClientDecorator,
|
||||
);
|
||||
propertyDecorators && definitions.push(propertyDecorators);
|
||||
|
||||
return definitions.join("\n");
|
||||
}
|
||||
|
|
|
@ -263,8 +263,8 @@ export interface TspArmResource extends TypespecObject {
|
|||
keyExpression: string | undefined;
|
||||
propertiesModelName: string;
|
||||
propertiesPropertyRequired: boolean;
|
||||
propertiesPropertyVisibility: string[];
|
||||
propertiesPropertyDescription: string;
|
||||
propertiesPropertyClientDecorator: TypespecDecorator[];
|
||||
resourceParent?: TspArmResource;
|
||||
resourceOperations: TspArmResourceOperation[];
|
||||
normalOperations: TypespecOperation[];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Operation, Parameter, Response, SchemaResponse, SchemaType } from "@autorest/codemodel";
|
||||
import { Operation, Parameter, Property, Response, SchemaResponse, SchemaType } from "@autorest/codemodel";
|
||||
import _ from "lodash";
|
||||
import pluralize, { singular } from "pluralize";
|
||||
import { getArmCommonTypeVersion, getSession } from "../autorest-session";
|
||||
|
@ -54,6 +54,7 @@ function addGeneratedResourceObjectIfNotExits(name: string, mapping: string) {
|
|||
}
|
||||
|
||||
export function transformTspArmResource(schema: ArmResourceSchema): TspArmResource {
|
||||
const { isFullCompatible } = getOptions();
|
||||
const fixMe: string[] = [];
|
||||
|
||||
if (!getSession().configuration["namespace"]) {
|
||||
|
@ -80,14 +81,12 @@ export function transformTspArmResource(schema: ArmResourceSchema): TspArmResour
|
|||
const propertiesModelSchema = propertiesModel?.schema;
|
||||
let propertiesModelName = propertiesModelSchema?.language.default.name;
|
||||
let propertiesPropertyRequired = false;
|
||||
let propertiesPropertyVisibility = ["read", "create"];
|
||||
let propertiesPropertyDescription = "";
|
||||
|
||||
if (propertiesModelSchema?.type === SchemaType.Dictionary) {
|
||||
propertiesModelName = "Record<unknown>";
|
||||
} else if (propertiesModelSchema?.type === SchemaType.Object) {
|
||||
propertiesPropertyRequired = propertiesModel?.required ?? false;
|
||||
propertiesPropertyVisibility = propertiesModel?.extensions?.["x-ms-mutability"] ?? [];
|
||||
propertiesPropertyDescription = propertiesModel?.language.default.description ?? "";
|
||||
}
|
||||
|
||||
|
@ -120,13 +119,29 @@ export function transformTspArmResource(schema: ArmResourceSchema): TspArmResour
|
|||
const keyProperty = buildKeyProperty(schema);
|
||||
const properties = [...getOtherProperties(schema, !getArmCommonTypeVersion())];
|
||||
let keyExpression, augmentDecorators;
|
||||
if (keyProperty.name === "name" && keyProperty.type === "string") {
|
||||
if (keyProperty.name === "name") {
|
||||
keyExpression = buildKeyExpression(schema, keyProperty);
|
||||
augmentDecorators = buildKeyAugmentDecorators(schema, keyProperty);
|
||||
} else {
|
||||
properties.unshift(keyProperty);
|
||||
}
|
||||
|
||||
if (propertiesModel) {
|
||||
if (augmentDecorators === undefined) augmentDecorators = buildPropertiesAugmentDecorators(schema, propertiesModel);
|
||||
else augmentDecorators.push(...buildPropertiesAugmentDecorators(schema, propertiesModel));
|
||||
}
|
||||
|
||||
const propertiesPropertyClientDecorator = [];
|
||||
if (isFullCompatible && propertiesModel?.extensions?.["x-ms-client-flatten"]) {
|
||||
propertiesPropertyClientDecorator.push({
|
||||
name: "flattenProperty",
|
||||
module: "@azure-tools/typespec-client-generator-core",
|
||||
namespace: "Azure.ClientGenerator.Core",
|
||||
suppressionCode: "deprecated",
|
||||
suppressionMessage: "@flattenProperty decorator is not recommended to use.",
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
fixMe,
|
||||
resourceKind: getResourceKind(schema),
|
||||
|
@ -138,8 +153,8 @@ export function transformTspArmResource(schema: ArmResourceSchema): TspArmResour
|
|||
resourceParent: getParentResource(schema),
|
||||
propertiesModelName,
|
||||
propertiesPropertyRequired,
|
||||
propertiesPropertyVisibility,
|
||||
propertiesPropertyDescription,
|
||||
propertiesPropertyClientDecorator,
|
||||
doc: schema.language.default.description,
|
||||
decorators,
|
||||
clientDecorators,
|
||||
|
@ -844,6 +859,7 @@ function buildKeyExpression(schema: ArmResourceSchema, keyProperty: TypespecObje
|
|||
${keyName ? `, KeyName = "${keyName}"` : ""}
|
||||
${segmentName ? `, SegmentName = "${segmentName}"` : ""},
|
||||
NamePattern = ${namePattern ? `"${namePattern}"` : `""`}
|
||||
${keyProperty.type !== "string" ? `, Type = ${keyProperty.type}` : ""}
|
||||
>`;
|
||||
}
|
||||
|
||||
|
@ -865,6 +881,16 @@ function buildKeyAugmentDecorators(
|
|||
});
|
||||
}
|
||||
|
||||
function buildPropertiesAugmentDecorators(schema: ArmResourceSchema, propertiesModel: Property): TypespecDecorator[] {
|
||||
return [
|
||||
{
|
||||
name: "doc",
|
||||
target: `${schema.resourceMetadata.SwaggerModelName}.properties`,
|
||||
arguments: [generateDocsContent({ doc: propertiesModel?.language.default.description })],
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
function buildKeyProperty(schema: ArmResourceSchema): TypespecObjectProperty {
|
||||
let parameter;
|
||||
if (!schema.resourceMetadata.IsSingletonResource) {
|
||||
|
|
|
@ -12,6 +12,7 @@ import {
|
|||
isNumberSchema,
|
||||
} from "@autorest/codemodel";
|
||||
import { TypespecDecorator, DecoratorArgument } from "../interfaces";
|
||||
import { getOptions } from "../options";
|
||||
import { createCSharpNameDecorator } from "../pretransforms/rename-pretransform";
|
||||
import { getOwnDiscriminator } from "./discriminator";
|
||||
import { isSealedChoiceSchema, isStringSchema } from "./schemas";
|
||||
|
@ -68,6 +69,7 @@ export function getModelClientDecorators(model: ObjectSchema): TypespecDecorator
|
|||
}
|
||||
|
||||
export function getPropertyDecorators(element: Property | Parameter): TypespecDecorator[] {
|
||||
const { isFullCompatible } = getOptions();
|
||||
const decorators: TypespecDecorator[] = [];
|
||||
|
||||
const paging = element.language.default.paging ?? {};
|
||||
|
@ -158,13 +160,23 @@ export function getPropertyDecorators(element: Property | Parameter): TypespecDe
|
|||
});
|
||||
}
|
||||
|
||||
if (element.extensions?.["x-ms-client-flatten"] && isFullCompatible) {
|
||||
decorators.push({
|
||||
name: "extension",
|
||||
module: "@typespec/openapi",
|
||||
namespace: "TypeSpec.OpenAPI",
|
||||
arguments: [{ value: `"x-ms-client-flatten"` }, { value: "true" }],
|
||||
});
|
||||
}
|
||||
|
||||
return decorators;
|
||||
}
|
||||
|
||||
export function getPropertyClientDecorators(element: Property | Parameter): TypespecDecorator[] {
|
||||
const { isFullCompatible } = getOptions();
|
||||
const decorators: TypespecDecorator[] = [];
|
||||
|
||||
if (element.extensions?.["x-ms-client-flatten"]) {
|
||||
if (element.extensions?.["x-ms-client-flatten"] && isFullCompatible) {
|
||||
decorators.push({
|
||||
name: "flattenProperty",
|
||||
module: "@azure-tools/typespec-client-generator-core",
|
||||
|
|
|
@ -77,6 +77,7 @@ export function getClientImports(program: TypespecProgram) {
|
|||
for (const op of resource.normalOperations) {
|
||||
addImports(op.clientDecorators);
|
||||
}
|
||||
addImports(resource.propertiesPropertyClientDecorator);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -14,25 +14,15 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* DataConnector Model.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(DataManagerForAgriculture)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(DataConnectorProperties)
|
||||
model DataConnector extends Foundations.ProxyResource {
|
||||
model DataConnector
|
||||
is Azure.ResourceManager.ProxyResource<DataConnectorProperties, false> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DataConnector,
|
||||
KeyName = "dataConnectorName",
|
||||
SegmentName = "dataConnectors",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* DataConnector Properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties: DataConnectorProperties;
|
||||
|
||||
...Azure.ResourceManager.EntityTagProperty;
|
||||
}
|
||||
|
||||
|
@ -85,6 +75,7 @@ interface DataConnectors {
|
|||
@@maxLength(DataConnector.name, 63);
|
||||
@@minLength(DataConnector.name, 1);
|
||||
@@doc(DataConnector.name, "Connector name.");
|
||||
@@doc(DataConnector.properties, "DataConnector Properties.");
|
||||
@@encodedName(DataConnectors.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"body"
|
||||
|
|
|
@ -13,26 +13,14 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* Data Manager For Agriculture ARM Resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
DataManagerForAgricultureProperties
|
||||
)
|
||||
model DataManagerForAgriculture extends Foundations.TrackedResource {
|
||||
model DataManagerForAgriculture
|
||||
is Azure.ResourceManager.TrackedResource<DataManagerForAgricultureProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DataManagerForAgriculture,
|
||||
KeyName = "dataManagerForAgricultureResourceName",
|
||||
SegmentName = "farmBeats",
|
||||
NamePattern = "^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Data Manager For Agriculture ARM Resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DataManagerForAgricultureProperties;
|
||||
|
||||
...Azure.ResourceManager.ManagedServiceIdentityProperty;
|
||||
}
|
||||
|
||||
|
@ -111,6 +99,9 @@ interface DataManagerForAgricultures {
|
|||
@@doc(DataManagerForAgriculture.name,
|
||||
"DataManagerForAgriculture resource name."
|
||||
);
|
||||
@@doc(DataManagerForAgriculture.properties,
|
||||
"Data Manager For Agriculture ARM Resource properties."
|
||||
);
|
||||
@@encodedName(DataManagerForAgricultures.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"request"
|
||||
|
|
|
@ -13,26 +13,15 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* DataManagerForAgriculture extension resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@tenantResource
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
DataManagerForAgricultureExtensionProperties
|
||||
)
|
||||
model DataManagerForAgricultureExtension extends Foundations.ProxyResource {
|
||||
model DataManagerForAgricultureExtension
|
||||
is Azure.ResourceManager.ProxyResource<DataManagerForAgricultureExtensionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DataManagerForAgricultureExtension,
|
||||
KeyName = "dataManagerForAgricultureExtensionId",
|
||||
SegmentName = "farmBeatsExtensionDefinitions",
|
||||
NamePattern = "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* DataManagerForAgricultureExtension properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DataManagerForAgricultureExtensionProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -103,3 +92,6 @@ interface DataManagerForAgricultureExtensions {
|
|||
@@doc(DataManagerForAgricultureExtension.name,
|
||||
"dataManagerForAgricultureExtensionId to be queried."
|
||||
);
|
||||
@@doc(DataManagerForAgricultureExtension.properties,
|
||||
"DataManagerForAgricultureExtension properties."
|
||||
);
|
||||
|
|
|
@ -13,26 +13,15 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* DataManagerForAgriculture solution resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@tenantResource
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
DataManagerForAgricultureSolutionProperties
|
||||
)
|
||||
model DataManagerForAgricultureSolution extends Foundations.ProxyResource {
|
||||
model DataManagerForAgricultureSolution
|
||||
is Azure.ResourceManager.ProxyResource<DataManagerForAgricultureSolutionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DataManagerForAgricultureSolution,
|
||||
KeyName = "dataManagerForAgricultureSolutionId",
|
||||
SegmentName = "farmBeatsSolutionDefinitions",
|
||||
NamePattern = "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* DataManagerForAgricultureSolution properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DataManagerForAgricultureSolutionProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -87,3 +76,6 @@ interface DataManagerForAgricultureSolutions {
|
|||
@@doc(DataManagerForAgricultureSolution.name,
|
||||
"dataManagerForAgricultureSolutionId to be queried."
|
||||
);
|
||||
@@doc(DataManagerForAgricultureSolution.properties,
|
||||
"DataManagerForAgricultureSolution properties."
|
||||
);
|
||||
|
|
|
@ -14,25 +14,14 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* Extension resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(DataManagerForAgriculture)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(ExtensionProperties)
|
||||
model Extension extends Foundations.ProxyResource {
|
||||
model Extension is Azure.ResourceManager.ProxyResource<ExtensionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = Extension,
|
||||
KeyName = "extensionId",
|
||||
SegmentName = "extensions",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Extension resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ExtensionProperties;
|
||||
|
||||
...Azure.ResourceManager.EntityTagProperty;
|
||||
}
|
||||
|
||||
|
@ -101,6 +90,7 @@ interface Extensions {
|
|||
}
|
||||
|
||||
@@doc(Extension.name, "Id of extension resource.");
|
||||
@@doc(Extension.properties, "Extension resource properties.");
|
||||
@@encodedName(Extensions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"requestBody"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* The private endpoint connection resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(DataManagerForAgriculture)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PrivateEndpointConnectionProperties
|
||||
)
|
||||
model PrivateEndpointConnection extends Foundations.ProxyResource {
|
||||
model PrivateEndpointConnection
|
||||
is Azure.ResourceManager.ProxyResource<PrivateEndpointConnectionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PrivateEndpointConnection,
|
||||
KeyName = "privateEndpointConnectionName",
|
||||
SegmentName = "privateEndpointConnections",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PrivateEndpointConnectionProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -65,6 +54,7 @@ interface PrivateEndpointConnections {
|
|||
}
|
||||
|
||||
@@doc(PrivateEndpointConnection.name, "Private endpoint connection name.");
|
||||
@@doc(PrivateEndpointConnection.properties, "Resource properties.");
|
||||
@@encodedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"request"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* A private link resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(DataManagerForAgriculture)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PrivateLinkResourceProperties
|
||||
)
|
||||
model PrivateLinkResource extends Foundations.ProxyResource {
|
||||
model PrivateLinkResource
|
||||
is Azure.ResourceManager.ProxyResource<PrivateLinkResourceProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PrivateLinkResource,
|
||||
KeyName = "subResourceName",
|
||||
SegmentName = "privateLinkResources",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PrivateLinkResourceProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -52,3 +41,4 @@ interface PrivateLinkResources {
|
|||
}
|
||||
|
||||
@@doc(PrivateLinkResource.name, "Sub resource name.");
|
||||
@@doc(PrivateLinkResource.properties, "Resource properties.");
|
||||
|
|
|
@ -14,25 +14,14 @@ namespace Azure.ResourceManager.AgFoodPlatform;
|
|||
/**
|
||||
* Solution resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(DataManagerForAgriculture)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(SolutionProperties)
|
||||
model Solution extends Foundations.ProxyResource {
|
||||
model Solution is Azure.ResourceManager.ProxyResource<SolutionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = Solution,
|
||||
KeyName = "solutionId",
|
||||
SegmentName = "solutions",
|
||||
NamePattern = "^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Solution resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SolutionProperties;
|
||||
|
||||
...Azure.ResourceManager.EntityTagProperty;
|
||||
}
|
||||
|
||||
|
@ -153,6 +142,7 @@ interface Solutions {
|
|||
}
|
||||
|
||||
@@doc(Solution.name, "SolutionId for Data Manager For Agriculture Resource.");
|
||||
@@doc(Solution.properties, "Solution resource properties.");
|
||||
@@encodedName(Solutions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"requestBody"
|
||||
|
|
|
@ -2,13 +2,16 @@ import "./main.tsp";
|
|||
import "@azure-tools/typespec-client-generator-core";
|
||||
|
||||
using Azure.ClientGenerator.Core;
|
||||
using Microsoft.AzureSphere;
|
||||
using Azure.ResourceManager.AgFoodPlatform;
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(ProductUpdate.properties);
|
||||
@@flattenProperty(DataManagerForAgriculture.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(DeviceGroupUpdate.properties);
|
||||
@@flattenProperty(PrivateEndpointConnection.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(DeviceUpdate.properties);
|
||||
@@flattenProperty(Extension.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PrivateLinkResource.properties);
|
|
@ -8,6 +8,7 @@ options:
|
|||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/agfood.json"
|
||||
examples-directory: "{project-root}/examples"
|
||||
arm-resource-flattening: true
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -13,24 +13,14 @@ namespace Azure.ResourceManager.AlertsManagement;
|
|||
/**
|
||||
* An alert created in alert management service.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@subscriptionResource
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(AlertProperties)
|
||||
model Alert extends Foundations.ProxyResource {
|
||||
model Alert is Azure.ResourceManager.ProxyResource<AlertProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = Alert,
|
||||
KeyName = "alertId",
|
||||
SegmentName = "alerts",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Alert property bag
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AlertProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -191,6 +181,7 @@ interface Alerts {
|
|||
}
|
||||
|
||||
@@doc(Alert.name, "Unique ID of an alert instance.");
|
||||
@@doc(Alert.properties, "Alert property bag");
|
||||
@@encodedName(Alerts.changeState::parameters.body,
|
||||
"application/json",
|
||||
"comment"
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.AlertsManagement;
|
|||
/**
|
||||
* Alert processing rule object containing target scopes, conditions and scheduling logic.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
AlertProcessingRuleProperties
|
||||
)
|
||||
model AlertProcessingRule extends Foundations.TrackedResource {
|
||||
model AlertProcessingRule
|
||||
is Azure.ResourceManager.TrackedResource<AlertProcessingRuleProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = AlertProcessingRule,
|
||||
KeyName = "alertProcessingRuleName",
|
||||
SegmentName = "actionRules",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Alert processing rule properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AlertProcessingRuleProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -74,6 +63,7 @@ interface AlertProcessingRules {
|
|||
@@doc(AlertProcessingRule.name,
|
||||
"The name of the alert processing rule that needs to be fetched."
|
||||
);
|
||||
@@doc(AlertProcessingRule.properties, "Alert processing rule properties.");
|
||||
@@encodedName(AlertProcessingRules.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"alertProcessingRule"
|
||||
|
|
|
@ -13,24 +13,14 @@ namespace Azure.ResourceManager.AlertsManagement;
|
|||
/**
|
||||
* Set of related alerts grouped together smartly by AMS.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@subscriptionResource
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(SmartGroupProperties)
|
||||
model SmartGroup extends Foundations.ProxyResource {
|
||||
model SmartGroup is Azure.ResourceManager.ProxyResource<SmartGroupProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = SmartGroup,
|
||||
KeyName = "smartGroupId",
|
||||
SegmentName = "smartGroups",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of smart group.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SmartGroupProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -155,3 +145,4 @@ interface SmartGroups {
|
|||
}
|
||||
|
||||
@@doc(SmartGroup.name, "Smart group unique id. ");
|
||||
@@doc(SmartGroup.properties, "Properties of smart group.");
|
||||
|
|
|
@ -6,3 +6,6 @@ using Azure.ResourceManager.AlertsManagement;
|
|||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PatchObject.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(SmartGroup.properties);
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import "@typespec/rest";
|
||||
import "@typespec/http";
|
||||
import "@typespec/openapi";
|
||||
import "@azure-tools/typespec-azure-resource-manager";
|
||||
|
||||
using TypeSpec.Rest;
|
||||
using TypeSpec.Http;
|
||||
using TypeSpec.OpenAPI;
|
||||
using Azure.ResourceManager;
|
||||
using Azure.ResourceManager.Foundations;
|
||||
|
||||
|
@ -398,6 +400,7 @@ model PatchObject {
|
|||
/**
|
||||
* Properties supported by patch operation.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PatchProperties;
|
||||
|
||||
/**
|
||||
|
|
|
@ -8,6 +8,7 @@ options:
|
|||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json"
|
||||
examples-directory: "{project-root}/examples"
|
||||
arm-resource-flattening: true
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -13,22 +13,14 @@ namespace Azure.ResourceManager.Analysis;
|
|||
/**
|
||||
* Represents an instance of an Analysis Services resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
model AnalysisServicesServer extends Resource {
|
||||
model AnalysisServicesServer
|
||||
is Azure.ResourceManager.TrackedResource<AnalysisServicesServerProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = AnalysisServicesServer,
|
||||
KeyName = "serverName",
|
||||
SegmentName = "servers",
|
||||
NamePattern = "^[a-z][a-z0-9]*$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the provision operation request.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AnalysisServicesServerProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -165,6 +157,9 @@ interface AnalysisServicesServers {
|
|||
@@doc(AnalysisServicesServer.name,
|
||||
"The name of the Analysis Services server. It must be a minimum of 3 characters, and a maximum of 63."
|
||||
);
|
||||
@@doc(AnalysisServicesServer.properties,
|
||||
"Properties of the provision operation request."
|
||||
);
|
||||
@@encodedName(AnalysisServicesServers.create::parameters.resource,
|
||||
"application/json",
|
||||
"serverParameters"
|
||||
|
|
|
@ -6,3 +6,6 @@ using Azure.ResourceManager.Analysis;
|
|||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(AnalysisServicesServerUpdateParameters.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(AnalysisServicesServer.properties);
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import "@typespec/rest";
|
||||
import "@typespec/http";
|
||||
import "@typespec/openapi";
|
||||
import "@azure-tools/typespec-azure-resource-manager";
|
||||
|
||||
using TypeSpec.Rest;
|
||||
using TypeSpec.Http;
|
||||
using TypeSpec.OpenAPI;
|
||||
using Azure.ResourceManager;
|
||||
using Azure.ResourceManager.Foundations;
|
||||
|
||||
|
@ -305,6 +307,7 @@ model AnalysisServicesServerUpdateParameters {
|
|||
/**
|
||||
* Properties of the provision operation request.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AnalysisServicesServerMutableProperties;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ options:
|
|||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/analysisservices.json"
|
||||
examples-directory: "{project-root}/examples"
|
||||
arm-resource-flattening: true
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -14,28 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Tenant Settings.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
AccessInformationContractProperties
|
||||
)
|
||||
model AccessInformationContract extends Foundations.ProxyResource {
|
||||
/**
|
||||
* The identifier of the Access configuration.
|
||||
*/
|
||||
@path
|
||||
@key("accessName")
|
||||
@segment("tenant")
|
||||
@visibility("read")
|
||||
name: AccessIdName;
|
||||
|
||||
/**
|
||||
* AccessInformation entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AccessInformationContractProperties;
|
||||
model AccessInformationContract
|
||||
is Azure.ResourceManager.ProxyResource<AccessInformationContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = AccessInformationContract,
|
||||
KeyName = "accessName",
|
||||
SegmentName = "tenant",
|
||||
NamePattern = "",
|
||||
Type = AccessIdName
|
||||
>;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -168,6 +156,12 @@ interface AccessInformationContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@doc(AccessInformationContract.name,
|
||||
"The identifier of the Access configuration."
|
||||
);
|
||||
@@doc(AccessInformationContract.properties,
|
||||
"AccessInformation entity contract properties."
|
||||
);
|
||||
@@encodedName(AccessInformationContracts.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* API details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(ApiContractProperties)
|
||||
model ApiContract extends Foundations.ProxyResource {
|
||||
model ApiContract
|
||||
is Azure.ResourceManager.ProxyResource<ApiContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = ApiContract,
|
||||
KeyName = "apiId",
|
||||
SegmentName = "apis",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* API entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -325,6 +316,7 @@ interface ApiContracts {
|
|||
@@doc(ApiContract.name,
|
||||
"API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number."
|
||||
);
|
||||
@@doc(ApiContract.properties, "API entity contract properties.");
|
||||
@@encodedName(ApiContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,13 +13,11 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* A single API Management service resource in List or Get response.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
ApiManagementServiceProperties
|
||||
)
|
||||
model ApiManagementServiceResource extends Foundations.TrackedResource {
|
||||
model ApiManagementServiceResource
|
||||
is Azure.ResourceManager.TrackedResource<
|
||||
ApiManagementServiceProperties,
|
||||
false
|
||||
> {
|
||||
...ResourceNameParameter<
|
||||
Resource = ApiManagementServiceResource,
|
||||
KeyName = "serviceName",
|
||||
|
@ -38,12 +36,6 @@ model ApiManagementServiceResource extends Foundations.TrackedResource {
|
|||
*/
|
||||
zones?: string[];
|
||||
|
||||
/**
|
||||
* Properties of the API Management service.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties: ApiManagementServiceProperties;
|
||||
|
||||
...Azure.ResourceManager.ManagedServiceIdentityProperty;
|
||||
...Azure.ResourceManager.ResourceSkuProperty;
|
||||
}
|
||||
|
@ -1156,6 +1148,9 @@ interface ApiManagementServiceResources {
|
|||
@@doc(ApiManagementServiceResource.name,
|
||||
"The name of the API Management service."
|
||||
);
|
||||
@@doc(ApiManagementServiceResource.properties,
|
||||
"Properties of the API Management service."
|
||||
);
|
||||
@@encodedName(ApiManagementServiceResources.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* ApiRelease details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(ApiReleaseContractProperties)
|
||||
model ApiReleaseContract extends Foundations.ProxyResource {
|
||||
model ApiReleaseContract
|
||||
is Azure.ResourceManager.ProxyResource<ApiReleaseContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = ApiReleaseContract,
|
||||
KeyName = "releaseId",
|
||||
SegmentName = "releases",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* ApiRelease entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiReleaseContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -150,6 +141,7 @@ interface ApiReleaseContracts {
|
|||
@@doc(ApiReleaseContract.name,
|
||||
"Release identifier within an API. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(ApiReleaseContract.properties, "ApiRelease entity contract properties.");
|
||||
@@encodedName(ApiReleaseContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* API Version Set Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
ApiVersionSetContractProperties
|
||||
)
|
||||
model ApiVersionSetContract extends Foundations.ProxyResource {
|
||||
model ApiVersionSetContract
|
||||
is Azure.ResourceManager.ProxyResource<ApiVersionSetContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = ApiVersionSetContract,
|
||||
KeyName = "versionSetId",
|
||||
SegmentName = "apiVersionSets",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* API VersionSet contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiVersionSetContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -152,6 +141,7 @@ interface ApiVersionSetContracts {
|
|||
@@doc(ApiVersionSetContract.name,
|
||||
"Api Version Set identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(ApiVersionSetContract.properties, "API VersionSet contract properties.");
|
||||
@@encodedName(ApiVersionSetContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* External OAuth authorization server settings.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
AuthorizationServerContractProperties
|
||||
)
|
||||
model AuthorizationServerContract extends Foundations.ProxyResource {
|
||||
model AuthorizationServerContract
|
||||
is Azure.ResourceManager.ProxyResource<AuthorizationServerContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = AuthorizationServerContract,
|
||||
KeyName = "authsid",
|
||||
SegmentName = "authorizationServers",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the External OAuth authorization server Contract.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AuthorizationServerContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -163,6 +152,9 @@ interface AuthorizationServerContracts {
|
|||
@@doc(AuthorizationServerContract.name,
|
||||
"Identifier of the authorization server."
|
||||
);
|
||||
@@doc(AuthorizationServerContract.properties,
|
||||
"Properties of the External OAuth authorization server Contract."
|
||||
);
|
||||
@@encodedName(AuthorizationServerContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Backend details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(BackendContractProperties)
|
||||
model BackendContract extends Foundations.ProxyResource {
|
||||
model BackendContract
|
||||
is Azure.ResourceManager.ProxyResource<BackendContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = BackendContract,
|
||||
KeyName = "backendId",
|
||||
SegmentName = "backends",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Backend entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: BackendContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -160,6 +151,7 @@ interface BackendContracts {
|
|||
@@doc(BackendContract.name,
|
||||
"Identifier of the Backend entity. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(BackendContract.properties, "Backend entity contract properties.");
|
||||
@@encodedName(BackendContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Cache details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(CacheContractProperties)
|
||||
model CacheContract extends Foundations.ProxyResource {
|
||||
model CacheContract
|
||||
is Azure.ResourceManager.ProxyResource<CacheContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = CacheContract,
|
||||
KeyName = "cacheId",
|
||||
SegmentName = "caches",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Cache properties details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CacheContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -141,6 +132,7 @@ interface CacheContracts {
|
|||
@@doc(CacheContract.name,
|
||||
"Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier)."
|
||||
);
|
||||
@@doc(CacheContract.properties, "Cache properties details.");
|
||||
@@encodedName(CacheContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Certificate details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
CertificateContractProperties
|
||||
)
|
||||
model CertificateContract extends Foundations.ProxyResource {
|
||||
model CertificateContract
|
||||
is Azure.ResourceManager.ProxyResource<CertificateContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = CertificateContract,
|
||||
KeyName = "certificateId",
|
||||
SegmentName = "certificates",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Certificate properties details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CertificateContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -149,6 +138,7 @@ interface CertificateContracts {
|
|||
@@doc(CertificateContract.name,
|
||||
"Identifier of the certificate entity. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(CertificateContract.properties, "Certificate properties details.");
|
||||
@@encodedName(CertificateContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,27 +13,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Deleted API Management Service information.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@subscriptionResource
|
||||
@parentResource(SubscriptionLocationResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
DeletedServiceContractProperties
|
||||
)
|
||||
model DeletedServiceContract extends Foundations.ProxyResource {
|
||||
model DeletedServiceContract
|
||||
is Azure.ResourceManager.ProxyResource<DeletedServiceContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DeletedServiceContract,
|
||||
KeyName = "serviceName",
|
||||
SegmentName = "deletedservices",
|
||||
NamePattern = "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Deleted API Management Service details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DeletedServiceContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -66,3 +55,6 @@ interface DeletedServiceContracts {
|
|||
@@maxLength(DeletedServiceContract.name, 50);
|
||||
@@minLength(DeletedServiceContract.name, 1);
|
||||
@@doc(DeletedServiceContract.name, "The name of the API Management service.");
|
||||
@@doc(DeletedServiceContract.properties,
|
||||
"Deleted API Management Service details."
|
||||
);
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Diagnostic details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(DiagnosticContractProperties)
|
||||
model DiagnosticContract extends Foundations.ProxyResource {
|
||||
model DiagnosticContract
|
||||
is Azure.ResourceManager.ProxyResource<DiagnosticContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DiagnosticContract,
|
||||
KeyName = "diagnosticId",
|
||||
SegmentName = "diagnostics",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Diagnostic entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DiagnosticContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -150,6 +141,7 @@ interface DiagnosticContracts {
|
|||
@@doc(DiagnosticContract.name,
|
||||
"Diagnostic identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(DiagnosticContract.properties, "Diagnostic entity contract properties.");
|
||||
@@encodedName(DiagnosticContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,28 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Email Template details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
EmailTemplateContractProperties
|
||||
)
|
||||
model EmailTemplateContract extends Foundations.ProxyResource {
|
||||
/**
|
||||
* Email Template Name Identifier.
|
||||
*/
|
||||
@path
|
||||
@key("templateName")
|
||||
@segment("templates")
|
||||
@visibility("read")
|
||||
name: TemplateName;
|
||||
|
||||
/**
|
||||
* Email Template entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: EmailTemplateContractProperties;
|
||||
model EmailTemplateContract
|
||||
is Azure.ResourceManager.ProxyResource<EmailTemplateContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = EmailTemplateContract,
|
||||
KeyName = "templateName",
|
||||
SegmentName = "templates",
|
||||
NamePattern = "",
|
||||
Type = TemplateName
|
||||
>;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -149,6 +137,10 @@ interface EmailTemplateContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@doc(EmailTemplateContract.name, "Email Template Name Identifier.");
|
||||
@@doc(EmailTemplateContract.properties,
|
||||
"Email Template entity contract properties."
|
||||
);
|
||||
@@encodedName(EmailTemplateContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Gateway certificate authority details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(GatewayContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
GatewayCertificateAuthorityContractProperties
|
||||
)
|
||||
model GatewayCertificateAuthorityContract extends Foundations.ProxyResource {
|
||||
model GatewayCertificateAuthorityContract
|
||||
is Azure.ResourceManager.ProxyResource<GatewayCertificateAuthorityContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = GatewayCertificateAuthorityContract,
|
||||
KeyName = "certificateId",
|
||||
SegmentName = "certificateAuthorities",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Gateway certificate authority details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GatewayCertificateAuthorityContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -132,6 +121,9 @@ interface GatewayCertificateAuthorityContracts {
|
|||
@@doc(GatewayCertificateAuthorityContract.name,
|
||||
"Identifier of the certificate entity. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(GatewayCertificateAuthorityContract.properties,
|
||||
"Gateway certificate authority details."
|
||||
);
|
||||
@@encodedName(GatewayCertificateAuthorityContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Gateway details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(GatewayContractProperties)
|
||||
model GatewayContract extends Foundations.ProxyResource {
|
||||
model GatewayContract
|
||||
is Azure.ResourceManager.ProxyResource<GatewayContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = GatewayContract,
|
||||
KeyName = "gatewayId",
|
||||
SegmentName = "gateways",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Gateway details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GatewayContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -229,6 +220,7 @@ interface GatewayContracts {
|
|||
@@doc(GatewayContract.name,
|
||||
"Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'"
|
||||
);
|
||||
@@doc(GatewayContract.properties, "Gateway details.");
|
||||
@@encodedName(GatewayContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Gateway hostname configuration details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(GatewayContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
GatewayHostnameConfigurationContractProperties
|
||||
)
|
||||
model GatewayHostnameConfigurationContract extends Foundations.ProxyResource {
|
||||
model GatewayHostnameConfigurationContract
|
||||
is Azure.ResourceManager.ProxyResource<GatewayHostnameConfigurationContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = GatewayHostnameConfigurationContract,
|
||||
KeyName = "hcId",
|
||||
SegmentName = "hostnameConfigurations",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Gateway hostname configuration details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GatewayHostnameConfigurationContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -132,6 +121,9 @@ interface GatewayHostnameConfigurationContracts {
|
|||
@@doc(GatewayHostnameConfigurationContract.name,
|
||||
"Gateway hostname configuration identifier. Must be unique in the scope of parent Gateway entity."
|
||||
);
|
||||
@@doc(GatewayHostnameConfigurationContract.properties,
|
||||
"Gateway hostname configuration details."
|
||||
);
|
||||
@@encodedName(GatewayHostnameConfigurationContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Global Schema Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
GlobalSchemaContractProperties
|
||||
)
|
||||
model GlobalSchemaContract extends Foundations.ProxyResource {
|
||||
model GlobalSchemaContract
|
||||
is Azure.ResourceManager.ProxyResource<GlobalSchemaContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = GlobalSchemaContract,
|
||||
KeyName = "schemaId",
|
||||
SegmentName = "schemas",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the Global Schema.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GlobalSchemaContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -132,6 +121,7 @@ interface GlobalSchemaContracts {
|
|||
@@doc(GlobalSchemaContract.name,
|
||||
"Schema id identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(GlobalSchemaContract.properties, "Properties of the Global Schema.");
|
||||
@@encodedName(GlobalSchemaContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(GroupContractProperties)
|
||||
model GroupContract extends Foundations.ProxyResource {
|
||||
model GroupContract
|
||||
is Azure.ResourceManager.ProxyResource<GroupContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = GroupContract,
|
||||
KeyName = "groupId",
|
||||
SegmentName = "groups",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Group entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GroupContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -198,6 +189,7 @@ interface GroupContracts {
|
|||
@@doc(GroupContract.name,
|
||||
"Group identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(GroupContract.properties, "Group entity contract properties.");
|
||||
@@encodedName(GroupContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,28 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Identity Provider details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
IdentityProviderContractProperties
|
||||
)
|
||||
model IdentityProviderContract extends Foundations.ProxyResource {
|
||||
/**
|
||||
* Identity Provider Type identifier.
|
||||
*/
|
||||
@path
|
||||
@key("identityProviderName")
|
||||
@segment("identityProviders")
|
||||
@visibility("read")
|
||||
name: IdentityProviderType;
|
||||
|
||||
/**
|
||||
* Identity Provider contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IdentityProviderContractProperties;
|
||||
model IdentityProviderContract
|
||||
is Azure.ResourceManager.ProxyResource<IdentityProviderContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = IdentityProviderContract,
|
||||
KeyName = "identityProviderName",
|
||||
SegmentName = "identityProviders",
|
||||
NamePattern = "",
|
||||
Type = IdentityProviderType
|
||||
>;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -136,6 +124,10 @@ interface IdentityProviderContracts {
|
|||
>;
|
||||
}
|
||||
|
||||
@@doc(IdentityProviderContract.name, "Identity Provider Type identifier.");
|
||||
@@doc(IdentityProviderContract.properties,
|
||||
"Identity Provider contract properties."
|
||||
);
|
||||
@@encodedName(IdentityProviderContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Issue Attachment Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(IssueContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
IssueAttachmentContractProperties
|
||||
)
|
||||
model IssueAttachmentContract extends Foundations.ProxyResource {
|
||||
model IssueAttachmentContract
|
||||
is Azure.ResourceManager.ProxyResource<IssueAttachmentContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = IssueAttachmentContract,
|
||||
KeyName = "attachmentId",
|
||||
SegmentName = "attachments",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the Issue Attachment.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IssueAttachmentContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -132,6 +121,9 @@ interface IssueAttachmentContracts {
|
|||
@@doc(IssueAttachmentContract.name,
|
||||
"Attachment identifier within an Issue. Must be unique in the current Issue."
|
||||
);
|
||||
@@doc(IssueAttachmentContract.properties,
|
||||
"Properties of the Issue Attachment."
|
||||
);
|
||||
@@encodedName(IssueAttachmentContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Issue Comment Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(IssueContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
IssueCommentContractProperties
|
||||
)
|
||||
model IssueCommentContract extends Foundations.ProxyResource {
|
||||
model IssueCommentContract
|
||||
is Azure.ResourceManager.ProxyResource<IssueCommentContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = IssueCommentContract,
|
||||
KeyName = "commentId",
|
||||
SegmentName = "comments",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the Issue Comment.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IssueCommentContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -132,6 +121,7 @@ interface IssueCommentContracts {
|
|||
@@doc(IssueCommentContract.name,
|
||||
"Comment identifier within an Issue. Must be unique in the current Issue."
|
||||
);
|
||||
@@doc(IssueCommentContract.properties, "Properties of the Issue Comment.");
|
||||
@@encodedName(IssueCommentContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Issue Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(IssueContractProperties)
|
||||
model IssueContract extends Foundations.ProxyResource {
|
||||
model IssueContract
|
||||
is Azure.ResourceManager.ProxyResource<IssueContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = IssueContract,
|
||||
KeyName = "issueId",
|
||||
SegmentName = "issues",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the Issue.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IssueContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -164,6 +155,7 @@ interface IssueContracts {
|
|||
@@doc(IssueContract.name,
|
||||
"Issue identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(IssueContract.properties, "Properties of the Issue.");
|
||||
@@encodedName(IssueContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Logger details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(LoggerContractProperties)
|
||||
model LoggerContract extends Foundations.ProxyResource {
|
||||
model LoggerContract
|
||||
is Azure.ResourceManager.ProxyResource<LoggerContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = LoggerContract,
|
||||
KeyName = "loggerId",
|
||||
SegmentName = "loggers",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Logger entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: LoggerContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -149,6 +140,7 @@ interface LoggerContracts {
|
|||
@@doc(LoggerContract.name,
|
||||
"Logger identifier. Must be unique in the API Management service instance."
|
||||
);
|
||||
@@doc(LoggerContract.properties, "Logger entity contract properties.");
|
||||
@@encodedName(LoggerContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* NamedValue details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(NamedValueContractProperties)
|
||||
model NamedValueContract extends Foundations.ProxyResource {
|
||||
model NamedValueContract
|
||||
is Azure.ResourceManager.ProxyResource<NamedValueContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = NamedValueContract,
|
||||
KeyName = "namedValueId",
|
||||
SegmentName = "namedValues",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* NamedValue entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: NamedValueContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -175,6 +166,7 @@ interface NamedValueContracts {
|
|||
|
||||
@@maxLength(NamedValueContract.name, 256);
|
||||
@@doc(NamedValueContract.name, "Identifier of the NamedValue.");
|
||||
@@doc(NamedValueContract.properties, "NamedValue entity contract properties.");
|
||||
@@encodedName(NamedValueContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,28 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Notification details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
NotificationContractProperties
|
||||
)
|
||||
model NotificationContract extends Foundations.ProxyResource {
|
||||
/**
|
||||
* Notification Name Identifier.
|
||||
*/
|
||||
@path
|
||||
@key("notificationName")
|
||||
@segment("notifications")
|
||||
@visibility("read")
|
||||
name: NotificationName;
|
||||
|
||||
/**
|
||||
* Notification entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: NotificationContractProperties;
|
||||
model NotificationContract
|
||||
is Azure.ResourceManager.ProxyResource<NotificationContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = NotificationContract,
|
||||
KeyName = "notificationName",
|
||||
SegmentName = "notifications",
|
||||
NamePattern = "",
|
||||
Type = NotificationName
|
||||
>;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -150,3 +138,8 @@ interface NotificationContracts {
|
|||
...SubscriptionIdParameter,
|
||||
): ArmResponse<RecipientEmailListResult> | ErrorResponse;
|
||||
}
|
||||
|
||||
@@doc(NotificationContract.name, "Notification Name Identifier.");
|
||||
@@doc(NotificationContract.properties,
|
||||
"Notification entity contract properties."
|
||||
);
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* OpenId Connect Provider details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
OpenidConnectProviderContractProperties
|
||||
)
|
||||
model OpenidConnectProviderContract extends Foundations.ProxyResource {
|
||||
model OpenidConnectProviderContract
|
||||
is Azure.ResourceManager.ProxyResource<OpenidConnectProviderContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = OpenidConnectProviderContract,
|
||||
KeyName = "opid",
|
||||
SegmentName = "openidConnectProviders",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* OpenId Connect Provider contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: OpenidConnectProviderContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -197,6 +186,9 @@ interface OpenidConnectProviderContracts {
|
|||
@@doc(OpenidConnectProviderContract.name,
|
||||
"Identifier of the OpenID Connect Provider."
|
||||
);
|
||||
@@doc(OpenidConnectProviderContract.properties,
|
||||
"OpenId Connect Provider contract properties."
|
||||
);
|
||||
@@encodedName(OpenidConnectProviderContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* API Operation details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(OperationContractProperties)
|
||||
model OperationContract extends Foundations.ProxyResource {
|
||||
model OperationContract
|
||||
is Azure.ResourceManager.ProxyResource<OperationContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = OperationContract,
|
||||
KeyName = "operationId",
|
||||
SegmentName = "operations",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the Operation Contract.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: OperationContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -156,6 +147,7 @@ interface OperationContracts {
|
|||
@@doc(OperationContract.name,
|
||||
"Operation identifier within an API. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(OperationContract.properties, "Properties of the Operation Contract.");
|
||||
@@encodedName(OperationContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Policy Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(OperationContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(PolicyContractProperties)
|
||||
model PolicyContract extends Foundations.ProxyResource {
|
||||
/**
|
||||
* The identifier of the Policy.
|
||||
*/
|
||||
@path
|
||||
@key("policyId")
|
||||
@segment("policies")
|
||||
@visibility("read")
|
||||
name: PolicyIdName;
|
||||
|
||||
/**
|
||||
* Properties of the Policy.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PolicyContractProperties;
|
||||
model PolicyContract
|
||||
is Azure.ResourceManager.ProxyResource<PolicyContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PolicyContract,
|
||||
KeyName = "policyId",
|
||||
SegmentName = "policies",
|
||||
NamePattern = "",
|
||||
Type = PolicyIdName
|
||||
>;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -114,6 +104,8 @@ interface PolicyContracts {
|
|||
listByOperation is ArmResourceListByParent<PolicyContract>;
|
||||
}
|
||||
|
||||
@@doc(PolicyContract.name, "The identifier of the Policy.");
|
||||
@@doc(PolicyContract.properties, "Properties of the Policy.");
|
||||
@@encodedName(PolicyContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,27 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Delegation settings for a developer portal.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@singleton("delegation")
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PortalDelegationSettingsProperties
|
||||
)
|
||||
model PortalDelegationSettings extends Foundations.ProxyResource {
|
||||
model PortalDelegationSettings
|
||||
is Azure.ResourceManager.ProxyResource<PortalDelegationSettingsProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PortalDelegationSettings,
|
||||
KeyName = "portalsetting",
|
||||
SegmentName = "portalsettings",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Delegation settings contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PortalDelegationSettingsProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -117,6 +106,9 @@ interface PortalDelegationSettingsOperationGroup {
|
|||
}
|
||||
|
||||
@@doc(PortalDelegationSettings.name, "");
|
||||
@@doc(PortalDelegationSettings.properties,
|
||||
"Delegation settings contract properties."
|
||||
);
|
||||
@@encodedName(PortalDelegationSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Portal Revision's contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PortalRevisionContractProperties
|
||||
)
|
||||
model PortalRevisionContract extends Foundations.ProxyResource {
|
||||
model PortalRevisionContract
|
||||
is Azure.ResourceManager.ProxyResource<PortalRevisionContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PortalRevisionContract,
|
||||
KeyName = "portalRevisionId",
|
||||
SegmentName = "portalRevisions",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the portal revisions.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PortalRevisionContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -128,6 +117,7 @@ interface PortalRevisionContracts {
|
|||
@@doc(PortalRevisionContract.name,
|
||||
"Portal revision identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(PortalRevisionContract.properties, "Properties of the portal revisions.");
|
||||
@@encodedName(PortalRevisionContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,27 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Sign-In settings for the Developer Portal.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@singleton("signin")
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PortalSigninSettingProperties
|
||||
)
|
||||
model PortalSigninSettings extends Foundations.ProxyResource {
|
||||
model PortalSigninSettings
|
||||
is Azure.ResourceManager.ProxyResource<PortalSigninSettingProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PortalSigninSettings,
|
||||
KeyName = "portalsetting",
|
||||
SegmentName = "portalsettings",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Sign-in settings contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PortalSigninSettingProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -106,6 +95,7 @@ interface PortalSigninSettingsOperationGroup {
|
|||
}
|
||||
|
||||
@@doc(PortalSigninSettings.name, "");
|
||||
@@doc(PortalSigninSettings.properties, "Sign-in settings contract properties.");
|
||||
@@encodedName(PortalSigninSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,27 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Sign-Up settings for a developer portal.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@singleton("signup")
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PortalSignupSettingsProperties
|
||||
)
|
||||
model PortalSignupSettings extends Foundations.ProxyResource {
|
||||
model PortalSignupSettings
|
||||
is Azure.ResourceManager.ProxyResource<PortalSignupSettingsProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PortalSignupSettings,
|
||||
KeyName = "portalsetting",
|
||||
SegmentName = "portalsettings",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Sign-up settings contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PortalSignupSettingsProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -106,6 +95,7 @@ interface PortalSignupSettingsOperationGroup {
|
|||
}
|
||||
|
||||
@@doc(PortalSignupSettings.name, "");
|
||||
@@doc(PortalSignupSettings.properties, "Sign-up settings contract properties.");
|
||||
@@encodedName(PortalSignupSettingsOperationGroup.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* The Private Endpoint Connection resource.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PrivateEndpointConnectionProperties
|
||||
)
|
||||
model PrivateEndpointConnection extends Foundations.ProxyResource {
|
||||
model PrivateEndpointConnection
|
||||
is Azure.ResourceManager.ProxyResource<PrivateEndpointConnectionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PrivateEndpointConnection,
|
||||
KeyName = "privateEndpointConnectionName",
|
||||
SegmentName = "privateEndpointConnections",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PrivateEndpointConnectionProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -73,6 +62,7 @@ interface PrivateEndpointConnections {
|
|||
@@doc(PrivateEndpointConnection.name,
|
||||
"Name of the private endpoint connection."
|
||||
);
|
||||
@@doc(PrivateEndpointConnection.properties, "Resource properties.");
|
||||
@@encodedName(PrivateEndpointConnections.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"privateEndpointConnectionRequest"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* A private link resource
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
PrivateLinkResourceProperties
|
||||
)
|
||||
model PrivateLinkResource extends Foundations.ProxyResource {
|
||||
model PrivateLinkResource
|
||||
is Azure.ResourceManager.ProxyResource<PrivateLinkResourceProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = PrivateLinkResource,
|
||||
KeyName = "privateLinkSubResourceName",
|
||||
SegmentName = "privateLinkResources",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PrivateLinkResourceProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -54,3 +43,4 @@ interface PrivateLinkResources {
|
|||
}
|
||||
|
||||
@@doc(PrivateLinkResource.name, "Name of the private link resource.");
|
||||
@@doc(PrivateLinkResource.properties, "Resource properties.");
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Product details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(ProductContractProperties)
|
||||
model ProductContract extends Foundations.ProxyResource {
|
||||
model ProductContract
|
||||
is Azure.ResourceManager.ProxyResource<ProductContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = ProductContract,
|
||||
KeyName = "productId",
|
||||
SegmentName = "products",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Product entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ProductContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -321,6 +312,7 @@ interface ProductContracts {
|
|||
@@doc(ProductContract.name,
|
||||
"Product identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(ProductContract.properties, "Product entity contract properties.");
|
||||
@@encodedName(ProductContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* API Schema Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(SchemaContractProperties)
|
||||
model SchemaContract extends Foundations.ProxyResource {
|
||||
model SchemaContract
|
||||
is Azure.ResourceManager.ProxyResource<SchemaContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = SchemaContract,
|
||||
KeyName = "schemaId",
|
||||
SegmentName = "schemas",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Properties of the API Schema.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SchemaContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -136,6 +127,7 @@ interface SchemaContracts {
|
|||
@@doc(SchemaContract.name,
|
||||
"Schema id identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(SchemaContract.properties, "Properties of the API Schema.");
|
||||
@@encodedName(SchemaContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Subscription details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
SubscriptionContractProperties
|
||||
)
|
||||
model SubscriptionContract extends Foundations.ProxyResource {
|
||||
model SubscriptionContract
|
||||
is Azure.ResourceManager.ProxyResource<SubscriptionContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = SubscriptionContract,
|
||||
KeyName = "subscriptionId",
|
||||
SegmentName = "subscriptions",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Subscription contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SubscriptionContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -209,6 +198,7 @@ interface SubscriptionContracts {
|
|||
@@doc(SubscriptionContract.name,
|
||||
"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
|
||||
);
|
||||
@@doc(SubscriptionContract.properties, "Subscription contract properties.");
|
||||
@@encodedName(SubscriptionContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Tag Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(OperationContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(TagContractProperties)
|
||||
model TagContract extends Foundations.ProxyResource {
|
||||
model TagContract
|
||||
is Azure.ResourceManager.ProxyResource<TagContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = TagContract,
|
||||
KeyName = "tagId",
|
||||
SegmentName = "tags",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* Tag entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: TagContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -105,3 +96,4 @@ interface TagContracts {
|
|||
@@doc(TagContract.name,
|
||||
"Tag identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(TagContract.properties, "Tag entity contract properties.");
|
||||
|
|
|
@ -14,26 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Contract details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiContract)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
TagDescriptionContractProperties
|
||||
)
|
||||
model TagDescriptionContract extends Foundations.ProxyResource {
|
||||
model TagDescriptionContract
|
||||
is Azure.ResourceManager.ProxyResource<TagDescriptionContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = TagDescriptionContract,
|
||||
KeyName = "tagDescriptionId",
|
||||
SegmentName = "tagDescriptions",
|
||||
NamePattern = "^[^*#&+:<>?]+$"
|
||||
>;
|
||||
|
||||
/**
|
||||
* TagDescription entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: TagDescriptionContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -132,6 +121,9 @@ interface TagDescriptionContracts {
|
|||
@@doc(TagDescriptionContract.name,
|
||||
"Tag description identifier. Used when creating tagDescription for API/Tag association. Based on API and Tag names."
|
||||
);
|
||||
@@doc(TagDescriptionContract.properties,
|
||||
"TagDescription entity contract properties."
|
||||
);
|
||||
@@encodedName(TagDescriptionContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,28 +14,16 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* Tenant Settings.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
TenantSettingsContractProperties
|
||||
)
|
||||
model TenantSettingsContract extends Foundations.ProxyResource {
|
||||
/**
|
||||
* The identifier of the settings.
|
||||
*/
|
||||
@path
|
||||
@key("settingsType")
|
||||
@segment("settings")
|
||||
@visibility("read")
|
||||
name: SettingsTypeName;
|
||||
|
||||
/**
|
||||
* TenantSettings entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: TenantSettingsContractProperties;
|
||||
model TenantSettingsContract
|
||||
is Azure.ResourceManager.ProxyResource<TenantSettingsContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = TenantSettingsContract,
|
||||
KeyName = "settingsType",
|
||||
SegmentName = "settings",
|
||||
NamePattern = "",
|
||||
Type = SettingsTypeName
|
||||
>;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -65,3 +53,8 @@ interface TenantSettingsContracts {
|
|||
}
|
||||
>;
|
||||
}
|
||||
|
||||
@@doc(TenantSettingsContract.name, "The identifier of the settings.");
|
||||
@@doc(TenantSettingsContract.properties,
|
||||
"TenantSettings entity contract properties."
|
||||
);
|
||||
|
|
|
@ -14,24 +14,15 @@ namespace Azure.ResourceManager.ApiManagement;
|
|||
/**
|
||||
* User details.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(ApiManagementServiceResource)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(UserContractProperties)
|
||||
model UserContract extends Foundations.ProxyResource {
|
||||
model UserContract
|
||||
is Azure.ResourceManager.ProxyResource<UserContractProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = UserContract,
|
||||
KeyName = "userId",
|
||||
SegmentName = "users",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* User entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: UserContractProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -301,6 +292,7 @@ interface UserContracts {
|
|||
@@doc(UserContract.name,
|
||||
"User identifier. Must be unique in the current API Management service instance."
|
||||
);
|
||||
@@doc(UserContract.properties, "User entity contract properties.");
|
||||
@@encodedName(UserContracts.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -142,10 +142,127 @@ using Azure.ResourceManager.ApiManagement;
|
|||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(QuotaCounterValueContract.value);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(ApiContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(ApiReleaseContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(OperationContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PolicyContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(TagContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(ProductContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(SchemaContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(DiagnosticContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(IssueContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(IssueCommentContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(IssueAttachmentContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(TagDescriptionContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(ApiVersionSetContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(AuthorizationServerContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(BackendContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(CacheContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(CertificateContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(DeletedServiceContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(ApiManagementServiceResource.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(EmailTemplateContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(GatewayContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(GatewayHostnameConfigurationContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(GatewayCertificateAuthorityContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(GroupContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(UserContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(IdentityProviderContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(LoggerContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(NamedValueContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(NotificationContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(OpenidConnectProviderContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PortalRevisionContract.properties);
|
||||
|
||||
@@clientName(PortalSigninSettingsOperationGroup, "PortalSigninSettings");
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PortalSigninSettings.properties);
|
||||
|
||||
@@clientName(PortalSignupSettingsOperationGroup, "PortalSignupSettings");
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PortalSignupSettings.properties);
|
||||
|
||||
@@clientName(PortalDelegationSettingsOperationGroup,
|
||||
"PortalDelegationSettings"
|
||||
);
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PortalDelegationSettings.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PrivateEndpointConnection.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PrivateLinkResource.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(SubscriptionContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(GlobalSchemaContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(TenantSettingsContract.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(AccessInformationContract.properties);
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
import "@typespec/rest";
|
||||
import "@typespec/http";
|
||||
import "@typespec/openapi";
|
||||
import "@azure-tools/typespec-azure-core";
|
||||
import "@azure-tools/typespec-azure-resource-manager";
|
||||
|
||||
using TypeSpec.Rest;
|
||||
using TypeSpec.Http;
|
||||
using TypeSpec.OpenAPI;
|
||||
using Azure.Core;
|
||||
using Azure.ResourceManager;
|
||||
using Azure.ResourceManager.Foundations;
|
||||
|
@ -1391,6 +1393,7 @@ model ApiCreateOrUpdateParameter {
|
|||
/**
|
||||
* API entity create of update properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiCreateOrUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -1446,6 +1449,7 @@ model ApiUpdateContract {
|
|||
/**
|
||||
* Properties of the API entity that can be updated.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiContractUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -1803,6 +1807,7 @@ model OperationUpdateContract {
|
|||
/**
|
||||
* Properties of the API Operation entity that can be updated.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: OperationUpdateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -1919,6 +1924,7 @@ model SchemaContractProperties {
|
|||
/**
|
||||
* Create or update Properties of the API Schema Document.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
document?: SchemaDocumentProperties;
|
||||
}
|
||||
|
||||
|
@ -2133,6 +2139,7 @@ model IssueUpdateContract {
|
|||
/**
|
||||
* Issue entity Update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IssueUpdateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -2242,6 +2249,7 @@ model TagDescriptionCreateParameters {
|
|||
/**
|
||||
* Properties supplied to Create TagDescription operation.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: TagDescriptionBaseProperties;
|
||||
}
|
||||
|
||||
|
@ -2482,6 +2490,7 @@ model ApiVersionSetUpdateParameters {
|
|||
/**
|
||||
* Parameters to update or create an API Version Set Contract.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiVersionSetUpdateParametersProperties;
|
||||
}
|
||||
|
||||
|
@ -2620,6 +2629,7 @@ model AuthorizationServerUpdateContract extends Resource {
|
|||
/**
|
||||
* Properties of the External OAuth authorization server update Contract.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AuthorizationServerUpdateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -2900,6 +2910,7 @@ model BackendUpdateParameters {
|
|||
/**
|
||||
* Backend entity update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: BackendUpdateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -2927,6 +2938,7 @@ model BackendReconnectContract extends Resource {
|
|||
/**
|
||||
* Reconnect request properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: BackendReconnectProperties;
|
||||
}
|
||||
|
||||
|
@ -2977,6 +2989,7 @@ model CacheUpdateParameters {
|
|||
/**
|
||||
* Cache update properties details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CacheUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -3091,6 +3104,7 @@ model CertificateCreateOrUpdateParameters {
|
|||
/**
|
||||
* Certificate create or update properties details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CertificateCreateOrUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -3352,6 +3366,7 @@ model ContentTypeContract extends Resource {
|
|||
/**
|
||||
* Properties of the content type.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ContentTypeContractProperties;
|
||||
}
|
||||
|
||||
|
@ -3395,6 +3410,7 @@ model ContentItemContract extends Resource {
|
|||
* Properties of the content item.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility"
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: Record<unknown>;
|
||||
}
|
||||
|
||||
|
@ -3915,6 +3931,7 @@ model RemotePrivateEndpointConnectionWrapper {
|
|||
/**
|
||||
* Resource properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PrivateEndpointConnectionWrapperProperties;
|
||||
}
|
||||
|
||||
|
@ -4052,6 +4069,7 @@ model ApiManagementServiceUpdateParameters extends ApimResource {
|
|||
/**
|
||||
* Properties of the API Management service.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApiManagementServiceUpdateProperties;
|
||||
|
||||
/**
|
||||
|
@ -4232,6 +4250,7 @@ model EmailTemplateUpdateParameters {
|
|||
/**
|
||||
* Email Template Update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: EmailTemplateUpdateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -4420,6 +4439,7 @@ model AssociationContract extends Resource {
|
|||
/**
|
||||
* Association entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AssociationContractProperties;
|
||||
}
|
||||
|
||||
|
@ -4484,6 +4504,7 @@ model GroupCreateParameters {
|
|||
/**
|
||||
* Properties supplied to Create Group operation.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GroupCreateParametersProperties;
|
||||
}
|
||||
|
||||
|
@ -4521,6 +4542,7 @@ model GroupUpdateParameters {
|
|||
/**
|
||||
* Group entity update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: GroupUpdateParametersProperties;
|
||||
}
|
||||
|
||||
|
@ -4711,6 +4733,7 @@ model IdentityProviderCreateContract extends Resource {
|
|||
/**
|
||||
* Identity Provider contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IdentityProviderCreateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -4739,6 +4762,7 @@ model IdentityProviderUpdateParameters {
|
|||
/**
|
||||
* Identity Provider update properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: IdentityProviderUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -4809,6 +4833,7 @@ model LoggerUpdateContract {
|
|||
/**
|
||||
* Logger entity update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: LoggerUpdateParameters;
|
||||
}
|
||||
|
||||
|
@ -4885,6 +4910,7 @@ model NamedValueCreateContract extends Resource {
|
|||
/**
|
||||
* NamedValue entity contract properties for PUT operation.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: NamedValueCreateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -4920,6 +4946,7 @@ model NamedValueUpdateParameters {
|
|||
/**
|
||||
* NamedValue entity Update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: NamedValueUpdateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -5102,6 +5129,7 @@ model RecipientUserContract extends Resource {
|
|||
/**
|
||||
* Recipient User entity contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RecipientUsersContractProperties;
|
||||
}
|
||||
|
||||
|
@ -5142,6 +5170,7 @@ model RecipientEmailContract extends Resource {
|
|||
/**
|
||||
* Recipient Email contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RecipientEmailContractProperties;
|
||||
}
|
||||
|
||||
|
@ -5193,6 +5222,7 @@ model OpenidConnectProviderUpdateContract {
|
|||
/**
|
||||
* OpenId Connect Provider Update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: OpenidConnectProviderUpdateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -5315,6 +5345,7 @@ model PolicyDescriptionContract extends Resource {
|
|||
/**
|
||||
* Policy description contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PolicyDescriptionContractProperties;
|
||||
}
|
||||
|
||||
|
@ -5382,6 +5413,7 @@ model PortalSettingsContract extends Resource {
|
|||
/**
|
||||
* Portal Settings contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: PortalSettingsContractProperties;
|
||||
}
|
||||
|
||||
|
@ -5608,6 +5640,7 @@ model ProductUpdateParameters {
|
|||
/**
|
||||
* Product entity Update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ProductUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -5815,6 +5848,7 @@ model QuotaCounterValueUpdateContract {
|
|||
/**
|
||||
* Quota counter value details.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: QuotaCounterValueContractProperties;
|
||||
}
|
||||
|
||||
|
@ -6136,6 +6170,7 @@ model GlobalSchemaContractProperties {
|
|||
/**
|
||||
* Global Schema document object for json-based schema formats(e.g. json schema).
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
document?: Record<unknown>;
|
||||
}
|
||||
|
||||
|
@ -6400,6 +6435,7 @@ model SubscriptionCreateParameters {
|
|||
/**
|
||||
* Subscription contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SubscriptionCreateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6456,6 +6492,7 @@ model SubscriptionUpdateParameters {
|
|||
/**
|
||||
* Subscription Update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SubscriptionUpdateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6540,6 +6577,7 @@ model TagCreateUpdateParameters {
|
|||
/**
|
||||
* Properties supplied to Create Tag operation.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: TagContractProperties;
|
||||
}
|
||||
|
||||
|
@ -6570,6 +6608,7 @@ model AccessInformationCreateParameters {
|
|||
/**
|
||||
* Tenant access information update parameter properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AccessInformationCreateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6605,6 +6644,7 @@ model AccessInformationUpdateParameters {
|
|||
/**
|
||||
* Tenant access information update parameter properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AccessInformationUpdateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6655,6 +6695,7 @@ model DeployConfigurationParameters {
|
|||
/**
|
||||
* Deploy Configuration Parameter contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DeployConfigurationParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6680,6 +6721,7 @@ model OperationResultContract extends Resource {
|
|||
/**
|
||||
* Properties of the Operation Contract.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: OperationResultContractProperties;
|
||||
}
|
||||
|
||||
|
@ -6756,6 +6798,7 @@ model SaveConfigurationParameter {
|
|||
/**
|
||||
* Properties of the Save Configuration Parameters.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SaveConfigurationParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6781,6 +6824,7 @@ model TenantConfigurationSyncStateContract extends Resource {
|
|||
/**
|
||||
* Properties returned Tenant Configuration Sync State check.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: TenantConfigurationSyncStateContractProperties;
|
||||
}
|
||||
|
||||
|
@ -6840,6 +6884,7 @@ model UserCreateParameters {
|
|||
/**
|
||||
* User entity create contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: UserCreateParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -6891,6 +6936,7 @@ model UserUpdateParameters {
|
|||
/**
|
||||
* User entity update contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: UserUpdateParametersProperties;
|
||||
}
|
||||
|
||||
|
@ -6952,6 +6998,7 @@ model UserTokenParameters {
|
|||
/**
|
||||
* User Token Parameter contract properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: UserTokenParameterProperties;
|
||||
}
|
||||
|
||||
|
@ -7016,5 +7063,6 @@ model QuotaCounterValueContract {
|
|||
/**
|
||||
* Quota counter Value Properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
value?: QuotaCounterValueContractProperties;
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ options:
|
|||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json"
|
||||
examples-directory: "{project-root}/examples"
|
||||
arm-resource-flattening: true
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -13,23 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Deny Assignment
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(DenyAssignmentProperties)
|
||||
model DenyAssignment extends Foundations.ExtensionResource {
|
||||
model DenyAssignment
|
||||
is Azure.ResourceManager.ExtensionResource<DenyAssignmentProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = DenyAssignment,
|
||||
KeyName = "denyAssignmentId",
|
||||
SegmentName = "denyAssignments",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Deny assignment properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: DenyAssignmentProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -85,3 +76,4 @@ interface DenyAssignments {
|
|||
}
|
||||
|
||||
@@doc(DenyAssignment.name, "The ID of the deny assignment to get.");
|
||||
@@doc(DenyAssignment.properties, "Deny assignment properties.");
|
||||
|
|
|
@ -13,23 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role Assignments
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(RoleAssignmentProperties)
|
||||
model RoleAssignment extends Foundations.ExtensionResource {
|
||||
model RoleAssignment
|
||||
is Azure.ResourceManager.ExtensionResource<RoleAssignmentProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleAssignment,
|
||||
KeyName = "roleAssignmentName",
|
||||
SegmentName = "roleAssignments",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role assignment properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleAssignmentProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -106,6 +97,7 @@ interface RoleAssignments {
|
|||
@@doc(RoleAssignment.name,
|
||||
"The name of the role assignment. It can be any valid GUID."
|
||||
);
|
||||
@@doc(RoleAssignment.properties, "Role assignment properties.");
|
||||
@@encodedName(RoleAssignments.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role Assignment schedule
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleAssignmentScheduleProperties
|
||||
)
|
||||
model RoleAssignmentSchedule extends Foundations.ExtensionResource {
|
||||
model RoleAssignmentSchedule
|
||||
is Azure.ResourceManager.ExtensionResource<RoleAssignmentScheduleProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleAssignmentSchedule,
|
||||
KeyName = "roleAssignmentScheduleName",
|
||||
SegmentName = "roleAssignmentSchedules",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role assignment schedule properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleAssignmentScheduleProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -63,3 +52,6 @@ interface RoleAssignmentSchedules {
|
|||
@@doc(RoleAssignmentSchedule.name,
|
||||
"The name (guid) of the role assignment schedule to get."
|
||||
);
|
||||
@@doc(RoleAssignmentSchedule.properties,
|
||||
"Role assignment schedule properties."
|
||||
);
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Information about current or upcoming role assignment schedule instance
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleAssignmentScheduleInstanceProperties
|
||||
)
|
||||
model RoleAssignmentScheduleInstance extends Foundations.ExtensionResource {
|
||||
model RoleAssignmentScheduleInstance
|
||||
is Azure.ResourceManager.ExtensionResource<RoleAssignmentScheduleInstanceProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleAssignmentScheduleInstance,
|
||||
KeyName = "roleAssignmentScheduleInstanceName",
|
||||
SegmentName = "roleAssignmentScheduleInstances",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role assignment schedule instance properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleAssignmentScheduleInstanceProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -63,3 +52,6 @@ interface RoleAssignmentScheduleInstances {
|
|||
@@doc(RoleAssignmentScheduleInstance.name,
|
||||
"The name (hash of schedule name + time) of the role assignment schedule to get."
|
||||
);
|
||||
@@doc(RoleAssignmentScheduleInstance.properties,
|
||||
"Role assignment schedule instance properties."
|
||||
);
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role Assignment schedule request
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleAssignmentScheduleRequestProperties
|
||||
)
|
||||
model RoleAssignmentScheduleRequest extends Foundations.ExtensionResource {
|
||||
model RoleAssignmentScheduleRequest
|
||||
is Azure.ResourceManager.ExtensionResource<RoleAssignmentScheduleRequestProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleAssignmentScheduleRequest,
|
||||
KeyName = "roleAssignmentScheduleRequestName",
|
||||
SegmentName = "roleAssignmentScheduleRequests",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role assignment schedule request properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleAssignmentScheduleRequestProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -82,6 +71,9 @@ interface RoleAssignmentScheduleRequests {
|
|||
@@doc(RoleAssignmentScheduleRequest.name,
|
||||
"The name (guid) of the role assignment schedule request to get."
|
||||
);
|
||||
@@doc(RoleAssignmentScheduleRequest.properties,
|
||||
"Role assignment schedule request properties."
|
||||
);
|
||||
@@encodedName(RoleAssignmentScheduleRequests.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,23 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role definition.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(RoleDefinitionProperties)
|
||||
model RoleDefinition extends Foundations.ExtensionResource {
|
||||
model RoleDefinition
|
||||
is Azure.ResourceManager.ExtensionResource<RoleDefinitionProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleDefinition,
|
||||
KeyName = "roleDefinitionId",
|
||||
SegmentName = "roleDefinitions",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role definition properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleDefinitionProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -70,6 +61,7 @@ interface RoleDefinitions {
|
|||
}
|
||||
|
||||
@@doc(RoleDefinition.name, "The ID of the role definition.");
|
||||
@@doc(RoleDefinition.properties, "Role definition properties.");
|
||||
@@encodedName(RoleDefinitions.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"roleDefinition"
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role eligibility schedule
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleEligibilityScheduleProperties
|
||||
)
|
||||
model RoleEligibilitySchedule extends Foundations.ExtensionResource {
|
||||
model RoleEligibilitySchedule
|
||||
is Azure.ResourceManager.ExtensionResource<RoleEligibilityScheduleProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleEligibilitySchedule,
|
||||
KeyName = "roleEligibilityScheduleName",
|
||||
SegmentName = "roleEligibilitySchedules",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* role eligibility schedule properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleEligibilityScheduleProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -63,3 +52,6 @@ interface RoleEligibilitySchedules {
|
|||
@@doc(RoleEligibilitySchedule.name,
|
||||
"The name (guid) of the role eligibility schedule to get."
|
||||
);
|
||||
@@doc(RoleEligibilitySchedule.properties,
|
||||
"role eligibility schedule properties."
|
||||
);
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Information about current or upcoming role eligibility schedule instance
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleEligibilityScheduleInstanceProperties
|
||||
)
|
||||
model RoleEligibilityScheduleInstance extends Foundations.ExtensionResource {
|
||||
model RoleEligibilityScheduleInstance
|
||||
is Azure.ResourceManager.ExtensionResource<RoleEligibilityScheduleInstanceProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleEligibilityScheduleInstance,
|
||||
KeyName = "roleEligibilityScheduleInstanceName",
|
||||
SegmentName = "roleEligibilityScheduleInstances",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role eligibility schedule instance properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleEligibilityScheduleInstanceProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -63,3 +52,6 @@ interface RoleEligibilityScheduleInstances {
|
|||
@@doc(RoleEligibilityScheduleInstance.name,
|
||||
"The name (hash of schedule name + time) of the role eligibility schedule to get."
|
||||
);
|
||||
@@doc(RoleEligibilityScheduleInstance.properties,
|
||||
"Role eligibility schedule instance properties."
|
||||
);
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role Eligibility schedule request
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleEligibilityScheduleRequestProperties
|
||||
)
|
||||
model RoleEligibilityScheduleRequest extends Foundations.ExtensionResource {
|
||||
model RoleEligibilityScheduleRequest
|
||||
is Azure.ResourceManager.ExtensionResource<RoleEligibilityScheduleRequestProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleEligibilityScheduleRequest,
|
||||
KeyName = "roleEligibilityScheduleRequestName",
|
||||
SegmentName = "roleEligibilityScheduleRequests",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role eligibility schedule request properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleEligibilityScheduleRequestProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -82,6 +71,9 @@ interface RoleEligibilityScheduleRequests {
|
|||
@@doc(RoleEligibilityScheduleRequest.name,
|
||||
"The name (guid) of the role eligibility schedule request to get."
|
||||
);
|
||||
@@doc(RoleEligibilityScheduleRequest.properties,
|
||||
"Role eligibility schedule request properties."
|
||||
);
|
||||
@@encodedName(RoleEligibilityScheduleRequests.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role management policy
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleManagementPolicyProperties
|
||||
)
|
||||
model RoleManagementPolicy extends Foundations.ExtensionResource {
|
||||
model RoleManagementPolicy
|
||||
is Azure.ResourceManager.ExtensionResource<RoleManagementPolicyProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleManagementPolicy,
|
||||
KeyName = "roleManagementPolicyName",
|
||||
SegmentName = "roleManagementPolicies",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role management policy properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleManagementPolicyProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -58,6 +47,7 @@ interface RoleManagementPolicies {
|
|||
@@doc(RoleManagementPolicy.name,
|
||||
"The name (guid) of the role management policy to get."
|
||||
);
|
||||
@@doc(RoleManagementPolicy.properties, "Role management policy properties.");
|
||||
@@encodedName(RoleManagementPolicies.update::parameters.properties,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,25 +13,14 @@ namespace Azure.ResourceManager.Authorization;
|
|||
/**
|
||||
* Role management policy
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
@Azure.ResourceManager.Private.armResourceInternal(
|
||||
RoleManagementPolicyAssignmentProperties
|
||||
)
|
||||
model RoleManagementPolicyAssignment extends Foundations.ExtensionResource {
|
||||
model RoleManagementPolicyAssignment
|
||||
is Azure.ResourceManager.ExtensionResource<RoleManagementPolicyAssignmentProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = RoleManagementPolicyAssignment,
|
||||
KeyName = "roleManagementPolicyAssignmentName",
|
||||
SegmentName = "roleManagementPolicyAssignments",
|
||||
NamePattern = ""
|
||||
>;
|
||||
|
||||
/**
|
||||
* Role management policy properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: RoleManagementPolicyAssignmentProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -57,6 +46,9 @@ interface RoleManagementPolicyAssignments {
|
|||
@@doc(RoleManagementPolicyAssignment.name,
|
||||
"The name of format {guid_guid} the role management policy assignment to get."
|
||||
);
|
||||
@@doc(RoleManagementPolicyAssignment.properties,
|
||||
"Role management policy properties."
|
||||
);
|
||||
@@encodedName(RoleManagementPolicyAssignments.create::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -44,6 +44,39 @@ using Azure.ResourceManager.Authorization;
|
|||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(PolicyAssignmentProperties.policy);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(DenyAssignment.properties);
|
||||
|
||||
@@clientName(ProviderOperationsMetadataOperationGroup,
|
||||
"ProviderOperationsMetadata"
|
||||
);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleAssignment.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleDefinition.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleAssignmentSchedule.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleAssignmentScheduleInstance.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleAssignmentScheduleRequest.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleEligibilitySchedule.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleEligibilityScheduleInstance.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleEligibilityScheduleRequest.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleManagementPolicy.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(RoleManagementPolicyAssignment.properties);
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
import "@typespec/rest";
|
||||
import "@typespec/http";
|
||||
import "@azure-tools/typespec-azure-core";
|
||||
import "@typespec/openapi";
|
||||
import "@azure-tools/typespec-azure-resource-manager";
|
||||
|
||||
using TypeSpec.Rest;
|
||||
using TypeSpec.Http;
|
||||
using TypeSpec.OpenAPI;
|
||||
using Azure.ResourceManager;
|
||||
using Azure.ResourceManager.Foundations;
|
||||
|
||||
|
@ -223,6 +225,7 @@ model ClassicAdministrator {
|
|||
/**
|
||||
* Properties for the classic administrator.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ClassicAdministratorProperties;
|
||||
}
|
||||
|
||||
|
@ -396,6 +399,7 @@ model ProviderOperation {
|
|||
/**
|
||||
* The operation properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: Record<unknown>;
|
||||
|
||||
/**
|
||||
|
@ -481,6 +485,7 @@ model RoleAssignmentCreateParameters {
|
|||
/**
|
||||
* Role assignment properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties: RoleAssignmentProperties;
|
||||
}
|
||||
|
||||
|
@ -692,16 +697,19 @@ model ExpandedProperties {
|
|||
/**
|
||||
* Details of the resource scope
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
scope?: ExpandedPropertiesScope;
|
||||
|
||||
/**
|
||||
* Details of role definition
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
roleDefinition?: ExpandedPropertiesRoleDefinition;
|
||||
|
||||
/**
|
||||
* Details of the principal
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
principal?: ExpandedPropertiesPrincipal;
|
||||
}
|
||||
|
||||
|
@ -926,6 +934,7 @@ model RoleAssignmentScheduleRequestProperties {
|
|||
/**
|
||||
* Schedule info of the role assignment schedule
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
scheduleInfo?: RoleAssignmentScheduleRequestPropertiesScheduleInfo;
|
||||
|
||||
/**
|
||||
|
@ -984,6 +993,7 @@ model RoleAssignmentScheduleRequestPropertiesScheduleInfo {
|
|||
/**
|
||||
* Expiration of the role assignment schedule
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
expiration?: RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration;
|
||||
}
|
||||
|
||||
|
@ -1218,6 +1228,7 @@ model RoleEligibilityScheduleRequestProperties {
|
|||
/**
|
||||
* Schedule info of the role eligibility schedule
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
scheduleInfo?: RoleEligibilityScheduleRequestPropertiesScheduleInfo;
|
||||
|
||||
/**
|
||||
|
@ -1281,6 +1292,7 @@ model RoleEligibilityScheduleRequestPropertiesScheduleInfo {
|
|||
/**
|
||||
* Expiration of the role eligibility schedule
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
expiration?: RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration;
|
||||
}
|
||||
|
||||
|
@ -1435,6 +1447,7 @@ model PolicyProperties {
|
|||
* Details of the resource scope
|
||||
*/
|
||||
@visibility("read")
|
||||
@extension("x-ms-client-flatten", true)
|
||||
scope?: PolicyPropertiesScope;
|
||||
}
|
||||
|
||||
|
@ -1500,16 +1513,19 @@ model PolicyAssignmentProperties {
|
|||
/**
|
||||
* Details of the resource scope
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
scope?: PolicyAssignmentPropertiesScope;
|
||||
|
||||
/**
|
||||
* Details of role definition
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
roleDefinition?: PolicyAssignmentPropertiesRoleDefinition;
|
||||
|
||||
/**
|
||||
* Details of the policy
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
policy?: PolicyAssignmentPropertiesPolicy;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ options:
|
|||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json"
|
||||
examples-directory: "{project-root}/examples"
|
||||
arm-resource-flattening: true
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -159,3 +159,6 @@ interface Applications {
|
|||
}
|
||||
|
||||
@@doc(Application.name, "The name of the Application");
|
||||
@@doc(Application.properties,
|
||||
"The resource-specific properties for this resource."
|
||||
);
|
||||
|
|
|
@ -114,3 +114,6 @@ interface BusinessProcesses {
|
|||
}
|
||||
|
||||
@@doc(BusinessProcess.name, "The name of the business process");
|
||||
@@doc(BusinessProcess.properties,
|
||||
"The resource-specific properties for this resource."
|
||||
);
|
||||
|
|
|
@ -97,3 +97,6 @@ interface BusinessProcessVersions {
|
|||
}
|
||||
|
||||
@@doc(BusinessProcessVersion.name, "The version of the business process");
|
||||
@@doc(BusinessProcessVersion.properties,
|
||||
"The resource-specific properties for this resource."
|
||||
);
|
||||
|
|
|
@ -119,3 +119,6 @@ interface InfrastructureResources {
|
|||
@@doc(InfrastructureResource.name,
|
||||
"The name of the infrastructure resource in the space."
|
||||
);
|
||||
@@doc(InfrastructureResource.properties,
|
||||
"The resource-specific properties for this resource."
|
||||
);
|
||||
|
|
|
@ -116,3 +116,4 @@ interface Spaces {
|
|||
}
|
||||
|
||||
@@doc(Space.name, "The name of the space");
|
||||
@@doc(Space.properties, "The resource-specific properties for this resource.");
|
||||
|
|
|
@ -21,3 +21,18 @@ using Microsoft.IntegrationSpaces;
|
|||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(InfrastructureResourceUpdate.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(Space.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(Application.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(BusinessProcess.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(BusinessProcessVersion.properties);
|
||||
|
||||
#suppress "deprecated" "@flattenProperty decorator is not recommended to use."
|
||||
@@flattenProperty(InfrastructureResource.properties);
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
import "@typespec/rest";
|
||||
import "@typespec/http";
|
||||
import "@typespec/openapi";
|
||||
import "@azure-tools/typespec-azure-core";
|
||||
import "@azure-tools/typespec-azure-resource-manager";
|
||||
|
||||
using TypeSpec.Rest;
|
||||
using TypeSpec.Http;
|
||||
using TypeSpec.OpenAPI;
|
||||
using Azure.ResourceManager;
|
||||
using Azure.ResourceManager.Foundations;
|
||||
|
||||
|
@ -97,6 +99,7 @@ model SpaceUpdate {
|
|||
/**
|
||||
* The updatable properties of the Space.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: SpaceUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -170,6 +173,7 @@ model ApplicationUpdate {
|
|||
/**
|
||||
* The updatable properties of the Application.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApplicationUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -306,6 +310,7 @@ model BusinessProcessUpdate {
|
|||
/**
|
||||
* The updatable properties of the BusinessProcess.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: BusinessProcessUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -542,6 +547,7 @@ model ApplicationResource extends ProxyResource {
|
|||
* The resource-specific properties for this resource.
|
||||
*/
|
||||
@visibility("read", "create")
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApplicationResourceProperties;
|
||||
}
|
||||
|
||||
|
@ -578,6 +584,7 @@ model ApplicationResourceUpdate {
|
|||
/**
|
||||
* The updatable properties of the ApplicationResource.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: ApplicationResourceUpdateProperties;
|
||||
}
|
||||
|
||||
|
@ -644,6 +651,7 @@ model InfrastructureResourceUpdate {
|
|||
/**
|
||||
* The updatable properties of the InfrastructureResource.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: InfrastructureResourceUpdateProperties;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ options:
|
|||
azure-resource-provider-folder: "resource-manager"
|
||||
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json"
|
||||
examples-directory: "{project-root}/examples"
|
||||
arm-resource-flattening: true
|
||||
linter:
|
||||
extends:
|
||||
- "@azure-tools/typespec-azure-resource-manager/all"
|
||||
|
|
|
@ -13,10 +13,8 @@ namespace Microsoft.Compute;
|
|||
/**
|
||||
* Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates). Currently, a VM can only be added to an availability set at creation time. An existing VM cannot be added to an availability set.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
model AvailabilitySet extends Resource {
|
||||
model AvailabilitySet
|
||||
is Azure.ResourceManager.TrackedResource<AvailabilitySetProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = AvailabilitySet,
|
||||
KeyName = "availabilitySetName",
|
||||
|
@ -28,12 +26,6 @@ model AvailabilitySet extends Resource {
|
|||
* Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.
|
||||
*/
|
||||
sku?: Sku;
|
||||
|
||||
/**
|
||||
* The instance view of a resource.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: AvailabilitySetProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -93,6 +85,7 @@ interface AvailabilitySets {
|
|||
}
|
||||
|
||||
@@doc(AvailabilitySet.name, "The name of the availability set.");
|
||||
@@doc(AvailabilitySet.properties, "The instance view of a resource.");
|
||||
@@encodedName(AvailabilitySets.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,11 +14,9 @@ namespace Microsoft.Compute;
|
|||
/**
|
||||
* Specifies information about the capacity reservation.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(CapacityReservationGroup)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
model CapacityReservation extends Resource {
|
||||
model CapacityReservation
|
||||
is Azure.ResourceManager.TrackedResource<CapacityReservationProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = CapacityReservation,
|
||||
KeyName = "capacityReservationName",
|
||||
|
@ -35,12 +33,6 @@ model CapacityReservation extends Resource {
|
|||
* Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.
|
||||
*/
|
||||
zones?: string[];
|
||||
|
||||
/**
|
||||
* Properties of the Capacity reservation.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CapacityReservationProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -89,6 +81,9 @@ interface CapacityReservations {
|
|||
}
|
||||
|
||||
@@doc(CapacityReservation.name, "The name of the capacity reservation.");
|
||||
@@doc(CapacityReservation.properties,
|
||||
"Properties of the Capacity reservation."
|
||||
);
|
||||
@@encodedName(CapacityReservations.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,10 +13,8 @@ namespace Microsoft.Compute;
|
|||
/**
|
||||
* Specifies information about the capacity reservation group that the capacity reservations should be assigned to. Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
model CapacityReservationGroup extends Resource {
|
||||
model CapacityReservationGroup
|
||||
is Azure.ResourceManager.TrackedResource<CapacityReservationGroupProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = CapacityReservationGroup,
|
||||
KeyName = "capacityReservationGroupName",
|
||||
|
@ -28,12 +26,6 @@ model CapacityReservationGroup extends Resource {
|
|||
* Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.
|
||||
*/
|
||||
zones?: string[];
|
||||
|
||||
/**
|
||||
* capacity reservation group Properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CapacityReservationGroupProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -101,6 +93,9 @@ interface CapacityReservationGroups {
|
|||
@@doc(CapacityReservationGroup.name,
|
||||
"The name of the capacity reservation group."
|
||||
);
|
||||
@@doc(CapacityReservationGroup.properties,
|
||||
"capacity reservation group Properties."
|
||||
);
|
||||
@@encodedName(CapacityReservationGroups.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -13,10 +13,8 @@ namespace Microsoft.Compute;
|
|||
/**
|
||||
* Describes the cloud service.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
model CloudService {
|
||||
model CloudService
|
||||
is Azure.ResourceManager.TrackedResource<CloudServiceProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = CloudService,
|
||||
KeyName = "cloudServiceName",
|
||||
|
@ -57,12 +55,6 @@ model CloudService {
|
|||
* List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
|
||||
*/
|
||||
zones?: string[];
|
||||
|
||||
/**
|
||||
* Cloud service properties
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CloudServiceProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -202,6 +194,7 @@ interface CloudServices {
|
|||
}
|
||||
|
||||
@@doc(CloudService.name, "Name of the cloud service.");
|
||||
@@doc(CloudService.properties, "Cloud service properties");
|
||||
@@encodedName(CloudServices.createOrUpdate::parameters.resource,
|
||||
"application/json",
|
||||
"parameters"
|
||||
|
|
|
@ -14,11 +14,9 @@ namespace Microsoft.Compute;
|
|||
/**
|
||||
* Describes a role of the cloud service.
|
||||
*/
|
||||
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
|
||||
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility"
|
||||
@parentResource(CloudService)
|
||||
@includeInapplicableMetadataInPayload(false)
|
||||
model CloudServiceRole {
|
||||
model CloudServiceRole
|
||||
is Azure.ResourceManager.ProxyResource<CloudServiceRoleProperties> {
|
||||
...ResourceNameParameter<
|
||||
Resource = CloudServiceRole,
|
||||
KeyName = "roleName",
|
||||
|
@ -48,12 +46,6 @@ model CloudServiceRole {
|
|||
* Describes the cloud service role sku.
|
||||
*/
|
||||
sku?: CloudServiceRoleSku;
|
||||
|
||||
/**
|
||||
* The cloud service role properties.
|
||||
*/
|
||||
@extension("x-ms-client-flatten", true)
|
||||
properties?: CloudServiceRoleProperties;
|
||||
}
|
||||
|
||||
@armResourceOperations
|
||||
|
@ -72,3 +64,4 @@ interface CloudServiceRoles {
|
|||
}
|
||||
|
||||
@@doc(CloudServiceRole.name, "Name of the role.");
|
||||
@@doc(CloudServiceRole.properties, "The cloud service role properties.");
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче