UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
59 lines 3.9 kB
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {UpdateAdDomainPasswordPostRequestBody} */ export declare function createUpdateAdDomainPasswordPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>); /** * The deserialization information for the current model * @param UpdateAdDomainPasswordPostRequestBody The instance to deserialize into. * @returns {Record<string, (node: ParseNode) => void>} */ export declare function deserializeIntoUpdateAdDomainPasswordPostRequestBody(updateAdDomainPasswordPostRequestBody?: Partial<UpdateAdDomainPasswordPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>; /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param UpdateAdDomainPasswordPostRequestBody The instance to serialize from. * @param writer Serialization writer to use to serialize this model */ export declare function serializeUpdateAdDomainPasswordPostRequestBody(writer: SerializationWriter, updateAdDomainPasswordPostRequestBody?: Partial<UpdateAdDomainPasswordPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void; export interface UpdateAdDomainPasswordPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable { /** * The adDomainPassword property */ adDomainPassword?: string | null; /** * Stores model information. */ backingStoreEnabled?: boolean | null; } /** * Provides operations to call the updateAdDomainPassword method. */ export interface UpdateAdDomainPasswordRequestBuilder extends BaseRequestBuilder<UpdateAdDomainPasswordRequestBuilder> { /** * Update the Active Directory domain password for a cloudPcOnPremisesConnection object. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. * @param body The request body * @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 * @see {@link https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-updateaddomainpassword?view=graph-rest-beta|Find more info here} */ post(body: UpdateAdDomainPasswordPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Update the Active Directory domain password for a cloudPcOnPremisesConnection object. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: UpdateAdDomainPasswordPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const UpdateAdDomainPasswordRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections/{cloudPcOnPremisesConnection%2Did}/updateAdDomainPassword"; /** * Metadata for all the requests in the request builder. */ export declare const UpdateAdDomainPasswordRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map