-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
PurviewShareClientOptions.cs
37 lines (30 loc) · 1.11 KB
/
PurviewShareClientOptions.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 System;
using Azure.Core;
namespace Azure.Analytics.Purview.Share
{
/// <summary> Client options for PurviewShareClient library clients. </summary>
public partial class PurviewShareClientOptions : ClientOptions
{
private const ServiceVersion LatestVersion = ServiceVersion.V2021_09_01_Preview;
/// <summary> The version of the service to use. </summary>
public enum ServiceVersion
{
/// <summary> Service version "2021-09-01-preview". </summary>
V2021_09_01_Preview = 1,
}
internal string Version { get; }
/// <summary> Initializes new instance of PurviewShareClientOptions. </summary>
public PurviewShareClientOptions(ServiceVersion version = LatestVersion)
{
Version = version switch
{
ServiceVersion.V2021_09_01_Preview => "2021-09-01-preview",
_ => throw new NotSupportedException()
};
}
}
}