Das Cmdlet Get-AzDataShare ruft Informationen zu Datenfreigaben in einem Azure Datenfreigabekonto ab.
Wenn Sie den Namen einer Datenfreigabe angeben, ruft dieses Cmdlet Informationen zu dieser Datenfreigabe ab.
Wenn Sie keinen Namen angeben, ruft dieses Cmdlet Informationen zu allen Datenfreigaben in einem Azure Datenfreigabekonto ab.
Beispiele
Beispiel 1: Abrufen einer bestimmten Datenfreigabe
Name : AdsShare
Id : /subscriptions/f3ead1ff-d0ab-4cf4-9a5a-86f1661d4685/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAdsAccount/shares/AdsShare
Type : Microsoft.DataShare/shares
CreatedAt : 6/11/2019 12:00:00 AM
CreatedBy : Contoso ADS
ShareKind : CopyBased
Description : Example of description
ProvisioningState : Succeeded
Terms : This should not be shared
Mit diesem Befehl werden Informationen zur Datenfreigabe AdsShare im Azure Datenfreigabekonto "WikiAdsAccount" und der Ressourcengruppe ADS angezeigt.
Dieses Cmdlet unterstützt die allgemeinen Parameter -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction und -WarningVariable. Weitere Informationen findest du unter about_CommonParameters.