azure-cli-extensions
azure-cli-extensions copied to clipboard
Please provide a JSON example for --service-endpoint-configuration using an aks (azure kubernetes service)
I dont know which information is needed.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 6ecb62a2-f74c-a539-d3a8-c8fde7c2de06
- Version Independent ID: 5760936e-90a1-4129-6f6f-6dd4194bb73c
- Content: az devops service-endpoint
- Content Source: latest/docs-ref-autogen/ext/azure-devops/devops/service-endpoint.yml
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
BTW, I just figured out that the --service-endpoint-configuration has the same content that the value send throw POST request on the DevOps Portal/Platform application when you are adding a service-connection from there.
devops
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.
Someone have a example how to create a Kubernetes service connection from Azure CLI ?
I added a new issue with a payload example here https://github.com/Azure/azure-cli-extensions/issues/5385
@survivant You should be able to use the command like this az devops service-endpoint create --service-endpoint-configuration ./aksServiceConnection.json --org "https://dev.azure.com/issue1698Org" --project "Issue1698Project"
.
You can create a file using the request body mentioned in issue #5385. We will add the same in azure samples. (Adding different kind of json template in the actual document will be difficult).