New-AzDataShareSubscription
Erstellt ein neues Freigabeabonnement.
Syntax
New-AzDataShareSubscription
-ResourceGroupName <String>
-AccountName <String>
-Name <String>
-InvitationId <String>
-SourceShareLocation <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Beschreibung
Das Cmdlet New-AzDataShareSubscription erstellt ein Freigabeabonnement in angegebenen Datenfreigabekontos und einladungs-ID.
Beispiele
Beispiel 1
New-AzDataShareSubscription -ResourceGroupName "ADS" -AccountName "WikiAds" -Name "AdsShareSubscription" -InvitationId "167e06ff-567f-4bc7-be0c-645a6de710f3"
CreatedAt : 6/30/2019 12:42:12 AM
CreatedBy : adstest@microsoft.com
InvitationId : 167e06ff-567f-4bc7-be0c-645a6de710f3
ProvisioningState : Succeeded
ShareName : AdsShare
ShareSender : adsprovider@microsoft.com
ShareSenderCompanyName : ADS Company
ShareDescription : Test description
ShareTerms : Test terms of use
ShareSubscriptionStatus : Active
ShareKind : CopyBased
Id : /subscriptions/1834da9b-787a-44f6-ae81-60707ab8c957/resourceGroups/ADS/providers/Microsoft.DataShare/accounts/WikiAds/shareSubscriptions/AdsShareSubscription
Name : AdsShareSubscription
Type : Microsoft.DataShare/ShareSubscriptions
Mit diesen Befehlen wird ein neues Freigabeabonnement AdsShareSubscription für invitaionId unter dem Datenfreigabekonto WikiAds erstellt.
Parameter
-AccountName
Name des Azure-Datenfreigabekontos
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.
Typ: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InvitationId
Azure Data Share InvitationId
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name des Azure Data Share-Abonnements
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Der Ressourcengruppenname des Azure Data Share-Kontos
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SourceShareLocation
Azure-Datenspeicherort
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
Typ: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Eingaben
None
Ausgaben
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für