az sf managed-node-type vm-extension
Managed vm extension on a node type on managed clusters.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sf managed-node-type vm-extension add |
Add an extension to the node type. |
Core | GA |
az sf managed-node-type vm-extension delete |
Delete an extension to the node type. |
Core | GA |
az sf managed-node-type vm-extension add
Add an extension to the node type.
az sf managed-node-type vm-extension add --cluster-name
--extension-name
--extension-type
--name
--publisher
--resource-group
--type-handler-version
[--auto-upgrade {false, true}]
[--force-update-tag]
[--protected-setting]
[--provision-after]
[--setting]
Examples
Add bg extension.
az sf managed-node-type vm-extension add -g testRG -c testCluster -n snt --extension-name csetest --publisher Microsoft.Compute --extension-type BGInfo --type-handler-version 2.1 --auto-upgrade-minor-version
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Extension name.
Specifies the type of the extension; an example is "CustomScriptExtension".
Node type name.
The name of the extension handler publisher.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Specifies the version of the script handler.
Optional Parameters
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.
If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
Collection of extension names after which this extension needs to be provisioned.
Json formatted public settings for the extension.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sf managed-node-type vm-extension delete
Delete an extension to the node type.
az sf managed-node-type vm-extension delete --cluster-name
--extension-name
--name
--resource-group
Examples
Delete extension by name.
az sf managed-node-type vm-extension delete -g testRG -c testCluster -n snt --extension-name csetest
Required Parameters
Specify the name of the cluster, if not given it will be same as resource group name.
Extension name.
Node type name.
Specify the resource group name. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for