Interface ProfilesClient
public interface ProfilesClient
An instance of this class provides access to all the operations defined in ProfilesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileResourceFormatInner>,
ProfileResourceFormatInner> beginCreateOrUpdate
(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters) Creates a profile within a Hub, or updates an existing profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileResourceFormatInner>,
ProfileResourceFormatInner> beginCreateOrUpdate
(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters, com.azure.core.util.Context context) Creates a profile within a Hub, or updates an existing profile.beginDelete
(String resourceGroupName, String hubName, String profileName) Deletes a profile within a hub.beginDelete
(String resourceGroupName, String hubName, String profileName, String localeCode, com.azure.core.util.Context context) Deletes a profile within a hub.createOrUpdate
(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters) Creates a profile within a Hub, or updates an existing profile.createOrUpdate
(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters, com.azure.core.util.Context context) Creates a profile within a Hub, or updates an existing profile.void
Deletes a profile within a hub.void
delete
(String resourceGroupName, String hubName, String profileName, String localeCode, com.azure.core.util.Context context) Deletes a profile within a hub.Gets information about the specified profile.getEnrichingKpis
(String resourceGroupName, String hubName, String profileName) Gets the KPIs that enrich the profile Type identified by the supplied name.com.azure.core.http.rest.Response<List<KpiDefinitionInner>>
getEnrichingKpisWithResponse
(String resourceGroupName, String hubName, String profileName, com.azure.core.util.Context context) Gets the KPIs that enrich the profile Type identified by the supplied name.com.azure.core.http.rest.Response<ProfileResourceFormatInner>
getWithResponse
(String resourceGroupName, String hubName, String profileName, String localeCode, com.azure.core.util.Context context) Gets information about the specified profile.com.azure.core.http.rest.PagedIterable<ProfileResourceFormatInner>
Gets all profile in the hub.com.azure.core.http.rest.PagedIterable<ProfileResourceFormatInner>
listByHub
(String resourceGroupName, String hubName, String localeCode, com.azure.core.util.Context context) Gets all profile in the hub.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileResourceFormatInner>,ProfileResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters) Creates a profile within a Hub, or updates an existing profile.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.parameters
- Parameters supplied to the create/delete Profile type operation.- Returns:
- the
SyncPoller
for polling of the profile 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<ProfileResourceFormatInner>,ProfileResourceFormatInner> beginCreateOrUpdate(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters, com.azure.core.util.Context context) Creates a profile within a Hub, or updates an existing profile.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.parameters
- Parameters supplied to the create/delete Profile type operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the profile 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
ProfileResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters) Creates a profile within a Hub, or updates an existing profile.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.parameters
- Parameters supplied to the create/delete Profile type operation.- Returns:
- the profile 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
ProfileResourceFormatInner createOrUpdate(String resourceGroupName, String hubName, String profileName, ProfileResourceFormatInner parameters, com.azure.core.util.Context context) Creates a profile within a Hub, or updates an existing profile.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.parameters
- Parameters supplied to the create/delete Profile type operation.context
- The context to associate with this operation.- Returns:
- the profile 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<ProfileResourceFormatInner> getWithResponse(String resourceGroupName, String hubName, String profileName, String localeCode, com.azure.core.util.Context context) Gets information about the specified profile.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.localeCode
- Locale of profile to retrieve, default is en-us.context
- The context to associate with this operation.- Returns:
- information about the specified profile 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
Gets information about the specified profile.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.- Returns:
- information about the specified profile.
- 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 resourceGroupName, String hubName, String profileName) Deletes a profile within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.- 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 resourceGroupName, String hubName, String profileName, String localeCode, com.azure.core.util.Context context) Deletes a profile within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.localeCode
- Locale of profile to retrieve, default is en-us.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
Deletes a profile within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.- 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 resourceGroupName, String hubName, String profileName, String localeCode, com.azure.core.util.Context context) Deletes a profile within a hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.localeCode
- Locale of profile to retrieve, default is en-us.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.
-
listByHub
com.azure.core.http.rest.PagedIterable<ProfileResourceFormatInner> listByHub(String resourceGroupName, String hubName) Gets all profile in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.- Returns:
- all profile 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<ProfileResourceFormatInner> listByHub(String resourceGroupName, String hubName, String localeCode, com.azure.core.util.Context context) Gets all profile in the hub.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.localeCode
- Locale of profile to retrieve, default is en-us.context
- The context to associate with this operation.- Returns:
- all profile 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.
-
getEnrichingKpisWithResponse
com.azure.core.http.rest.Response<List<KpiDefinitionInner>> getEnrichingKpisWithResponse(String resourceGroupName, String hubName, String profileName, com.azure.core.util.Context context) Gets the KPIs that enrich the profile Type identified by the supplied name. Enrichment happens through participants of the Interaction on an Interaction KPI and through Relationships for Profile KPIs.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.context
- The context to associate with this operation.- Returns:
- the KPIs that enrich the profile Type identified by the supplied name 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.
-
getEnrichingKpis
List<KpiDefinitionInner> getEnrichingKpis(String resourceGroupName, String hubName, String profileName) Gets the KPIs that enrich the profile Type identified by the supplied name. Enrichment happens through participants of the Interaction on an Interaction KPI and through Relationships for Profile KPIs.- Parameters:
resourceGroupName
- The name of the resource group.hubName
- The name of the hub.profileName
- The name of the profile.- Returns:
- the KPIs that enrich the profile Type identified by the supplied name.
- 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.
-