@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
70 lines • 4.97 kB
TypeScript
import { type TelephoneNumberLongRunningOperation } from '@microsoft/msgraph-beta-sdk/models/teamsAdministration/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
*/
export interface TelephoneNumberLongRunningOperationItemRequestBuilder extends BaseRequestBuilder<TelephoneNumberLongRunningOperationItemRequestBuilder> {
/**
* Delete navigation property operations for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TelephoneNumberLongRunningOperation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/teamsadministration-telephonenumberlongrunningoperation-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters> | undefined): Promise<TelephoneNumberLongRunningOperation | undefined>;
/**
* Update the navigation property operations in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<TelephoneNumberLongRunningOperation>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: TelephoneNumberLongRunningOperation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TelephoneNumberLongRunningOperation | undefined>;
/**
* Delete navigation property operations for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property operations in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: TelephoneNumberLongRunningOperation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
*/
export interface TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TelephoneNumberLongRunningOperationItemRequestBuilderUriTemplate = "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const TelephoneNumberLongRunningOperationItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map