Skip to content

Commit

Permalink
CodeGen from PR 20434 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
{AzureSecurityContacts} fixes Azure/azure-rest-api-specs#20364 (Azure#20434)

Currently, the azure python SDK supports version 2017-08-01-preview for security contacts. We need to update it to 2020-01-01-preview.

fixes Azure/azure-rest-api-specs#20364

This request is forwarded from Azure/azure-sdk-for-python#25771
  • Loading branch information
SDKAuto committed Sep 13, 2022
1 parent 1874219 commit 6652236
Show file tree
Hide file tree
Showing 1,151 changed files with 49,207 additions and 25,171 deletions.
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 (2022-09-13)

- 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
2 changes: 1 addition & 1 deletion 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
6,464 changes: 6,216 additions & 248 deletions sdk/security/azure-resourcemanager-security/SAMPLE.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public interface AdaptiveApplicationControlsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of application control machine groups for the subscription.
* @return a list of application control machine groups for the subscription along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AdaptiveApplicationControlGroupsInner> listWithResponse(
Expand Down Expand Up @@ -62,7 +62,7 @@ Response<AdaptiveApplicationControlGroupsInner> listWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return an application control VM/server group.
* @return an application control VM/server group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AdaptiveApplicationControlGroupInner> getWithResponse(
Expand Down Expand Up @@ -95,7 +95,7 @@ AdaptiveApplicationControlGroupInner put(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AdaptiveApplicationControlGroupInner> putWithResponse(
Expand Down Expand Up @@ -124,7 +124,7 @@ Response<AdaptiveApplicationControlGroupInner> putWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> deleteWithResponse(String ascLocation, String groupName, Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public interface AdaptiveNetworkHardeningsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of Adaptive Network Hardenings resources in scope of an extended resource.
* @return a list of Adaptive Network Hardenings resources in scope of an extended resource as paginated response
* with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<AdaptiveNetworkHardeningInner> listByExtendedResource(
Expand All @@ -45,7 +46,8 @@ PagedIterable<AdaptiveNetworkHardeningInner> listByExtendedResource(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of Adaptive Network Hardenings resources in scope of an extended resource.
* @return a list of Adaptive Network Hardenings resources in scope of an extended resource as paginated response
* with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<AdaptiveNetworkHardeningInner> listByExtendedResource(
Expand Down Expand Up @@ -86,7 +88,7 @@ AdaptiveNetworkHardeningInner get(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a single Adaptive Network Hardening resource.
* @return a single Adaptive Network Hardening resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AdaptiveNetworkHardeningInner> getWithResponse(
Expand All @@ -110,9 +112,9 @@ Response<AdaptiveNetworkHardeningInner> getWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginEnforce(
String resourceGroupName,
String resourceNamespace,
Expand All @@ -135,9 +137,9 @@ SyncPoller<PollResult<Void>, Void> beginEnforce(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the completion.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginEnforce(
String resourceGroupName,
String resourceNamespace,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public interface AdvancedThreatProtectionsClient {
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Advanced Threat Protection settings for the specified resource.
* @return the Advanced Threat Protection settings for the specified resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AdvancedThreatProtectionSettingInner> getWithResponse(String resourceId, Context context);
Expand Down Expand Up @@ -60,7 +60,7 @@ AdvancedThreatProtectionSettingInner create(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the Advanced Threat Protection resource.
* @return the Advanced Threat Protection resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<AdvancedThreatProtectionSettingInner> createWithResponse(
Expand Down
Loading

0 comments on commit 6652236

Please sign in to comment.