Get-AzDataShareReceivedInvitation
Gets information about consumer invitations.
Syntax
Default (Default)
Get-AzDataShareReceivedInvitation
[-Location <String>]
[-InvitationId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzDataShareReceivedInvitation cmdlet provides information about all the invitations that the consumer has received. If you provide location or invitation id, this cmdlet provides information about invitation in particular location or having invitation id. Otherwise, it provides a list of invitations sent to the consumer.
Examples
Example 1
Get-AzDataShareReceivedInvitation -location "westus"
DataSetCount : 3
InvitationId : 167e06ff-567f-4bc7-be0c-645a6de710f3
InvitationStatus : Pending
Location : westus
RespondedAt :
Sender : adsprovider@microsoft.com
SenderCompanyName : ADS Test
SentAt : 7/8/2019 10:47:10 PM
ShareName : AdsShare
Description : Some description
Terms : Some terms of use
Id : /providers/Microsoft.DataShare/consumerInvitations/167e06ff-567f-4bc7-be0c-645a6de710f3
Name : AdsInvitation
Type : Microsoft.DataShare/consumerInvitations
This command provides information about consumer invitations.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-InvitationId
Azure dataShare invitation id.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Location
Azure data share invitation location.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.