Interface LinkersClient
-
public interface LinkersClient
An instance of this class provides access to all the operations defined in LinkersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner>
beginCreateOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters)
Create or update linker resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner>
beginCreateOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters, com.azure.core.util.Context context)
Create or update linker resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceUri, String linkerName)
Delete a link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceUri, String linkerName, com.azure.core.util.Context context)
Delete a link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner>
beginUpdate(String resourceUri, String linkerName, LinkerPatch parameters)
Operation to update an existing link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner>
beginUpdate(String resourceUri, String linkerName, LinkerPatch parameters, com.azure.core.util.Context context)
Operation to update an existing link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ValidateOperationResultInner>,ValidateOperationResultInner>
beginValidate(String resourceUri, String linkerName)
Validate a link.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ValidateOperationResultInner>,ValidateOperationResultInner>
beginValidate(String resourceUri, String linkerName, com.azure.core.util.Context context)
Validate a link.LinkerResourceInner
createOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters)
Create or update linker resource.LinkerResourceInner
createOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters, com.azure.core.util.Context context)
Create or update linker resource.void
delete(String resourceUri, String linkerName)
Delete a link.void
delete(String resourceUri, String linkerName, com.azure.core.util.Context context)
Delete a link.LinkerResourceInner
get(String resourceUri, String linkerName)
Returns Linker resource for a given name.com.azure.core.http.rest.Response<LinkerResourceInner>
getWithResponse(String resourceUri, String linkerName, com.azure.core.util.Context context)
Returns Linker resource for a given name.com.azure.core.http.rest.PagedIterable<LinkerResourceInner>
list(String resourceUri)
Returns list of Linkers which connects to the resource.com.azure.core.http.rest.PagedIterable<LinkerResourceInner>
list(String resourceUri, com.azure.core.util.Context context)
Returns list of Linkers which connects to the resource.SourceConfigurationResultInner
listConfigurations(String resourceUri, String linkerName)
list source configurations for a linker.com.azure.core.http.rest.Response<SourceConfigurationResultInner>
listConfigurationsWithResponse(String resourceUri, String linkerName, com.azure.core.util.Context context)
list source configurations for a linker.LinkerResourceInner
update(String resourceUri, String linkerName, LinkerPatch parameters)
Operation to update an existing link.LinkerResourceInner
update(String resourceUri, String linkerName, LinkerPatch parameters, com.azure.core.util.Context context)
Operation to update an existing link.ValidateOperationResultInner
validate(String resourceUri, String linkerName)
Validate a link.ValidateOperationResultInner
validate(String resourceUri, String linkerName, com.azure.core.util.Context context)
Validate a link.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<LinkerResourceInner> list(String resourceUri)
Returns list of Linkers which connects to the resource.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.- Returns:
- the list of Linker as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<LinkerResourceInner> list(String resourceUri, com.azure.core.util.Context context)
Returns list of Linkers which connects to the resource.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.context
- The context to associate with this operation.- Returns:
- the list of Linker as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
LinkerResourceInner get(String resourceUri, String linkerName)
Returns Linker resource for a given name.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.- Returns:
- linker of source and target resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<LinkerResourceInner> getWithResponse(String resourceUri, String linkerName, com.azure.core.util.Context context)
Returns Linker resource for a given name.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.context
- The context to associate with this operation.- Returns:
- linker of source and target resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner> beginCreateOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters)
Create or update linker resource.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.- Returns:
- the
SyncPoller
for polling of linker of source and target resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner> beginCreateOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters, com.azure.core.util.Context context)
Create or update linker resource.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of linker of source and target resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
LinkerResourceInner createOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters)
Create or update linker resource.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.- Returns:
- linker of source and target resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
LinkerResourceInner createOrUpdate(String resourceUri, String linkerName, LinkerResourceInner parameters, com.azure.core.util.Context context)
Create or update linker resource.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.context
- The context to associate with this operation.- Returns:
- linker of source and target resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceUri, String linkerName)
Delete a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceUri, String linkerName, com.azure.core.util.Context context)
Delete a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceUri, String linkerName)
Delete a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceUri, String linkerName, com.azure.core.util.Context context)
Delete a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner> beginUpdate(String resourceUri, String linkerName, LinkerPatch parameters)
Operation to update an existing link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.- Returns:
- the
SyncPoller
for polling of linker of source and target resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LinkerResourceInner>,LinkerResourceInner> beginUpdate(String resourceUri, String linkerName, LinkerPatch parameters, com.azure.core.util.Context context)
Operation to update an existing link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of linker of source and target resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
LinkerResourceInner update(String resourceUri, String linkerName, LinkerPatch parameters)
Operation to update an existing link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.- Returns:
- linker of source and target resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
LinkerResourceInner update(String resourceUri, String linkerName, LinkerPatch parameters, com.azure.core.util.Context context)
Operation to update an existing link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.parameters
- Linker details.context
- The context to associate with this operation.- Returns:
- linker of source and target resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ValidateOperationResultInner>,ValidateOperationResultInner> beginValidate(String resourceUri, String linkerName)
Validate a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.- Returns:
- the
SyncPoller
for polling of the validation operation result for a linker. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ValidateOperationResultInner>,ValidateOperationResultInner> beginValidate(String resourceUri, String linkerName, com.azure.core.util.Context context)
Validate a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the validation operation result for a linker. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validate
ValidateOperationResultInner validate(String resourceUri, String linkerName)
Validate a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.- Returns:
- the validation operation result for a linker.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validate
ValidateOperationResultInner validate(String resourceUri, String linkerName, com.azure.core.util.Context context)
Validate a link.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.context
- The context to associate with this operation.- Returns:
- the validation operation result for a linker.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listConfigurations
SourceConfigurationResultInner listConfigurations(String resourceUri, String linkerName)
list source configurations for a linker.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.- Returns:
- configurations for source resource, include appSettings, connectionString and serviceBindings.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listConfigurationsWithResponse
com.azure.core.http.rest.Response<SourceConfigurationResultInner> listConfigurationsWithResponse(String resourceUri, String linkerName, com.azure.core.util.Context context)
list source configurations for a linker.- Parameters:
resourceUri
- The fully qualified Azure Resource manager identifier of the resource to be connected.linkerName
- The name Linker resource.context
- The context to associate with this operation.- Returns:
- configurations for source resource, include appSettings, connectionString and serviceBindings along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-