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

subscription-2018-03-01-preview #4157

Merged
merged 10 commits into from
Mar 27, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions src/SDKs/Subscription/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag />
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// <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.Subscription
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// Operations operations.
/// </summary>
public partial interface IOperations
{
/// <summary>
/// Lists all of the available Microsoft.Subscription API operations.
/// </summary>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// 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<OperationListResult>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
// <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.Subscription
{
using Microsoft.Azure;
using Microsoft.Azure.Management;
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;

/// <summary>
/// Subscription definitions client provides an interface to create, modify
/// and retrieve azure subscriptions programmatically.
/// The subscription client
/// </summary>
public partial interface ISubscriptionDefinitionsClient : System.IDisposable
public partial interface ISubscriptionClient : System.IDisposable
{
/// <summary>
/// The base URI of the service.
Expand All @@ -41,12 +40,6 @@ public partial interface ISubscriptionDefinitionsClient : System.IDisposable
/// </summary>
ServiceClientCredentials Credentials { get; }

/// <summary>
/// Version of the API to be used with the client request. Current
/// version is 2015-06-01
/// </summary>
string ApiVersion { get; }

/// <summary>
/// Gets or sets the preferred language for the response.
/// </summary>
Expand All @@ -66,14 +59,29 @@ public partial interface ISubscriptionDefinitionsClient : System.IDisposable


/// <summary>
/// Gets the ISubscriptionDefinitionsOperationMetadataOperations.
/// Gets the IOperations.
/// </summary>
IOperations Operations { get; }

/// <summary>
/// Gets the ISubscriptionOperations.
/// </summary>
ISubscriptionOperations SubscriptionOperations { get; }

/// <summary>
/// Gets the ISubscriptionFactoryOperations.
/// </summary>
ISubscriptionFactoryOperations SubscriptionFactory { get; }

/// <summary>
/// Gets the ISubscriptionsOperations.
/// </summary>
ISubscriptionDefinitionsOperationMetadataOperations SubscriptionDefinitionsOperationMetadata { get; }
ISubscriptionsOperations Subscriptions { get; }

/// <summary>
/// Gets the ISubscriptionDefinitionsOperations.
/// Gets the ITenantsOperations.
/// </summary>
ISubscriptionDefinitionsOperations SubscriptionDefinitions { get; }
ITenantsOperations Tenants { get; }

}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
// <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.Subscription
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// SubscriptionFactoryOperations operations.
/// </summary>
public partial interface ISubscriptionFactoryOperations
{
/// <summary>
/// Creates an Azure subscription
/// </summary>
/// <param name='enrollmentAccountName'>
/// The name of the enrollment account to which the subscription will
/// be billed.
/// </param>
/// <param name='body'>
/// The subscription creation parameters.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// 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<SubscriptionCreationResult,SubscriptionFactoryCreateSubscriptionInEnrollmentAccountHeaders>> CreateSubscriptionInEnrollmentAccountWithHttpMessagesAsync(string enrollmentAccountName, SubscriptionCreationParameters body, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Creates an Azure subscription
/// </summary>
/// <param name='enrollmentAccountName'>
/// The name of the enrollment account to which the subscription will
/// be billed.
/// </param>
/// <param name='body'>
/// The subscription creation parameters.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="ErrorResponseException">
/// 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<SubscriptionCreationResult,SubscriptionFactoryCreateSubscriptionInEnrollmentAccountHeaders>> BeginCreateSubscriptionInEnrollmentAccountWithHttpMessagesAsync(string enrollmentAccountName, SubscriptionCreationParameters body, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Loading