Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-security] Add Security Settings new API version #9652

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
3 changes: 2 additions & 1 deletion sdk/security/azure-resourcemanager-security/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2021-07-28)

- Azure Resource Manager Security client library for Java. This package contains Microsoft Azure SDK for Security Management SDK. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## 1.0.0-beta.1 (2021-07-14)

Expand Down
3 changes: 1 addition & 2 deletions sdk/security/azure-resourcemanager-security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-security</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on

## Examples

[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/security/azure-resourcemanager-security/SAMPLE.md)


## Troubleshooting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private Mono<PagedResponse<SettingInner>> listSinglePageAsync() {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2021-06-01";
final String apiVersion = "2021-07-01";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -171,7 +171,7 @@ private Mono<PagedResponse<SettingInner>> listSinglePageAsync(Context context) {
new IllegalArgumentException(
"Parameter this.client.getSubscriptionId() is required and cannot be null."));
}
final String apiVersion = "2021-06-01";
final String apiVersion = "2021-07-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -266,7 +266,7 @@ private Mono<Response<SettingInner>> getWithResponseAsync(SettingsSettingName se
if (settingName == null) {
return Mono.error(new IllegalArgumentException("Parameter settingName is required and cannot be null."));
}
final String apiVersion = "2021-06-01";
final String apiVersion = "2021-07-01";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -309,7 +309,7 @@ private Mono<Response<SettingInner>> getWithResponseAsync(SettingsSettingName se
if (settingName == null) {
return Mono.error(new IllegalArgumentException("Parameter settingName is required and cannot be null."));
}
final String apiVersion = "2021-06-01";
final String apiVersion = "2021-07-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down Expand Up @@ -400,7 +400,7 @@ private Mono<Response<SettingInner>> updateWithResponseAsync(
} else {
setting.validate();
}
final String apiVersion = "2021-06-01";
final String apiVersion = "2021-07-01";
final String accept = "application/json";
return FluxUtil
.withContext(
Expand Down Expand Up @@ -451,7 +451,7 @@ private Mono<Response<SettingInner>> updateWithResponseAsync(
} else {
setting.validate();
}
final String apiVersion = "2021-06-01";
final String apiVersion = "2021-07-01";
final String accept = "application/json";
context = this.client.mergeContext(context);
return service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public final class SettingsSettingName extends ExpandableStringEnum<SettingsSett
/** Static value WDATP for SettingsSettingName. */
public static final SettingsSettingName WDATP = fromString("WDATP");

/** Static value WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW for SettingsSettingName. */
public static final SettingsSettingName WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW =
fromString("WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW");

/** Static value Sentinel for SettingsSettingName. */
public static final SettingsSettingName SENTINEL = fromString("Sentinel");

Expand Down