-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathtspconfig.yaml
More file actions
98 lines (98 loc) · 3.32 KB
/
Copy pathtspconfig.yaml
File metadata and controls
98 lines (98 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
emit:
- "@azure-tools/typespec-autorest"
parameters:
"service-dir":
default: "sdk/dependencymap"
options:
"@azure-tools/typespec-autorest":
use-read-only-status-schema: true
emitter-output-dir: "{project-root}"
azure-resource-provider-folder: "resource-manager"
output-file: "{version-status}/{version}/dependencyMap.json"
arm-types-dir: "{project-root}/../../../../common-types/resource-management"
version-enum-strategy: true
emit-lro-options: "all"
"@azure-typespec/http-client-csharp-mgmt":
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
namespace: "Azure.ResourceManager.DependencyMap"
"@azure-tools/typespec-python":
emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-dependencymap"
namespace: "azure.mgmt.dependencymap"
generate-test: true
generate-sample: true
flavor: "azure"
"@azure-tools/typespec-java":
emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-dependencymap"
namespace: "com.azure.resourcemanager.dependencymap"
service-name: "Dependency Map"
flavor: azure
"@azure-tools/typespec-ts":
emitter-output-dir: "{output-dir}/{service-dir}/arm-dependencymap"
flavor: azure
experimental-extensible-enums: true
package-details:
name: "@azure/arm-dependencymap"
"@azure-tools/typespec-go":
service-dir: "sdk/resourcemanager/dependencymap"
emitter-output-dir: "{output-dir}/{service-dir}/armdependencymap"
module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdependencymap"
examples-directory: "{project-root}/examples"
fix-const-stuttering: true
flavor: "azure"
generate-samples: true
generate-fakes: true
head-as-boolean: true
inject-spans: true
remove-unreferenced-types: true
"@azure-tools/typespec-powershell":
service-dir: "src"
emitter-output-dir: "{output-dir}/{service-dir}/DependencyMap/DependencyMap.Autorest"
clear-output-folder: true
debug: true
azure: true
module-version: 0.1.0
prefix: "Az"
subject-prefix: "DependencyMap"
service-name: DependencyMap
module-name: "{prefix}.{service-name}"
output-folder: "{output-dir}"
exclude-tableview-properties:
- Id
- Type
directive:
- where:
subject: Operation
hide: true
- where:
parameter-name: SubscriptionId
set:
default:
script: "(Get-AzContext).Subscription.Id"
- where:
variant: ^(Create|Update|Export)(?!.*?Expanded|ViaJsonString|ViaJsonFilePath)
remove: true
- where:
subject: MapConnection
variant: ^(Get)(?!.*?Expanded|ViaJsonString|ViaJsonFilePath)
remove: true
- where:
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
- where:
verb: Set
remove: true
# Remove four post operations since there are issues in tsp and response schema are not defined.
- where:
subject: MapConnection|MapDependencyView
verb: Get
remove: true
- where:
verb: Export
remove: true
- no-inline:
- DiscoverySourceResourceProperties
- model-cmdlet:
- model-name: OffAzureDiscoverySourceResourceProperties
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"