Skip to content

Commit 3ae72a3

Browse files
committed
Adding 2024-07-01 generation
1 parent a572837 commit 3ae72a3

File tree

89 files changed

+3384
-987
lines changed

Some content is hidden

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

89 files changed

+3384
-987
lines changed

src/Batch/Batch.Management.Sdk/Generated/ApplicationPackageOperations.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ internal ApplicationPackageOperations (BatchManagementClient client)
349349
/// <param name='versionName'>
350350
/// The version of the application.
351351
/// </param>
352+
/// <param name='tags'>
353+
/// The tags of the resource.
354+
/// </param>
352355
/// <param name='customHeaders'>
353356
/// Headers that will be added to request.
354357
/// </param>
@@ -370,7 +373,7 @@ internal ApplicationPackageOperations (BatchManagementClient client)
370373
/// <return>
371374
/// A response object containing the response body and response headers.
372375
/// </return>
373-
public async System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ApplicationPackage>> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string applicationName, string versionName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
376+
public async System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ApplicationPackage>> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string applicationName, string versionName, System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
374377
{
375378

376379

@@ -449,6 +452,10 @@ internal ApplicationPackageOperations (BatchManagementClient client)
449452
}
450453

451454
ApplicationPackage parameters = new ApplicationPackage();
455+
if(tags != null)
456+
{
457+
parameters.Tags = tags;
458+
}
452459
// Tracing
453460
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
454461
string _invocationId = null;

src/Batch/Batch.Management.Sdk/Generated/ApplicationPackageOperationsExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ public static ApplicationPackage Activate(this IApplicationPackageOperations ope
8989
/// <param name='versionName'>
9090
/// The version of the application.
9191
/// </param>
92-
public static ApplicationPackage Create(this IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName)
92+
public static ApplicationPackage Create(this IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName, System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>))
9393
{
94-
return ((IApplicationPackageOperations)operations).CreateAsync(resourceGroupName, accountName, applicationName, versionName).GetAwaiter().GetResult();
94+
return ((IApplicationPackageOperations)operations).CreateAsync(resourceGroupName, accountName, applicationName, versionName, tags).GetAwaiter().GetResult();
9595
}
9696

9797
/// <summary>
@@ -119,9 +119,9 @@ public static ApplicationPackage Create(this IApplicationPackageOperations opera
119119
/// <param name='cancellationToken'>
120120
/// The cancellation token.
121121
/// </param>
122-
public static async System.Threading.Tasks.Task<ApplicationPackage> CreateAsync(this IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
122+
public static async System.Threading.Tasks.Task<ApplicationPackage> CreateAsync(this IApplicationPackageOperations operations, string resourceGroupName, string accountName, string applicationName, string versionName, System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
123123
{
124-
using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, applicationName, versionName, null, cancellationToken).ConfigureAwait(false))
124+
using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, accountName, applicationName, versionName, tags, null, cancellationToken).ConfigureAwait(false))
125125
{
126126
return _result.Body;
127127
}

src/Batch/Batch.Management.Sdk/Generated/BatchAccountOperations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ internal BatchAccountOperations (BatchManagementClient client)
21112111
/// network allows outbound access to these endpoints. Failure to allow access
21122112
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
21132113
/// For more information about creating a pool inside of a virtual network, see
2114-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
2114+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
21152115
/// </summary>
21162116
/// <param name='resourceGroupName'>
21172117
/// The name of the resource group that contains the Batch account.
@@ -3375,7 +3375,7 @@ internal BatchAccountOperations (BatchManagementClient client)
33753375
/// network allows outbound access to these endpoints. Failure to allow access
33763376
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
33773377
/// For more information about creating a pool inside of a virtual network, see
3378-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
3378+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
33793379
/// </summary>
33803380
/// <param name='nextPageLink'>
33813381
/// The NextLink from the previous successful call to List operation.

src/Batch/Batch.Management.Sdk/Generated/BatchAccountOperationsExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ public static DetectorResponse GetDetector(this IBatchAccountOperations operatio
471471
/// network allows outbound access to these endpoints. Failure to allow access
472472
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
473473
/// For more information about creating a pool inside of a virtual network, see
474-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
474+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
475475
/// </summary>
476476
/// <param name='operations'>
477477
/// The operations group for this extension method.
@@ -494,7 +494,7 @@ public static Microsoft.Rest.Azure.IPage<OutboundEnvironmentEndpoint> ListOutbou
494494
/// network allows outbound access to these endpoints. Failure to allow access
495495
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
496496
/// For more information about creating a pool inside of a virtual network, see
497-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
497+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
498498
/// </summary>
499499
/// <param name='operations'>
500500
/// The operations group for this extension method.
@@ -715,7 +715,7 @@ public static Microsoft.Rest.Azure.IPage<DetectorResponse> ListDetectorsNext(thi
715715
/// network allows outbound access to these endpoints. Failure to allow access
716716
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
717717
/// For more information about creating a pool inside of a virtual network, see
718-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
718+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
719719
/// </summary>
720720
/// <param name='operations'>
721721
/// The operations group for this extension method.
@@ -735,7 +735,7 @@ public static Microsoft.Rest.Azure.IPage<OutboundEnvironmentEndpoint> ListOutbou
735735
/// network allows outbound access to these endpoints. Failure to allow access
736736
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
737737
/// For more information about creating a pool inside of a virtual network, see
738-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
738+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
739739
/// </summary>
740740
/// <param name='operations'>
741741
/// The operations group for this extension method.

src/Batch/Batch.Management.Sdk/Generated/BatchManagementClient.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ public partial class BatchManagementClient : Microsoft.Rest.ServiceClient<BatchM
9898
/// </summary>
9999
public virtual IPoolOperations Pool { get; private set; }
100100
/// <summary>
101+
/// Gets the INetworkSecurityPerimeterOperations
102+
/// </summary>
103+
public virtual INetworkSecurityPerimeterOperations NetworkSecurityPerimeter { get; private set; }
104+
/// <summary>
101105
/// Initializes a new instance of the BatchManagementClient class.
102106
/// </summary>
103107
/// <param name='httpClient'>
@@ -344,8 +348,9 @@ private void Initialize()
344348
this.PrivateLinkResource = new PrivateLinkResourceOperations(this);
345349
this.PrivateEndpointConnection = new PrivateEndpointConnectionOperations(this);
346350
this.Pool = new PoolOperations(this);
351+
this.NetworkSecurityPerimeter = new NetworkSecurityPerimeterOperations(this);
347352
this.BaseUri = new System.Uri("https://management.azure.com");
348-
this.ApiVersion = "2024-02-01";
353+
this.ApiVersion = "2024-07-01";
349354
this.AcceptLanguage = "en-US";
350355
this.LongRunningOperationRetryTimeout = 30;
351356
this.GenerateClientRequestId = true;

src/Batch/Batch.Management.Sdk/Generated/IApplicationPackageOperations.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ public partial interface IApplicationPackageOperations
7878
/// <param name='versionName'>
7979
/// The version of the application.
8080
/// </param>
81+
/// <param name='tags'>
82+
/// The tags of the resource.
83+
/// </param>
8184
/// <param name='customHeaders'>
8285
/// The headers that will be added to request.
8386
/// </param>
@@ -90,7 +93,7 @@ public partial interface IApplicationPackageOperations
9093
/// <exception cref="Microsoft.Rest.SerializationException">
9194
/// Thrown when unable to deserialize the response
9295
/// </exception>
93-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ApplicationPackage>> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string applicationName, string versionName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
96+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ApplicationPackage>> CreateWithHttpMessagesAsync(string resourceGroupName, string accountName, string applicationName, string versionName, System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
9497

9598
/// <summary>
9699
/// Deletes an application package record and its associated binary file.

src/Batch/Batch.Management.Sdk/Generated/IBatchAccountOperations.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public partial interface IBatchAccountOperations
336336
/// network allows outbound access to these endpoints. Failure to allow access
337337
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
338338
/// For more information about creating a pool inside of a virtual network, see
339-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
339+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
340340
/// </summary>
341341
/// <remarks>
342342
/// Lists the endpoints that a Batch Compute Node under this Batch Account may
@@ -345,7 +345,7 @@ public partial interface IBatchAccountOperations
345345
/// network allows outbound access to these endpoints. Failure to allow access
346346
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
347347
/// For more information about creating a pool inside of a virtual network, see
348-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
348+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
349349
/// </remarks>
350350
/// <param name='resourceGroupName'>
351351
/// The name of the resource group that contains the Batch account.
@@ -506,7 +506,7 @@ public partial interface IBatchAccountOperations
506506
/// network allows outbound access to these endpoints. Failure to allow access
507507
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
508508
/// For more information about creating a pool inside of a virtual network, see
509-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
509+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
510510
/// </summary>
511511
/// <remarks>
512512
/// Lists the endpoints that a Batch Compute Node under this Batch Account may
@@ -515,7 +515,7 @@ public partial interface IBatchAccountOperations
515515
/// network allows outbound access to these endpoints. Failure to allow access
516516
/// to these endpoints may cause Batch to mark the affected nodes as unusable.
517517
/// For more information about creating a pool inside of a virtual network, see
518-
/// https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.
518+
/// https://learn.microsoft.com/azure/batch/batch-virtual-network.
519519
/// </remarks>
520520
/// <param name='nextPageLink'>
521521
/// The NextLink from the previous successful call to List operation.

src/Batch/Batch.Management.Sdk/Generated/IBatchManagementClient.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,10 @@ public partial interface IBatchManagementClient : System.IDisposable
114114
/// </summary>
115115
IPoolOperations Pool { get; }
116116

117+
/// <summary>
118+
/// Gets the INetworkSecurityPerimeterOperations
119+
/// </summary>
120+
INetworkSecurityPerimeterOperations NetworkSecurityPerimeter { get; }
121+
117122
}
118123
}

src/Batch/Batch.Management.Sdk/Generated/ILocationOperations.cs

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -69,37 +69,6 @@ public partial interface ILocationOperations
6969
/// </exception>
7070
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<SupportedSku>>> ListSupportedVirtualMachineSkusWithHttpMessagesAsync(string locationName, int? maxresults = default(int?), string filter = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
7171

72-
/// <summary>
73-
/// Gets the list of Batch supported Cloud Service VM sizes available at the
74-
/// given location.
75-
/// </summary>
76-
/// <remarks>
77-
/// Gets the list of Batch supported Cloud Service VM sizes available at the
78-
/// given location.
79-
/// </remarks>
80-
/// <param name='locationName'>
81-
/// The region for which to retrieve Batch service supported SKUs.
82-
/// </param>
83-
/// <param name='maxresults'>
84-
/// The maximum number of items to return in the response.
85-
/// </param>
86-
/// <param name='filter'>
87-
/// OData filter expression. Valid properties for filtering are &#34;familyName&#34;.
88-
/// </param>
89-
/// <param name='customHeaders'>
90-
/// The headers that will be added to request.
91-
/// </param>
92-
/// <param name='cancellationToken'>
93-
/// The cancellation token.
94-
/// </param>
95-
/// <exception cref="Microsoft.Rest.Azure.CloudException">
96-
/// Thrown when the operation returned an invalid status code
97-
/// </exception>
98-
/// <exception cref="Microsoft.Rest.SerializationException">
99-
/// Thrown when unable to deserialize the response
100-
/// </exception>
101-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<SupportedSku>>> ListSupportedCloudServiceSkusWithHttpMessagesAsync(string locationName, int? maxresults = default(int?), string filter = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
102-
10372
/// <summary>
10473
/// Checks whether the Batch account name is available in the specified region.
10574
/// </summary>
@@ -151,30 +120,5 @@ public partial interface ILocationOperations
151120
/// </exception>
152121
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<SupportedSku>>> ListSupportedVirtualMachineSkusNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
153122

154-
/// <summary>
155-
/// Gets the list of Batch supported Cloud Service VM sizes available at the
156-
/// given location.
157-
/// </summary>
158-
/// <remarks>
159-
/// Gets the list of Batch supported Cloud Service VM sizes available at the
160-
/// given location.
161-
/// </remarks>
162-
/// <param name='nextPageLink'>
163-
/// The NextLink from the previous successful call to List operation.
164-
/// </param>
165-
/// <param name='customHeaders'>
166-
/// The headers that will be added to request.
167-
/// </param>
168-
/// <param name='cancellationToken'>
169-
/// The cancellation token.
170-
/// </param>
171-
/// <exception cref="Microsoft.Rest.Azure.CloudException">
172-
/// Thrown when the operation returned an invalid status code
173-
/// </exception>
174-
/// <exception cref="Microsoft.Rest.SerializationException">
175-
/// Thrown when unable to deserialize the response
176-
/// </exception>
177-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<SupportedSku>>> ListSupportedCloudServiceSkusNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
178-
179123
}
180124
}

0 commit comments

Comments
 (0)