Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.servicelinker.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
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.SyncPoller;
import com.azure.resourcemanager.servicelinker.fluent.models.ConfigurationResultInner;
import com.azure.resourcemanager.servicelinker.fluent.models.DaprConfigurationResourceInner;
import com.azure.resourcemanager.servicelinker.fluent.models.DryrunResourceInner;
import com.azure.resourcemanager.servicelinker.models.ConfigurationInfo;
import com.azure.resourcemanager.servicelinker.models.DryrunPatch;
/**
* An instance of this class provides access to all the operations defined in LinkersOperationsClient.
*/
public interface LinkersOperationsClient {
/**
* list dryrun jobs.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @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 list of dryrun as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listDryrun(String resourceUri);
/**
* list dryrun jobs.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @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 list of dryrun as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listDryrun(String resourceUri, Context context);
/**
* get a dryrun job.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @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 a dryrun job along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getDryrunWithResponse(String resourceUri, String dryrunName, Context context);
/**
* get a dryrun job.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @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 dryrun job.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DryrunResourceInner getDryrun(String resourceUri, String dryrunName);
/**
* create a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 a dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, DryrunResourceInner> beginCreateDryrun(String resourceUri,
String dryrunName, DryrunResourceInner parameters);
/**
* create a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 a dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, DryrunResourceInner> beginCreateDryrun(String resourceUri,
String dryrunName, DryrunResourceInner parameters, Context context);
/**
* create a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DryrunResourceInner createDryrun(String resourceUri, String dryrunName, DryrunResourceInner parameters);
/**
* create a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 a dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DryrunResourceInner createDryrun(String resourceUri, String dryrunName, DryrunResourceInner parameters,
Context context);
/**
* add a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 a dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, DryrunResourceInner> beginUpdateDryrun(String resourceUri,
String dryrunName, DryrunPatch parameters);
/**
* add a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 a dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, DryrunResourceInner> beginUpdateDryrun(String resourceUri,
String dryrunName, DryrunPatch parameters, Context context);
/**
* add a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DryrunResourceInner updateDryrun(String resourceUri, String dryrunName, DryrunPatch parameters);
/**
* add a dryrun job to do necessary check before actual creation.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @param parameters dryrun resource.
* @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 a dryrun job resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DryrunResourceInner updateDryrun(String resourceUri, String dryrunName, DryrunPatch parameters, Context context);
/**
* delete a dryrun job.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @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 Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteDryrunWithResponse(String resourceUri, String dryrunName, Context context);
/**
* delete a dryrun job.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param dryrunName The name of dryrun.
* @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 deleteDryrun(String resourceUri, String dryrunName);
/**
* Generate configurations for a Linker.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param linkerName The name Linker resource.
* @param parameters Connection Info, including format, secret store, etc.
* @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 configurations for source resource, include appSettings, connectionString and serviceBindings along with
* {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response generateConfigurationsWithResponse(String resourceUri, String linkerName,
ConfigurationInfo parameters, Context context);
/**
* Generate configurations for a Linker.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @param linkerName The name Linker resource.
* @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 configurations for source resource, include appSettings, connectionString and serviceBindings.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ConfigurationResultInner generateConfigurations(String resourceUri, String linkerName);
/**
* List the dapr configuration supported by Service Connector.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @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 dapr configuration list supported by Service Connector as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listDaprConfigurations(String resourceUri);
/**
* List the dapr configuration supported by Service Connector.
*
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
* @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 dapr configuration list supported by Service Connector as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listDaprConfigurations(String resourceUri, Context context);
}