Udostępnij za pośrednictwem


ArmHybridComputeModelFactory.HybridComputeMachineData Method

Definition

Initializes a new instance of HybridComputeMachineData.

public static Azure.ResourceManager.HybridCompute.HybridComputeMachineData HybridComputeMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.HybridComputeMachineExtensionData> resources = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.HybridCompute.Models.ArcKindEnum? kind = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeLocation locationData = default, Azure.ResourceManager.HybridCompute.Models.AgentConfiguration agentConfiguration = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeServiceStatuses serviceStatuses = default, string cloudMetadataProvider = default, Azure.ResourceManager.HybridCompute.Models.AgentUpgrade agentUpgrade = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeOSProfile osProfile = default, Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceView licenseProfile = default, string provisioningState = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeStatusType? status = default, DateTimeOffset? lastStatusChange = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errorDetails = default, string agentVersion = default, Guid? vmId = default, string displayName = default, string machineFqdn = default, string clientPublicKey = default, string osName = default, string osVersion = default, string osType = default, Guid? vmUuid = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.MachineExtensionInstanceView> extensions = default, string osSku = default, string osEdition = default, string domainName = default, string adFqdn = default, string dnsFqdn = default, Azure.Core.ResourceIdentifier privateLinkScopeResourceId = default, Azure.Core.ResourceIdentifier parentClusterResourceId = default, string msSqlDiscovered = default, System.Collections.Generic.IReadOnlyDictionary<string,string> detectedProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.HybridComputeNetworkInterface> networkInterfaces = default);
static member HybridComputeMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<Azure.ResourceManager.HybridCompute.HybridComputeMachineExtensionData> * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.HybridCompute.Models.ArcKindEnum> * Azure.ResourceManager.HybridCompute.Models.HybridComputeLocation * Azure.ResourceManager.HybridCompute.Models.AgentConfiguration * Azure.ResourceManager.HybridCompute.Models.HybridComputeServiceStatuses * string * Azure.ResourceManager.HybridCompute.Models.AgentUpgrade * Azure.ResourceManager.HybridCompute.Models.HybridComputeOSProfile * Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceView * string * Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeStatusType> * Nullable<DateTimeOffset> * seq<Azure.ResponseError> * string * Nullable<Guid> * string * string * string * string * string * string * Nullable<Guid> * seq<Azure.ResourceManager.HybridCompute.Models.MachineExtensionInstanceView> * string * string * string * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * System.Collections.Generic.IReadOnlyDictionary<string, string> * seq<Azure.ResourceManager.HybridCompute.Models.HybridComputeNetworkInterface> -> Azure.ResourceManager.HybridCompute.HybridComputeMachineData
Public Shared Function HybridComputeMachineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional resources As IEnumerable(Of HybridComputeMachineExtensionData) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional kind As Nullable(Of ArcKindEnum) = Nothing, Optional locationData As HybridComputeLocation = Nothing, Optional agentConfiguration As AgentConfiguration = Nothing, Optional serviceStatuses As HybridComputeServiceStatuses = Nothing, Optional cloudMetadataProvider As String = Nothing, Optional agentUpgrade As AgentUpgrade = Nothing, Optional osProfile As HybridComputeOSProfile = Nothing, Optional licenseProfile As LicenseProfileMachineInstanceView = Nothing, Optional provisioningState As String = Nothing, Optional status As Nullable(Of HybridComputeStatusType) = Nothing, Optional lastStatusChange As Nullable(Of DateTimeOffset) = Nothing, Optional errorDetails As IEnumerable(Of ResponseError) = Nothing, Optional agentVersion As String = Nothing, Optional vmId As Nullable(Of Guid) = Nothing, Optional displayName As String = Nothing, Optional machineFqdn As String = Nothing, Optional clientPublicKey As String = Nothing, Optional osName As String = Nothing, Optional osVersion As String = Nothing, Optional osType As String = Nothing, Optional vmUuid As Nullable(Of Guid) = Nothing, Optional extensions As IEnumerable(Of MachineExtensionInstanceView) = Nothing, Optional osSku As String = Nothing, Optional osEdition As String = Nothing, Optional domainName As String = Nothing, Optional adFqdn As String = Nothing, Optional dnsFqdn As String = Nothing, Optional privateLinkScopeResourceId As ResourceIdentifier = Nothing, Optional parentClusterResourceId As ResourceIdentifier = Nothing, Optional msSqlDiscovered As String = Nothing, Optional detectedProperties As IReadOnlyDictionary(Of String, String) = Nothing, Optional networkInterfaces As IEnumerable(Of HybridComputeNetworkInterface) = Nothing) As HybridComputeMachineData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

resources
IEnumerable<HybridComputeMachineExtensionData>

The list of extensions affiliated to the machine.

identity
ManagedServiceIdentity

Identity for the resource. Current supported identity types: SystemAssigned.

kind
Nullable<ArcKindEnum>

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

locationData
HybridComputeLocation

Metadata pertaining to the geographic location of the resource.

agentConfiguration
AgentConfiguration

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

serviceStatuses
HybridComputeServiceStatuses

Statuses of dependent services that are reported back to ARM.

cloudMetadataProvider
String

The metadata of the cloud environment (Azure/GCP/AWS/OCI...).

agentUpgrade
AgentUpgrade

The info of the machine w.r.t Agent Upgrade.

osProfile
HybridComputeOSProfile

Specifies the operating system settings for the hybrid machine.

licenseProfile
LicenseProfileMachineInstanceView

Specifies the License related properties for a machine.

provisioningState
String

The provisioning state, which only appears in the response.

status
Nullable<HybridComputeStatusType>

The status of the hybrid machine agent.

lastStatusChange
Nullable<DateTimeOffset>

The time of the last status change.

errorDetails
IEnumerable<ResponseError>

Details about the error state.

agentVersion
String

The hybrid machine agent full version.

vmId
Nullable<Guid>

Specifies the hybrid machine unique ID.

displayName
String

Specifies the hybrid machine display name.

machineFqdn
String

Specifies the hybrid machine FQDN.

clientPublicKey
String

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

osName
String

The Operating System running on the hybrid machine.

osVersion
String

The version of Operating System running on the hybrid machine.

osType
String

The type of Operating System (windows/linux).

vmUuid
Nullable<Guid>

Specifies the Arc Machine's unique SMBIOS ID.

extensions
IEnumerable<MachineExtensionInstanceView>

Machine Extensions information (deprecated field).

osSku
String

Specifies the Operating System product SKU.

osEdition
String

The edition of the Operating System.

domainName
String

Specifies the Windows domain name.

adFqdn
String

Specifies the AD fully qualified display name.

dnsFqdn
String

Specifies the DNS fully qualified display name.

privateLinkScopeResourceId
ResourceIdentifier

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

parentClusterResourceId
ResourceIdentifier

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

msSqlDiscovered
String

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

detectedProperties
IReadOnlyDictionary<String,String>

Detected properties from the machine.

networkInterfaces
IEnumerable<HybridComputeNetworkInterface>

Information about the network the machine is on.

Returns

A new HybridComputeMachineData instance for mocking.

Applies to