|
1 | 1 | ## Java
|
2 | 2 |
|
3 | 3 | These settings apply only when `--java` is specified on the command line.
|
4 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`. |
5 | 4 |
|
6 | 5 | ``` yaml $(java)
|
7 |
| -azure-arm: true |
8 |
| -fluent: true |
9 |
| -namespace: com.microsoft.azure.management.compute |
10 |
| -license-header: MICROSOFT_MIT_NO_CODEGEN |
11 |
| -payload-flattening-threshold: 1 |
12 |
| -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-compute |
13 |
| -``` |
14 |
| -
|
15 |
| -### Java multi-api |
16 |
| -
|
17 |
| -```yaml $(java) && $(multiapi) |
18 |
| -batch: |
19 |
| - - tag: package-2020-10-01-preview |
20 |
| - - tag: package-2020-06-01 |
21 |
| - - tag: package-2019-07 |
22 |
| - - tag: package-disks-2018-04 |
23 |
| - - tag: package-compute-only-2017-12 |
24 |
| - - tag: package-skus-2017-09 |
25 |
| - - tag: package-compute-2017-03 |
26 |
| -``` |
27 |
| -
|
28 |
| -### Tag: package-2020-10-01-preview and java |
29 |
| -
|
30 |
| -These settings apply only when `--tag=package-2020-10-01-preview --java` is specified on the command line. |
31 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
32 |
| - |
33 |
| -``` yaml $(tag) == 'package-2020-10-01-preview' && $(java) && $(multiapi) |
34 |
| -java: |
35 |
| - namespace: com.microsoft.azure.management.compute.v2020_10_01_preview |
36 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2020_10_01_preview |
37 |
| -regenerate-manager: true |
38 |
| -generate-interface: true |
39 |
| -``` |
40 |
| - |
41 |
| -### Tag: package-2020-06-01 and java |
42 |
| - |
43 |
| -These settings apply only when `--tag=package-2020-06-01 --java` is specified on the command line. |
44 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
45 |
| - |
46 |
| -``` yaml $(tag) == 'package-2020-06-01' && $(java) && $(multiapi) |
47 |
| -java: |
48 |
| - namespace: com.microsoft.azure.management.compute.v2020_06_01 |
49 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2020_06_01 |
50 |
| -regenerate-manager: true |
51 |
| -generate-interface: true |
52 |
| -``` |
53 |
| - |
54 |
| -### Tag: package-2019-07 and java |
55 |
| - |
56 |
| -These settings apply only when `--tag=package-2019-07 --java` is specified on the command line. |
57 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
58 |
| - |
59 |
| -``` yaml $(tag) == 'package-2019-07' && $(java) && $(multiapi) |
60 |
| -java: |
61 |
| - namespace: com.microsoft.azure.management.compute.v2019_07_01 |
62 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2019_07_01 |
63 |
| -regenerate-manager: true |
64 |
| -generate-interface: true |
65 |
| -``` |
66 |
| - |
67 |
| -### Tag: package-disks-2018-04 and java |
68 |
| - |
69 |
| -These settings apply only when `--tag=package-disks-2018-04 --java` is specified on the command line. |
70 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
71 |
| - |
72 |
| -``` yaml $(tag) == 'package-disks-2018-04' && $(java) && $(multiapi) |
73 |
| -java: |
74 |
| - namespace: com.microsoft.azure.management.compute.v2018_04_01 |
75 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2018_04_01 |
76 |
| -regenerate-manager: true |
77 |
| -generate-interface: true |
78 |
| -``` |
79 |
| - |
80 |
| -### Tag: package-compute-only-2017-12 and java |
81 |
| - |
82 |
| -These settings apply only when `--tag=package-compute-only-2017-12 --java` is specified on the command line. |
83 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
84 |
| - |
85 |
| -``` yaml $(tag) == 'package-compute-only-2017-12' && $(java) && $(multiapi) |
86 |
| -java: |
87 |
| - namespace: com.microsoft.azure.management.compute.v2017_12_01 |
88 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2017_12_01 |
89 |
| -regenerate-manager: true |
90 |
| -generate-interface: true |
91 |
| -``` |
92 |
| - |
93 |
| -### Tag: package-skus-2017-09 and java |
94 |
| - |
95 |
| -These settings apply only when `--tag=package-skus-2017-09 --java` is specified on the command line. |
96 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
97 |
| - |
98 |
| -``` yaml $(tag) == 'package-skus-2017-09' && $(java) && $(multiapi) |
99 |
| -java: |
100 |
| - namespace: com.microsoft.azure.management.compute.v2017_09_01 |
101 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2017_09_01 |
102 |
| -regenerate-manager: true |
103 |
| -generate-interface: true |
104 |
| -``` |
105 |
| - |
106 |
| -### Tag: package-compute-2017-03 and java |
107 |
| - |
108 |
| -These settings apply only when `--tag=package-compute-2017-03 --java` is specified on the command line. |
109 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
110 |
| - |
111 |
| -``` yaml $(tag) == 'package-compute-2017-03' && $(java) && $(multiapi) |
112 |
| -java: |
113 |
| - namespace: com.microsoft.azure.management.compute.v2017_03_30 |
114 |
| - output-folder: $(azure-libraries-for-java-folder)/sdk/compute/mgmt-v2017_03_30 |
115 |
| -regenerate-manager: true |
116 |
| -generate-interface: true |
117 |
| -``` |
118 |
| - |
119 |
| -### Tag: profile-hybrid-2019-03-01 |
120 |
| - |
121 |
| -These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. |
122 |
| -Creating this tag to pick proper resources from the hybrid profile. |
123 |
| - |
124 |
| -``` yaml $(tag) == 'profile-hybrid-2019-03-01' |
125 |
| -input-file: |
126 |
| -- Microsoft.Compute/ComputeRP/stable/2017-12-01/compute.json |
127 |
| -- Microsoft.Compute/DiskRP/stable/2017-03-30/disk.json |
128 |
| -``` |
129 |
| - |
130 |
| -### Tag: profile-hybrid-2020-09-01 and java |
131 |
| - |
132 |
| -These settings apply only when `--tag=profile-hybrid-2020-09-01 --java` is specified on the command line. |
133 |
| -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
134 |
| - |
135 |
| -``` yaml $(tag) == 'profile-hybrid-2020-09-01' && $(java) |
136 |
| -input-file: |
137 |
| - - Microsoft.Compute/ComputeRP/stable/2020-06-01/compute.json |
138 |
| - - Microsoft.Compute/ComputeRP/stable/2020-06-01/runCommands.json |
139 |
| - - Microsoft.Compute/Skus/stable/2019-04-01/skus.json |
140 |
| - - Microsoft.Compute/DiskRP/stable/2019-07-01/disk.json |
141 |
| - - Microsoft.Compute/GalleryRP/stable/2019-12-01/gallery.json |
142 |
| -``` |
| 6 | +directive: |
| 7 | + - from: virtualMachineScaleSet.json |
| 8 | + where: $.definitions.VirtualMachineScaleSetVMProperties.properties |
| 9 | + transform: > |
| 10 | + $['timeCreated'] = { |
| 11 | + "readOnly": true, |
| 12 | + "type": "string", |
| 13 | + "format": "date-time", |
| 14 | + "description": "Specifies the time at which the Virtual Machine resource was created." |
| 15 | + } |
| 16 | +``` |
0 commit comments