Skip to content

Add Azure container instance net SDK#3615

Merged
shahabhijeet merged 3 commits intoAzure:psSdkJson6from
yolocs:aci_sdk
Aug 29, 2017
Merged

Add Azure container instance net SDK#3615
shahabhijeet merged 3 commits intoAzure:psSdkJson6from
yolocs:aci_sdk

Conversation

@yolocs
Copy link
Copy Markdown
Contributor

@yolocs yolocs commented Aug 22, 2017

Description

This is the first version of Azure container instance .net SDK.

The API spec has already been reviewed and merged. See below.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@msftclas
Copy link
Copy Markdown

@yolo3301,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

</PropertyGroup>

<ItemGroup>
<!-- When xunit cannot detect tests, uncomment the following dependencies -->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 remove commented code

[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Container Instance.")]

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 have consistent versions between nuget version as well as AssemblyFile Version.

<ProjectToBuild Include="$(MSBuildThisFileDirectory)Cdn\Management.Cdn\Microsoft.Azure.Management.Cdn.csproj" />
<ProjectToBuild Include="$(MSBuildThisFileDirectory)CognitiveServices\Management.CognitiveServices\Microsoft.Azure.Management.CognitiveServices.csproj" />
<ProjectToBuild Include="$(MSBuildThisFileDirectory)Compute\Management.Compute\Microsoft.Azure.Management.Compute.csproj" />
<ProjectToBuild Include="$(MSBuildThisFileDirectory)ContainerInstance\Management.ContainerInstance\Microsoft.Azure.Management.ContainerInstance.csproj" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 dirs.proj is no longer used, you can revert this change.

Copy link
Copy Markdown
Contributor

@shahabhijeet shahabhijeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 please provide detailed description about this PR.
If this is your first version, please specify it else describe the changes going in this version.

@brendandburns
Copy link
Copy Markdown
Member

awesome, thank you!

@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Aug 23, 2017

@shahabhijeet Thanks for reviewing. All comments have been addressed.

Copy link
Copy Markdown
Contributor

@shahabhijeet shahabhijeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 this is your first time, are you sure you want to go 1.0.0 or you rather go 1.0.0-preview
If so, please mark as that version in csproj file and not AssemblyInfo.cs


<PropertyGroup>
<TargetFrameworks>netcoreapp1.1</TargetFrameworks>
<StartupObject></StartupObject>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 please remove this

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:
@yolo3301 you made this assembly COM visible false, but then providing typelib GUID
Please consider removing this.

<AssemblyName>Microsoft.Azure.Management.ContainerInstance</AssemblyName>
<PackageId>Microsoft.Azure.Management.ContainerInstance</PackageId>
<PackageTags>Microsoft Azure Container Instance Management;Container Instance;REST HTTP client;azureofficial;windowsazureofficial;netcore451511</PackageTags>
<PackageIconUrl>http://go.microsoft.com/fwlink/?LinkID=288890</PackageIconUrl>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yolo3301 please remove this tag, as it's centrally controlled.

@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Aug 28, 2017

@shahabhijeet I do want to go with 1.0.0-preview. So I removed the versions in AssemblyInfo.cs.

Copy link
Copy Markdown
Contributor

@shahabhijeet shahabhijeet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as soon as CI passes, this is good to go

@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Aug 29, 2017

@shahabhijeet The other check failed. However, I don't have permission to check what's wrong there. Could you help?

@shahabhijeet shahabhijeet merged commit 6aa586f into Azure:psSdkJson6 Aug 29, 2017
JasonYang-MSFT pushed a commit to JasonYang-MSFT/azure-sdk-for-net that referenced this pull request Dec 8, 2017
* Add Azure container instance net SDK

* Revert unnecessary changes and make version consistent

* remove some unnecessary metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants