你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HybridComputeMachineExtensionPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a Machine Extension Update.
public class HybridComputeMachineExtensionPatch : Azure.ResourceManager.HybridCompute.Models.HybridComputeResourceUpdate, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HybridCompute.Models.HybridComputeMachineExtensionPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HybridCompute.Models.HybridComputeMachineExtensionPatch>
type HybridComputeMachineExtensionPatch = class
inherit HybridComputeResourceUpdate
interface IJsonModel<HybridComputeMachineExtensionPatch>
interface IPersistableModel<HybridComputeMachineExtensionPatch>
Public Class HybridComputeMachineExtensionPatch
Inherits HybridComputeResourceUpdate
Implements IJsonModel(Of HybridComputeMachineExtensionPatch), IPersistableModel(Of HybridComputeMachineExtensionPatch)
- Inheritance
- Implements
Constructors
HybridComputeMachineExtensionPatch() |
Initializes a new instance of HybridComputeMachineExtensionPatch. |
Properties
AutoUpgradeMinorVersion |
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. |
EnableAutomaticUpgrade |
Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available. |
ForceUpdateTag |
How the extension handler should be forced to update even if the extension configuration has not changed. |
MachineExtensionUpdatePropertiesType |
Specifies the type of the extension; an example is "CustomScriptExtension". |
ProtectedSettings |
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Publisher |
The name of the extension handler publisher. |
Settings |
Json formatted public settings for the extension. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Tags |
Resource tags. (Inherited from HybridComputeResourceUpdate) |
TypeHandlerVersion |
Specifies the version of the script handler. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from HybridComputeResourceUpdate) |