Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imagebuilder API Release 2024-02-01 #28896

Merged
merged 29 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
89bc385
Copy files from stable/2023-07-01
zdelacerda-microsoft Apr 29, 2024
1668862
Update version to stable/2024-02-01
zdelacerda-microsoft Apr 29, 2024
b9829c1
Added tag for 2024-02-01 in readme file
zdelacerda-microsoft Apr 29, 2024
aa54d74
copying over 2024-02-01 changes from ADO
zdelacerda-microsoft Apr 29, 2024
77aa34b
Revert "copying over 2024-02-01 changes from ADO"
zdelacerda-microsoft Apr 29, 2024
db38ec4
adding changes from ado
zdelacerda-microsoft Apr 29, 2024
148b349
adding autorun as custom word
zdelacerda-microsoft Apr 30, 2024
c784696
adding autorun to custom-words.txt
zdelacerda-microsoft Apr 30, 2024
917e5ed
fixing UpdateImageTemplateVmProfile.json reference and additionalProp…
zdelacerda-microsoft May 7, 2024
0e52ddf
fixing UpdateImageTemplateVmProfile.json reference and additionalProp…
zdelacerda-microsoft May 7, 2024
a6bbcb4
changing type from string back to object
zdelacerda-microsoft May 8, 2024
b0b5122
changing type from string back to object
zdelacerda-microsoft May 8, 2024
679725e
Revert "changing type from string back to object"
zdelacerda-microsoft May 9, 2024
d5095ea
Revert "fixing UpdateImageTemplateVmProfile.json reference and additi…
zdelacerda-microsoft May 9, 2024
72ebcfe
Merge branch 'zdelacerda-microsoft-imagebuilder-2024-02-01-release' o…
zdelacerda-microsoft May 9, 2024
0a0f7f8
referencing examples file
zdelacerda-microsoft May 10, 2024
a41aacb
Merge branch 'main' into zdelacerda-microsoft-imagebuilder-2024-02-01…
zdelacerda-microsoft May 10, 2024
b442460
gMerge branch 'zdelacerda-microsoft-imagebuilder-2024-02-01-release' …
zdelacerda-microsoft May 21, 2024
ad9e84a
writing suppression for lintdiff
zdelacerda-microsoft May 21, 2024
2c7116b
removing userassignedidentity
zdelacerda-microsoft May 24, 2024
daec75b
fixing bad version mismatch
zdelacerda-microsoft May 24, 2024
8ab4fb3
fixing suppression
zdelacerda-microsoft May 24, 2024
4d790ea
prettier changes
zdelacerda-microsoft May 24, 2024
4636e76
fixing where syntax
zdelacerda-microsoft May 30, 2024
23dee7c
fixing where suppress 2
zdelacerda-microsoft May 30, 2024
e07afc6
where suppress 3
zdelacerda-microsoft May 30, 2024
5e9436c
where supress 4
zdelacerda-microsoft May 30, 2024
e5ed74e
where suppress 5
zdelacerda-microsoft May 30, 2024
933d7ea
suppressing entire file
zdelacerda-microsoft May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ autoregressive
autorenew
autorenewable
autorest
autorun
autosave
autoscale
autoscaler
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"imageTemplateName": "myImageTemplate",
"api-version": "2024-02-01"
},
"responses": {
"200": {},
"204": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/{location}/operations/{operation-id}?api-version=2024-02-01"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2024-02-01",
"imageTemplateName": "myImageTemplate",
"parameters": {
"location": "westus",
"tags": {
"imagetemplate_tag1": "IT_T1",
"imagetemplate_tag2": "IT_T2"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_1": {}
}
},
"properties": {
"source": {
"type": "ManagedImage",
"imageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/images/source_image"
},
"customize": [
{
"type": "Shell",
"name": "Shell Customizer Example",
"scriptUri": "https://example.com/path/to/script.sh"
}
],
"distribute": [
{
"type": "ManagedImage",
"location": "1_location",
"runOutputName": "image_it_pir_1",
"imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
"artifactTags": {
"tagName": "value"
}
}
],
"vmProfile": {
"vmSize": "Standard_D2s_v3",
"osDiskSizeGB": 64,
"vnetConfig": {
"subnetId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet_name/subnets/subnet_name"
}
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
"name": "myImageTemplate",
"location": "westus",
"type": "Microsoft.VirtualMachineImages/imageTemplates",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"source": {
"type": "ManagedImage",
"imageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/images/source_image"
},
"customize": [
{
"type": "Shell",
"name": "Shell Customizer Example",
"scriptUri": "https://example.com/path/to/script.sh"
}
],
"distribute": [
{
"type": "ManagedImage",
"location": "1_location",
"runOutputName": "image_it_pir_1",
"imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
"artifactTags": {
"tagName": "value"
}
}
],
"vmProfile": {
"vmSize": "Standard_D2s_v3",
"osDiskSizeGB": 64,
"vnetConfig": {
"subnetId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet_name/subnets/subnet_name"
}
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
"name": "myImageTemplate",
"location": "westus",
"type": "Microsoft.VirtualMachineImages/imageTemplates",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity_1": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"source": {
"type": "ManagedImage",
"imageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/images/source_image"
},
"customize": [
{
"type": "Shell",
"name": "Shell Customizer Example",
"scriptUri": "https://example.com/path/to/script.sh"
}
],
"distribute": [
{
"type": "ManagedImage",
"location": "1_location",
"runOutputName": "image_it_pir_1",
"imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
"artifactTags": {
"tagName": "value"
}
}
],
"vmProfile": {
"vmSize": "Standard_D2s_v3",
"osDiskSizeGB": 64
}
}
}
}
}
}
Loading
Loading