Skip to content
Prev Previous commit
Next Next commit
exsting api changes
  • Loading branch information
priyjain358 committed Sep 19, 2023
commit 75bd98cefeaabcd29f9283d161c7a924e27d251e
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@
"x-ms-enum": {
"name": "SoftwareAssuranceStatus",
"modelAsString": true
}
},
"readOnly": true
},
"softwareAssuranceIntent": {
"description": "Customer Intent for Software Assurance Benefit.",
Expand Down Expand Up @@ -802,8 +803,7 @@
"type": "array",
"readOnly": true,
"items": {
"type": "string",
"readOnly": true
"type": "string"
}
},
"clusterType": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"extension": {
"properties": {
"extensionParameters": {
"publisher": "Microsoft.Compute",
"typeHandlerVersion": "1.10",
"type": "MicrosoftMonitoringAgent",
"enableAutomaticUpgrade": false,
"settings": {
"workspaceId": "xx"
},
"protectedSettings": {
"workspaceKey": "xx"
}
}
}
Expand All @@ -38,7 +40,7 @@
"extensionParameters": {
"publisher": "Microsoft.Compute",
"type": "string",
"typeHandlerVersion": "1.10.3",
"typeHandlerVersion": "1.10",
"enableAutomaticUpgrade": false,
"autoUpgradeMinorVersion": false,
"settings": {
Expand Down Expand Up @@ -94,4 +96,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Extension"
"$ref": "#/definitions/ExtensionPatch"
},
"description": "Details of the Machine Extension to be created."
},
Expand Down Expand Up @@ -368,6 +368,17 @@
}
}
},
"ExtensionPatch": {
"description": "Extension Details to update",
"type": "object",
"properties": {
"properties": {
"description": "Describes Machine Extension Properties that can be updated.",
"$ref": "#/definitions/ExtensionPatchProperties",
"x-ms-client-flatten": true
}
}
},
"ExtensionProperties": {
"description": "Status of Arc Extension for a particular node in HCI Cluster.",
"type": "object",
Expand Down Expand Up @@ -457,6 +468,39 @@
}
}
},
"ExtensionPatchProperties": {
"description": "Describes Machine Extension Properties that can be updated.",
"type": "object",
"properties": {
"extensionParameters": {
"description": "Describes the properties of a Machine Extension that can be updated.",
"$ref": "#/definitions/ExtensionPatchParameters"
}
}
},
"ExtensionPatchParameters": {
"description": "Describes the properties of a Machine Extension that can be updated.",
"type": "object",
"properties": {
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler. Latest version would be used if not specified."
},
"enableAutomaticUpgrade": {
"type": "boolean",
"description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."
},
"settings": {
"type": "object",
"description": "Json formatted public settings for the extension."
},
"protectedSettings": {
"type": "object",
"description": "Protected settings (may contain secrets).",
"x-ms-secret": true
}
}
},
"PerNodeExtensionState": {
"description": "Status of Arc Extension for a particular node in HCI Cluster.",
"type": "object",
Expand Down Expand Up @@ -660,4 +704,4 @@
"x-ms-parameter-location": "method"
}
}
}
}