Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gallery Application API #6697

Closed
wants to merge 1 commit into from
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@ public partial class ComputeManagementClient : ServiceClient<ComputeManagementCl
/// </summary>
public virtual IGalleryImageVersionsOperations GalleryImageVersions { get; private set; }

/// <summary>
/// Gets the IGalleryApplicationsOperations.
/// </summary>
public virtual IGalleryApplicationsOperations GalleryApplications { get; private set; }

/// <summary>
/// Gets the IGalleryApplicationVersionsOperations.
/// </summary>
public virtual IGalleryApplicationVersionsOperations GalleryApplicationVersions { get; private set; }

/// <summary>
/// Gets the IContainerServicesOperations.
/// </summary>
Expand Down Expand Up @@ -449,6 +459,8 @@ private void Initialize()
Galleries = new GalleriesOperations(this);
GalleryImages = new GalleryImagesOperations(this);
GalleryImageVersions = new GalleryImageVersionsOperations(this);
GalleryApplications = new GalleryApplicationsOperations(this);
GalleryApplicationVersions = new GalleryApplicationVersionsOperations(this);
ContainerServices = new ContainerServicesOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
AcceptLanguage = "en-US";
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@ public partial interface IComputeManagementClient : System.IDisposable
/// </summary>
IGalleryImageVersionsOperations GalleryImageVersions { get; }

/// <summary>
/// Gets the IGalleryApplicationsOperations.
/// </summary>
IGalleryApplicationsOperations GalleryApplications { get; }

/// <summary>
/// Gets the IGalleryApplicationVersionsOperations.
/// </summary>
IGalleryApplicationVersionsOperations GalleryApplicationVersions { get; }

/// <summary>
/// Gets the IContainerServicesOperations.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.Compute
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// GalleryApplicationVersionsOperations operations.
/// </summary>
public partial interface IGalleryApplicationVersionsOperations
{
/// <summary>
/// Create or update a gallery Application Version.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='galleryName'>
/// The name of the Shared Application Gallery in which the Application
/// Definition resides.
/// </param>
/// <param name='galleryApplicationName'>
/// The name of the gallery Application Definition in which the
/// Application Version is to be created.
/// </param>
/// <param name='galleryApplicationVersionName'>
/// The name of the gallery Application Version to be created. Needs to
/// follow semantic version name pattern: The allowed characters are
/// digit and period. Digits must be within the range of a 32-bit
/// integer. Format:
/// &lt;MajorVersion&gt;.&lt;MinorVersion&gt;.&lt;Patch&gt;
/// </param>
/// <param name='galleryApplicationVersion'>
/// Parameters supplied to the create or update gallery Application
/// Version operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<GalleryApplicationVersion>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, GalleryApplicationVersion galleryApplicationVersion, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Retrieves information about a gallery Application Version.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='galleryName'>
/// The name of the Shared Application Gallery in which the Application
/// Definition resides.
/// </param>
/// <param name='galleryApplicationName'>
/// The name of the gallery Application Definition in which the
/// Application Version resides.
/// </param>
/// <param name='galleryApplicationVersionName'>
/// The name of the gallery Application Version to be retrieved.
/// </param>
/// <param name='expand'>
/// The expand expression to apply on the operation. Possible values
/// include: 'ReplicationStatus'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<GalleryApplicationVersion>> GetWithHttpMessagesAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, string expand = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Delete a gallery Application Version.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='galleryName'>
/// The name of the Shared Application Gallery in which the Application
/// Definition resides.
/// </param>
/// <param name='galleryApplicationName'>
/// The name of the gallery Application Definition in which the
/// Application Version resides.
/// </param>
/// <param name='galleryApplicationVersionName'>
/// The name of the gallery Application Version to be deleted.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List gallery Application Versions in a gallery Application
/// Definition.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='galleryName'>
/// The name of the Shared Application Gallery in which the Application
/// Definition resides.
/// </param>
/// <param name='galleryApplicationName'>
/// The name of the Shared Application Gallery Application Definition
/// from which the Application Versions are to be listed.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<GalleryApplicationVersion>>> ListByGalleryApplicationWithHttpMessagesAsync(string resourceGroupName, string galleryName, string galleryApplicationName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Create or update a gallery Application Version.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='galleryName'>
/// The name of the Shared Application Gallery in which the Application
/// Definition resides.
/// </param>
/// <param name='galleryApplicationName'>
/// The name of the gallery Application Definition in which the
/// Application Version is to be created.
/// </param>
/// <param name='galleryApplicationVersionName'>
/// The name of the gallery Application Version to be created. Needs to
/// follow semantic version name pattern: The allowed characters are
/// digit and period. Digits must be within the range of a 32-bit
/// integer. Format:
/// &lt;MajorVersion&gt;.&lt;MinorVersion&gt;.&lt;Patch&gt;
/// </param>
/// <param name='galleryApplicationVersion'>
/// Parameters supplied to the create or update gallery Application
/// Version operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<GalleryApplicationVersion>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, GalleryApplicationVersion galleryApplicationVersion, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Delete a gallery Application Version.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
/// </param>
/// <param name='galleryName'>
/// The name of the Shared Application Gallery in which the Application
/// Definition resides.
/// </param>
/// <param name='galleryApplicationName'>
/// The name of the gallery Application Definition in which the
/// Application Version resides.
/// </param>
/// <param name='galleryApplicationVersionName'>
/// The name of the gallery Application Version to be deleted.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string galleryName, string galleryApplicationName, string galleryApplicationVersionName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// List gallery Application Versions in a gallery Application
/// Definition.
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<GalleryApplicationVersion>>> ListByGalleryApplicationNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Loading