你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IMachineExtension Interface
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionTypeConverter))]
public interface IMachineExtension : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ITrackedResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineExtensionTypeConverter))>]
type IMachineExtension = interface
interface IJsonSerializable
interface ITrackedResource
interface IResource
Public Interface IMachineExtension
Implements ITrackedResource
- Derived
- Attributes
- Implements
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. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from IResource) |
InstanceViewName |
The machine extension name. |
InstanceViewType |
Specifies the type of the extension; an example is "CustomScriptExtension". |
InstanceViewTypeHandlerVersion |
Specifies the version of the script handler. |
Location |
The geo-location where the resource lives (Inherited from ITrackedResource) |
MachineExtensionType |
Specifies the type of the extension; an example is "CustomScriptExtension". |
Name |
The name of the resource (Inherited from IResource) |
ProtectedSetting |
The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. |
ProvisioningState |
The provisioning state, which only appears in the response. |
Publisher |
The name of the extension handler publisher. |
Setting |
Json formatted public settings for the extension. |
StatusCode |
The status code. |
StatusDisplayStatus |
The short localizable label for the status. |
StatusLevel |
The level code. |
StatusMessage |
The detailed status message, including for alerts and error messages. |
StatusTime |
The time of the status. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). (Inherited from IResource) |
SystemDataCreatedBy |
The identity that created the resource. (Inherited from IResource) |
SystemDataCreatedByType |
The type of identity that created the resource. (Inherited from IResource) |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) (Inherited from IResource) |
SystemDataLastModifiedBy |
The identity that last modified the resource. (Inherited from IResource) |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. (Inherited from IResource) |
Tags |
Resource tags. (Inherited from ITrackedResource) |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from IResource) |
TypeHandlerVersion |
Specifies the version of the script handler. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |