Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 639 Bytes

File metadata and controls

20 lines (18 loc) · 639 Bytes

Java

These settings apply only when --java is specified on the command line.

directive:
  - from: virtualMachineScaleSet.json
    where: $.definitions.VirtualMachineScaleSetVMProperties.properties
    transform: >
      $['timeCreated'] = {
          "readOnly": true,
          "type": "string",
          "format": "date-time",
          "description": "Specifies the time at which the Virtual Machine resource was created."
        }
  - from: gallery.json
    where: $.definitions.GalleryTargetExtendedLocation.properties.storageAccountType
    transform: > 
      $['x-ms-enum'].name = "StorageAccountType"