Skip to content

Commit

Permalink
Add imagebuilder/2019-02-01-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmey committed Feb 28, 2019
1 parent 0926cd2 commit 9ebd633
Show file tree
Hide file tree
Showing 12 changed files with 171 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "myResourceGroup",
"imageTemplateName":"myImageTemplate",
"runOutputName": "myManagedImageOutput",
"api-version": "2018-02-01-preview"
"api-version": "2019-02-01-preview"
},
"responses":{
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"api-version": "2018-02-01-preview"
"api-version": "2019-02-01-preview"
},
"responses": {
"202": {
Expand All @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscritionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-02-01-preview"
"api-version": "2019-02-01-preview"
},
"responses": {
"202": {
Expand All @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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":{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down
Loading

0 comments on commit 9ebd633

Please sign in to comment.