{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-libraries-for-net/issues/327","repository_url":"https://api.github.com/repos/Azure/azure-libraries-for-net","labels_url":"https://api.github.com/repos/Azure/azure-libraries-for-net/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-libraries-for-net/issues/327/comments","events_url":"https://api.github.com/repos/Azure/azure-libraries-for-net/issues/327/events","html_url":"https://github.com/Azure/azure-libraries-for-net/issues/327","id":322806142,"number":327,"title":"AKS - How to get the public IP of the cluster","user":{"login":"andtii","id":1434571,"avatar_url":"https://avatars1.githubusercontent.com/u/1434571?v=4","gravatar_id":"","url":"https://api.github.com/users/andtii","html_url":"https://github.com/andtii","followers_url":"https://api.github.com/users/andtii/followers","following_url":"https://api.github.com/users/andtii/following{/other_user}","gists_url":"https://api.github.com/users/andtii/gists{/gist_id}","starred_url":"https://api.github.com/users/andtii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andtii/subscriptions","organizations_url":"https://api.github.com/users/andtii/orgs","repos_url":"https://api.github.com/users/andtii/repos","events_url":"https://api.github.com/users/andtii/events{/privacy}","received_events_url":"https://api.github.com/users/andtii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T13:00:10Z","updated_at":"2018-05-14T13:30:15Z","closed_at":null,"author_association":"NONE","body":"After i have provisioned a AKS cluster using this code \r\n\r\n`IKubernetesCluster kubernetesCluster = ((Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithLinuxRootUsername) azure.KubernetesClusters.Define(aksName) .WithRegion(region) .WithNewResourceGroup(rgName) .WithVersion(KubernetesVersion.KUBERNETES_1_8_2)) .WithRootUsername(rootUserName) .WithSshKey(sshPublicKey) .WithServicePrincipalClientId(servicePrincipalClientId) .WithServicePrincipalSecret(servicePrincipalSecret) .DefineAgentPool(\"ap\") .WithVirtualMachineCount(1) .WithVirtualMachineSize(ContainerServiceVirtualMachineSizeTypes.StandardD1V2) .Attach() .WithDnsPrefix(\"dns-\" + aksName) .Create();`\r\n\r\nI need to programatically get the public IP address of the cluster so i can bind our dns to it. How can i do this i cant find it in the API?"},"comment":{"url":"https://api.github.com/repos/Azure/azure-libraries-for-net/issues/comments/388816797","html_url":"https://github.com/Azure/azure-libraries-for-net/issues/327#issuecomment-388816797","issue_url":"https://api.github.com/repos/Azure/azure-libraries-for-net/issues/327","id":388816797,"user":{"login":"milismsft","id":15163996,"avatar_url":"https://avatars1.githubusercontent.com/u/15163996?v=4","gravatar_id":"","url":"https://api.github.com/users/milismsft","html_url":"https://github.com/milismsft","followers_url":"https://api.github.com/users/milismsft/followers","following_url":"https://api.github.com/users/milismsft/following{/other_user}","gists_url":"https://api.github.com/users/milismsft/gists{/gist_id}","starred_url":"https://api.github.com/users/milismsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milismsft/subscriptions","organizations_url":"https://api.github.com/users/milismsft/orgs","repos_url":"https://api.github.com/users/milismsft/repos","events_url":"https://api.github.com/users/milismsft/events{/privacy}","received_events_url":"https://api.github.com/users/milismsft/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T13:30:15Z","updated_at":"2018-05-14T13:30:15Z","author_association":"CONTRIBUTOR","body":"@andtii You can use the FQDN of it; the IP address property is not available at this time."}}
{"actor":{"display_login":"milismsft"}}