你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineScaleSetExtensionPatch 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 Virtual Machine Scale Set Extension.
public class VirtualMachineScaleSetExtensionPatch : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetExtensionPatch>
type VirtualMachineScaleSetExtensionPatch = class
inherit ResourceData
interface IJsonModel<VirtualMachineScaleSetExtensionPatch>
interface IPersistableModel<VirtualMachineScaleSetExtensionPatch>
Public Class VirtualMachineScaleSetExtensionPatch
Inherits ResourceData
Implements IJsonModel(Of VirtualMachineScaleSetExtensionPatch), IPersistableModel(Of VirtualMachineScaleSetExtensionPatch)
- Inheritance
- Implements
Constructors
VirtualMachineScaleSetExtensionPatch() |
Initializes a new instance of VirtualMachineScaleSetExtensionPatch. |
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 of the extension available. |
ExtensionType |
Specifies the type of the extension; an example is "CustomScriptExtension". |
ForceUpdateTag |
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. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
KeyVaultProtectedSettings |
The extensions protected settings that are passed by reference, and consumed from key vault. |
Name |
The name of the resource. (Inherited from ResourceData) |
ProtectedSettings |
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
ProvisionAfterExtensions |
Collection of extension names after which this extension needs to be provisioned. |
ProvisioningState |
The provisioning state, which only appears in the response. |
Publisher |
The name of the extension handler publisher. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
Settings |
Json formatted public settings for the extension. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
SuppressFailures |
Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
TypeHandlerVersion |
Specifies the version of the script handler. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<VirtualMachineScaleSetExtensionPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<VirtualMachineScaleSetExtensionPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<VirtualMachineScaleSetExtensionPatch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<VirtualMachineScaleSetExtensionPatch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<VirtualMachineScaleSetExtensionPatch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |