![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.authorization.fluent.ApplicationsApplicationsClient 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.authorization.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.util.BinaryData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.authorization.fluent.models.Get2ItemsItem;
import com.azure.resourcemanager.authorization.fluent.models.Get3ItemsItem;
import com.azure.resourcemanager.authorization.fluent.models.Get6ItemsItem;
import com.azure.resourcemanager.authorization.fluent.models.Get7ItemsItem;
import com.azure.resourcemanager.authorization.fluent.models.Get8ItemsItem;
import com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphApplicationInner;
import java.nio.ByteBuffer;
import java.util.List;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
* An instance of this class provides access to all the operations defined in ApplicationsApplicationsClient.
*/
public interface ApplicationsApplicationsClient {
/**
* Get entities from applications.
*
* @param consistencyLevel Indicates the requested consistency level.
* @param top Show only the first n items.
* @param skip Skip the first n items.
* @param search Search items by search phrases.
* @param filter Filter items by property values.
* @param count Include count of items.
* @param orderby Order items by property values.
* @param select Select properties to be returned.
* @param expand Expand related entities.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entities from applications as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listApplicationAsync(String consistencyLevel, Integer top, Integer skip,
String search, String filter, Boolean count, List orderby, List select,
List expand);
/**
* Get entities from applications.
*
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entities from applications as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux listApplicationAsync();
/**
* Get entities from applications.
*
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entities from applications as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listApplication();
/**
* Get entities from applications.
*
* @param consistencyLevel Indicates the requested consistency level.
* @param top Show only the first n items.
* @param skip Skip the first n items.
* @param search Search items by search phrases.
* @param filter Filter items by property values.
* @param count Include count of items.
* @param orderby Order items by property values.
* @param select Select properties to be returned.
* @param expand Expand related entities.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entities from applications as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listApplication(String consistencyLevel, Integer top, Integer skip,
String search, String filter, Boolean count, List orderby, List select,
List expand, Context context);
/**
* Add new entity to applications.
*
* @param body New entity.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return application along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono>
createApplicationWithResponseAsync(MicrosoftGraphApplicationInner body);
/**
* Add new entity to applications.
*
* @param body New entity.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return application on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono createApplicationAsync(MicrosoftGraphApplicationInner body);
/**
* Add new entity to applications.
*
* @param body New entity.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return application along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createApplicationWithResponse(MicrosoftGraphApplicationInner body,
Context context);
/**
* Add new entity to applications.
*
* @param body New entity.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return application.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
MicrosoftGraphApplicationInner createApplication(MicrosoftGraphApplicationInner body);
/**
* Get entity from applications by key.
*
* @param applicationId key: id of application.
* @param consistencyLevel Indicates the requested consistency level.
* @param select Select properties to be returned.
* @param expand Expand related entities.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entity from applications by key along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> getApplicationWithResponseAsync(String applicationId,
String consistencyLevel, List select, List expand);
/**
* Get entity from applications by key.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entity from applications by key on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono getApplicationAsync(String applicationId);
/**
* Get entity from applications by key.
*
* @param applicationId key: id of application.
* @param consistencyLevel Indicates the requested consistency level.
* @param select Select properties to be returned.
* @param expand Expand related entities.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entity from applications by key along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getApplicationWithResponse(String applicationId, String consistencyLevel,
List select, List expand, Context context);
/**
* Get entity from applications by key.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return entity from applications by key.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
MicrosoftGraphApplicationInner getApplication(String applicationId);
/**
* Update entity in applications.
*
* @param applicationId key: id of application.
* @param body New property values.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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> updateApplicationWithResponseAsync(String applicationId, MicrosoftGraphApplicationInner body);
/**
* Update entity in applications.
*
* @param applicationId key: id of application.
* @param body New property values.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 updateApplicationAsync(String applicationId, MicrosoftGraphApplicationInner body);
/**
* Update entity in applications.
*
* @param applicationId key: id of application.
* @param body New property values.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateApplicationWithResponse(String applicationId, MicrosoftGraphApplicationInner body,
Context context);
/**
* Update entity in applications.
*
* @param applicationId key: id of application.
* @param body New property values.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 updateApplication(String applicationId, MicrosoftGraphApplicationInner body);
/**
* Delete entity from applications.
*
* @param applicationId key: id of application.
* @param ifMatch ETag.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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> deleteApplicationWithResponseAsync(String applicationId, String ifMatch);
/**
* Delete entity from applications.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 deleteApplicationAsync(String applicationId);
/**
* Delete entity from applications.
*
* @param applicationId key: id of application.
* @param ifMatch ETag.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteApplicationWithResponse(String applicationId, String ifMatch, Context context);
/**
* Delete entity from applications.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 deleteApplication(String applicationId);
/**
* Get media content for application from applications.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return media content for application from applications along with {@link Response} on successful completion of
* {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono> getLogoWithResponseAsync(String applicationId);
/**
* Get media content for application from applications.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return media content for application from applications on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Mono getLogoAsync(String applicationId);
/**
* Get media content for application from applications.
*
* @param applicationId key: id of application.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return media content for application from applications along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getLogoWithResponse(String applicationId, Context context);
/**
* Get media content for application from applications.
*
* @param applicationId key: id of application.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException thrown if the request is
* rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return media content for application from applications.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BinaryData getLogo(String applicationId);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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> setLogoWithResponseAsync(String applicationId, Flux data, long contentLength);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 setLogoAsync(String applicationId, Flux data, long contentLength);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response setLogoWithResponse(String applicationId, Flux data, long contentLength,
Context context);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 setLogo(String applicationId, Flux data, long contentLength);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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> setLogoWithResponseAsync(String applicationId, BinaryData data, long contentLength);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 setLogoAsync(String applicationId, BinaryData data, long contentLength);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response setLogoWithResponse(String applicationId, BinaryData data, long contentLength, Context context);
/**
* Update media content for application in applications.
*
* @param applicationId key: id of application.
* @param data New media content.
* @param contentLength The Content-Length header for the request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.resourcemanager.authorization.fluent.models.OdataErrorMainException 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 setLogo(String applicationId, BinaryData data, long contentLength);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy