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

If an RP does not have an implementation of ListBySubscription then they should make use of the Generic Resource Manager REST API. #389

Closed
amarzavery opened this issue Jul 6, 2016 · 0 comments

Comments

@amarzavery
Copy link
Contributor

https://msdn.microsoft.com/en-us/library/dn790567.aspx

Example:

https://management.azure.com/subscriptions/{subscription-id}/resources?$top={top}$skiptoken={skiptoken}&$filter={filter}&api-version={api-version}
parameters: [
{  
           "name": "$filter",  
          "in": "query",  
           "required": true,  
           "type": "string",  
           "enum": [ "resourceType eq 'Microsoft.KeyVault/vaults'" ],  <<<<<< Example
            "description": "The filter to apply on the operation."  
},  
]

This gives us complete functionality in the generated SDK for that RP, thus making it simple for the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants