Update-AzConnectedMachine
De bewerking voor het bijwerken van een hybride machine.
Syntaxis
Update-AzConnectedMachine
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-EnableSystemAssignedIdentity <Boolean>]
[-AgentUpgradeCorrelationId <String>]
[-AgentUpgradeDesiredVersion <String>]
[-AgentUpgradeEnableAutomatic]
[-IdentityType <String>]
[-Kind <String>]
[-LocationDataCity <String>]
[-LocationDataCountryOrRegion <String>]
[-LocationDataDistrict <String>]
[-LocationDataName <String>]
[-OSProfile <IOSProfile>]
[-ParentClusterResourceId <String>]
[-PrivateLinkScopeResourceId <String>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzConnectedMachine
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-Parameter <IMachineUpdate>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzConnectedMachine
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-JsonFilePath <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzConnectedMachine
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-JsonString <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzConnectedMachine
-InputObject <IConnectedMachineIdentity>
-Parameter <IMachineUpdate>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzConnectedMachine
-InputObject <IConnectedMachineIdentity>
[-EnableSystemAssignedIdentity <Boolean>]
[-AgentUpgradeCorrelationId <String>]
[-AgentUpgradeDesiredVersion <String>]
[-AgentUpgradeEnableAutomatic]
[-IdentityType <String>]
[-Kind <String>]
[-LocationDataCity <String>]
[-LocationDataCountryOrRegion <String>]
[-LocationDataDistrict <String>]
[-LocationDataName <String>]
[-OSProfile <IOSProfile>]
[-ParentClusterResourceId <String>]
[-PrivateLinkScopeResourceId <String>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
De bewerking voor het bijwerken van een hybride machine.
Voorbeelden
Voorbeeld 1: Een hybride machine bijwerken
Update-AzConnectedMachine -Name $env.MachineName -ResourceGroupName $env.ResourceGroupName -PrivateLinkScopeResourceId $env.PrivateLinkScopeUri
AdFqdn : ********
AgentConfigurationConfigMode : full
AgentConfigurationExtensionsAllowList : {}
AgentConfigurationExtensionsBlockList : {}
AgentConfigurationExtensionsEnabled : true
AgentConfigurationGuestConfigurationEnabled : true
AgentConfigurationIncomingConnectionsPort : {}
AgentConfigurationProxyBypass : {}
AgentConfigurationProxyUrl :
AgentUpgradeCorrelationId :
AgentUpgradeDesiredVersion :
AgentUpgradeEnableAutomaticUpgrade : False
AgentUpgradeLastAttemptDesiredVersion :
AgentUpgradeLastAttemptMessage :
AgentUpgradeLastAttemptStatus :
AgentUpgradeLastAttemptTimestamp :
AgentVersion : *******
ClientPublicKey : ********-****-****-****-**********
CloudMetadataProvider : N/A
DetectedProperty : {
"cloudprovider": "N/A",
"coreCount": "4",
"logicalCoreCount": "8",
"manufacturer": "LENOVO",
"model": "*******",
"mssqldiscovered": "false",
"processorCount": "1",
"processorNames": "11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz",
"productType": "4",
"serialNumber": "********",
"smbiosAssetTag": "********",
"totalPhysicalMemoryInBytes": "********",
"totalPhysicalMemoryInGigabytes": "32",
"vmuuidEsu2012": "********-****-****-****-**********"
}
DisplayName : ********
DnsFqdn : ********
DomainName : WORKGROUP
ErrorDetail : {}
Extension :
ExtensionServiceStartupType : automatic
ExtensionServiceStatus : running
Fqdn : ********
GuestConfigurationServiceStartupType : automatic
GuestConfigurationServiceStatus : running
Id : /subscriptions/********-****-****-****-**********/resourceGroups/
********/providers/Microsoft.HybridCompute/machines/********
IdentityPrincipalId : ********-****-****-****-**********
IdentityTenantId : ********-****-****-****-**********
IdentityType : SystemAssigned
Kind :
LastStatusChange : 9/20/2024 1:42:35 AM
LicenseProfile : {
"esuProfile": {
"serverType": "Unknown",
"esuEligibility": "Ineligible",
"esuKeyState": "Inactive",
"licenseAssignmentState": "NotAssigned"
},
"licenseStatus": "Licensed",
"licenseChannel": "Retail"
}
Location : centraluseuap
LocationDataCity :
LocationDataCountryOrRegion :
LocationDataDistrict :
LocationDataName :
MssqlDiscovered : false
Name : testmachine
NetworkProfileNetworkInterface : {{
"ipAddresses": [
{
"subnet": {
"addressPrefix": "********"
},
"address": "********",
"ipAddressVersion": "IPv4"
}
]
}, {
"ipAddresses": [
{
"subnet": {
"addressPrefix": "********"
},
"address": "********",
"ipAddressVersion": "IPv4"
}
]
}, {
"ipAddresses": [
{
"subnet": {
"addressPrefix": "********"
},
"address": "********",
"ipAddressVersion": "IPv6"
}
]
}}
OSEdition : enterprise
OSName : windows
OSProfile : {
"computerName": "********"
}
OSSku : Windows 10 Enterprise
OSType : windows
OSVersion : ********
ParentClusterResourceId :
PrivateLinkScopeResourceId :
ProvisioningState : Succeeded
Resource :
ResourceGroupName : ********
Status : Connected
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Tags : {
}
Type : Microsoft.HybridCompute/machines
VMId : ********-****-****-****-**********
VMUuid : ********-****-****-****-**********
Een hybride machine bijwerken
Parameters
-AgentUpgradeCorrelationId
De correlatie-id die is doorgegeven vanuit RSM per upgrade.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-AgentUpgradeDesiredVersion
Hiermee geeft u de versie-info w.r.t AgentUpgrade voor de machine.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-AgentUpgradeEnableAutomatic
Hiermee geeft u op of RSM deze computer moet upgraden
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Confirm
U wordt gevraagd om bevestiging voordat u de cmdlet uitvoert.
Type: | SwitchParameter |
Aliassen: | cf |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DefaultProfile
De parameter DefaultProfile is niet functioneel. Gebruik de parameter SubscriptionId indien beschikbaar als u de cmdlet uitvoert voor een ander abonnement.
Type: | PSObject |
Aliassen: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-EnableSystemAssignedIdentity
Hiermee wordt bepaald of een door het systeem toegewezen identiteit voor de resource is ingeschakeld.
Type: | Nullable<T>[Boolean] |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-IdentityType
Het identiteitstype.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Identiteitsparameter
Type: | IConnectedMachineIdentity |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-JsonFilePath
Pad van het Json-bestand dat is opgegeven bij de updatebewerking
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-JsonString
Json-tekenreeks die is opgegeven bij de updatebewerking
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Kind
Geeft aan welk type Arc-machine on-premises wordt geplaatst, zoals HCI, SCVMM of VMware, enzovoort.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-LocationDataCity
De plaats of plaats waar de resource zich bevindt.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-LocationDataCountryOrRegion
Het land of de regio waar de resource zich bevindt
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-LocationDataDistrict
Het district, de staat of de provincie waar de resource zich bevindt.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-LocationDataName
Een canonieke naam voor de geografische of fysieke locatie.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Name
De naam van de hybride machine.
Type: | String |
Aliassen: | MachineName |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-OSProfile
Hiermee geeft u de besturingssysteeminstellingen voor de hybride machine.
Type: | IOSProfile |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Parameter
Beschrijft een update van een hybride machine.
Type: | IMachineUpdate |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-ParentClusterResourceId
De resource-id van het bovenliggende cluster (Azure HCI) waaraan deze machine, indien van toepassing, is toegewezen.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-PrivateLinkScopeResourceId
De resource-id van het private link-bereik waaraan deze machine, indien van toepassing, is toegewezen.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-SubscriptionId
De id van het doelabonnement.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Tag
Resourcetags
Type: | Hashtable |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-WhatIf
Toont wat er zou gebeuren als de cmdlet wordt uitgevoerd. De cmdlet wordt niet uitgevoerd.
Type: | SwitchParameter |
Aliassen: | wi |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
Uitvoerwaarden
Azure PowerShell