def METHOD_NAME(self, request: PipelineRequest) -> None:
    request.http_request.headers["Ocp-Apim-Subscription-Key"] = self.credential.key
    request.http_request.headers["Ocp-Apim-Subscription-Region"] = self.credential.region