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

GetInstanceInfoAsync containers property returns null #1285

Open
absinghal opened this issue Nov 18, 2021 · 4 comments
Open

GetInstanceInfoAsync containers property returns null #1285

absinghal opened this issue Nov 18, 2021 · 4 comments
Labels
App Services Mgmt Management plane SDK related issues. Service Attention

Comments

@absinghal
Copy link

Query/Question
Calling IAppServiceManager.WebApps.Inner.GetInstanceInfoAsync returns WebSiteInstanceStatusInner but its containers property is null. Is there any way to get it fully populated as specified here to get CPU info.

Why is this not a Bug or a feature Request?
Not clear as of now whether containers property should be populated by default.

Setup (please complete the following information if applicable):

  • OS: Windows
  • IDE : Visual Studio 2019
  • Version of the Library used: Microsoft.Azure.Management.AppService.Fluent 1.35.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [x ] Query Added
  • [ x] Setup information Added
@weidongxu-microsoft
Copy link
Member

@absinghal
You can check logging on whether it is in service response.

Note that new SDK is to be published here https://aka.ms/azsdk/dotnet/mgmt

@absinghal
Copy link
Author

absinghal commented Nov 18, 2021

It is not in the response - already checked with Fiddler.

New SDK link does not list anything on appservice (yet) so have to use the Fluent package.

Kindly advise how to get the CPU info.

@weidongxu-microsoft weidongxu-microsoft added App Services Mgmt Management plane SDK related issues. labels Dec 5, 2021
@weidongxu-microsoft
Copy link
Member

Cannot find the container info either. Loop in service team.

@ghost
Copy link

ghost commented Dec 5, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Issue Details

Query/Question
Calling IAppServiceManager.WebApps.Inner.GetInstanceInfoAsync returns WebSiteInstanceStatusInner but its containers property is null. Is there any way to get it fully populated as specified here to get CPU info.

Why is this not a Bug or a feature Request?
Not clear as of now whether containers property should be populated by default.

Setup (please complete the following information if applicable):

  • OS: Windows
  • IDE : Visual Studio 2019
  • Version of the Library used: Microsoft.Azure.Management.AppService.Fluent 1.35.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • [x ] Query Added
  • [ x] Setup information Added
Author: absinghal
Assignees: -
Labels:

App Services, Service Attention, Mgmt

Milestone: -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Services Mgmt Management plane SDK related issues. Service Attention
Projects
None yet
Development

No branches or pull requests

3 participants
@absinghal @weidongxu-microsoft and others