From 9ebd633253f208cd6edafc0bd1fedebf4a89ed07 Mon Sep 17 00:00:00 2001 From: Paul Meyer Date: Wed, 27 Feb 2019 22:46:28 +0000 Subject: [PATCH] Add imagebuilder/2019-02-01-preview --- .../examples/CreateImageTemplate.json | 20 ++- .../examples/DeleteImageTemplate.json | 2 +- .../examples/GetImageTemplate.json | 6 +- .../examples/GetRunOutput.json | 2 +- .../examples/ListImageTemplates.json | 10 +- .../examples/ListImageTemplatesByRg.json | 12 +- .../examples/ListRunOutputs.json | 2 +- .../examples/RunImageTemplate.json | 2 +- .../examples/UpdateImageTemplateTags.json | 6 +- .../2019-02-01-preview/imagebuilder.json | 137 ++++++++++++++---- .../resource-manager/readme.go.md | 10 ++ .../imagebuilder/resource-manager/readme.md | 25 +++- 12 files changed, 171 insertions(+), 63 deletions(-) diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/CreateImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/CreateImageTemplate.json index 6725b6f27811..372bd37ece53 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/CreateImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/CreateImageTemplate.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "api-version": "2018-02-01-preview", + "api-version": "2019-02-01-preview", "imageTemplateName": "myImageTemplate", "parameters": { "location": "westus", @@ -12,20 +12,19 @@ }, "properties": { "source": { - "type": "ISO", - "sourceURI": "http://redhat.com/path/to/installation.iso", - "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f" + "type": "ManagedImage", + "imageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/images/source_image" }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell Customizer Example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "1_location", "runOutputName": "image_it_pir_1", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1", @@ -46,20 +45,19 @@ "type": "Microsoft.VirtualMachineImages/imageTemplate", "properties": { "source": { - "type": "ISO", - "sourceURI": "http://redhat.com/path/to/installation.iso", - "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f" + "type": "ManagedImage", + "imageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/images/source_image" }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell Customizer Example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "1_location", "runOutputName": "image_it_pir_1", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json index 80fe8d5c44d6..737024b70b17 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/DeleteImageTemplate.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "imageTemplateName":"myImageTemplate", - "api-version": "2018-02-01-preview" + "api-version": "2019-02-01-preview" }, "responses":{ "202": { diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetImageTemplate.json index 6ff707552339..c3ce564e99f9 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetImageTemplate.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "api-version": "2018-02-01-preview", + "api-version": "2019-02-01-preview", "imageTemplateName": "myImageTemplate" }, "responses": { @@ -20,14 +20,14 @@ }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell Customizer Example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "1_location", "runOutputName": "image_it_pir_1", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json index d7ef1d1c3a52..1e16b8ea9f2f 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/GetRunOutput.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "imageTemplateName":"myImageTemplate", "runOutputName": "myManagedImageOutput", - "api-version": "2018-02-01-preview" + "api-version": "2019-02-01-preview" }, "responses":{ "200": { diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplates.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplates.json index 62546513c8cf..93bd73ddd64c 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplates.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplates.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "{subscription-id}", - "api-version": "2018-02-01-preview" + "api-version": "2019-02-01-preview" }, "responses": { "202": { @@ -20,14 +20,14 @@ }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell customization example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "1_location", "runOutputName": "image_it_pir_1", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1", @@ -53,14 +53,14 @@ }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell customization example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "eastus", "runOutputName": "eus", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/mySecondImage-eus", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json index d74c8cf3ef8b..b90ebc7ca10b 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListImageTemplatesByRg.json @@ -2,7 +2,7 @@ "parameters": { "subscritionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", - "api-version": "2018-02-01-preview" + "api-version": "2019-02-01-preview" }, "responses": { "202": { @@ -21,14 +21,14 @@ }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell customization example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "1_location", "runOutputName": "image_it_pir_1", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1", @@ -54,20 +54,20 @@ }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell customization example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "centralus", "runOutputName": "singleImage", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/baseimage-cus" }, { - "type": "sharedImage", + "type": "SharedImage", "galleryImageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/gallery/baseimages/images/baseimage", "replicationRegions":[ "eastus", "westus"], "runOutputName": "gallery", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json index 40491e85e862..aeaad646ca66 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/ListRunOutputs.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "imageTemplateName":"myImageTemplate", - "api-version": "2018-02-01-preview" + "api-version": "2019-02-01-preview" }, "responses":{ "200": { diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json index 30261f6efacf..a00363b0d347 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/RunImageTemplate.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "imageTemplateName":"myImageTemplate", - "api-version": "2018-02-01-preview" + "api-version": "2019-02-01-preview" }, "responses":{ "202":{ diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json index 937bea1ea289..de7627d76fef 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/examples/UpdateImageTemplateTags.json @@ -3,7 +3,7 @@ "subscriptionId": "{subscription-id}", "resourceGroupName": "myResourceGroup", "imageTemplateName":"myImageTemplate", - "api-version": "2018-02-01-preview", + "api-version": "2019-02-01-preview", "parameters":{ "tags": { "new-tag": "new-value" @@ -28,14 +28,14 @@ }, "customize": [ { - "type": "shell", + "type": "Shell", "name": "Shell customization example", "script": "https://example.com/path/to/script.sh" } ], "distribute": [ { - "type": "managedImage", + "type": "ManagedImage", "location": "1_location", "runOutputName": "image_it_pir_1", "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1", diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json index d347af32d4bc..55353aebd0c0 100644 --- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json +++ b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json @@ -3,7 +3,7 @@ "info": { "title": "VirtualMachineImageTemplate", "description": "Virtual Machine Image Template", - "version": "2018-02-01-preview" + "version": "2019-02-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -121,7 +121,7 @@ "VirtualMachineImageTemplate" ], "operationId": "VirtualMachineImageTemplate_CreateOrUpdate", - "description": "Create or Update a Virtual Machine Image Template", + "description": "Create or update a virtual machine image template", "parameters": [ { "name": "parameters", @@ -130,7 +130,7 @@ "schema": { "$ref": "#/definitions/ImageTemplate" }, - "description": "Parameters supplied to the Create Image Template" + "description": "Parameters supplied to the CreateImageTemplate operation" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -229,7 +229,7 @@ "VirtualMachineImageTemplate" ], "operationId": "VirtualMachineImageTemplate_Get", - "description": "Get Information about Virtual Machine Image Template", + "description": "Get information about a virtual machine image template", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" @@ -269,7 +269,7 @@ "VirtualMachineImageTemplate" ], "operationId": "VirtualMachineImageTemplate_Delete", - "description": "Delete Virtual Machine Image Template", + "description": "Delete a virtual machine image template", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" @@ -317,8 +317,8 @@ "tags": [ "VirtualMachineImageTemplate" ], - "operationId": "VirtualMachineImageTemplate_run", - "description": "Create artifacts from a existing Image Template", + "operationId": "VirtualMachineImageTemplate_Run", + "description": "Create artifacts from a existing image template", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" @@ -409,7 +409,7 @@ "VirtualMachineImageTemplate" ], "operationId": "VirtualMachineImageTemplate_GetRunOutput", - "description": "Get the specified run output for the specified Template resource", + "description": "Get the specified run output for the specified image template resource", "parameters": [ { "$ref": "#/parameters/ApiVersionParameter" @@ -518,7 +518,7 @@ "properties": { "sourceURI": { "type": "string", - "description": "URL to get the ISO image. This URL has to be accessible to the resource provider at the time of the imageTemplate creation." + "description": "URI to get the ISO image. This URI has to be accessible to the resource provider at the time of the image template creation." }, "sha256Checksum": { "type": "string", @@ -557,12 +557,30 @@ } } }, + "ImageTemplateManagedImageSource": { + "description": "Describes an image source that is a managed image in customer subscription.", + "x-ms-discriminator-value": "ManagedImage", + "allOf": [ + { + "$ref": "#/definitions/ImageTemplateSource" + } + ], + "properties": { + "imageId": { + "type": "string", + "description": "ARM resource id of the managed image in customer subscription" + } + }, + "required": [ + "imageId" + ] + }, "ImageTemplateCustomizer": { "discriminator": "type", "properties": { "type": { "type": "string", - "description": "The type of customization tool you want to use on the Image. For example, \"shell\" can be shellCustomizer" + "description": "The type of customization tool you want to use on the Image. For example, \"Shell\" can be shell customizer" }, "name": { "type": "string", @@ -574,8 +592,8 @@ ] }, "ImageTemplateShellCustomizer": { - "description": "Runs a shell script during the customization phase", - "x-ms-discriminator-value": "shell", + "description": "Runs a shell script during the customization phase (Linux)", + "x-ms-discriminator-value": "Shell", "allOf": [ { "$ref": "#/definitions/ImageTemplateCustomizer" @@ -588,6 +606,50 @@ } } }, + "ImageTemplateRestartCustomizer": { + "description": "Reboots a VM and waits for it to come back online (Windows). Corresponds to Packer windows-restart provisioner", + "x-ms-discriminator-value": "WindowsRestart", + "allOf": [ + { + "$ref": "#/definitions/ImageTemplateCustomizer" + } + ], + "properties": { + "restartCommand": { + "type": "string", + "description": "Command to execute the restart [Default: 'shutdown /r /f /t 0 /c \"packer restart\"']" + }, + "restartCheckCommand": { + "type": "string", + "description": "Command to check if restart succeeded [Default: '']" + }, + "restartTimeout": { + "type": "string", + "description": "Restart timeout specified as a string of magnitude and unit, e.g. '5m' (5 minutes) or '2h' (2 hours) [Default: '5m']" + } + } + }, + "ImageTemplatePowerShellCustomizer": { + "description": "Runs the specified PowerSehll on the VM (Windows). Corresponds to Packer powershell provisioner", + "x-ms-discriminator-value": "PowerShell", + "allOf": [ + { + "$ref": "#/definitions/ImageTemplateCustomizer" + } + ], + "properties": { + "script": { + "type": "string", + "description": "The PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc" + }, + "validExitCodes" : { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, "ImageTemplateDistributor": { "type": "object", "description": "Generic distribution object", @@ -616,7 +678,7 @@ ] }, "ImageTemplateManagedImageDistributor": { - "x-ms-discriminator-value": "managedImage", + "x-ms-discriminator-value": "ManagedImage", "description": "Distribute as a Managed Disk Image.", "type": "object", "allOf": [ @@ -640,7 +702,7 @@ ] }, "ImageTemplateSharedImageDistributor": { - "x-ms-discriminator-value": "sharedImage", + "x-ms-discriminator-value": "SharedImage", "description": "Distribute via Shared Image Gallery.", "type": "object", "allOf": [ @@ -665,6 +727,16 @@ "replicationRegions" ] }, + "ImageTemplateVhdDistributor": { + "x-ms-discriminator-value": "VHD", + "description": "Distribute via VHD in a storage account.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageTemplateDistributor" + } + ] + }, "ProvisioningState": { "type": "string", "enum": [ @@ -683,8 +755,12 @@ "BadSourceType", "BadPIRSource", "BadISOSource", + "BadManagedImageSource", "BadCustomizerType", - "NoCustomizerShellScript", + "UnsupportedCustomizerType", + "NoCustomizerScript", + "BadDistributeType", + "BadSharedImageDistribute", "ServerError", "Other" ], @@ -711,23 +787,22 @@ "runState": { "type": "string", "enum": [ - "ready", - "running", - "succeeded", - "partiallySucceeded", - "failed" + "Running", + "Succeeded", + "PartiallySucceeded", + "Failed" ], "description": "State of the last run" }, "runSubState": { "type": "string", "enum": [ - "queued", - "building", - "customizing", - "distributing" + "Queued", + "Building", + "Customizing", + "Distributing" ], - "description": "Sub state of the last run" + "description": "Sub-state of the last run" }, "message": { "type": "string", @@ -782,6 +857,10 @@ "type": "string", "description": "The resource id of the artifact." }, + "artifactLocation": { + "type": "string", + "description": "The URL location of the artifact." + }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "Provisioning state of the resource", @@ -976,11 +1055,11 @@ }, "InnerError": { "properties": { - "exceptiontype": { + "exceptionType": { "type": "string", "description": "The exception type." }, - "errordetail": { + "errorDetail": { "type": "string", "description": "The internal error message or exception dump." } @@ -996,7 +1075,7 @@ }, "description": "The Api error details" }, - "innererror": { + "innerError": { "$ref": "#/definitions/InnerError", "description": "The Api inner error" }, @@ -1022,7 +1101,7 @@ "in": "path", "required": true, "type": "string", - "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call." }, "ResourceGroupNameParameter": { "name": "resourceGroupName", diff --git a/specification/imagebuilder/resource-manager/readme.go.md b/specification/imagebuilder/resource-manager/readme.go.md index 74ba899777f3..7bd34af5f1cf 100644 --- a/specification/imagebuilder/resource-manager/readme.go.md +++ b/specification/imagebuilder/resource-manager/readme.go.md @@ -13,6 +13,7 @@ These settings apply only when `--go` is specified on the command line. ``` yaml $(go) && $(multiapi) batch: - tag: package-2018-02 + - tag: package-2019-02 ``` ### Tag: package-2018-02 @@ -23,3 +24,12 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-02' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-01-preview/$(namespace) +``` diff --git a/specification/imagebuilder/resource-manager/readme.md b/specification/imagebuilder/resource-manager/readme.md index 978b85857c1a..f96597553255 100644 --- a/specification/imagebuilder/resource-manager/readme.md +++ b/specification/imagebuilder/resource-manager/readme.md @@ -28,7 +28,7 @@ These are the global settings for the Virtual Machine Image Builder API. title: ImageBuilderClient description: Azure Virtual Machine Image Builder Client openapi-type: arm -tag: package-2018-02 +tag: package-2019-02 azure-arm: true ``` @@ -42,6 +42,15 @@ input-file: - Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json ``` +### Tag: package-2019-02 + +These settings apply only when `--tag=package-2019-02` is specified on the command line. + +``` yaml $(tag) == 'package-2019-02' +input-file: +- Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json +``` + # Code Generation @@ -109,7 +118,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-imagebuilder ``` yaml $(java) && $(multiapi) batch: - - tag: package-2018-02 + - tag: package-2019-02 ``` ### Tag: package-2018-02 and java @@ -125,4 +134,16 @@ regenerate-manager: true generate-interface: true ``` +### Tag: package-2019-02 and java + +These settings apply only when `--tag=package-2019-02 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2019-02' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.imagebuilder.v2019_02_01_preview + output-folder: $(azure-libraries-for-java-folder)/imagebuilder/resource-manager/v2019_02_01_preview +regenerate-manager: true +generate-interface: true +```