New-AzEventGridPartnerObject
Create an in-memory object for Partner.
Syntax
Default (Default)
New-AzEventGridPartnerObject
[-AuthorizationExpirationTimeInUtc <DateTime>]
[-Name <String>]
[-RegistrationImmutableId <String>]
[<CommonParameters>]
Description
Create an in-memory object for Partner.
Examples
Example 1: Create an in-memory object for Partner.
New-AzEventGridPartnerObject -AuthorizationExpirationTimeInUtc "2023-11-19T09:31:42.521Z" -Name "Auth0" -RegistrationImmutableId "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
AuthorizationExpirationTimeInUtc Name RegistrationImmutableId
-------------------------------- ---- -----------------------
2023-11-19 下午 05:31:42 Auth0 804a11ca-ce9b-4158-8e94-3c8dc7a072ec
Create an in-memory object for Partner.
Parameters
-AuthorizationExpirationTimeInUtc
Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration. If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.
Parameter properties
Type: | DateTime |
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 |
-Name
The partner name.
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 |
-RegistrationImmutableId
The immutableId of the corresponding partner registration.
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.