@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
76 lines • 5.46 kB
TypeScript
import { type CloudPcSharedUseServicePlan } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity.
*/
export interface CloudPcSharedUseServicePlanItemRequestBuilder extends BaseRequestBuilder<CloudPcSharedUseServicePlanItemRequestBuilder> {
/**
* Delete navigation property sharedUseServicePlans for deviceManagement
* @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
* @deprecated The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of a cloudPcSharedUseServicePlan object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPcSharedUseServicePlan>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
* @see {@link https://learn.microsoft.com/graph/api/cloudpcshareduseserviceplan-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<CloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcSharedUseServicePlan | undefined>;
/**
* Update the navigation property sharedUseServicePlans in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<CloudPcSharedUseServicePlan>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
*/
patch(body: CloudPcSharedUseServicePlan, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcSharedUseServicePlan | undefined>;
/**
* Delete navigation property sharedUseServicePlans for deviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Read the properties and relationships of a cloudPcSharedUseServicePlan object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property sharedUseServicePlans in deviceManagement
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
*/
toPatchRequestInformation(body: CloudPcSharedUseServicePlan, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a cloudPcSharedUseServicePlan object.
*/
export interface CloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const CloudPcSharedUseServicePlanItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans/{cloudPcSharedUseServicePlan%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const CloudPcSharedUseServicePlanItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map