Open
Description
Query/Question
Is it possibe to explicitly set a value for the member autoGeneratedDomainNameLabelScope of IpAddress during the creation of a ContainerGroup when using the fluent creation style shown below?
If this currently isn't possible, what would be feasible workarounds in the context of the usage of Java?
ContainerGroup containerGroup = azureResourceManager.containerGroups().define(aciName)
.withRegion(Region.US_WEST)
.withNewResourceGroup(rgName)
.withLinux()
.withPublicImageRegistryOnly()
.withoutVolume()
.defineContainerInstance(aciName + "-1")
.withImage(containerImageName1)
.withExternalTcpPort(80)
.withCpuCoreCount(.5)
.withMemorySizeInGB(0.8)
.attach()
.defineContainerInstance(aciName + "-2")
.withImage(containerImageName2)
.withoutPorts()
.withCpuCoreCount(.5)
.withMemorySizeInGB(0.8)
.attach()
.withRestartPolicy(ContainerGroupRestartPolicy.NEVER)
.withDnsPrefix(aciName)
.create();
Why is this not a Bug or a feature Request?
Depending on the answer or simple workarounds, a feature request might result from this.
Setup (please complete the following information if applicable):
- Library/Libraries: com.azure.resourcemanager:azure-resourcemanager:2.43.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
- Query Added
- Setup information Added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
This issue is related to a management-plane library.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that