-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StorageBlobDeadLetterDestination.cs
37 lines (31 loc) · 1.75 KB
/
StorageBlobDeadLetterDestination.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
namespace Azure.ResourceManager.EventGrid.Models
{
/// <summary> Information about the storage blob based dead letter destination. </summary>
public partial class StorageBlobDeadLetterDestination : DeadLetterDestination
{
/// <summary> Initializes a new instance of StorageBlobDeadLetterDestination. </summary>
public StorageBlobDeadLetterDestination()
{
EndpointType = DeadLetterEndPointType.StorageBlob;
}
/// <summary> Initializes a new instance of StorageBlobDeadLetterDestination. </summary>
/// <param name="endpointType"> Type of the endpoint for the dead letter destination. </param>
/// <param name="resourceId"> The Azure Resource ID of the storage account that is the destination of the deadletter events. </param>
/// <param name="blobContainerName"> The name of the Storage blob container that is the destination of the deadletter events. </param>
internal StorageBlobDeadLetterDestination(DeadLetterEndPointType endpointType, ResourceIdentifier resourceId, string blobContainerName) : base(endpointType)
{
ResourceId = resourceId;
BlobContainerName = blobContainerName;
EndpointType = endpointType;
}
/// <summary> The Azure Resource ID of the storage account that is the destination of the deadletter events. </summary>
public ResourceIdentifier ResourceId { get; set; }
/// <summary> The name of the Storage blob container that is the destination of the deadletter events. </summary>
public string BlobContainerName { get; set; }
}
}