Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## 15.0.0 - November 2025

#### Az.ApiManagement 4.0.0
* Upgraded API version from 2021-08-01 to 2022-08-01
Comment on lines +3 to +4
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry should reference the related GitHub issue that prompted this change. Per the coding guidelines, issue references should be included for all changes, especially those addressing bugs or compatibility issues. Add a reference to the issue number (e.g., [#12345]) at the end of the entry.

Copilot generated this review using guidance from repository custom instructions.

Comment on lines +4 to +5
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog entry lacks user-focused context explaining why this change matters. According to the coding guidelines, entries should be written from the user's perspective and explain the impact. Consider adding a sub-bullet that explains this resolves compatibility issues with Azure services that no longer support the 2021-08-01 API version.

Copilot generated this review using guidance from repository custom instructions.
#### Az.Accounts 5.3.1
* Updated Azure.Core from 1.45.0 to 1.47.3

Expand Down
5,013 changes: 5,013 additions & 0 deletions azure-powershell.sln

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
///
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -86,7 +86,17 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
}

if (resourceGroupName != null)
{
if (resourceGroupName.Length > 90)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
}
if (resourceGroupName.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
}
}
if (serviceName == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "serviceName");
Expand Down Expand Up @@ -130,7 +140,13 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

if (this.Client.SubscriptionId != null)
{
if (this.Client.SubscriptionId.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1);
}
}
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -299,7 +315,7 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
/// by its identifier.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -340,7 +356,17 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
}

if (resourceGroupName != null)
{
if (resourceGroupName.Length > 90)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
}
if (resourceGroupName.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
}
}
if (serviceName == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "serviceName");
Expand Down Expand Up @@ -403,7 +429,13 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

if (this.Client.SubscriptionId != null)
{
if (this.Client.SubscriptionId.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1);
}
}
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -559,7 +591,7 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
/// Gets the details of the Diagnostic for an API specified by its identifier.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -603,7 +635,17 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
}

if (resourceGroupName != null)
{
if (resourceGroupName.Length > 90)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
}
if (resourceGroupName.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
}
}
if (serviceName == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "serviceName");
Expand Down Expand Up @@ -666,7 +708,13 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

if (this.Client.SubscriptionId != null)
{
if (this.Client.SubscriptionId.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1);
}
}
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -840,7 +888,7 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
/// Creates a new Diagnostic for an API or updates an existing one.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -899,7 +947,17 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
}

if (resourceGroupName != null)
{
if (resourceGroupName.Length > 90)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
}
if (resourceGroupName.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
}
}
if (serviceName == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "serviceName");
Expand Down Expand Up @@ -963,7 +1021,13 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

if (this.Client.SubscriptionId != null)
{
if (this.Client.SubscriptionId.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1);
}
}
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1172,7 +1236,7 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
/// identifier.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -1228,7 +1292,17 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
}

if (resourceGroupName != null)
{
if (resourceGroupName.Length > 90)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
}
if (resourceGroupName.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
}
}
if (serviceName == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "serviceName");
Expand Down Expand Up @@ -1296,7 +1370,13 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

if (this.Client.SubscriptionId != null)
{
if (this.Client.SubscriptionId.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1);
}
}
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1486,7 +1566,7 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
/// Deletes the specified Diagnostic from an API.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -1532,7 +1612,17 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "resourceGroupName");
}

if (resourceGroupName != null)
{
if (resourceGroupName.Length > 90)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MaxLength, "resourceGroupName", 90);
}
if (resourceGroupName.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "resourceGroupName", 1);
}
}
if (serviceName == null)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "serviceName");
Expand Down Expand Up @@ -1600,7 +1690,13 @@ internal ApiDiagnosticOperations (ApiManagementClient client)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}

if (this.Client.SubscriptionId != null)
{
if (this.Client.SubscriptionId.Length < 1)
{
throw new Microsoft.Rest.ValidationException(Microsoft.Rest.ValidationRules.MinLength, "Client.SubscriptionId", 1);
}
}
// Tracing
bool _shouldTrace = Microsoft.Rest.ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static partial class ApiDiagnosticOperationsExtensions
///
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand All @@ -46,7 +46,7 @@ public static partial class ApiDiagnosticOperationsExtensions
///
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand All @@ -73,7 +73,7 @@ public static partial class ApiDiagnosticOperationsExtensions
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand All @@ -99,7 +99,7 @@ public static bool GetEntityTag(this IApiDiagnosticOperations operations, string
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -129,7 +129,7 @@ public static bool GetEntityTag(this IApiDiagnosticOperations operations, string
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand All @@ -154,7 +154,7 @@ public static DiagnosticContract Get(this IApiDiagnosticOperations operations, s
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -184,7 +184,7 @@ public static DiagnosticContract Get(this IApiDiagnosticOperations operations, s
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -213,7 +213,7 @@ public static DiagnosticContract Get(this IApiDiagnosticOperations operations, s
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -248,7 +248,7 @@ public static DiagnosticContract Get(this IApiDiagnosticOperations operations, s
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -279,7 +279,7 @@ public static DiagnosticContract Update(this IApiDiagnosticOperations operations
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -314,7 +314,7 @@ public static DiagnosticContract Update(this IApiDiagnosticOperations operations
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down Expand Up @@ -344,7 +344,7 @@ public static void Delete(this IApiDiagnosticOperations operations, string resou
/// The operations group for this extension method.
/// </param>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='serviceName'>
/// The name of the API Management service.
Expand Down
Loading
Loading