İngilizce dilinde oku

Aracılığıyla paylaş


MachinePropertiesInner Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridcompute.fluent.models.MachinePropertiesInner

Implements

public final class MachinePropertiesInner
implements JsonSerializable<MachinePropertiesInner>

Describes the properties of a hybrid machine.

Constructor Summary

Constructor Description
MachinePropertiesInner()

Creates an instance of MachinePropertiesInner class.

Method Summary

Modifier and Type Method and Description
String adFqdn()

Get the adFqdn property: Specifies the AD fully qualified display name.

AgentConfiguration agentConfiguration()

Get the agentConfiguration property: Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM.

AgentUpgrade agentUpgrade()

Get the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.

String agentVersion()

Get the agentVersion property: The hybrid machine agent full version.

String clientPublicKey()

Get the clientPublicKey property: Public Key that the client provides to be used during initial resource onboarding.

CloudMetadata cloudMetadata()

Get the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).

Map<String,String> detectedProperties()

Get the detectedProperties property: Detected properties from the machine.

String displayName()

Get the displayName property: Specifies the hybrid machine display name.

String dnsFqdn()

Get the dnsFqdn property: Specifies the DNS fully qualified display name.

String domainName()

Get the domainName property: Specifies the Windows domain name.

List<ManagementError> errorDetails()

Get the errorDetails property: Details about the error state.

List<MachineExtensionInstanceView> extensions()

Get the extensions property: Machine Extensions information (deprecated field).

FirmwareProfile firmwareProfile()

Get the firmwareProfile property: Information about the machine's firmware.

static MachinePropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of MachinePropertiesInner from the JsonReader.

HardwareProfile hardwareProfile()

Get the hardwareProfile property: Information about the machine's hardware.

OffsetDateTime lastStatusChange()

Get the lastStatusChange property: The time of the last status change.

LicenseProfileMachineInstanceViewInner licenseProfile()

Get the licenseProfile property: Specifies the License related properties for a machine.

LocationData locationData()

Get the locationData property: Metadata pertaining to the geographic location of the resource.

String machineFqdn()

Get the machineFqdn property: Specifies the hybrid machine FQDN.

String mssqlDiscovered()

Get the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.

NetworkProfileInner networkProfile()

Get the networkProfile property: Information about the network the machine is on.

String osEdition()

Get the osEdition property: The edition of the Operating System.

String osName()

Get the osName property: The Operating System running on the hybrid machine.

OSProfile osProfile()

Get the osProfile property: Specifies the operating system settings for the hybrid machine.

String osSku()

Get the osSku property: Specifies the Operating System product SKU.

String osType()

Get the osType property: The type of Operating System (windows/linux).

String osVersion()

Get the osVersion property: The version of Operating System running on the hybrid machine.

String parentClusterResourceId()

Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.

String privateLinkScopeResourceId()

Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.

String provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

ServiceStatuses serviceStatuses()

Get the serviceStatuses property: Statuses of dependent services that are reported back to ARM.

StatusTypes status()

Get the status property: The status of the hybrid machine agent.

StorageProfile storageProfile()

Get the storageProfile property: Information about the machine's storage.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UUID vmId()

Get the vmId property: Specifies the hybrid machine unique ID.

UUID vmUuid()

Get the vmUuid property: Specifies the Arc Machine's unique SMBIOS ID.

MachinePropertiesInner withAgentUpgrade(AgentUpgrade agentUpgrade)

Set the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.

MachinePropertiesInner withClientPublicKey(String clientPublicKey)

Set the clientPublicKey property: Public Key that the client provides to be used during initial resource onboarding.

MachinePropertiesInner withCloudMetadata(CloudMetadata cloudMetadata)

Set the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).

MachinePropertiesInner withExtensions(List<MachineExtensionInstanceView> extensions)

Set the extensions property: Machine Extensions information (deprecated field).

MachinePropertiesInner withLicenseProfile(LicenseProfileMachineInstanceViewInner licenseProfile)

Set the licenseProfile property: Specifies the License related properties for a machine.

MachinePropertiesInner withLocationData(LocationData locationData)

Set the locationData property: Metadata pertaining to the geographic location of the resource.

MachinePropertiesInner withMssqlDiscovered(String mssqlDiscovered)

Set the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.

MachinePropertiesInner withOsProfile(OSProfile osProfile)

Set the osProfile property: Specifies the operating system settings for the hybrid machine.

MachinePropertiesInner withOsType(String osType)

Set the osType property: The type of Operating System (windows/linux).

MachinePropertiesInner withParentClusterResourceId(String parentClusterResourceId)

Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.

MachinePropertiesInner withPrivateLinkScopeResourceId(String privateLinkScopeResourceId)

Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.

MachinePropertiesInner withServiceStatuses(ServiceStatuses serviceStatuses)

Set the serviceStatuses property: Statuses of dependent services that are reported back to ARM.

MachinePropertiesInner withVmId(UUID vmId)

Set the vmId property: Specifies the hybrid machine unique ID.

Methods inherited from java.lang.Object

Constructor Details

MachinePropertiesInner

public MachinePropertiesInner()

Creates an instance of MachinePropertiesInner class.

Method Details

adFqdn

public String adFqdn()

Get the adFqdn property: Specifies the AD fully qualified display name.

Returns:

the adFqdn value.

agentConfiguration

public AgentConfiguration agentConfiguration()

Get the agentConfiguration property: Configurable properties that the user can set locally via the azcmagent config command, or remotely via ARM.

Returns:

the agentConfiguration value.

agentUpgrade

public AgentUpgrade agentUpgrade()

Get the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.

Returns:

the agentUpgrade value.

agentVersion

public String agentVersion()

Get the agentVersion property: The hybrid machine agent full version.

Returns:

the agentVersion value.

clientPublicKey

public String clientPublicKey()

Get the clientPublicKey property: Public Key that the client provides to be used during initial resource onboarding.

Returns:

the clientPublicKey value.

cloudMetadata

public CloudMetadata cloudMetadata()

Get the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).

Returns:

the cloudMetadata value.

detectedProperties

public Map detectedProperties()

Get the detectedProperties property: Detected properties from the machine.

Returns:

the detectedProperties value.

displayName

public String displayName()

Get the displayName property: Specifies the hybrid machine display name.

Returns:

the displayName value.

dnsFqdn

public String dnsFqdn()

Get the dnsFqdn property: Specifies the DNS fully qualified display name.

Returns:

the dnsFqdn value.

domainName

public String domainName()

Get the domainName property: Specifies the Windows domain name.

Returns:

the domainName value.

errorDetails

public List errorDetails()

Get the errorDetails property: Details about the error state.

Returns:

the errorDetails value.

extensions

public List extensions()

Get the extensions property: Machine Extensions information (deprecated field).

Returns:

the extensions value.

firmwareProfile

public FirmwareProfile firmwareProfile()

Get the firmwareProfile property: Information about the machine's firmware.

Returns:

the firmwareProfile value.

fromJson

public static MachinePropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of MachinePropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MachinePropertiesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MachinePropertiesInner.

hardwareProfile

public HardwareProfile hardwareProfile()

Get the hardwareProfile property: Information about the machine's hardware.

Returns:

the hardwareProfile value.

lastStatusChange

public OffsetDateTime lastStatusChange()

Get the lastStatusChange property: The time of the last status change.

Returns:

the lastStatusChange value.

licenseProfile

public LicenseProfileMachineInstanceViewInner licenseProfile()

Get the licenseProfile property: Specifies the License related properties for a machine.

Returns:

the licenseProfile value.

locationData

public LocationData locationData()

Get the locationData property: Metadata pertaining to the geographic location of the resource.

Returns:

the locationData value.

machineFqdn

public String machineFqdn()

Get the machineFqdn property: Specifies the hybrid machine FQDN.

Returns:

the machineFqdn value.

mssqlDiscovered

public String mssqlDiscovered()

Get the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.

Returns:

the mssqlDiscovered value.

networkProfile

public NetworkProfileInner networkProfile()

Get the networkProfile property: Information about the network the machine is on.

Returns:

the networkProfile value.

osEdition

public String osEdition()

Get the osEdition property: The edition of the Operating System.

Returns:

the osEdition value.

osName

public String osName()

Get the osName property: The Operating System running on the hybrid machine.

Returns:

the osName value.

osProfile

public OSProfile osProfile()

Get the osProfile property: Specifies the operating system settings for the hybrid machine.

Returns:

the osProfile value.

osSku

public String osSku()

Get the osSku property: Specifies the Operating System product SKU.

Returns:

the osSku value.

osType

public String osType()

Get the osType property: The type of Operating System (windows/linux).

Returns:

the osType value.

osVersion

public String osVersion()

Get the osVersion property: The version of Operating System running on the hybrid machine.

Returns:

the osVersion value.

parentClusterResourceId

public String parentClusterResourceId()

Get the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.

Returns:

the parentClusterResourceId value.

privateLinkScopeResourceId

public String privateLinkScopeResourceId()

Get the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.

Returns:

the privateLinkScopeResourceId value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state, which only appears in the response.

Returns:

the provisioningState value.

serviceStatuses

public ServiceStatuses serviceStatuses()

Get the serviceStatuses property: Statuses of dependent services that are reported back to ARM.

Returns:

the serviceStatuses value.

status

public StatusTypes status()

Get the status property: The status of the hybrid machine agent.

Returns:

the status value.

storageProfile

public StorageProfile storageProfile()

Get the storageProfile property: Information about the machine's storage.

Returns:

the storageProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vmId

public UUID vmId()

Get the vmId property: Specifies the hybrid machine unique ID.

Returns:

the vmId value.

vmUuid

public UUID vmUuid()

Get the vmUuid property: Specifies the Arc Machine's unique SMBIOS ID.

Returns:

the vmUuid value.

withAgentUpgrade

public MachinePropertiesInner withAgentUpgrade(AgentUpgrade agentUpgrade)

Set the agentUpgrade property: The info of the machine w.r.t Agent Upgrade.

Parameters:

agentUpgrade - the agentUpgrade value to set.

Returns:

the MachinePropertiesInner object itself.

withClientPublicKey

public MachinePropertiesInner withClientPublicKey(String clientPublicKey)

Set the clientPublicKey property: Public Key that the client provides to be used during initial resource onboarding.

Parameters:

clientPublicKey - the clientPublicKey value to set.

Returns:

the MachinePropertiesInner object itself.

withCloudMetadata

public MachinePropertiesInner withCloudMetadata(CloudMetadata cloudMetadata)

Set the cloudMetadata property: The metadata of the cloud environment (Azure/GCP/AWS/OCI...).

Parameters:

cloudMetadata - the cloudMetadata value to set.

Returns:

the MachinePropertiesInner object itself.

withExtensions

public MachinePropertiesInner withExtensions(List extensions)

Set the extensions property: Machine Extensions information (deprecated field).

Parameters:

extensions - the extensions value to set.

Returns:

the MachinePropertiesInner object itself.

withLicenseProfile

public MachinePropertiesInner withLicenseProfile(LicenseProfileMachineInstanceViewInner licenseProfile)

Set the licenseProfile property: Specifies the License related properties for a machine.

Parameters:

licenseProfile - the licenseProfile value to set.

Returns:

the MachinePropertiesInner object itself.

withLocationData

public MachinePropertiesInner withLocationData(LocationData locationData)

Set the locationData property: Metadata pertaining to the geographic location of the resource.

Parameters:

locationData - the locationData value to set.

Returns:

the MachinePropertiesInner object itself.

withMssqlDiscovered

public MachinePropertiesInner withMssqlDiscovered(String mssqlDiscovered)

Set the mssqlDiscovered property: Specifies whether any MS SQL instance is discovered on the machine.

Parameters:

mssqlDiscovered - the mssqlDiscovered value to set.

Returns:

the MachinePropertiesInner object itself.

withOsProfile

public MachinePropertiesInner withOsProfile(OSProfile osProfile)

Set the osProfile property: Specifies the operating system settings for the hybrid machine.

Parameters:

osProfile - the osProfile value to set.

Returns:

the MachinePropertiesInner object itself.

withOsType

public MachinePropertiesInner withOsType(String osType)

Set the osType property: The type of Operating System (windows/linux).

Parameters:

osType - the osType value to set.

Returns:

the MachinePropertiesInner object itself.

withParentClusterResourceId

public MachinePropertiesInner withParentClusterResourceId(String parentClusterResourceId)

Set the parentClusterResourceId property: The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any.

Parameters:

parentClusterResourceId - the parentClusterResourceId value to set.

Returns:

the MachinePropertiesInner object itself.

withPrivateLinkScopeResourceId

public MachinePropertiesInner withPrivateLinkScopeResourceId(String privateLinkScopeResourceId)

Set the privateLinkScopeResourceId property: The resource id of the private link scope this machine is assigned to, if any.

Parameters:

privateLinkScopeResourceId - the privateLinkScopeResourceId value to set.

Returns:

the MachinePropertiesInner object itself.

withServiceStatuses

public MachinePropertiesInner withServiceStatuses(ServiceStatuses serviceStatuses)

Set the serviceStatuses property: Statuses of dependent services that are reported back to ARM.

Parameters:

serviceStatuses - the serviceStatuses value to set.

Returns:

the MachinePropertiesInner object itself.

withVmId

public MachinePropertiesInner withVmId(UUID vmId)

Set the vmId property: Specifies the hybrid machine unique ID.

Parameters:

vmId - the vmId value to set.

Returns:

the MachinePropertiesInner object itself.

Applies to

Azure SDK for Java

Preview