Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/workloads/azure-resourcemanager-workloads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-11-08)

- Azure Resource Manager Workloads client library for Java. This package contains Microsoft Azure SDK for Workloads Management SDK. Workloads client provides access to various workload operations. Package tag package-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
45 changes: 41 additions & 4 deletions sdk/workloads/azure-resourcemanager-workloads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Workloads client library for Java.

This package contains Microsoft Azure SDK for Workloads Management SDK. Workloads client provides access to various workload operations.<br>Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions - Legal Terms](https://learn.microsoft.com/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms) for legal notices applicable to Azure Center for SAP solutions. Package tag package-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Workloads Management SDK. Workloads client provides access to various workload operations. Package tag package-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-workloads</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,7 +45,7 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down Expand Up @@ -74,6 +74,41 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

```java
monitor = workloadsManager.monitors()
.define(monitorName)
.withRegion(RESOURCE_REGION)
.withExistingResourceGroup(resourceGroupName)
.withAppLocation(APPLICATION_REGION.name())
.withRoutingPreference(RoutingPreference.ROUTE_ALL)
.withManagedResourceGroupConfiguration(
new ManagedRGConfiguration().withName(MANAGED_RG_NAME))
.withLogAnalyticsWorkspaceArmId(
logAnalyticsManager.workspaces()
.define(workspaceName)
.withRegion(RESOURCE_REGION)
.withExistingResourceGroup(resourceGroupName)
.withSku(new WorkspaceSku()
.withName(WorkspaceSkuNameEnum.PER_GB2018))
.withFeatures(new WorkspaceFeatures()
.withEnableLogAccessUsingOnlyResourcePermissions(true))
.withRetentionInDays(30)
.withWorkspaceCapping(new WorkspaceCapping().withDailyQuotaGb(-1D))
.withPublicNetworkAccessForIngestion(PublicNetworkAccessType.ENABLED)
.withPublicNetworkAccessForQuery(PublicNetworkAccessType.ENABLED)
.create()
.id())
.withMonitorSubnet(
networkManager.networks()
.define(vNetworkName)
.withRegion(RESOURCE_REGION)
.withExistingResourceGroup(resourceGroupName)
.withAddressSpace("172.29.0.0/16")
.withSubnet("default", "172.29.0.0/24")
.create()
.id())
.create();
```
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/workloads/azure-resourcemanager-workloads/SAMPLE.md)


Expand All @@ -94,7 +129,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
<!-- LINKS -->
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
[docs]: https://azure.github.io/azure-sdk-for-java/
[jdk]: https://docs.microsoft.com/java/azure/jdk/
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
Expand All @@ -103,3 +138,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fworkloads%2Fazure-resourcemanager-workloads%2FREADME.png)
Loading