Interface PartnerConfigurations
public interface PartnerConfigurations
Resource collection API of PartnerConfigurations.
-
Method Summary
Modifier and TypeMethodDescriptionauthorizePartner
(String resourceGroupName, Partner partnerInfo) Authorize a single partner either by partner registration immutable Id or by partner name.com.azure.core.http.rest.Response<PartnerConfiguration>
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.createOrUpdate
(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo) Synchronously creates or updates a partner configuration with the specified parameters.createOrUpdate
(String resourceGroupName, PartnerConfigurationInner partnerConfigurationInfo, com.azure.core.util.Context context) Synchronously creates or updates a partner configuration with the specified parameters.void
Delete existing partner configuration.void
Delete existing partner configuration.getByResourceGroup
(String resourceGroupName) Get properties of a partner configuration.com.azure.core.http.rest.Response<PartnerConfiguration>
getByResourceGroupWithResponse
(String resourceGroupName, com.azure.core.util.Context context) Get properties of a partner configuration.com.azure.core.http.rest.PagedIterable<PartnerConfiguration>
list()
List all the partner configurations under an Azure subscription.com.azure.core.http.rest.PagedIterable<PartnerConfiguration>
List all the partner configurations under an Azure subscription.com.azure.core.http.rest.PagedIterable<PartnerConfiguration>
listByResourceGroup
(String resourceGroupName) List all the partner configurations under a resource group.com.azure.core.http.rest.PagedIterable<PartnerConfiguration>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List all the partner configurations under a resource group.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<PartnerConfiguration>
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.update
(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters) Synchronously updates a partner configuration with the specified parameters.update
(String resourceGroupName, PartnerConfigurationUpdateParameters partnerConfigurationUpdateParameters, com.azure.core.util.Context context) Synchronously updates a partner configuration with the specified parameters.
-
Method Details
-
getByResourceGroup
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<PartnerConfiguration> 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.
-
createOrUpdate
PartnerConfiguration 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
PartnerConfiguration 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.
-
delete
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
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.
-
update
PartnerConfiguration 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
PartnerConfiguration 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<PartnerConfiguration> 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<PartnerConfiguration> 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<PartnerConfiguration> 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<PartnerConfiguration> 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
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<PartnerConfiguration> 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
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<PartnerConfiguration> 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.
-