-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
DiagnosticStorageProperties.cs
46 lines (39 loc) · 2.11 KB
/
DiagnosticStorageProperties.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
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.DeviceUpdate.Models
{
/// <summary> Customer-initiated diagnostic log collection storage properties. </summary>
public partial class DiagnosticStorageProperties
{
/// <summary> Initializes a new instance of DiagnosticStorageProperties. </summary>
/// <param name="authenticationType"> Authentication Type. </param>
/// <param name="resourceId"> ResourceId of the diagnostic storage account. </param>
/// <exception cref="ArgumentNullException"> <paramref name="resourceId"/> is null. </exception>
public DiagnosticStorageProperties(DiagnosticStorageAuthenticationType authenticationType, ResourceIdentifier resourceId)
{
Argument.AssertNotNull(resourceId, nameof(resourceId));
AuthenticationType = authenticationType;
ResourceId = resourceId;
}
/// <summary> Initializes a new instance of DiagnosticStorageProperties. </summary>
/// <param name="authenticationType"> Authentication Type. </param>
/// <param name="connectionString"> ConnectionString of the diagnostic storage account. </param>
/// <param name="resourceId"> ResourceId of the diagnostic storage account. </param>
internal DiagnosticStorageProperties(DiagnosticStorageAuthenticationType authenticationType, string connectionString, ResourceIdentifier resourceId)
{
AuthenticationType = authenticationType;
ConnectionString = connectionString;
ResourceId = resourceId;
}
/// <summary> Authentication Type. </summary>
public DiagnosticStorageAuthenticationType AuthenticationType { get; set; }
/// <summary> ConnectionString of the diagnostic storage account. </summary>
public string ConnectionString { get; set; }
/// <summary> ResourceId of the diagnostic storage account. </summary>
public ResourceIdentifier ResourceId { get; set; }
}
}