Skip to content

Commit

Permalink
mgmt, local generation for network 2023-11-01
Browse files Browse the repository at this point in the history
  • Loading branch information
v-hongli1 committed Jun 5, 2024
1 parent d784dab commit 3a07283
Show file tree
Hide file tree
Showing 1,012 changed files with 17,107 additions and 9,272 deletions.
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

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 3a07283

Please sign in to comment.