-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
LinkNotificationHubContent.cs
34 lines (28 loc) · 1.39 KB
/
LinkNotificationHubContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Communication.Models
{
/// <summary> Description of an Azure Notification Hub to link to the communication service. </summary>
public partial class LinkNotificationHubContent
{
/// <summary> Initializes a new instance of LinkNotificationHubContent. </summary>
/// <param name="resourceId"> The resource ID of the notification hub. </param>
/// <param name="connectionString"> Connection string for the notification hub. </param>
/// <exception cref="ArgumentNullException"> <paramref name="resourceId"/> or <paramref name="connectionString"/> is null. </exception>
public LinkNotificationHubContent(ResourceIdentifier resourceId, string connectionString)
{
Argument.AssertNotNull(resourceId, nameof(resourceId));
Argument.AssertNotNull(connectionString, nameof(connectionString));
ResourceId = resourceId;
ConnectionString = connectionString;
}
/// <summary> The resource ID of the notification hub. </summary>
public ResourceIdentifier ResourceId { get; }
/// <summary> Connection string for the notification hub. </summary>
public string ConnectionString { get; }
}
}