Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine where the extension should be create or updated."
"description": "The name of the virtual machine where the extension should be created or updated."
},
{
"name": "vmExtensionName",
Expand Down Expand Up @@ -457,6 +457,60 @@
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
"VirtualMachineExtensions"
],
"operationId": "VirtualMachineExtensions_Update",
"description": "The operation to update the extension.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "vmName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine where the extension should be updated."
},
{
"name": "vmExtensionName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine extension."
},
{
"name": "extensionParameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/VirtualMachineExtensionUpdate"
},
"description": "Parameters supplied to the Update Virtual Machine Extension operation."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VirtualMachineExtension"
}
}
},
"x-ms-long-running-operation": true
},
"delete": {
"tags": [
"VirtualMachineExtensions"
Expand Down Expand Up @@ -560,6 +614,52 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions": {
"get": {
"tags": [
"VirtualMachineExtensions"
],
"operationId": "VirtualMachines_GetExtensions",
"description": "The operation to get all extensions of a Virtual Machine.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "vmName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine containing the extension."
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"description": "The expand expression to apply on the operation."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VirtualMachineExtensionsListResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}": {
"get": {
"tags": [
Expand Down Expand Up @@ -3226,6 +3326,39 @@
},
"description": "Describes the properties of a Virtual Machine Extension."
},
"VirtualMachineExtensionUpdateProperties": {
"properties": {
"forceUpdateTag": {
"type": "string",
"description": "How the extension handler should be forced to update even if the extension configuration has not changed."
},
"publisher": {
"type": "string",
"description": "The name of the extension handler publisher."
},
"type": {
"type": "string",
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
},
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler."
},
"autoUpgradeMinorVersion": {
"type": "boolean",
"description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
},
"settings": {
"type": "object",
"description": "Json formatted public settings for the extension."
},
"protectedSettings": {
"type": "object",
"description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
}
},
"description": "Describes the properties of a Virtual Machine Extension."
},
"VirtualMachineExtension": {
"properties": {
"properties": {
Expand All @@ -3240,6 +3373,32 @@
],
"description": "Describes a Virtual Machine Extension."
},
"VirtualMachineExtensionUpdate": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/VirtualMachineExtensionUpdateProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/UpdateResource"
}
],
"description": "Describes a Virtual Machine Extension."
},
"VirtualMachineExtensionsListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/VirtualMachineExtension"
},
"description": "The list of extensions"
}
},
"description": "The List Extension operation response"
},
"PurchasePlan": {
"properties": {
"publisher": {
Expand Down Expand Up @@ -5408,6 +5567,19 @@
],
"x-ms-azure-resource": true
},
"UpdateResource": {
"description": "The Update Resource model definition.",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
}
},
"x-ms-azure-resource": true
},
"SubResource": {
"properties": {
"id": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine where the extension should be create or updated."
"description": "The name of the virtual machine where the extension should be created or updated."
},
{
"name": "vmExtensionName",
Expand Down Expand Up @@ -457,6 +457,60 @@
},
"x-ms-long-running-operation": true
},
"patch": {
"tags": [
"VirtualMachineExtensions"
],
"operationId": "VirtualMachineExtensions_Update",
"description": "The operation to update the extension.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "vmName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine where the extension should be updated."
},
{
"name": "vmExtensionName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the virtual machine extension."
},
{
"name": "extensionParameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/VirtualMachineExtensionUpdate"
},
"description": "Parameters supplied to the Update Virtual Machine Extension operation."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VirtualMachineExtension"
}
}
},
"x-ms-long-running-operation": true
},
"delete": {
"tags": [
"VirtualMachineExtensions"
Expand Down Expand Up @@ -2838,6 +2892,39 @@
},
"description": "Describes the properties of a Virtual Machine Extension."
},
"VirtualMachineExtensionUpdateProperties": {
"properties": {
"forceUpdateTag": {
"type": "string",
"description": "How the extension handler should be forced to update even if the extension configuration has not changed."
},
"publisher": {
"type": "string",
"description": "The name of the extension handler publisher."
},
"type": {
"type": "string",
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
},
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler."
},
"autoUpgradeMinorVersion": {
"type": "boolean",
"description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
},
"settings": {
"type": "object",
"description": "Json formatted public settings for the extension."
},
"protectedSettings": {
"type": "object",
"description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
}
},
"description": "Describes the properties of a Virtual Machine Extension."
},
"VirtualMachineExtension": {
"properties": {
"properties": {
Expand All @@ -2852,6 +2939,20 @@
],
"description": "Describes a Virtual Machine Extension."
},
"VirtualMachineExtensionUpdate": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/VirtualMachineExtensionUpdateProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/UpdateResource"
}
],
"description": "Describes a Virtual Machine Extension."
},
"PurchasePlan": {
"properties": {
"publisher": {
Expand Down Expand Up @@ -4640,6 +4741,19 @@
],
"x-ms-azure-resource": true
},
"UpdateResource": {
"description": "The Update Resource model definition.",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
}
},
"x-ms-azure-resource": true
},
"SubResource": {
"properties": {
"id": {
Expand Down
Loading