Get-AzDataShareAccount
Ruft Informationen zu DataShare-Konten ab
Syntax
Get-AzDataShareAccount
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzDataShareAccount
-ResourceGroupName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzDataShareAccount
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Das cmdlet Get-AzDataShareAccount ruft Informationen zu Datenfreigabekonten in einem Azure-Abonnement/einer Ressourcengruppe ab. Wenn Sie den Namen eines Kontos angeben, ruft dieses Cmdlet Informationen zu diesem Datenfreigabekonto ab. Wenn Sie keinen Namen angeben, ruft dieses Cmdlet Informationen zu allen Datenfreigabekonten in einem Azure-Abonnement/einer Ressourcengruppe ab.
Beispiele
Beispiel 1
Get-AzDataShareAccount -ResourceGroupName "ADS"
DataShareAccountName : WikiADS
ResourceGroupName : ADS
Location : WestUS
ProvisioningState : Succeeded
Tags : {}
Identity : Microsoft.Azure.PowerShell.Cmdlets.DataShare.Models.PSIdentity
Type : Microsoft.DataShare/accounts
Id : /subscriptions/4834da9b-787a-44f6-ae81-60707ab8c957/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiADS
DataShareAccountName : WikiADS2
ResourceGroupName : ADS
Location : westus
ProvisioningState : Succeeded
Tags : {}
Identity : Microsoft.Azure.PowerShell.Cmdlets.DataShare.Models.PSIdentity
Type : Microsoft.DataShare/accounts
Id : /subscriptions/4834da9b-787a-44f6-ae81-60707ab8c957/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiADS
Dieser Befehl zeigt Informationen zu allen Datenfreigabekonten im Azure-Abonnement an.
Parameter
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-Name
Name des Azure-Datenfreigabekontos.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-ResourceGroupName
Der Ressourcengruppenname des Azure Data Share-Kontos.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-ResourceId
Die Ressourcen-ID des Azure Data Share-Kontos.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |