Get-AzsUpdateRun
Haal een exemplaar van de updateuitvoering op met behulp van de id.
Syntax
Get-AzsUpdateRun
-UpdateName <String>
[-Location <String>]
[-ResourceGroupName <String>]
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzsUpdateRun
-Name <String>
-UpdateName <String>
[-Location <String>]
[-ResourceGroupName <String>]
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzsUpdateRun
-INPUTOBJECT \<IUpdateAdminIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Haal een exemplaar van de updateuitvoering op met behulp van de id.
Voorbeelden
Voorbeeld 1: Get-AzsUpdateRun
PS C:\> Get-AzsUpdateRun
cmdlet Get-AzsUpdateRun at command pipeline position 1
Supply values for the following parameters:
UpdateName: Microsoft1.1907.0.10
Name State ProgressStartTimeUtc ProgressEndTimeUtc
---- ----- -------------------- ------------------
northwest/Microsoft1.1907.0.10/45aaeb... Failed 7/11/2019 3:07:10 PM 7/11/2019 7:38:05 PM
northwest/Microsoft1.1907.0.10/51e878... Succeeded 7/11/2019 3:07:10 PM 7/12/2019 6:47:37 AM
Als er geen UpdateName-waarde is opgegeven, vraagt Get-UpdateRun altijd om invoer. Zodra dit is opgegeven, worden alle exemplaren van UpdateRun uitgevoerd die zijn mislukt of geslaagd
Voorbeeld 2: Get-AzsUpdateRun op UpdateName
PS C:\> Get-AzsUpdateRun -UpdateName Microsoft1.1907.0.10
or
PS C:\> Get-AzsUpdateRun -UpdateName northwest/Microsoft1.1907.0.10
Name State ProgressStartTimeUtc ProgressEndTimeUtc
---- ----- -------------------- ------------------
northwest/Microsoft1.1907.0.10/45aaeb... Failed 7/11/2019 3:07:10 PM 7/11/2019 7:38:05 PM
northwest/Microsoft1.1907.0.10/51e878... Succeeded 7/11/2019 3:07:10 PM 7/12/2019 6:47:37 AM
Haalt alle UpdateRuns op die zijn gekoppeld aan een specifieke update
Voorbeeld 2: Get-AzsUpdateRun op naam
PS C:\> Get-AzsUpdateRun -UpdateName Microsoft1.1907.0.10 -Name 45aaeb26-805b-495b-9c8c-d5da5542dbf4
or
PS C:\> Get-AzsUpdateRun -UpdateName northwest/Microsoft1.1907.0.10 -Name northwest/Microsoft1.1907.0.10/45aaeb26-805b-495b-9c8c-d5da5542dbf4
Name State ProgressStartTimeUtc ProgressEndTimeUtc
---- ----- -------------------- ------------------
northwest/Microsoft1.1907.0.10/45aaeb... Failed 7/11/2019 3:07:10 PM 7/11/2019 7:38:05 PM
Haalt alle UpdateRuns op die zijn gekoppeld aan een specifieke update en een specifieke naam
Parameters
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identiteitsparameter Om te maken, raadpleegt u de sectie NOTES voor INPUTOBJECT-eigenschappen en maakt u een hash-tabel.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.IUpdateAdminIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
De naam van de updatelocatie.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Uitvoerings-id bijwerken.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van de resourcegroep.
| Type: | String |
| Position: | Named |
| Default value: | -join("System.",(Get-AzLocation)[0].Location) |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
| Type: | String[] |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van de update.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Invoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.IUpdateAdminIdentity
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.Api20160501.IUpdateRun
Notities
COMPLEXE PARAMETEREIGENSCHAPPEN Om de hieronder beschreven parameters te maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.
INPUTOBJECT <IUpdateAdminIdentity>: Identiteitsparameter
[Id <String>]: Pad naar resource-id[ResourceGroupName <String>]: Naam van resourcegroep.[RunName <String>]: Uitvoerings-id bijwerken.[SubscriptionId <String>]: Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.[UpdateLocation <String>]: De naam van de updatelocatie.[UpdateName <String>]: Naam van de update.