Interface InteractionsClient
public interface InteractionsClient
An instance of this class provides access to all the operations defined in InteractionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InteractionResourceFormatInner>,
InteractionResourceFormatInner> beginCreateOrUpdate
(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters) Creates an interaction or updates an existing interaction within a hub.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InteractionResourceFormatInner>,
InteractionResourceFormatInner> beginCreateOrUpdate
(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters, com.azure.core.util.Context context) Creates an interaction or updates an existing interaction within a hub.createOrUpdate
(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters) Creates an interaction or updates an existing interaction within a hub.createOrUpdate
(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters, com.azure.core.util.Context context) Creates an interaction or updates an existing interaction within a hub.Gets information about the specified interaction.com.azure.core.http.rest.Response<InteractionResourceFormatInner>
getWithResponse
(String resourceGroupName, String hubName, String interactionName, String localeCode, com.azure.core.util.Context context) Gets information about the specified interaction.com.azure.core.http.rest.PagedIterable<InteractionResourceFormatInner>
Gets all interactions in the hub.com.azure.core.http.rest.PagedIterable<InteractionResourceFormatInner>
listByHub
(String resourceGroupName, String hubName, String localeCode, com.azure.core.util.Context context) Gets all interactions in the hub.suggestRelationshipLinks
(String resourceGroupName, String hubName, String interactionName) Suggests relationships to create relationship links.com.azure.core.http.rest.Response<SuggestRelationshipLinksResponseInner>
suggestRelationshipLinksWithResponse
(String resourceGroupName, String hubName, String interactionName, com.azure.core.util.Context context) Suggests relationships to create relationship links.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InteractionResourceFormatInner>,InteractionResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters) Creates an interaction or updates an existing interaction within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.parameters
- Parameters supplied to the CreateOrUpdate Interaction operation.- Returns:
- the
SyncPoller
for polling of the interaction resource format. - 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<InteractionResourceFormatInner>,InteractionResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters, com.azure.core.util.Context context) Creates an interaction or updates an existing interaction within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.parameters
- Parameters supplied to the CreateOrUpdate Interaction operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the interaction resource format. - 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
InteractionResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters) Creates an interaction or updates an existing interaction within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.parameters
- Parameters supplied to the CreateOrUpdate Interaction operation.- Returns:
- the interaction resource format.
- 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
InteractionResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String interactionName, InteractionResourceFormatInner parameters, com.azure.core.util.Context context) Creates an interaction or updates an existing interaction within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.parameters
- Parameters supplied to the CreateOrUpdate Interaction operation.context
- The context to associate with this operation.- Returns:
- the interaction resource format.
- 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<InteractionResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String interactionName, String localeCode, com.azure.core.util.Context context) Gets information about the specified interaction.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.localeCode
- Locale of interaction to retrieve, default is en-us.context
- The context to associate with this operation.- Returns:
- information about the specified interaction 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.
-
get
InteractionResourceFormatInner get(String resourceGroupName, String hubName, String interactionName) Gets information about the specified interaction.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.- Returns:
- information about the specified interaction.
- 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.
-
listByHub
com.azure.core.http.rest.PagedIterable<InteractionResourceFormatInner> listByHub(String resourceGroupName, String hubName) Gets all interactions in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.- Returns:
- all interactions in the hub 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.
-
listByHub
com.azure.core.http.rest.PagedIterable<InteractionResourceFormatInner> listByHub(String resourceGroupName, String hubName, String localeCode, com.azure.core.util.Context context) Gets all interactions in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.localeCode
- Locale of interaction to retrieve, default is en-us.context
- The context to associate with this operation.- Returns:
- all interactions in the hub 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.
-
suggestRelationshipLinksWithResponse
com.azure.core.http.rest.Response<SuggestRelationshipLinksResponseInner> suggestRelationshipLinksWithResponse(String resourceGroupName, String hubName, String interactionName, com.azure.core.util.Context context) Suggests relationships to create relationship links.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.context
- The context to associate with this operation.- Returns:
- the response of suggest relationship links operation 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.
-
suggestRelationshipLinks
SuggestRelationshipLinksResponseInner suggestRelationshipLinks(String resourceGroupName, String hubName, String interactionName) Suggests relationships to create relationship links.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.interactionName
- The name of the interaction.- Returns:
- the response of suggest relationship links 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.
-