OfficeConsents interface

Interface representing a OfficeConsents.

Methods

delete(string, string, string, OfficeConsentsDeleteOptionalParams)

Delete the office365 consent.

get(string, string, string, OfficeConsentsGetOptionalParams)

Gets an office365 consent.

list(string, string, OfficeConsentsListOptionalParams)

Gets all office365 consents.

Method Details

delete(string, string, string, OfficeConsentsDeleteOptionalParams)

Delete the office365 consent.

function delete(resourceGroupName: string, workspaceName: string, consentId: string, options?: OfficeConsentsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

consentId

string

consent ID

options
OfficeConsentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, OfficeConsentsGetOptionalParams)

Gets an office365 consent.

function get(resourceGroupName: string, workspaceName: string, consentId: string, options?: OfficeConsentsGetOptionalParams): Promise<OfficeConsent>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

consentId

string

consent ID

options
OfficeConsentsGetOptionalParams

The options parameters.

Returns

Promise<OfficeConsent>

list(string, string, OfficeConsentsListOptionalParams)

Gets all office365 consents.

function list(resourceGroupName: string, workspaceName: string, options?: OfficeConsentsListOptionalParams): PagedAsyncIterableIterator<OfficeConsent, OfficeConsent[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

options
OfficeConsentsListOptionalParams

The options parameters.

Returns