Skip to content

Commit

Permalink
mgmt, local generation for network 2023-11-01 (#40476)
Browse files Browse the repository at this point in the history
* mgmt, local generation for network 2023-11-01
  • Loading branch information
v-hongli1 authored Jun 6, 2024
1 parent 8b1b7da commit d674de5
Show file tree
Hide file tree
Showing 1,015 changed files with 17,117 additions and 9,278 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,12 @@
"old": ".*? com\\.azure\\.communication\\.jobrouter\\.models.*",
"new": ".*? com\\.azure\\.communication\\.jobrouter\\.models.*",
"justification": "Removing Jackson annotations from Job Router in transition to stream-style."
},
{
"regex": true,
"code": "java\\.annotation\\.(attributeRemoved|attributeAdded)",
"old": ".*? com\\.azure\\.resourcemanager\\.network\\.models.*",
"justification": "Jackson annotation changed."
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"dir": "azure-resourcemanager-network",
"source": "specification/network/resource-manager/readme.md",
"package": "com.azure.resourcemanager.network",
"args": "--tag=package-2023-09 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture,ApplicationGateway,ApplicationGatewayListener",
"args": "--tag=package-2023-11 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture,ApplicationGateway,ApplicationGatewayListener",
"note": "Run DeprecateApplicationGatewaySku to deprecate v1 sku/tier in ApplicationGatewaySku."
},
"network-hybrid": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

## 2.40.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes
### Other Changes

### Bugs Fixed
#### Dependency Updates

### Other Changes
- Updated `api-version` to `2023-11-01`.

## 2.39.0 (2024-05-24)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/resourcemanager/azure-resourcemanager-network",
"Tag": "java/resourcemanager/azure-resourcemanager-network_03b4909e5e"
"Tag": "java/resourcemanager/azure-resourcemanager-network_7bf3ec1b64"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionPeeringInner;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.nio.ByteBuffer;

/**
* An instance of this class provides access to all the operations defined in
* ExpressRouteCrossConnectionPeeringsClient.
* An instance of this class provides access to all the operations defined in ExpressRouteCrossConnectionPeeringsClient.
*/
public interface ExpressRouteCrossConnectionPeeringsClient {
/**
* Gets all peerings in a specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -38,7 +38,7 @@ public interface ExpressRouteCrossConnectionPeeringsClient {

/**
* Gets all peerings in a specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -51,7 +51,7 @@ public interface ExpressRouteCrossConnectionPeeringsClient {

/**
* Gets all peerings in a specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param context The context to associate with this operation.
Expand All @@ -66,7 +66,7 @@ PagedIterable<ExpressRouteCrossConnectionPeeringInner> list(String resourceGroup

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -81,7 +81,7 @@ Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupNam

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -96,7 +96,7 @@ PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, St

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -111,7 +111,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -127,7 +127,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -141,7 +141,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -154,7 +154,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String

/**
* Deletes the specified peering from the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -168,7 +168,7 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String

/**
* Gets the specified peering for the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -184,7 +184,7 @@ Mono<Response<ExpressRouteCrossConnectionPeeringInner>> getWithResponseAsync(Str

/**
* Gets the specified peering for the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -199,7 +199,7 @@ Mono<ExpressRouteCrossConnectionPeeringInner> getAsync(String resourceGroupName,

/**
* Gets the specified peering for the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -215,7 +215,7 @@ Response<ExpressRouteCrossConnectionPeeringInner> getWithResponse(String resourc

/**
* Gets the specified peering for the ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -230,7 +230,7 @@ ExpressRouteCrossConnectionPeeringInner get(String resourceGroupName, String cro

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -248,7 +248,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resource

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -266,7 +266,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resource

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -284,7 +284,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resource

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -303,7 +303,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resource

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -320,7 +320,7 @@ Mono<ExpressRouteCrossConnectionPeeringInner> createOrUpdateAsync(String resourc

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand All @@ -337,7 +337,7 @@ ExpressRouteCrossConnectionPeeringInner createOrUpdate(String resourceGroupName,

/**
* Creates or updates a peering in the specified ExpressRouteCrossConnection.
*
*
* @param resourceGroupName The name of the resource group.
* @param crossConnectionName The name of the ExpressRouteCrossConnection.
* @param peeringName The name of the peering.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.network.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.nio.ByteBuffer;

/**
* An instance of this class provides access to all the operations defined in FirewallPolicyDeploymentsClient.
*/
public interface FirewallPolicyDeploymentsClient {
/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @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 {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Response<Flux<ByteBuffer>>> deployWithResponseAsync(String resourceGroupName, String firewallPolicyName);

/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @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 {@link PollerFlux} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux<PollResult<Void>, Void> beginDeployAsync(String resourceGroupName, String firewallPolicyName);

/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @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 {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDeploy(String resourceGroupName, String firewallPolicyName);

/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @param context The context to associate with this operation.
* @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 {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller<PollResult<Void>, Void> beginDeploy(String resourceGroupName, String firewallPolicyName,
Context context);

/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @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 {@link Mono} that completes when a successful response is received.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono<Void> deployAsync(String resourceGroupName, String firewallPolicyName);

/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void deploy(String resourceGroupName, String firewallPolicyName);

/**
* Deploys the firewall policy draft and child rule collection group drafts.
*
* @param resourceGroupName The name of the resource group.
* @param firewallPolicyName The name of the Firewall Policy.
* @param context The context to associate with this operation.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void deploy(String resourceGroupName, String firewallPolicyName, Context context);
}
Loading

0 comments on commit d674de5

Please sign in to comment.