public class VirtualMachineScaleSetVMInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
VirtualMachineScaleSetVMInner() |
Modifier and Type | Method and Description |
---|---|
AdditionalCapabilities |
additionalCapabilities()
Get the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the virtual
machine in the scale set.
|
com.azure.core.management.SubResource |
availabilitySet()
Get the availabilitySet property: Specifies information about the availability set that the virtual machine
should be assigned to.
|
DiagnosticsProfile |
diagnosticsProfile()
Get the diagnosticsProfile property: Specifies the boot diagnostic settings state.
|
HardwareProfile |
hardwareProfile()
Get the hardwareProfile property: Specifies the hardware settings for the virtual machine.
|
String |
instanceId()
Get the instanceId property: The virtual machine instance ID.
|
VirtualMachineScaleSetVMInstanceViewInner |
instanceView()
Get the instanceView property: The virtual machine instance view.
|
Boolean |
latestModelApplied()
Get the latestModelApplied property: Specifies whether the latest model has been applied to the virtual machine.
|
String |
licenseType()
Get the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
String |
modelDefinitionApplied()
Get the modelDefinitionApplied property: Specifies whether the model applied to the virtual machine is the model
of the virtual machine scale set or the customized model for the virtual machine.
|
NetworkProfile |
networkProfile()
Get the networkProfile property: Specifies the network interfaces of the virtual machine.
|
VirtualMachineScaleSetVMNetworkProfileConfiguration |
networkProfileConfiguration()
Get the networkProfileConfiguration property: Specifies the network profile configuration of the virtual machine.
|
OSProfile |
osProfile()
Get the osProfile property: Specifies the operating system settings for the virtual machine.
|
Plan |
plan()
Get the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
VirtualMachineScaleSetVMProtectionPolicy |
protectionPolicy()
Get the protectionPolicy property: Specifies the protection policy of the virtual machine.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
List<VirtualMachineExtensionInner> |
resources()
Get the resources property: The virtual machine child extension resources.
|
Sku |
sku()
Get the sku property: The virtual machine SKU.
|
StorageProfile |
storageProfile()
Get the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
void |
validate()
Validates the instance.
|
String |
vmId()
Get the vmId property: Azure VM unique ID.
|
VirtualMachineScaleSetVMInner |
withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
Set the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the virtual
machine in the scale set.
|
VirtualMachineScaleSetVMInner |
withAvailabilitySet(com.azure.core.management.SubResource availabilitySet)
Set the availabilitySet property: Specifies information about the availability set that the virtual machine
should be assigned to.
|
VirtualMachineScaleSetVMInner |
withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
Set the diagnosticsProfile property: Specifies the boot diagnostic settings state.
|
VirtualMachineScaleSetVMInner |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Specifies the hardware settings for the virtual machine.
|
VirtualMachineScaleSetVMInner |
withLicenseType(String licenseType)
Set the licenseType property: Specifies that the image or disk that is being used was licensed on-premises.
|
VirtualMachineScaleSetVMInner |
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network interfaces of the virtual machine.
|
VirtualMachineScaleSetVMInner |
withNetworkProfileConfiguration(VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration)
Set the networkProfileConfiguration property: Specifies the network profile configuration of the virtual machine.
|
VirtualMachineScaleSetVMInner |
withOsProfile(OSProfile osProfile)
Set the osProfile property: Specifies the operating system settings for the virtual machine.
|
VirtualMachineScaleSetVMInner |
withPlan(Plan plan)
Set the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
VirtualMachineScaleSetVMInner |
withProtectionPolicy(VirtualMachineScaleSetVMProtectionPolicy protectionPolicy)
Set the protectionPolicy property: Specifies the protection policy of the virtual machine.
|
VirtualMachineScaleSetVMInner |
withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.
|
List<String> |
zones()
Get the zones property: The virtual machine zones.
|
public String instanceId()
public Sku sku()
public Plan plan()
public VirtualMachineScaleSetVMInner withPlan(Plan plan)
plan
- the plan value to set.public List<VirtualMachineExtensionInner> resources()
public List<String> zones()
public Boolean latestModelApplied()
public String vmId()
public VirtualMachineScaleSetVMInstanceViewInner instanceView()
public HardwareProfile hardwareProfile()
public VirtualMachineScaleSetVMInner withHardwareProfile(HardwareProfile hardwareProfile)
hardwareProfile
- the hardwareProfile value to set.public StorageProfile storageProfile()
public VirtualMachineScaleSetVMInner withStorageProfile(StorageProfile storageProfile)
storageProfile
- the storageProfile value to set.public AdditionalCapabilities additionalCapabilities()
public VirtualMachineScaleSetVMInner withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
additionalCapabilities
- the additionalCapabilities value to set.public OSProfile osProfile()
public VirtualMachineScaleSetVMInner withOsProfile(OSProfile osProfile)
osProfile
- the osProfile value to set.public NetworkProfile networkProfile()
public VirtualMachineScaleSetVMInner withNetworkProfile(NetworkProfile networkProfile)
networkProfile
- the networkProfile value to set.public VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration()
public VirtualMachineScaleSetVMInner withNetworkProfileConfiguration(VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration)
networkProfileConfiguration
- the networkProfileConfiguration value to set.public DiagnosticsProfile diagnosticsProfile()
public VirtualMachineScaleSetVMInner withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile)
diagnosticsProfile
- the diagnosticsProfile value to set.public com.azure.core.management.SubResource availabilitySet()
public VirtualMachineScaleSetVMInner withAvailabilitySet(com.azure.core.management.SubResource availabilitySet)
availabilitySet
- the availabilitySet value to set.public String provisioningState()
public String licenseType()
public VirtualMachineScaleSetVMInner withLicenseType(String licenseType)
licenseType
- the licenseType value to set.public String modelDefinitionApplied()
public VirtualMachineScaleSetVMProtectionPolicy protectionPolicy()
public VirtualMachineScaleSetVMInner withProtectionPolicy(VirtualMachineScaleSetVMProtectionPolicy protectionPolicy)
protectionPolicy
- the protectionPolicy value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.