Dela via


ArmEventGridModelFactory.PartnerDestinationData Method

Definition

Initializes a new instance of PartnerDestinationData.

public static Azure.ResourceManager.EventGrid.PartnerDestinationData PartnerDestinationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Guid? partnerRegistrationImmutableId = default, string endpointServiceContext = default, DateTimeOffset? expirationTimeIfNotActivatedUtc = default, Azure.ResourceManager.EventGrid.Models.PartnerDestinationProvisioningState? provisioningState = default, Azure.ResourceManager.EventGrid.Models.PartnerDestinationActivationState? activationState = default, Uri endpointBaseUri = default, string messageForActivation = default);
static member PartnerDestinationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Guid> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerDestinationProvisioningState> * Nullable<Azure.ResourceManager.EventGrid.Models.PartnerDestinationActivationState> * Uri * string -> Azure.ResourceManager.EventGrid.PartnerDestinationData
Public Shared Function PartnerDestinationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional partnerRegistrationImmutableId As Nullable(Of Guid) = Nothing, Optional endpointServiceContext As String = Nothing, Optional expirationTimeIfNotActivatedUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of PartnerDestinationProvisioningState) = Nothing, Optional activationState As Nullable(Of PartnerDestinationActivationState) = Nothing, Optional endpointBaseUri As Uri = Nothing, Optional messageForActivation As String = Nothing) As PartnerDestinationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

partnerRegistrationImmutableId
Nullable<Guid>

The immutable Id of the corresponding partner registration.

endpointServiceContext
String

Endpoint context associated with this partner destination.

expirationTimeIfNotActivatedUtc
Nullable<DateTimeOffset>

Expiration time of the partner destination. If this timer expires and the partner destination was never activated, the partner destination and corresponding channel are deleted.

provisioningState
Nullable<PartnerDestinationProvisioningState>

Provisioning state of the partner destination.

activationState
Nullable<PartnerDestinationActivationState>

Activation state of the partner destination.

endpointBaseUri
Uri

Endpoint Base URL of the partner destination.

messageForActivation
String

Context or helpful message that can be used during the approval process.

Returns

A new PartnerDestinationData instance for mocking.

Applies to