Azure Resource Manager libraries for Java
Overview
Deploy, monitor, and manage resources in groups with Azure Resource Manager.
Management API
Use the management API to create resource groups and deploy resources from templates.
Add a dependency to your Maven pom.xml
file to use the management API in your project.
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.3.0</version>
</dependency>
Example
Create a new resource group in the Azure Eastern US region.
ResourceGroup resourceGroup = azure.resourceGroups().define("myResourceGroup")
.withRegion(Region.US_EAST)
.create();
Samples
Manage Azure Resource Groups with Java Deploy resources using an ARM template
View the complete list of Azure Resource Manager samples.
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應