Skip to content

Commit

Permalink
Update to use Gallery 2024-03-03 calls (#26864)
Browse files Browse the repository at this point in the history
* update readme

* update readme

* update with gallery 2024-03-03 version

* changelog

* suppress static analysis
  • Loading branch information
grizzlytheodore authored Dec 20, 2024
1 parent e7d919d commit c860c84
Show file tree
Hide file tree
Showing 71 changed files with 7,400 additions and 80 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ internal CommunityGalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "publicGalleryName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ internal CommunityGalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -316,7 +316,7 @@ internal CommunityGalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ internal CommunityGalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -297,7 +297,7 @@ internal CommunityGalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "publicGalleryName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,26 @@ public partial class ComputeManagementClient : ServiceClient<ComputeManagementCl
/// </summary>
public virtual IGalleryApplicationVersionsOperations GalleryApplicationVersions { get; private set; }

/// <summary>
/// Gets the ISoftDeletedResourceOperations.
/// </summary>
public virtual ISoftDeletedResourceOperations SoftDeletedResource { get; private set; }

/// <summary>
/// Gets the IGallerySharingProfileOperations.
/// </summary>
public virtual IGallerySharingProfileOperations GallerySharingProfile { get; private set; }

/// <summary>
/// Gets the IGalleryInVMAccessControlProfilesOperations.
/// </summary>
public virtual IGalleryInVMAccessControlProfilesOperations GalleryInVMAccessControlProfiles { get; private set; }

/// <summary>
/// Gets the IGalleryInVMAccessControlProfileVersionsOperations.
/// </summary>
public virtual IGalleryInVMAccessControlProfileVersionsOperations GalleryInVMAccessControlProfileVersions { get; private set; }

/// <summary>
/// Gets the ISharedGalleriesOperations.
/// </summary>
Expand Down Expand Up @@ -591,7 +606,10 @@ private void Initialize()
GalleryImageVersions = new GalleryImageVersionsOperations(this);
GalleryApplications = new GalleryApplicationsOperations(this);
GalleryApplicationVersions = new GalleryApplicationVersionsOperations(this);
SoftDeletedResource = new SoftDeletedResourceOperations(this);
GallerySharingProfile = new GallerySharingProfileOperations(this);
GalleryInVMAccessControlProfiles = new GalleryInVMAccessControlProfilesOperations(this);
GalleryInVMAccessControlProfileVersions = new GalleryInVMAccessControlProfileVersionsOperations(this);
SharedGalleries = new SharedGalleriesOperations(this);
SharedGalleryImages = new SharedGalleryImagesOperations(this);
SharedGalleryImageVersions = new SharedGalleryImageVersionsOperations(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -375,7 +375,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -553,7 +553,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -756,7 +756,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
gallery.Validate();
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1002,7 +1002,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "gallery");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1200,7 +1200,7 @@ internal GalleriesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersionName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -429,7 +429,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -656,7 +656,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
galleryApplicationVersion.Validate();
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -923,7 +923,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersion");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1141,7 +1141,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersionName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -387,7 +387,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -602,7 +602,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
galleryApplication.Validate();
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -858,7 +858,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplication");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1066,7 +1066,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -424,7 +424,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -650,7 +650,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
galleryImageVersion.Validate();
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -916,7 +916,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersion");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1133,7 +1133,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -387,7 +387,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -602,7 +602,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
galleryImage.Validate();
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -858,7 +858,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImage");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down Expand Up @@ -1066,7 +1066,7 @@ internal GalleryImagesOperations(ComputeManagementClient client)
{
throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName");
}
string apiVersion = "2023-07-03";
string apiVersion = "2024-03-03";
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
Expand Down
Loading

0 comments on commit c860c84

Please sign in to comment.