Skip to content

Commit 49fdbcd

Browse files
authored
[Az.ServiceFabric] Update ServiceFabric.Management.SDK to 2023-11-01-preview (#28260)
1 parent 42d54c9 commit 49fdbcd

File tree

44 files changed

+20880
-11903
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+20880
-11903
lines changed

src/ServiceFabric/ServiceFabric.Management.Sdk/Generated/ClusterVersionsOperations.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ internal ClusterVersionsOperations (ServiceFabricManagementClient client)
4242
/// Gets information about an available Service Fabric cluster code version.
4343
/// </summary>
4444
/// <param name='location'>
45-
/// The location for the cluster code versions. This is different from cluster
46-
/// location.
45+
/// The location parameter.
4746
/// </param>
4847
/// <param name='clusterVersion'>
4948
/// The cluster code version.
@@ -252,8 +251,7 @@ internal ClusterVersionsOperations (ServiceFabricManagementClient client)
252251
/// environment.
253252
/// </summary>
254253
/// <param name='location'>
255-
/// The location for the cluster code versions. This is different from cluster
256-
/// location.
254+
/// The location parameter.
257255
/// </param>
258256
/// <param name='environment'>
259257
/// The operating system of the cluster. The default means all.
@@ -472,8 +470,7 @@ internal ClusterVersionsOperations (ServiceFabricManagementClient client)
472470
/// location.
473471
/// </summary>
474472
/// <param name='location'>
475-
/// The location for the cluster code versions. This is different from cluster
476-
/// location.
473+
/// The location parameter.
477474
/// </param>
478475
/// <param name='customHeaders'>
479476
/// Headers that will be added to request.
@@ -672,8 +669,7 @@ internal ClusterVersionsOperations (ServiceFabricManagementClient client)
672669
/// environment.
673670
/// </summary>
674671
/// <param name='location'>
675-
/// The location for the cluster code versions. This is different from cluster
676-
/// location.
672+
/// The location parameter.
677673
/// </param>
678674
/// <param name='environment'>
679675
/// The operating system of the cluster. The default means all.

src/ServiceFabric/ServiceFabric.Management.Sdk/Generated/ClusterVersionsOperationsExtensions.cs

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ public static partial class ClusterVersionsOperationsExtensions
1919
/// The operations group for this extension method.
2020
/// </param>
2121
/// <param name='location'>
22-
/// The location for the cluster code versions. This is different from cluster
23-
/// location.
22+
/// The location parameter.
2423
/// </param>
2524
/// <param name='clusterVersion'>
2625
/// The cluster code version.
@@ -37,8 +36,7 @@ public static ClusterCodeVersionsListResult Get(this IClusterVersionsOperations
3736
/// The operations group for this extension method.
3837
/// </param>
3938
/// <param name='location'>
40-
/// The location for the cluster code versions. This is different from cluster
41-
/// location.
39+
/// The location parameter.
4240
/// </param>
4341
/// <param name='clusterVersion'>
4442
/// The cluster code version.
@@ -61,8 +59,7 @@ public static ClusterCodeVersionsListResult Get(this IClusterVersionsOperations
6159
/// The operations group for this extension method.
6260
/// </param>
6361
/// <param name='location'>
64-
/// The location for the cluster code versions. This is different from cluster
65-
/// location.
62+
/// The location parameter.
6663
/// </param>
6764
/// <param name='environment'>
6865
/// The operating system of the cluster. The default means all.
@@ -83,8 +80,7 @@ public static ClusterCodeVersionsListResult GetByEnvironment(this IClusterVersio
8380
/// The operations group for this extension method.
8481
/// </param>
8582
/// <param name='location'>
86-
/// The location for the cluster code versions. This is different from cluster
87-
/// location.
83+
/// The location parameter.
8884
/// </param>
8985
/// <param name='environment'>
9086
/// The operating system of the cluster. The default means all.
@@ -110,8 +106,7 @@ public static ClusterCodeVersionsListResult GetByEnvironment(this IClusterVersio
110106
/// The operations group for this extension method.
111107
/// </param>
112108
/// <param name='location'>
113-
/// The location for the cluster code versions. This is different from cluster
114-
/// location.
109+
/// The location parameter.
115110
/// </param>
116111
public static ClusterCodeVersionsListResult List(this IClusterVersionsOperations operations, string location)
117112
{
@@ -126,8 +121,7 @@ public static ClusterCodeVersionsListResult List(this IClusterVersionsOperations
126121
/// The operations group for this extension method.
127122
/// </param>
128123
/// <param name='location'>
129-
/// The location for the cluster code versions. This is different from cluster
130-
/// location.
124+
/// The location parameter.
131125
/// </param>
132126
/// <param name='cancellationToken'>
133127
/// The cancellation token.
@@ -147,8 +141,7 @@ public static ClusterCodeVersionsListResult List(this IClusterVersionsOperations
147141
/// The operations group for this extension method.
148142
/// </param>
149143
/// <param name='location'>
150-
/// The location for the cluster code versions. This is different from cluster
151-
/// location.
144+
/// The location parameter.
152145
/// </param>
153146
/// <param name='environment'>
154147
/// The operating system of the cluster. The default means all.
@@ -166,8 +159,7 @@ public static ClusterCodeVersionsListResult ListByEnvironment(this IClusterVersi
166159
/// The operations group for this extension method.
167160
/// </param>
168161
/// <param name='location'>
169-
/// The location for the cluster code versions. This is different from cluster
170-
/// location.
162+
/// The location parameter.
171163
/// </param>
172164
/// <param name='environment'>
173165
/// The operating system of the cluster. The default means all.

src/ServiceFabric/ServiceFabric.Management.Sdk/Generated/IClusterVersionsOperations.cs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public partial interface IClusterVersionsOperations
2020
/// Gets information about an available Service Fabric cluster code version.
2121
/// </remarks>
2222
/// <param name='location'>
23-
/// The location for the cluster code versions. This is different from cluster
24-
/// location.
23+
/// The location parameter.
2524
/// </param>
2625
/// <param name='clusterVersion'>
2726
/// The cluster code version.
@@ -49,8 +48,7 @@ public partial interface IClusterVersionsOperations
4948
/// environment.
5049
/// </remarks>
5150
/// <param name='location'>
52-
/// The location for the cluster code versions. This is different from cluster
53-
/// location.
51+
/// The location parameter.
5452
/// </param>
5553
/// <param name='environment'>
5654
/// The operating system of the cluster. The default means all.
@@ -81,8 +79,7 @@ public partial interface IClusterVersionsOperations
8179
/// location.
8280
/// </remarks>
8381
/// <param name='location'>
84-
/// The location for the cluster code versions. This is different from cluster
85-
/// location.
82+
/// The location parameter.
8683
/// </param>
8784
/// <param name='customHeaders'>
8885
/// The headers that will be added to request.
@@ -107,8 +104,7 @@ public partial interface IClusterVersionsOperations
107104
/// environment.
108105
/// </remarks>
109106
/// <param name='location'>
110-
/// The location for the cluster code versions. This is different from cluster
111-
/// location.
107+
/// The location parameter.
112108
/// </param>
113109
/// <param name='environment'>
114110
/// The operating system of the cluster. The default means all.

src/ServiceFabric/ServiceFabric.Management.Sdk/Generated/IServiceFabricManagementClient.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ public partial interface IServiceFabricManagementClient : System.IDisposable
8383
/// </summary>
8484
IOperations Operations { get; }
8585

86+
/// <summary>
87+
/// Gets the IUnsupportedVMSizesOperations
88+
/// </summary>
89+
IUnsupportedVMSizesOperations UnsupportedVMSizes { get; }
90+
8691
/// <summary>
8792
/// Gets the IApplicationTypesOperations
8893
/// </summary>
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.ServiceFabric
7+
{
8+
using Microsoft.Rest.Azure;
9+
using Models;
10+
11+
/// <summary>
12+
/// UnsupportedVMSizesOperations operations.
13+
/// </summary>
14+
public partial interface IUnsupportedVMSizesOperations
15+
{
16+
/// <summary>
17+
/// Get the lists of unsupported vm sizes for Service Fabric Clusters.
18+
/// </summary>
19+
/// <remarks>
20+
/// Get the lists of unsupported vm sizes for Service Fabric Clusters.
21+
/// </remarks>
22+
/// <param name='location'>
23+
/// The location parameter.
24+
/// </param>
25+
/// <param name='customHeaders'>
26+
/// The headers that will be added to request.
27+
/// </param>
28+
/// <param name='cancellationToken'>
29+
/// The cancellation token.
30+
/// </param>
31+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
32+
/// Thrown when the operation returned an invalid status code
33+
/// </exception>
34+
/// <exception cref="Microsoft.Rest.SerializationException">
35+
/// Thrown when unable to deserialize the response
36+
/// </exception>
37+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<VMSizeResource>>> ListWithHttpMessagesAsync(string location, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
38+
39+
/// <summary>
40+
/// Get unsupported vm size for Service Fabric Clusters.
41+
/// </summary>
42+
/// <remarks>
43+
/// Get unsupported vm size for Service Fabric Clusters.
44+
/// </remarks>
45+
/// <param name='location'>
46+
/// The location parameter.
47+
/// </param>
48+
/// <param name='vmSize'>
49+
/// VM Size name.
50+
/// </param>
51+
/// <param name='customHeaders'>
52+
/// The headers that will be added to request.
53+
/// </param>
54+
/// <param name='cancellationToken'>
55+
/// The cancellation token.
56+
/// </param>
57+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
58+
/// Thrown when the operation returned an invalid status code
59+
/// </exception>
60+
/// <exception cref="Microsoft.Rest.SerializationException">
61+
/// Thrown when unable to deserialize the response
62+
/// </exception>
63+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<VMSizeResource>> GetWithHttpMessagesAsync(string location, string vmSize, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
64+
65+
/// <summary>
66+
/// Get the lists of unsupported vm sizes for Service Fabric Clusters.
67+
/// </summary>
68+
/// <remarks>
69+
/// Get the lists of unsupported vm sizes for Service Fabric Clusters.
70+
/// </remarks>
71+
/// <param name='nextPageLink'>
72+
/// The NextLink from the previous successful call to List operation.
73+
/// </param>
74+
/// <param name='customHeaders'>
75+
/// The headers that will be added to request.
76+
/// </param>
77+
/// <param name='cancellationToken'>
78+
/// The cancellation token.
79+
/// </param>
80+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
81+
/// Thrown when the operation returned an invalid status code
82+
/// </exception>
83+
/// <exception cref="Microsoft.Rest.SerializationException">
84+
/// Thrown when unable to deserialize the response
85+
/// </exception>
86+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<VMSizeResource>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
87+
88+
}
89+
}

src/ServiceFabric/ServiceFabric.Management.Sdk/Generated/Models/Cluster.cs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,13 @@ public Cluster()
200200

201201
/// <param name="notifications">Indicates a list of notification channels for cluster events.
202202
/// </param>
203-
public Cluster(string location, string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), SystemData systemData = default(SystemData), string clusterState = default(string), string provisioningState = default(string), string reliabilityLevel = default(string), string upgradeMode = default(string), System.Collections.Generic.IList<string> addOnFeatures = default(System.Collections.Generic.IList<string>), System.Collections.Generic.IList<ClusterVersionDetails> availableClusterVersions = default(System.Collections.Generic.IList<ClusterVersionDetails>), AzureActiveDirectory azureActiveDirectory = default(AzureActiveDirectory), CertificateDescription certificate = default(CertificateDescription), ServerCertificateCommonNames certificateCommonNames = default(ServerCertificateCommonNames), System.Collections.Generic.IList<ClientCertificateCommonName> clientCertificateCommonNames = default(System.Collections.Generic.IList<ClientCertificateCommonName>), System.Collections.Generic.IList<ClientCertificateThumbprint> clientCertificateThumbprints = default(System.Collections.Generic.IList<ClientCertificateThumbprint>), string clusterCodeVersion = default(string), string clusterEndpoint = default(string), string clusterId = default(string), DiagnosticsStorageAccountConfig diagnosticsStorageAccountConfig = default(DiagnosticsStorageAccountConfig), bool? eventStoreServiceEnabled = default(bool?), System.Collections.Generic.IList<SettingsSectionDescription> fabricSettings = default(System.Collections.Generic.IList<SettingsSectionDescription>), string managementEndpoint = default(string), System.Collections.Generic.IList<NodeTypeDescription> nodeTypes = default(System.Collections.Generic.IList<NodeTypeDescription>), CertificateDescription reverseProxyCertificate = default(CertificateDescription), ServerCertificateCommonNames reverseProxyCertificateCommonNames = default(ServerCertificateCommonNames), ClusterUpgradePolicy upgradeDescription = default(ClusterUpgradePolicy), ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy = default(ApplicationTypeVersionsCleanupPolicy), string vmImage = default(string), string sfZonalUpgradeMode = default(string), string vmssZonalUpgradeMode = default(string), bool? infrastructureServiceManager = default(bool?), string upgradeWave = default(string), System.DateTime? upgradePauseStartTimestampUtc = default(System.DateTime?), System.DateTime? upgradePauseEndTimestampUtc = default(System.DateTime?), bool? waveUpgradePaused = default(bool?), System.Collections.Generic.IList<Notification> notifications = default(System.Collections.Generic.IList<Notification>))
203+
204+
/// <param name="enableHttpGatewayExclusiveAuthMode">If true, token-based authentication is not allowed on the
205+
/// HttpGatewayEndpoint. This is required to support TLS versions 1.3 and
206+
/// above. If token-based authentication is used,
207+
/// HttpGatewayTokenAuthEndpointPort must be defined.
208+
/// </param>
209+
public Cluster(string location, string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), SystemData systemData = default(SystemData), string clusterState = default(string), string provisioningState = default(string), string reliabilityLevel = default(string), string upgradeMode = default(string), System.Collections.Generic.IList<string> addOnFeatures = default(System.Collections.Generic.IList<string>), System.Collections.Generic.IList<ClusterVersionDetails> availableClusterVersions = default(System.Collections.Generic.IList<ClusterVersionDetails>), AzureActiveDirectory azureActiveDirectory = default(AzureActiveDirectory), CertificateDescription certificate = default(CertificateDescription), ServerCertificateCommonNames certificateCommonNames = default(ServerCertificateCommonNames), System.Collections.Generic.IList<ClientCertificateCommonName> clientCertificateCommonNames = default(System.Collections.Generic.IList<ClientCertificateCommonName>), System.Collections.Generic.IList<ClientCertificateThumbprint> clientCertificateThumbprints = default(System.Collections.Generic.IList<ClientCertificateThumbprint>), string clusterCodeVersion = default(string), string clusterEndpoint = default(string), string clusterId = default(string), DiagnosticsStorageAccountConfig diagnosticsStorageAccountConfig = default(DiagnosticsStorageAccountConfig), bool? eventStoreServiceEnabled = default(bool?), System.Collections.Generic.IList<SettingsSectionDescription> fabricSettings = default(System.Collections.Generic.IList<SettingsSectionDescription>), string managementEndpoint = default(string), System.Collections.Generic.IList<NodeTypeDescription> nodeTypes = default(System.Collections.Generic.IList<NodeTypeDescription>), CertificateDescription reverseProxyCertificate = default(CertificateDescription), ServerCertificateCommonNames reverseProxyCertificateCommonNames = default(ServerCertificateCommonNames), ClusterUpgradePolicy upgradeDescription = default(ClusterUpgradePolicy), ApplicationTypeVersionsCleanupPolicy applicationTypeVersionsCleanupPolicy = default(ApplicationTypeVersionsCleanupPolicy), string vmImage = default(string), string sfZonalUpgradeMode = default(string), string vmssZonalUpgradeMode = default(string), bool? infrastructureServiceManager = default(bool?), string upgradeWave = default(string), System.DateTime? upgradePauseStartTimestampUtc = default(System.DateTime?), System.DateTime? upgradePauseEndTimestampUtc = default(System.DateTime?), bool? waveUpgradePaused = default(bool?), System.Collections.Generic.IList<Notification> notifications = default(System.Collections.Generic.IList<Notification>), bool? enableHttpGatewayExclusiveAuthMode = default(bool?))
204210

205211
: base(location, id, name, type, tags, etag, systemData)
206212
{
@@ -236,6 +242,7 @@ public Cluster()
236242
this.UpgradePauseEndTimestampUtc = upgradePauseEndTimestampUtc;
237243
this.WaveUpgradePaused = waveUpgradePaused;
238244
this.Notifications = notifications;
245+
this.EnableHttpGatewayExclusiveAuthMode = enableHttpGatewayExclusiveAuthMode;
239246
CustomInit();
240247
}
241248

@@ -498,6 +505,15 @@ public Cluster()
498505
/// </summary>
499506
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.notifications")]
500507
public System.Collections.Generic.IList<Notification> Notifications {get; set; }
508+
509+
/// <summary>
510+
/// Gets or sets if true, token-based authentication is not allowed on the
511+
/// HttpGatewayEndpoint. This is required to support TLS versions 1.3 and
512+
/// above. If token-based authentication is used,
513+
/// HttpGatewayTokenAuthEndpointPort must be defined.
514+
/// </summary>
515+
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.enableHttpGatewayExclusiveAuthMode")]
516+
public bool? EnableHttpGatewayExclusiveAuthMode {get; set; }
501517
/// <summary>
502518
/// Validate the object.
503519
/// </summary>

0 commit comments

Comments
 (0)