Skip to content

Commit

Permalink
subscription-2018-03-01-preview (#4157)
Browse files Browse the repository at this point in the history
* subscription-2018-03-01-preview

* ran generate.ps1

* minor fixes

* reran tests

* added package release notes and bumped version

* pulled upstream changes, reran generate.ps1

* fix csproj

* fixed props
  • Loading branch information
mjfrb authored and shahabhijeet committed Mar 27, 2018
1 parent 103e1b2 commit 35ef79c
Show file tree
Hide file tree
Showing 62 changed files with 3,387 additions and 1,635 deletions.
4 changes: 2 additions & 2 deletions src/SDKs/Subscription/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -1,7 +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 />
<AzureApiTag>Billing_2018-03-01-preview;Subscription_2018-03-01-preview;SubscriptionClient_2016-06-01;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
</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

0 comments on commit 35ef79c

Please sign in to comment.