
com.azure.resourcemanager.network.fluent.PublicIpAddressesClient Maven / Gradle / Ivy
// 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.PagedFlux;
import com.azure.core.http.rest.PagedIterable;
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 com.azure.resourcemanager.network.fluent.models.PublicIpAddressInner;
import com.azure.resourcemanager.network.fluent.models.PublicIpDdosProtectionStatusResultInner;
import com.azure.resourcemanager.network.models.TagsObject;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsDelete;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsGet;
import com.azure.resourcemanager.resources.fluentcore.collection.InnerSupportsListing;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
* An instance of this class provides access to all the operations defined in PublicIpAddressesClient.
*/
public interface PublicIpAddressesClient extends InnerSupportsGet,
InnerSupportsListing, InnerSupportsDelete {
/**
* Gets information about all public IP addresses on a cloud service level.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @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 information about all public IP addresses on a cloud service level as paginated response with
* {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listCloudServicePublicIpAddressesAsync(String resourceGroupName,
String cloudServiceName);
/**
* Gets information about all public IP addresses on a cloud service level.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @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 information about all public IP addresses on a cloud service level as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName,
String cloudServiceName);
/**
* Gets information about all public IP addresses on a cloud service level.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @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 information about all public IP addresses on a cloud service level as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listCloudServicePublicIpAddresses(String resourceGroupName,
String cloudServiceName, Context context);
/**
* Gets information about all public IP addresses in a role instance IP configuration in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The name of role instance.
* @param networkInterfaceName The network interface name.
* @param ipConfigurationName The IP configuration name.
* @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 information about all public IP addresses in a role instance IP configuration in a cloud service as
* paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listCloudServiceRoleInstancePublicIpAddressesAsync(String resourceGroupName,
String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName);
/**
* Gets information about all public IP addresses in a role instance IP configuration in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The name of role instance.
* @param networkInterfaceName The network interface name.
* @param ipConfigurationName The IP configuration name.
* @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 information about all public IP addresses in a role instance IP configuration in a cloud service as
* paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName,
String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName);
/**
* Gets information about all public IP addresses in a role instance IP configuration in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The name of role instance.
* @param networkInterfaceName The network interface name.
* @param ipConfigurationName The IP configuration name.
* @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 information about all public IP addresses in a role instance IP configuration in a cloud service as
* paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listCloudServiceRoleInstancePublicIpAddresses(String resourceGroupName,
String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName,
Context context);
/**
* Get the specified public IP address in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The role instance name.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @param expand Expands referenced resources.
* @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 specified public IP address in a cloud service along with {@link Response} on successful completion
* of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> getCloudServicePublicIpAddressWithResponseAsync(String resourceGroupName,
String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName,
String publicIpAddressName, String expand);
/**
* Get the specified public IP address in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The role instance name.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @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 specified public IP address in a cloud service on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono getCloudServicePublicIpAddressAsync(String resourceGroupName, String cloudServiceName,
String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName);
/**
* Get the specified public IP address in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The role instance name.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @param expand Expands referenced resources.
* @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 specified public IP address in a cloud service along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getCloudServicePublicIpAddressWithResponse(String resourceGroupName,
String cloudServiceName, String roleInstanceName, String networkInterfaceName, String ipConfigurationName,
String publicIpAddressName, String expand, Context context);
/**
* Get the specified public IP address in a cloud service.
*
* @param resourceGroupName The name of the resource group.
* @param cloudServiceName The name of the cloud service.
* @param roleInstanceName The role instance name.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @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 specified public IP address in a cloud service.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpAddressInner getCloudServicePublicIpAddress(String resourceGroupName, String cloudServiceName,
String roleInstanceName, String networkInterfaceName, String ipConfigurationName, String publicIpAddressName);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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>> deleteWithResponseAsync(String resourceGroupName, String publicIpAddressName);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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, Void> beginDeleteAsync(String resourceGroupName, String publicIpAddressName);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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, Void> beginDelete(String resourceGroupName, String publicIpAddressName);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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, Void> beginDelete(String resourceGroupName, String publicIpAddressName,
Context context);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 deleteAsync(String resourceGroupName, String publicIpAddressName);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 delete(String resourceGroupName, String publicIpAddressName);
/**
* Deletes the specified public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 delete(String resourceGroupName, String publicIpAddressName, Context context);
/**
* Gets the specified public IP address in a specified resource group.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param expand Expands referenced resources.
* @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 specified public IP address in a specified resource group along with {@link Response} on successful
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> getByResourceGroupWithResponseAsync(String resourceGroupName,
String publicIpAddressName, String expand);
/**
* Gets the specified public IP address in a specified resource group.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 specified public IP address in a specified resource group on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono getByResourceGroupAsync(String resourceGroupName, String publicIpAddressName);
/**
* Gets the specified public IP address in a specified resource group.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param expand Expands referenced resources.
* @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 specified public IP address in a specified resource group along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName, String publicIpAddressName,
String expand, Context context);
/**
* Gets the specified public IP address in a specified resource group.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 specified public IP address in a specified resource group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpAddressInner getByResourceGroup(String resourceGroupName, String publicIpAddressName);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono>> createOrUpdateWithResponseAsync(String resourceGroupName,
String publicIpAddressName, PublicIpAddressInner parameters);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address 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 PollerFlux} for polling of public IP address resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux, PublicIpAddressInner>
beginCreateOrUpdateAsync(String resourceGroupName, String publicIpAddressName, PublicIpAddressInner parameters);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PublicIpAddressInner> beginCreateOrUpdate(String resourceGroupName,
String publicIpAddressName, PublicIpAddressInner parameters);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address operation.
* @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 public IP address resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PublicIpAddressInner> beginCreateOrUpdate(String resourceGroupName,
String publicIpAddressName, PublicIpAddressInner parameters, Context context);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono createOrUpdateAsync(String resourceGroupName, String publicIpAddressName,
PublicIpAddressInner parameters);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address 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 public IP address resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName,
PublicIpAddressInner parameters);
/**
* Creates or updates a static or dynamic public IP address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to the create or update public IP address operation.
* @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 public IP address resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpAddressInner createOrUpdate(String resourceGroupName, String publicIpAddressName,
PublicIpAddressInner parameters, Context context);
/**
* Updates public IP address tags.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to update public IP address tags.
* @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 public IP address resource along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> updateTagsWithResponseAsync(String resourceGroupName,
String publicIpAddressName, TagsObject parameters);
/**
* Updates public IP address tags.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to update public IP address tags.
* @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 public IP address resource on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono updateTagsAsync(String resourceGroupName, String publicIpAddressName,
TagsObject parameters);
/**
* Updates public IP address tags.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to update public IP address tags.
* @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 public IP address resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateTagsWithResponse(String resourceGroupName, String publicIpAddressName,
TagsObject parameters, Context context);
/**
* Updates public IP address tags.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @param parameters Parameters supplied to update public IP address tags.
* @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 public IP address resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpAddressInner updateTags(String resourceGroupName, String publicIpAddressName, TagsObject parameters);
/**
* Gets all the public IP addresses in a subscription.
*
* @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 all the public IP addresses in a subscription as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listAsync();
/**
* Gets all the public IP addresses in a subscription.
*
* @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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Gets all the public IP addresses in a subscription.
*
* @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 all the public IP addresses in a subscription as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
* Gets all public IP addresses in a resource group.
*
* @param resourceGroupName The name of the resource group.
* @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 all public IP addresses in a resource group as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listByResourceGroupAsync(String resourceGroupName);
/**
* Gets all public IP addresses in a resource group.
*
* @param resourceGroupName The name of the resource group.
* @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 all public IP addresses in a resource group as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Gets all public IP addresses in a resource group.
*
* @param resourceGroupName The name of the resource group.
* @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 all public IP addresses in a resource group as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 Ddos Protection Status of a Public IP Address along with {@link Response} on successful completion of
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono>> ddosProtectionStatusWithResponseAsync(String resourceGroupName,
String publicIpAddressName);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 the Ddos Protection Status of a Public IP Address.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
PollerFlux, PublicIpDdosProtectionStatusResultInner>
beginDdosProtectionStatusAsync(String resourceGroupName, String publicIpAddressName);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 the Ddos Protection Status of a Public IP Address.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PublicIpDdosProtectionStatusResultInner>
beginDdosProtectionStatus(String resourceGroupName, String publicIpAddressName);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 the Ddos Protection Status of a Public IP Address.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, PublicIpDdosProtectionStatusResultInner>
beginDdosProtectionStatus(String resourceGroupName, String publicIpAddressName, Context context);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 Ddos Protection Status of a Public IP Address on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono ddosProtectionStatusAsync(String resourceGroupName,
String publicIpAddressName);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 Ddos Protection Status of a Public IP Address.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpDdosProtectionStatusResultInner ddosProtectionStatus(String resourceGroupName, String publicIpAddressName);
/**
* Gets the Ddos Protection Status of a Public IP Address.
*
* @param resourceGroupName The name of the resource group.
* @param publicIpAddressName The name of the public IP address.
* @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 Ddos Protection Status of a Public IP Address.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpDdosProtectionStatusResultInner ddosProtectionStatus(String resourceGroupName, String publicIpAddressName,
Context context);
/**
* Gets information about all public IP addresses on a virtual machine scale set level.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @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 information about all public IP addresses on a virtual machine scale set level as paginated response with
* {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listVirtualMachineScaleSetPublicIpAddressesAsync(String resourceGroupName,
String virtualMachineScaleSetName);
/**
* Gets information about all public IP addresses on a virtual machine scale set level.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @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 information about all public IP addresses on a virtual machine scale set level as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName,
String virtualMachineScaleSetName);
/**
* Gets information about all public IP addresses on a virtual machine scale set level.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @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 information about all public IP addresses on a virtual machine scale set level as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listVirtualMachineScaleSetPublicIpAddresses(String resourceGroupName,
String virtualMachineScaleSetName, Context context);
/**
* Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale
* set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The network interface name.
* @param ipConfigurationName The IP configuration name.
* @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine
* scale set as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listVirtualMachineScaleSetVMPublicIpAddressesAsync(String resourceGroupName,
String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName,
String ipConfigurationName);
/**
* Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale
* set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The network interface name.
* @param ipConfigurationName The IP configuration name.
* @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine
* scale set as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName,
String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName,
String ipConfigurationName);
/**
* Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale
* set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The network interface name.
* @param ipConfigurationName The IP configuration name.
* @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 information about all public IP addresses in a virtual machine IP configuration in a virtual machine
* scale set as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listVirtualMachineScaleSetVMPublicIpAddresses(String resourceGroupName,
String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName,
String ipConfigurationName, Context context);
/**
* Get the specified public IP address in a virtual machine scale set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @param expand Expands referenced resources.
* @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 specified public IP address in a virtual machine scale set along with {@link Response} on successful
* completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> getVirtualMachineScaleSetPublicIpAddressWithResponseAsync(
String resourceGroupName, String virtualMachineScaleSetName, String virtualmachineIndex,
String networkInterfaceName, String ipConfigurationName, String publicIpAddressName, String expand);
/**
* Get the specified public IP address in a virtual machine scale set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @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 specified public IP address in a virtual machine scale set on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono getVirtualMachineScaleSetPublicIpAddressAsync(String resourceGroupName,
String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName,
String ipConfigurationName, String publicIpAddressName);
/**
* Get the specified public IP address in a virtual machine scale set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @param expand Expands referenced resources.
* @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 specified public IP address in a virtual machine scale set along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getVirtualMachineScaleSetPublicIpAddressWithResponse(String resourceGroupName,
String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName,
String ipConfigurationName, String publicIpAddressName, String expand, Context context);
/**
* Get the specified public IP address in a virtual machine scale set.
*
* @param resourceGroupName The name of the resource group.
* @param virtualMachineScaleSetName The name of the virtual machine scale set.
* @param virtualmachineIndex The virtual machine index.
* @param networkInterfaceName The name of the network interface.
* @param ipConfigurationName The name of the IP configuration.
* @param publicIpAddressName The name of the public IP Address.
* @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 specified public IP address in a virtual machine scale set.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
PublicIpAddressInner getVirtualMachineScaleSetPublicIpAddress(String resourceGroupName,
String virtualMachineScaleSetName, String virtualmachineIndex, String networkInterfaceName,
String ipConfigurationName, String publicIpAddressName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy