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

autorust "data plane" services #326

Closed
bmc-msft opened this issue Jul 6, 2021 · 2 comments
Closed

autorust "data plane" services #326

bmc-msft opened this issue Jul 6, 2021 · 2 comments
Assignees

Comments

@bmc-msft
Copy link
Contributor

bmc-msft commented Jul 6, 2021

I'm looking to experiment with the Azure Batch data plane APIs, which Autorust looks to be able generate based on the spec.

Is there a plan/convention for handling autorust generated data plan implementations? Right now, the generated mgmt APIs live in services/mgmt/<service-name>, and there are no data APIs as of yet.

For reference in other languages:

  • For azure-sdk-for-python, the source is (mostly) in sdk/<service>/azure-mgmt-<service> and sdk/<service>/azure-<service>.
  • For azure-sdk-for-net, the source is in (mostly) in sdk/<service>/Microsoft.Azure.<Service> and sdk/<service>/Microsoft.Azure.Management.<Service>.
  • For azure-sdk-for-java, the source is in handled differently in each of the services I checked. compute: sdk/compute/mgmt-<API-version>. For keyvault, it's sdk/keyvault/azure-security-keyvault-* and sdk/keyvault/mgmt-<API-version>.
@ctaggart
Copy link
Contributor

ctaggart commented Jul 11, 2021

Great! For the low-level resource-manager crates, I ended up settling on azure_mgmt_<service> #42 where <service> is the name you see in https://github.com/Azure/azure-rest-api-specs/blob/master/specification/ converted to snake_case. For the low-level data-plane crates, I was thinking of svc instead of mgmt. It can't clash with one of the namespace groups, such as data. So for the low-level data-plane crate for batch, it would be azure_svc_batch. Does that work?

For a list of data-plane APIs see #169.

@cataggar cataggar self-assigned this Oct 5, 2021
@cataggar
Copy link
Member

Fixed by #389 & #390.

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

No branches or pull requests

3 participants