public class VMExtension extends Object
| Constructor and Description |
|---|
VMExtension() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoUpgradeMinorVersion()
Get indicates whether the extension should use a newer minor version if one is available at deployment time.
|
String |
name()
Get the name value.
|
Object |
protectedSettings()
Get the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
|
List<String> |
provisionAfterExtensions()
Get collection of extension names after which this extension needs to be provisioned.
|
String |
publisher()
Get the publisher value.
|
Object |
settings()
Get the settings value.
|
String |
type()
Get the type value.
|
String |
typeHandlerVersion()
Get the typeHandlerVersion value.
|
VMExtension |
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set indicates whether the extension should use a newer minor version if one is available at deployment time.
|
VMExtension |
withName(String name)
Set the name value.
|
VMExtension |
withProtectedSettings(Object protectedSettings)
Set the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
|
VMExtension |
withProvisionAfterExtensions(List<String> provisionAfterExtensions)
Set collection of extension names after which this extension needs to be provisioned.
|
VMExtension |
withPublisher(String publisher)
Set the publisher value.
|
VMExtension |
withSettings(Object settings)
Set the settings value.
|
VMExtension |
withType(String type)
Set the type value.
|
VMExtension |
withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion value.
|
public String name()
public VMExtension withName(String name)
name - the name value to setpublic String publisher()
public VMExtension withPublisher(String publisher)
publisher - the publisher value to setpublic String type()
public VMExtension withType(String type)
type - the type value to setpublic String typeHandlerVersion()
public VMExtension withTypeHandlerVersion(String typeHandlerVersion)
typeHandlerVersion - the typeHandlerVersion value to setpublic Boolean autoUpgradeMinorVersion()
public VMExtension withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
autoUpgradeMinorVersion - the autoUpgradeMinorVersion value to setpublic Object settings()
public VMExtension withSettings(Object settings)
settings - the settings value to setpublic Object protectedSettings()
public VMExtension withProtectedSettings(Object protectedSettings)
protectedSettings - the protectedSettings value to setpublic List<String> provisionAfterExtensions()
public VMExtension withProvisionAfterExtensions(List<String> provisionAfterExtensions)
provisionAfterExtensions - the provisionAfterExtensions value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/