Interface ContactProfilesClient
public interface ContactProfilesClient
An instance of this class provides access to all the operations defined in ContactProfilesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContactProfileInner>,
ContactProfileInner> beginCreateOrUpdate
(String resourceGroupName, String contactProfileName, ContactProfileInner parameters) Creates or updates a contact profile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContactProfileInner>,
ContactProfileInner> beginCreateOrUpdate
(String resourceGroupName, String contactProfileName, ContactProfileInner parameters, com.azure.core.util.Context context) Creates or updates a contact profile.beginDelete
(String resourceGroupName, String contactProfileName) Deletes a specified contact profile resource.beginDelete
(String resourceGroupName, String contactProfileName, com.azure.core.util.Context context) Deletes a specified contact profile resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContactProfileInner>,
ContactProfileInner> beginUpdateTags
(String resourceGroupName, String contactProfileName, TagsObject parameters) Updates the specified contact profile tags.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContactProfileInner>,
ContactProfileInner> beginUpdateTags
(String resourceGroupName, String contactProfileName, TagsObject parameters, com.azure.core.util.Context context) Updates the specified contact profile tags.createOrUpdate
(String resourceGroupName, String contactProfileName, ContactProfileInner parameters) Creates or updates a contact profile.createOrUpdate
(String resourceGroupName, String contactProfileName, ContactProfileInner parameters, com.azure.core.util.Context context) Creates or updates a contact profile.void
Deletes a specified contact profile resource.void
Deletes a specified contact profile resource.getByResourceGroup
(String resourceGroupName, String contactProfileName) Gets the specified contact Profile in a specified resource group.com.azure.core.http.rest.Response<ContactProfileInner>
getByResourceGroupWithResponse
(String resourceGroupName, String contactProfileName, com.azure.core.util.Context context) Gets the specified contact Profile in a specified resource group.com.azure.core.http.rest.PagedIterable<ContactProfileInner>
list()
Returns list of contact profiles by Subscription.com.azure.core.http.rest.PagedIterable<ContactProfileInner>
Returns list of contact profiles by Subscription.com.azure.core.http.rest.PagedIterable<ContactProfileInner>
listByResourceGroup
(String resourceGroupName) Returns list of contact profiles by Resource Group.com.azure.core.http.rest.PagedIterable<ContactProfileInner>
listByResourceGroup
(String resourceGroupName, String skiptoken, com.azure.core.util.Context context) Returns list of contact profiles by Resource Group.updateTags
(String resourceGroupName, String contactProfileName, TagsObject parameters) Updates the specified contact profile tags.updateTags
(String resourceGroupName, String contactProfileName, TagsObject parameters, com.azure.core.util.Context context) Updates the specified contact profile tags.
-
Method Details
-
getByResourceGroup
Gets the specified contact Profile in a specified resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.- Returns:
- the specified contact Profile in a specified resource group.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ContactProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String contactProfileName, com.azure.core.util.Context context) Gets the specified contact Profile in a specified resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.context
- The context to associate with this operation.- Returns:
- the specified contact Profile in a specified resource group 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<ContactProfileInner>,ContactProfileInner> beginCreateOrUpdate(String resourceGroupName, String contactProfileName, ContactProfileInner parameters) Creates or updates a contact profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- The parameters to provide for the created Contact Profile.- Returns:
- the
SyncPoller
for polling of customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact. - 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<ContactProfileInner>,ContactProfileInner> beginCreateOrUpdate(String resourceGroupName, String contactProfileName, ContactProfileInner parameters, com.azure.core.util.Context context) Creates or updates a contact profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- The parameters to provide for the created Contact Profile.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact. - 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
ContactProfileInner createOrUpdate(String resourceGroupName, String contactProfileName, ContactProfileInner parameters) Creates or updates a contact profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- The parameters to provide for the created Contact Profile.- Returns:
- customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact.
- 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
ContactProfileInner createOrUpdate(String resourceGroupName, String contactProfileName, ContactProfileInner parameters, com.azure.core.util.Context context) Creates or updates a contact profile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- The parameters to provide for the created Contact Profile.context
- The context to associate with this operation.- Returns:
- customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact.
- 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 contactProfileName) Deletes a specified contact profile resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.- 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 contactProfileName, com.azure.core.util.Context context) Deletes a specified contact profile resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.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 specified contact profile resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile 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.
-
delete
void delete(String resourceGroupName, String contactProfileName, com.azure.core.util.Context context) Deletes a specified contact profile resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.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.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContactProfileInner>,ContactProfileInner> beginUpdateTags(String resourceGroupName, String contactProfileName, TagsObject parameters) Updates the specified contact profile tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- Parameters supplied to update contact profile tags.- Returns:
- the
SyncPoller
for polling of customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact. - 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.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ContactProfileInner>,ContactProfileInner> beginUpdateTags(String resourceGroupName, String contactProfileName, TagsObject parameters, com.azure.core.util.Context context) Updates the specified contact profile tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- Parameters supplied to update contact profile tags.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact. - 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.
-
updateTags
ContactProfileInner updateTags(String resourceGroupName, String contactProfileName, TagsObject parameters) Updates the specified contact profile tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- Parameters supplied to update contact profile tags.- Returns:
- customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact.
- 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.
-
updateTags
ContactProfileInner updateTags(String resourceGroupName, String contactProfileName, TagsObject parameters, com.azure.core.util.Context context) Updates the specified contact profile tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.contactProfileName
- Contact Profile name.parameters
- Parameters supplied to update contact profile tags.context
- The context to associate with this operation.- Returns:
- customer creates a Contact Profile Resource, which will contain all of the configurations required for scheduling a contact.
- 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<ContactProfileInner> list()Returns list of contact profiles by Subscription.- Returns:
- response for the ListContactProfiles API service call as paginated response with
PagedIterable
. - Throws:
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<ContactProfileInner> list(String skiptoken, com.azure.core.util.Context context) Returns list of contact profiles by Subscription.- Parameters:
skiptoken
- An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.context
- The context to associate with this operation.- Returns:
- response for the ListContactProfiles API service call 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ContactProfileInner> listByResourceGroup(String resourceGroupName) Returns list of contact profiles by Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- response for the ListContactProfiles API service call 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ContactProfileInner> listByResourceGroup(String resourceGroupName, String skiptoken, com.azure.core.util.Context context) Returns list of contact profiles by Resource Group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.skiptoken
- An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.context
- The context to associate with this operation.- Returns:
- response for the ListContactProfiles API service call 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.
-