Get-AzBatchAccount
Ottiene un account Batch nella sottoscrizione corrente.
Sintassi
Get-AzBatchAccount
[[-AccountName] <String>]
[[-ResourceGroupName] <String>]
[[-Tag] <Hashtable>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Descrizione
Il cmdlet Get-AzBatchAccount ottiene un account Azure Batch nella sottoscrizione corrente. È possibile usare il parametro AccountName per ottenere un singolo account oppure è possibile usare il parametro ResourceGroupName per ottenere gli account nel gruppo di risorse.
Esempio
Esempio 1: Ottenere un account batch in base al nome
Get-AzBatchAccount -AccountName "pfuller"
AccountName : pfuller
Location : westus
ResourceGroupName : CmdletExampleRG
DedicatedCoreQuota : 20
LowPriorityCoreQuota : 20
PoolQuota : 20
ActiveJobAndJobScheduleQuota : 20
Tags :
TaskTenantUrl : https://pfuller.westus.batch.azure.com
Questo comando ottiene l'account batch denominato pfuller.
Esempio 2: Ottenere gli account batch associati a un gruppo di risorse
Get-AzBatchAccount -ResourceGroupName "CmdletExampleRG"
AccountName : cmdletexample
Location : westus
ResourceGroupName : CmdletExampleRG
DedicatedCoreQuota : 20
LowPriorityCoreQuota : 20
PoolQuota : 20
ActiveJobAndJobScheduleQuota : 20
Tags :
TaskTenantUrl : https://cmdletexample.westus.batch.azure.com
AccountName : cmdletexample2
Location : westus
ResourceGroupName : CmdletExampleRG
DedicatedCoreQuota : 20
LowPriorityCoreQuota : 20
PoolQuota : 20
ActiveJobAndJobScheduleQuota : 20
Tags :
TaskTenantUrl : https://cmdletexample.westus.batch.azure.com
Questo comando ottiene gli account batch associati al gruppo di risorse CmdletExampleRG.
Parametri
-AccountName
Specifica il nome di un account. Se si specifica un nome di account, questo cmdlet restituisce solo tale account.
Type: | String |
Aliases: | Name |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Credenziali, account, tenant e sottoscrizione usati per la comunicazione con Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Specifica il nome di un gruppo di risorse. Se si specifica un gruppo di risorse, questo cmdlet ottiene gli account nel gruppo di risorse specificato.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Tag
Coppie chiave-valore sotto forma di tabella hash. Ad esempio: @{key0="value0"; key1=$null; key2="value2"} Questo cmdlet ottiene gli account che contengono i tag specificati da questo parametro.
Type: | Hashtable |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Input
Output
Collegamenti correlati
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per