Aracılığıyla paylaş


OfficeConsentsClient Interface

public interface OfficeConsentsClient

An instance of this class provides access to all the operations defined in OfficeConsentsClient.

Method Summary

Modifier and Type Method and Description
abstract void delete(String resourceGroupName, String workspaceName, String consentId)

Delete the office365 consent.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String consentId, Context context)

Delete the office365 consent.

abstract OfficeConsentInner get(String resourceGroupName, String workspaceName, String consentId)

Gets an office365 consent.

abstract Response<OfficeConsentInner> getWithResponse(String resourceGroupName, String workspaceName, String consentId, Context context)

Gets an office365 consent.

abstract PagedIterable<OfficeConsentInner> list(String resourceGroupName, String workspaceName)

Gets all office365 consents.

abstract PagedIterable<OfficeConsentInner> list(String resourceGroupName, String workspaceName, Context context)

Gets all office365 consents.

Method Details

delete

public abstract void delete(String resourceGroupName, String workspaceName, String consentId)

Delete the office365 consent.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
consentId - consent ID.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String consentId, Context context)

Delete the office365 consent.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
consentId - consent ID.
context - The context to associate with this operation.

Returns:

get

public abstract OfficeConsentInner get(String resourceGroupName, String workspaceName, String consentId)

Gets an office365 consent.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
consentId - consent ID.

Returns:

an office365 consent.

getWithResponse

public abstract Response<OfficeConsentInner> getWithResponse(String resourceGroupName, String workspaceName, String consentId, Context context)

Gets an office365 consent.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
consentId - consent ID.
context - The context to associate with this operation.

Returns:

an office365 consent along with Response<T>.

list

public abstract PagedIterable<OfficeConsentInner> list(String resourceGroupName, String workspaceName)

Gets all office365 consents.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.

Returns:

all office365 consents as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<OfficeConsentInner> list(String resourceGroupName, String workspaceName, Context context)

Gets all office365 consents.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
context - The context to associate with this operation.

Returns:

all office365 consents as paginated response with PagedIterable<T>.

Applies to