Interface PartnerConfigurationsClient
-
public interface PartnerConfigurationsClient
An instance of this class provides access to all the operations defined in PartnerConfigurationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartnerConfigurationInner
authorizePartner(String resourceGroupName, Partner partnerInfo)
Authorize a single partner either by partner registration immutable Id or by partner name.com.azure.core.http.rest.Response<PartnerConfigurationInner>
authorizePartnerWithResponse(String resourceGroupName, Partner partnerInfo, com.azure.core.util.Context context)
Authorize a single partner either by partner registration immutable Id or by partner name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerConfigurationInner>,PartnerConfigurationInner>
beginCreateOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo)
Synchronously creates or updates a partner configuration with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerConfigurationInner>,PartnerConfigurationInner>
beginCreateOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo, com.azure.core.util.Context context)
Synchronously creates or updates a partner configuration with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName)
Delete existing partner configuration.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, com.azure.core.util.Context context)
Delete existing partner configuration.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerConfigurationInner>,PartnerConfigurationInner>
beginUpdate(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters)
Synchronously updates a partner configuration with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PartnerConfigurationInner>,PartnerConfigurationInner>
beginUpdate(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, com.azure.core.util.Context context)
Synchronously updates a partner configuration with the specified parameters.PartnerConfigurationInner
createOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo)
Synchronously creates or updates a partner configuration with the specified parameters.PartnerConfigurationInner
createOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo, com.azure.core.util.Context context)
Synchronously creates or updates a partner configuration with the specified parameters.void
delete(String resourceGroupName)
Delete existing partner configuration.void
delete(String resourceGroupName, com.azure.core.util.Context context)
Delete existing partner configuration.PartnerConfigurationInner
getByResourceGroup(String resourceGroupName)
Get properties of a partner configuration.com.azure.core.http.rest.Response<PartnerConfigurationInner>
getByResourceGroupWithResponse(String resourceGroupName, com.azure.core.util.Context context)
Get properties of a partner configuration.com.azure.core.http.rest.PagedIterable<PartnerConfigurationInner>
list()
List all the partner configurations under an Azure subscription.com.azure.core.http.rest.PagedIterable<PartnerConfigurationInner>
list(String filter, Integer top, com.azure.core.util.Context context)
List all the partner configurations under an Azure subscription.com.azure.core.http.rest.PagedIterable<PartnerConfigurationInner>
listByResourceGroup(String resourceGroupName)
List all the partner configurations under a resource group.com.azure.core.http.rest.PagedIterable<PartnerConfigurationInner>
listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
List all the partner configurations under a resource group.PartnerConfigurationInner
unauthorizePartner(String resourceGroupName, Partner partnerInfo)
Unauthorize a single partner either by partner registration immutable Id or by partner name.com.azure.core.http.rest.Response<PartnerConfigurationInner>
unauthorizePartnerWithResponse(String resourceGroupName, Partner partnerInfo, com.azure.core.util.Context context)
Unauthorize a single partner either by partner registration immutable Id or by partner name.PartnerConfigurationInner
update(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters)
Synchronously updates a partner configuration with the specified parameters.PartnerConfigurationInner
update(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, com.azure.core.util.Context context)
Synchronously updates a partner configuration with the specified parameters.
-
-
-
Method Detail
-
getByResourceGroup
PartnerConfigurationInner getByResourceGroup(String resourceGroupName)
Get properties of a partner configuration.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.- Returns:
- properties of a partner configuration.
- 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<PartnerConfigurationInner> getByResourceGroupWithResponse(String resourceGroupName, com.azure.core.util.Context context)
Get properties of a partner configuration.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.context
- The context to associate with this operation.- Returns:
- properties of a partner configuration 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<PartnerConfigurationInner>,PartnerConfigurationInner> beginCreateOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo)
Synchronously creates or updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationInfo
- Partner configuration information.- Returns:
- the
SyncPoller
for polling of partner configuration information. - 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<PartnerConfigurationInner>,PartnerConfigurationInner> beginCreateOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo, com.azure.core.util.Context context)
Synchronously creates or updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationInfo
- Partner configuration information.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of partner configuration information. - 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
PartnerConfigurationInner createOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo)
Synchronously creates or updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationInfo
- Partner configuration information.- Returns:
- partner configuration information.
- 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
PartnerConfigurationInner createOrUpdate(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo, com.azure.core.util.Context context)
Synchronously creates or updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationInfo
- Partner configuration information.context
- The context to associate with this operation.- Returns:
- partner configuration information.
- 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)
Delete existing partner configuration.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.- 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, com.azure.core.util.Context context)
Delete existing partner configuration.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.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 resourceGroupName)
Delete existing partner configuration.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.- 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, com.azure.core.util.Context context)
Delete existing partner configuration.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.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<PartnerConfigurationInner>,PartnerConfigurationInner> beginUpdate(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters)
Synchronously updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationUpdateParameters
- Partner configuration update information.- Returns:
- the
SyncPoller
for polling of partner configuration information. - 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<PartnerConfigurationInner>,PartnerConfigurationInner> beginUpdate(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, com.azure.core.util.Context context)
Synchronously updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationUpdateParameters
- Partner configuration update information.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of partner configuration information. - 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
PartnerConfigurationInner update(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters)
Synchronously updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationUpdateParameters
- Partner configuration update information.- Returns:
- partner configuration information.
- 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
PartnerConfigurationInner update(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, com.azure.core.util.Context context)
Synchronously updates a partner configuration with the specified parameters.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerConfigurationUpdateParameters
- Partner configuration update information.context
- The context to associate with this operation.- Returns:
- partner configuration information.
- 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<PartnerConfigurationInner> listByResourceGroup(String resourceGroupName)
List all the partner configurations under a resource group.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.- Returns:
- result of the List partner configurations operation 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<PartnerConfigurationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
List all the partner configurations under a resource group.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.context
- The context to associate with this operation.- Returns:
- result of the List partner configurations operation 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<PartnerConfigurationInner> list()
List all the partner configurations under an Azure subscription.- Returns:
- result of the List partner configurations operation 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<PartnerConfigurationInner> list(String filter, Integer top, com.azure.core.util.Context context)
List all the partner configurations under an Azure subscription.- Parameters:
filter
- The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.top
- The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.context
- The context to associate with this operation.- Returns:
- result of the List partner configurations operation 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.
-
authorizePartner
PartnerConfigurationInner authorizePartner(String resourceGroupName, Partner partnerInfo)
Authorize a single partner either by partner registration immutable Id or by partner name.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerInfo
- The information of the partner to be authorized.- Returns:
- partner configuration information.
- 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.
-
authorizePartnerWithResponse
com.azure.core.http.rest.Response<PartnerConfigurationInner> authorizePartnerWithResponse(String resourceGroupName, Partner partnerInfo, com.azure.core.util.Context context)
Authorize a single partner either by partner registration immutable Id or by partner name.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerInfo
- The information of the partner to be authorized.context
- The context to associate with this operation.- Returns:
- partner configuration information 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.
-
unauthorizePartner
PartnerConfigurationInner unauthorizePartner(String resourceGroupName, Partner partnerInfo)
Unauthorize a single partner either by partner registration immutable Id or by partner name.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerInfo
- The information of the partner to be unauthorized.- Returns:
- partner configuration information.
- 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.
-
unauthorizePartnerWithResponse
com.azure.core.http.rest.Response<PartnerConfigurationInner> unauthorizePartnerWithResponse(String resourceGroupName, Partner partnerInfo, com.azure.core.util.Context context)
Unauthorize a single partner either by partner registration immutable Id or by partner name.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription.partnerInfo
- The information of the partner to be unauthorized.context
- The context to associate with this operation.- Returns:
- partner configuration information 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.
-
-