-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Container Instance] update api version 2018-04-01 #4207
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>ContainerInstance_2018-02-01-preview;</AzureApiTag> | ||
<AzureApiTag>ContainerInstance_2018-04-01;</AzureApiTag> | ||
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
165 changes: 143 additions & 22 deletions
165
...onRecords/ContainerInstance.Tests.ContainerInstanceTests/ContainerInstanceCreateTest.json
Large diffs are not rendered by default.
Oops, something went wrong.
186 changes: 155 additions & 31 deletions
186
...ssionRecords/ContainerInstance.Tests.ContainerInstanceTests/ContainerInstanceGetTest.json
Large diffs are not rendered by default.
Oops, something went wrong.
363 changes: 304 additions & 59 deletions
363
...tainerInstance.Tests.ContainerInstanceTests/ContainerInstanceListByResourceGroupTest.json
Large diffs are not rendered by default.
Oops, something went wrong.
359 changes: 303 additions & 56 deletions
359
...sionRecords/ContainerInstance.Tests.ContainerInstanceTests/ContainerInstanceListTest.json
Large diffs are not rendered by default.
Oops, something went wrong.
142 changes: 87 additions & 55 deletions
142
...DKs/ContainerInstance/Management.ContainerInstance/Generated/ContainerGroupsOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
...DKs/ContainerInstance/Management.ContainerInstance/Generated/IStartContainerOperations.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// <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.ContainerInstance | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
/// <summary> | ||
/// StartContainerOperations operations. | ||
/// </summary> | ||
public partial interface IStartContainerOperations | ||
{ | ||
/// <summary> | ||
/// Starts the exec command for a specific container instance. | ||
/// </summary> | ||
/// <remarks> | ||
/// Starts the exec command for a specified container instance in a | ||
/// specified resource group and container group. | ||
/// </remarks> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='containerGroupName'> | ||
/// The name of the container group. | ||
/// </param> | ||
/// <param name='containerName'> | ||
/// The name of the container instance. | ||
/// </param> | ||
/// <param name='containerExecRequest'> | ||
/// The request for the exec command. | ||
/// </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<ContainerExecResponse>> LaunchExecWithHttpMessagesAsync(string resourceGroupName, string containerGroupName, string containerName, ContainerExecRequest containerExecRequest, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...s/ContainerInstance/Management.ContainerInstance/Generated/Models/ContainerExecRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// <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.ContainerInstance.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// The start container exec request. | ||
/// </summary> | ||
public partial class ContainerExecRequest | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ContainerExecRequest class. | ||
/// </summary> | ||
public ContainerExecRequest() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ContainerExecRequest class. | ||
/// </summary> | ||
/// <param name="command">The command to be executed.</param> | ||
/// <param name="terminalSize">The size of the terminal.</param> | ||
public ContainerExecRequest(string command = default(string), ContainerExecRequestTerminalSize terminalSize = default(ContainerExecRequestTerminalSize)) | ||
{ | ||
Command = command; | ||
TerminalSize = terminalSize; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the command to be executed. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "command")] | ||
public string Command { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the size of the terminal. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "terminalSize")] | ||
public ContainerExecRequestTerminalSize TerminalSize { get; set; } | ||
|
||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...nstance/Management.ContainerInstance/Generated/Models/ContainerExecRequestTerminalSize.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// <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.ContainerInstance.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// The size of the terminal. | ||
/// </summary> | ||
public partial class ContainerExecRequestTerminalSize | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ContainerExecRequestTerminalSize | ||
/// class. | ||
/// </summary> | ||
public ContainerExecRequestTerminalSize() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the ContainerExecRequestTerminalSize | ||
/// class. | ||
/// </summary> | ||
/// <param name="row">The row size of the terminal</param> | ||
/// <param name="column">The column size of the terminal</param> | ||
public ContainerExecRequestTerminalSize(int? row = default(int?), int? column = default(int?)) | ||
{ | ||
Row = row; | ||
Column = column; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the row size of the terminal | ||
/// </summary> | ||
[JsonProperty(PropertyName = "row")] | ||
public int? Row { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the column size of the terminal | ||
/// </summary> | ||
[JsonProperty(PropertyName = "column")] | ||
public int? Column { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not necessary to modify the version number here. Simply set this to
1.0.0
since these won't be published