次の方法で共有


PartnerRegistrations Interface

public interface PartnerRegistrations

Resource collection API of PartnerRegistrations.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new PartnerRegistration resource.

abstract void delete(String resourceGroupName, String partnerRegistrationName, Context context)

Delete a partner registration.

abstract void deleteById(String id)

Delete a partner registration.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a partner registration.

abstract void deleteByResourceGroup(String resourceGroupName, String partnerRegistrationName)

Delete a partner registration.

abstract PartnerRegistration getById(String id)

Get a partner registration.

abstract Response<PartnerRegistration> getByIdWithResponse(String id, Context context)

Get a partner registration.

abstract PartnerRegistration getByResourceGroup(String resourceGroupName, String partnerRegistrationName)

Get a partner registration.

abstract Response<PartnerRegistration> getByResourceGroupWithResponse(String resourceGroupName, String partnerRegistrationName, Context context)

Get a partner registration.

abstract PagedIterable<PartnerRegistration> list()

List partner registrations under an Azure subscription.

abstract PagedIterable<PartnerRegistration> list(String filter, Integer top, Context context)

List partner registrations under an Azure subscription.

abstract PagedIterable<PartnerRegistration> listByResourceGroup(String resourceGroupName)

List partner registrations under a resource group.

abstract PagedIterable<PartnerRegistration> listByResourceGroup(String resourceGroupName, String filter, Integer top, Context context)

List partner registrations under a resource group.

Method Details

define

public abstract PartnerRegistration.DefinitionStages.Blank define(String name)

Begins definition for a new PartnerRegistration resource.

Parameters:

name - resource name.

Returns:

the first stage of the new PartnerRegistration definition.

delete

public abstract void delete(String resourceGroupName, String partnerRegistrationName, Context context)

Delete a partner registration. Deletes a partner registration with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
partnerRegistrationName - Name of the partner registration.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Delete a partner registration. Deletes a partner registration with the specified parameters.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a partner registration. Deletes a partner registration with the specified parameters.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String partnerRegistrationName)

Delete a partner registration. Deletes a partner registration with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
partnerRegistrationName - Name of the partner registration.

getById

public abstract PartnerRegistration getById(String id)

Get a partner registration. Gets a partner registration with the specified parameters.

Parameters:

id - the resource ID.

Returns:

a partner registration with the specified parameters along with Response<T>.

getByIdWithResponse

public abstract Response<PartnerRegistration> getByIdWithResponse(String id, Context context)

Get a partner registration. Gets a partner registration with the specified parameters.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a partner registration with the specified parameters along with Response<T>.

getByResourceGroup

public abstract PartnerRegistration getByResourceGroup(String resourceGroupName, String partnerRegistrationName)

Get a partner registration. Gets a partner registration with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
partnerRegistrationName - Name of the partner registration.

Returns:

a partner registration with the specified parameters.

getByResourceGroupWithResponse

public abstract Response<PartnerRegistration> getByResourceGroupWithResponse(String resourceGroupName, String partnerRegistrationName, Context context)

Get a partner registration. Gets a partner registration with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
partnerRegistrationName - Name of the partner registration.
context - The context to associate with this operation.

Returns:

a partner registration with the specified parameters along with Response<T>.

list

public abstract PagedIterable<PartnerRegistration> list()

List partner registrations under an Azure subscription. List all the partner registrations under an Azure subscription.

Returns:

result of the List Partner Registrations operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PartnerRegistration> list(String filter, Integer top, Context context)

List partner registrations under an Azure subscription. List all the partner registrations 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 Registrations operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PartnerRegistration> listByResourceGroup(String resourceGroupName)

List partner registrations under a resource group. List all the partner registrations under a resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.

Returns:

result of the List Partner Registrations operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PartnerRegistration> listByResourceGroup(String resourceGroupName, String filter, Integer top, Context context)

List partner registrations under a resource group. List all the partner registrations under a resource group.

Parameters:

resourceGroupName - The name of the resource group within the user's subscription.
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 Registrations operation as paginated response with PagedIterable<T>.

Applies to