Freigeben über


Machine Class

Definition

Describes a hybrid machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineTypeConverter))]
public class Machine : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine, Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineTypeConverter))>]
type Machine = class
    interface IMachine
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Machine
Implements IMachine, IValidates
Inheritance
Machine
Attributes
Implements

Constructors

Machine()

Creates an new Machine instance.

Properties

AdFqdn

Specifies the AD fully qualified display name.

AgentConfigurationConfigMode

Name of configuration mode to use. Modes are pre-defined configurations of security controls, extension allowlists and guest configuration, maintained by Microsoft.

AgentConfigurationExtensionsAllowList

Array of extensions that are allowed to be installed or updated.

AgentConfigurationExtensionsBlockList

Array of extensions that are blocked (cannot be installed or updated)

AgentConfigurationExtensionsEnabled

Specifies whether the extension service is enabled or disabled.

AgentConfigurationGuestConfigurationEnabled

Specified whether the guest configuration service is enabled or disabled.

AgentConfigurationIncomingConnectionsPort

Specifies the list of ports that the agent will be able to listen on.

AgentConfigurationProxyBypass

List of service names which should not use the specified proxy server.

AgentConfigurationProxyUrl

Specifies the URL of the proxy to be used.

AgentUpgradeCorrelationId

The correlation ID passed in from RSM per upgrade.

AgentUpgradeDesiredVersion

Specifies the version info w.r.t AgentUpgrade for the machine.

AgentUpgradeEnableAutomaticUpgrade

Specifies if RSM should try to upgrade this machine

AgentUpgradeLastAttemptDesiredVersion

Specifies the version of the last attempt

AgentUpgradeLastAttemptMessage

Failure message of last upgrade attempt if any.

AgentUpgradeLastAttemptStatus

Specifies the status of Agent Upgrade.

AgentUpgradeLastAttemptTimestamp

Timestamp of last upgrade attempt

AgentVersion

The hybrid machine agent full version.

ClientPublicKey

Public Key that the client provides to be used during initial resource onboarding

CloudMetadataProvider

Specifies the cloud provider (Azure/AWS/GCP...).

DetectedProperty

Detected properties from the machine.

DisplayName

Specifies the hybrid machine display name.

DnsFqdn

Specifies the DNS fully qualified display name.

DomainName

Specifies the Windows domain name.

ErrorDetail

Details about the error state.

EsuProfileAssignedLicense

The assigned license resource.

EsuProfileAssignedLicenseImmutableId

The guid id of the license.

EsuProfileEsuEligibility

Indicates the eligibility state of Esu.

EsuProfileEsuKey

The list of ESU keys.

EsuProfileEsuKeyState

Indicates whether there is an ESU Key currently active for the machine.

EsuProfileLicenseAssignmentState

Describes the license assignment state (Assigned or NotAssigned).

EsuProfileServerType

The type of the Esu servers.

Extension

Machine Extensions information (deprecated field)

ExtensionServiceStartupType

The behavior of the service when the Arc-enabled machine starts up.

ExtensionServiceStatus

The current status of the service.

Fqdn

Specifies the hybrid machine FQDN.

GuestConfigurationServiceStartupType

The behavior of the service when the Arc-enabled machine starts up.

GuestConfigurationServiceStatus

The current status of the service.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

Kind

Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc.

LastStatusChange

The time of the last status change.

LicenseProfile

Specifies the License related properties for a machine.

LicenseProfileLicenseChannel

Indicates the license channel.

LicenseProfileLicenseStatus

Indicates the license status of the OS.

LinuxConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

LinuxConfigurationPatchSettingsPatchMode

Specifies the patch mode.

Location

The geo-location where the resource lives

LocationDataCity

The city or locality where the resource is located.

LocationDataCountryOrRegion

The country or region where the resource is located

LocationDataDistrict

The district, state, or province where the resource is located.

LocationDataName

A canonical name for the geographic or physical location.

MssqlDiscovered

Specifies whether any MS SQL instance is discovered on the machine.

Name

The name of the resource

NetworkProfileNetworkInterface

The list of network interfaces.

OSEdition

The edition of the Operating System.

OSName

The Operating System running on the hybrid machine.

OSProfile

Specifies the operating system settings for the hybrid machine.

OSProfileComputerName

Specifies the host OS name of the hybrid machine.

OSSku

Specifies the Operating System product SKU.

OSType

The type of Operating System (windows/linux).

OSVersion

The version of Operating System running on the hybrid machine.

ParentClusterResourceId

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

PrivateLinkScopeResourceId

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

ProductProfileBillingStartDate

The timestamp in UTC when the billing starts.

ProductProfileDisenrollmentDate

The timestamp in UTC when the user disenrolled the feature.

ProductProfileEnrollmentDate

The timestamp in UTC when the user enrolls the feature.

ProductProfileProductFeature

The list of product features.

ProductProfileProductType

Indicates the product type of the license.

ProductProfileSubscriptionStatus

Indicates the subscription status of the product.

ProvisioningState

The provisioning state, which only appears in the response.

Resource

The list of extensions affiliated to the machine

ResourceGroupName

Gets the resource group name

SoftwareAssuranceCustomer

Specifies if this machine is licensed as part of a Software Assurance agreement.

Status

The status of the hybrid machine agent.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tags

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VMId

Specifies the hybrid machine unique ID.

VMUuid

Specifies the Arc Machine's unique SMBIOS ID

WindowsConfigurationPatchSettingsAssessmentMode

Specifies the assessment mode.

WindowsConfigurationPatchSettingsPatchMode

Specifies the patch mode.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Machine.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Machine.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachine.

FromJsonString(String)

Creates a new instance of Machine, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Machine into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to